Show / Hide Table of Contents

    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

    • Mandatory
    PartLocationKey PartLocationInfoKey The composite part location key of the part location to create a stock movement for.

    • Mandatory
    Quantity Decimal The quantity to move.

    • Mandatory
    UnitId Int64? The business key identifier of the unit to use when performing the stock movement.

    References Units

    • The part unit that is used for stock balance by default
    WarehouseId Int64 The business key identifier of the warehouse to create the stock movement for.

    References Warehouses

    • Mandatory
    Reason SetReason The reason to set for the stock movement.

    • Mandatory (If reason is required)
    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
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB