Show / Hide Table of Contents

    ReportManufacturingOrderMaterial

    Command, Introduced in version 2.18

    POST https://localhost:8001/sv/001.1/api/v1/Manufacturing/Reporting/ReportManufacturingOrderMaterial
    

    Reports a material for a manufacturing order.

    Returns EntityCommandResponse

    The root entity id of the response is the resulting report number.

    The entity id of the response is the same as the root entity id.

    Required permission

    Report manufacturing order
    

    Properties

    Name Type Summary Introduced in
    ReportNumber Int64 The report number of the material to report.

    • Mandatory
    ReportedQuantity Decimal The reported quantity.

    • Mandatory
    ReportedRestQuantity Decimal? The reported rest quantity.
    MaterialRows AddMaterialRow[] The material rows to report.
    PartId Int64? Adds a new material with reporting to the operation. If set Report number will be ignored.

    • References Parts
    ManufacturingOrderOperationId Int64? The operation to add the material to.

    • Mandatory (if Part id has been set.)
    • References ManufacturingOrderOperations
    UseUsageUnit Boolean When this setting is true the part's unit usages point out the unit we should use for the provided quantities.

    • false by default
    Introduced in version 22.9
    UnitId Int64? Use this unit for the provided quantities.
    If UseUsageUnit is false and UnitId is not set the standard unit is used.

    • References Units
    Introduced in version 22.9

    Example

    {
      "ReportNumber": 0,
      "ReportedQuantity": 0.0,
      "ReportedRestQuantity": null,
      "MaterialRows": null,
      "PartId": null,
      "ManufacturingOrderOperationId": null,
      "UseUsageUnit": false,
      "UnitId": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB