I try to create Supplier Purchase Order with REST API
- Code: Select all
JiwaAPI/PurchaseOrders
- Code: Select all
{
"CreditorRecID":"1 ",
"CreditorAccountNo":"5001",
"OrderDate":"2018-05-10T20:32:57",
"Reference":"444444444444",
"OrderStatus":"3",
"OrderType":"DefaultOrderType",
"OrderSupplierType":"Creditor",
"LogicalWarehouseOrderingFromRecID":"",
"LogicalWarehouseOrderingFromDescription":"Creditor",
"Lines":[
{
"ItemNo":1,
"InventoryId":"50a81a68936a40b8b107",
"PartNo":"0U-GargBag",
"Quantity":1.00000,
"IncPrice":0.22000,
"CustomFieldValues":[
{
"SettingID":"86ef4833-362c-418f-a641-55379302fd66",
"SettingName":"iVendKey",
"Contents":"10000000000000100",
"PluginID":"35a3cfba-99f2-4ed0-bcc9-3c44e02963ba",
"PluginName":"iVendUDF"
}
]
}
]
}
The PO created in Jiwa successful but custom field did not update.
Please advise how to update custom field.
Thanks,
Hieu