UnplannedWithdrawalStockMovement
Command, Introduced in version 2.18
POST https://localhost:8001/sv/001.1/api/v1/Inventory/Parts/UnplannedWithdrawalStockMovement
Performs an unplanned stock movement withdrawal, removing the specified quantity from the specified location.
Returns EntityCommandResponse
The root entity id of the response is the business key identifier of the part that the movement was created for. References Parts
The entity id of the response is the same as the root entity id.
Required permission
Report stock count
Properties
Name | Type | Summary | Introduced in |
---|---|---|---|
PartId | Int64 | The business key identifier of the part to create a stock movement for. References Parts
|
|
PartLocationKey | PartLocationInfoKey | The composite part location key of the part location to create a stock movement for.
|
|
Quantity | Decimal | The quantity to move.
|
|
UnitId | Int64? | The business key identifier of the unit to use when performing the stock movement. References Units
|
|
WarehouseId | Int64 | The business key identifier of the warehouse to create the stock movement for. References Warehouses
|
|
Reason | SetReason | The reason to set for the stock movement.
|
|
CodingRows | SetProductGroupCodingRow[] | The coding to set for the stock movement |
Introduced in version 2.36 |
ActualReportingDate | DateTimeOffset? | The actual reporting date to set for the stock movement. |
Introduced in version 23.3 |
Example
{
"PartId": 0,
"PartLocationKey": null,
"Quantity": 0.0,
"UnitId": null,
"WarehouseId": 0,
"Reason": null,
"CodingRows": null,
"ActualReportingDate": null
}