Show / Hide Table of Contents

    GetToPartLocations

    Command, Introduced in version 2.18

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

    Retrieves part locations that a part can be moved to.

    Returns PartLocationInfo[]

    Required permission

    Show part
    

    Properties

    Name Type Summary Introduced in
    PartId Int64 The business key identifier of the part to move.

    References Parts

    • Mandatory
    UnitId Int64? Defaults to default part unit id

    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 values as FromWarehouseId by default
    FromLocationKey PartLocationInfoKey The part location key of the part location to move the part from.

    • Mandatory
    FromLocationReservationId Int64? The business key identifier of a cleared material reservation.

    • None by default

    Example

    {
      "PartId": 0,
      "UnitId": null,
      "FromWarehouseId": null,
      "ToWarehouseId": null,
      "FromLocationKey": null,
      "FromLocationReservationId": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB