_newNote
Creates a new Goods Received Note.
Parameters
supplier_id
The ID of the goods supplier.
po_id
The Purchase Order ID.
date_received
Date the goods were received on. In the format of YYYY-MM-DD.
supp_invoice
Supplier invoice reference
supp_dnn
Suppliers delivery note
notes
Notes relating to the goods received
Example
FM_api('GoodsReceived_newNote', [
'supplier_id' => '608071',
'po_id' => '424005',
'date_received' => '2018-11-09',
'supp_invoice' => '140',
'supp_dnn' => 'delivery note',
'notes' => 'new note'
]
);
Results
On Failure
If "supplier_id" parameter is not set or has a value less than 1:
{"error":"missing or invalid parameter: supplier_id"}
On Success
Returns the ID of the created Goods Received Note.
{"ok":1,"id":30002}
Last updated