_cancel
Parameters
id
Example
FM_api('PurchaseOrder_cancel', ['id' => '1']);On Success
{'ok':1}On Failure
{'error':'not logged in'}{'error':'no purchase order ID'}Last updated
Cancels a specified PurchaseOrder.
The ID of the PurchaseOrder to cancel.
FM_api('PurchaseOrder_cancel', ['id' => '1']);{'ok':1}If the User is not logged in:
{'error':'not logged in'}If the PurchaseOrder ID is not supplied:
{'error':'no purchase order ID'}Last updated