[
{
"id": 1,
// SEE ALSO: Revision number increment
"revision_display": "A",
"revision": -1,
"sub_revision": 1,
"user_editable": true,
"revision_editable": true,
"status": 1, // SEE ALSO: Status number meaning
"status_name": "Pending Approval",
"approval_status": 1, // SEE ALSO: Approval status number meaning
"approval_status_name": "Partially Approved",
"delivery_status": 2, // NOTE: not sure that we still use this field
"delivery_status_name": "Pending Delivery", // NOTE: not sure that we still use this field
"approval_flow": [{
"approver": 2,
"approved_date": "2017-10-05T10:21:32Z", // NOTE: ISO8601 Datetime
"role": 1 // SEE ALSO: Role number meaning
}, {
"approver": 3,
"approved_date": "2017-10-05T10:21:32Z",
"role": 1
}, /* ... */ ],
"requester": 1,
"requester_name": "Pawarit Saengpreecharutn",
"owner": 1,
"owner_name": "Pawarit Saengpreecharutn",
"assistant": null,
"assistant_name": "-",
"numbering_code": 2,
"reserved_no": "TFRR1COM01-0014",
"approved_no": "TFOR1COM01-0014",
"company": 1,
"company_name": "Bizinterprise Co.,Ltd.",
"company_address": "79/182 Life@Ratchadapisek Huaykwang Huaykwang Bangkok 10310",
"company_tax_id": "1234567890123",
"date": "2017-09-30", // NOTE: ISO8601 Date
"date_display": "30 September 2017", // NOTE: Changed the attr name from "date_long". Localized date format, could be Thai or English
"sensitivity_level": 1, // SEE ALSO: Sensitivity level number meaning
"sensitivity_level_name": "Confidential",
"external_ref_no": "SR0139284382829",
"source": {
"company": 1,
"company_name": "Bizinterprise Co.,Ltd.",
"warehouse": 1,
"warehouse_name": "W0001 - ห้วยขวาง",
"business_unit": 2,
"business_unit_name": "02 - ฝ่ายจัดส่ง",
"work_order": 1,
"work_order_name": "WOR1-014001" // ADDED
},
"destination": {
"company": 2,
"company_name": "Bizinterprise 2 Co.,Ltd.",
"warehouse": 2,
"warehouse_name": "W0002 - พระราม 9",
"business_unit": 3,
"business_unit_name": "03 - ฝ่ายจัดซื้อ",
"work_order": 7,
"work_order_name": "WOR1-028007" // ADDED
},
"from": "Bizinterprise Co.,Ltd.",
"to": "Bizinterprise 2 Co.,Ltd.",
"is_across_companies": true,
"remark": "",
"storage_bins_specified": true,
"order_products": [ // NOTE: Changed the attr name from "items".
{
"id": 31,
"product": {
"id": 1, // ADDED
"name": "132392 - KitKat",
"uom": "PCK"
},
"quantity": 75,
"source_storage_bin": 12,
"source_storage_bin_name": "SB00012",
"destination_storage_bins": [
{
"storage_bin": 917,
"storage_bin_name": "SB00017",
"quantity": 35
},
{
"storage_bin": 921,
"storage_bin_name": "SB00021",
"quantity": 40
}
],
"required_date": "2017-12-17"
},
]
}
]
The Sample API Result
Module name: Inventory Transfer Order
Sample view: List view
Module name: Inventory Transfer Order
Sample view: List view
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.