Methods
# confirmWithStock(stockManager, shipment, stockObj, callback)
Confirms the existence os the selected batches for each shipmentLine and returns the appropriate object for StockManager#manage method
.Confirms the existence os the selected batches for each shipmentLine and returns the appropriate object for StockManager#manage method
Parameters:
| Name | Type | Description |
|---|---|---|
stockManager |
StockManager
|
|
shipment |
Shipment
|
|
stockObj |
Object
|
|
callback |
function
|
# create(status, id, callback) → {string}
Creates aC Status DSU
.Creates aC Status DSU
Parameters:
| Name | Type | Description |
|---|---|---|
status |
OrderStatus
|
ShipmentStatus
|
Status
|
|
id |
String
|
the sender id |
callback |
function
|
keySSI
string
# fromProduct(product, callback)
Parameters:
| Name | Type | Description |
|---|---|---|
product |
IndividualProduct
|
|
callback |
function
|
# get(keySSI, callback)
Resolves the DSU and loads the status object with all its properties, mutable or not
.Resolves the DSU and loads the status object with all its properties, mutable or not
Parameters:
| Name | Type | Description |
|---|---|---|
keySSI |
KeySSI
|
|
callback |
function
|
# traceStockManagement(gtin, batch, callback)
Stock taking from ShipmentLines and Receipts
.Stock taking from ShipmentLines and Receipts
Parameters:
| Name | Type | Description |
|---|---|---|
gtin |
string
|
|
batch |
string
|
|
callback |
function
|