StockLocation
Type, Introduced in version 26.8
Reports to a new or an existing part location.
Each new location is created once, however many product records are reported to it.
Used by:
- ReportManufacturingOrderOperation
- ReportOrderBoundWork
- AdjustOrderBoundWork
- AddNewOrderBoundRecording
Properties
| Name | Type | Summary | Introduced in |
|---|---|---|---|
| PartLocationId | Int64? | The business key identifier of the existing part location to report to.
|
|
| PartLocationName | String | The name of the part location. When reporting, a new part location with this name is created and reported to. When reporting negative quantity, no part location is created. The name identifies the existing part location that the operation was reported to, and the quantity is withdrawn from it. Cannot be combined with PartLocationId. If both are left out when reporting, a new part location is created and named according to the system settings.
|
|
| Quantity | Decimal | The quantity to report to the location.
|
|
| ProductRecords | StockProductRecord[] | The serial or batch numbers to report to the location. Leave out to let MONITOR generate the batch number or select the serial numbers. |
|
| BestBeforeDate | DateTimeInput | The best before date of the stock reported to the location. Used for product records without a best before date of their own. Set the value to null to report the stock without a best before date.
|
Example
{
"PartLocationId": null,
"PartLocationName": null,
"Quantity": 0.0,
"ProductRecords": null,
"BestBeforeDate": null
}