Procurement Order Properties

🔒

Requires inventory access scope.)

Procurement Order Properties

FieldsTypeDesc
idintProcurement order id
procurement_snstringProcurement order number.
source_idintSupplier id
location_idintDelivery address ID
notestringNote
stateProcurementStateProcurement order status.
pending_quantityintStock in transit
received_quantityintQuantity received
rejected_quantityintQuantity rejected
transfer_quantityintQuantity purchased
created_bystring
created_atstring
updated_atstring
source_typeSourceTypeSource type
procurement_nostringPurchase order number
supplier_namestringSupplier name
tracking_numberstringTracking number
estimated_delivery_timestringEstimated delivery time
logistics_namestringName of logistics provider
logistics_contactstringLogistics agent telephone
logistics_addressstringLogistics provider address
received_times[]stringReceived times

SourceType

Type valueDesc
1source type supplier
2source type location

ProcurementState

StatusDesc
1pending
2partial
3completed
4cancelled

Example

{
        "id": 385700142252048211,
        "procurement_sn": "00000022",
        "source_id": 339974638270430163,
        "location_id": 333849256890743866,
        "note": "",
        "state": 3,
        "pending_quantity": 0,
        "received_quantity": 10,
        "rejected_quantity": 0,
        "transfer_quantity": 10,
        "created_by": "[email protected]",
        "created_at": "2024-05-30T07:54:40Z",
        "updated_at": "2024-05-30T07:55:03Z",
        "source_type": 1,
        "procurement_no": "20240530",
        "tracking_number": "",
        "estimated_delivery_time": "",
        "logistics_name": "",
        "logistics_contact": "",
        "logistics_address": "",
        "received_times": [
            "2024-05-30T07:55:03Z"
        ]
    }