Operation Id:
wms/stocksdocuments/documents/get [Official Documentaction]
Methods
- stockDocumentType 'pz'|'pw'|'px'|'rx'|'rw'|'wz'|'mm'|'zw'
- stockDocumentStatus 'open'|'on_the_way'|'close'
- stockDocumentsIds Array<Integer>
- stockDocumentsNumbers Array<String>
- productsInPreorder 'y'|'n'
- dateRange Object
- resultsPage Integer
- resultsLimit Integer
- dates dateFrom: DateLike, dateTo: DateLike, type: "open"|"modify"|"close"|"stockOperation"
Examples
This function returns the stock documents from the WMS system with a document type of "pz".
const result = await idosellRequest.getWmsStocksdocumentsDocuments
.stockDocumentType("pz")
.exec()
This function retrieves the stock documents with the status of "open" from the WMS stocks documents.
const result = await idosellRequest.getWmsStocksdocumentsDocuments
.stockDocumentStatus("open")
.exec()
This function retrieves the specified range of WMS stock documents from page 2.
const result = await idosellRequest.getWmsStocksdocumentsDocuments
.page(2,10)
.exec()
This function retrieves WMS stock document types with a specific stock type and within a specified date range in an "open" status.
const result = await idosellRequest.getWmsStocksdocumentsDocuments
.stockDocumentType("pz")
.dates("2023-12-18", "2023-12-31", "open")
.exec()