getStocktakings

Retrieve physical stocktakings.

A physical stocktaking is an operation where inventory is manually re-counted; if actual count differs from the inventory quantity in ERPLY, the quantity in ERPLY is adjusted.

When physical stocktaking is completed, the stocktaking act must be confirmed. Any surplus items can then be taken into inventory with an Inventory Registration, and missing items subtracted with an Inventory Write-Off.

To retrieve all item counts in one specific stocktaking, see getStocktakingReadings. To start a new stocktaking (create a new stocktaking act), see saveStocktaking. To update quantities on an act, see saveStocktakingReadings and incrementStocktakingReading.

Input parameters

Parameter name Description Possible value Required
stocktakingID    Integer    
status  Possible values: "CONFIRMED", "IN_PROGRESS".  String    
recordsOnPage  Number of records API should return. By default 20, at most 100.  Integer    
pageNo  API returns at most recordsOnPage items at a time. To retrive the next recordsOnPage items, send a new request with pageNo incremented by one. By default, API returns "page 1".  Integer    

Response

Field name Type Description
stocktakingID  Integer    
warehouses  String    
prodgroupID  Integer    
brandID  Integer    
status  String  Possible values: "CONFIRMED", "IN_PROGRESS".  
added  Unix timestamp  Creation time.  
lastModified  Unix timestamp  Last modification time.