Edit

StocktakeStartQtyForLocation (location)

Result Type: Number, being the start stock take at the indicated location

Definition: Given the context of a product "p", such as in a foreach p in product loop, returns the start stock take quantity for the product referenced by p at the specified location. For the default location, use an empty string as the parameter.

Examples: p.StocktakeStartQtyForLocation("Auckland")

returns the start stock take quantity for the product referenced by p at location "Auckland".

Note: Use p.StockTakeStartQty to get the start stock take count across all locations.

See Also:

SetStocktakeForLocation: Update the stocktake count for a product]

StocktakeNewQtyForLocation: Get the current stocktake quantity for a product for a given location