Search Results for

    Show / Hide Table of Contents

    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.

    • References PartLocations
    • Mandatory (If reporting to an existing location.)
    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.

    • Max length is 35
    • Named according to the system settings when reporting and PartLocationId is not set by default
    Quantity Decimal The quantity to report to the location.

    • Mandatory
    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.

    • Calculated by MONITOR by default

    Example

    {
      "PartLocationId": null,
      "PartLocationName": null,
      "Quantity": 0.0,
      "ProductRecords": null,
      "BestBeforeDate": null
    }
    
    In This Article
    Back to top Copyright © 2026 Monitor ERP System AB