MaterialStockTake GitHub

📊 Overview: 5 Functions

Extends: DataClass

🕐 Last updated: 2025-12-10T11:45:23.317Z


📑 Table of Contents


Functions

Regular Functions

getLastStockTakeDate

[🖥️ local]

Function getLastStockTakeDate -> Date

Returns the date of the most recent primary stock take

Returns: Date


getLastStockTakeAmount

[🖥️ local]

Function getLastStockTakeAmount($MaterialID : Integer) -> Real

Returns total amount in Kg for a specific material from the last primary stock take

Parameters:

Name Type Optional Description
$MaterialID Integer - -

Returns: Real


getLastStockTakeSelection

[🖥️ local]

Function getLastStockTakeSelection -> cs.MaterialStockTakeSelection

Returns entity selection of all primary stock take entries from the most recent stock take date

Returns: cs.MaterialStockTakeSelection


restViewResults

Function restViewResults($RestPostDataObject : Object) -> Object

REST endpoint to display stock take results for current date in mobile warehouse app

Parameters:

Name Type Optional Description
$RestPostDataObject Object - -

Returns: Object


restRemoveEntry

Function restRemoveEntry($RestPostDataObject : Object) -> Object

REST endpoint to remove a stock take entry after confirmation in mobile app

Parameters:

Name Type Optional Description
$RestPostDataObject Object - -

Returns: Object


🗂️ Tables

� Forms


Generated from MaterialStockTake.4dm