Operation Id:
wms/stocksdocuments/openedDocuments/get [Official Documentaction]
Methods
- type 'pz'|'pw'|'px'|'rx'|'rw'|'mm'
- status 'open'|'on_the_way'|'all'
- stockId Integer
- stockSourceId Integer
- dateRange Object
- resultsPage Integer
- resultsLimit Integer
- dates dateFrom: DateLike, dateTo: DateLike, type: "open"|"modify"
Examples
This function returns the number of opened documents related to WMS stocks with the type "pz".
Loading editor...
const result = await idosellRequest.getWmsStocksdocumentsOpenedDocuments .type("pz") .exec();
This function retrieves the status of all opened documents in the WmsStocksdocumentsOpenedDocuments collection.
Loading editor...
const result = await idosellRequest.getWmsStocksdocumentsOpenedDocuments .status("open") .exec();
This function retrieves the second page of opened documents from the WMS stocks documents.
Loading editor...
const result = await idosellRequest.getWmsStocksdocumentsOpenedDocuments .page(2,10) .exec();
This function retrieves the opened stock documents of type "pz" within the given dates range of "2023-12-18" and "2023-12-31".
Loading editor...
const result = await idosellRequest.getWmsStocksdocumentsOpenedDocuments .stockDocumentType("pz") .dates("2023-12-18", "2023-12-31", "open") .exec();