Show / Hide Table of Contents

    MoveStockBalance

    Command, Introduced in version 2.18

    POST https://localhost:8001/sv/001.1/api/v1/Inventory/Parts/MoveStockBalance
    

    Performs a stock balance move for a part.

    Returns EntityCommandResponse

    The root entity id of the response is the business key identifier of the part that was moved. 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 move.

    References Parts

    • Mandatory
    UnitId Int64? The business key identifier of the unit that the move should be performed with.

    References Units

    • The part unit that is used for stock balance by default
    FromWarehouseId Int64? The business key identifier of the warehouse to move from.

    References Warehouses

    • Current warehouse by default
    ToWarehouseId Int64? The business key identifier of the warehouse to move to.

    References Warehouses

    • Same value as FromWarehouseId by default
    FromLocationKey PartLocationInfoKey The part location key of the part location to move from.

    • Mandatory
    FromLocationReservationId Int64? The business key identifier of the cleared material that you want to move.

    • None by default
    PersonId Int64? The business key identifier of the person.
    Introduced in version 25.4
    ToPartLocations AddPartLocationRows[] Specifies the location movements to perform.

    • Mandatory (At least one)

    Example

    {
      "PartId": 0,
      "UnitId": null,
      "FromWarehouseId": null,
      "ToWarehouseId": null,
      "FromLocationKey": null,
      "FromLocationReservationId": null,
      "PersonId": null,
      "ToPartLocations": null
    }
    

    Child types

    • AddPartLocationRows
    Back to top Copyright © 2023 Monitor ERP System AB