I try to POST /StockTransfers with below JSON:
- Code: Select all
{
"TransferNo":"GI001",
"TransferDate":"2018-05-19T00:00:00",
"Reference":"GI001",
"PhysicalWarehouseID":"00000000IB0000000003",
"StockTransferReasonIsDefault":true,
"LastSavedDateTime":"2018-05-28T14:23:59.4607569+07:00",
"CreatedDateTime":"2018-05-28T14:23:59.4607569+07:00",
"Lines":[
{
"ItemNo":0,
"Reference":10000000000000002,
"TransferQuantity":11,
"FromInventoryRecID":"000000000E00000000NP",
"FromInventoryPartNo":"01140008",
"LastSavedDateTime":"2018-05-28T14:23:59.4607569+07:00",
"CreatedDateTime":"2018-05-28T14:23:59.4607569+07:00",
"ToPartExpiryDate":"2018-05-28T14:23:59.4607569+07:00"
}
],
"Status":"Activated"
}
It always return "General Ledger Account Not Found". Please advise.
Thanks,
Hieu