Set the Reference for a Purchase order.

Parameteres

###id ID of the purchase order which will have the reference set.

reference

The reference to be set for the purchase order.

Example

FM_api('PurchaseOrder_setReference', ['id' => '10', 'reference' => '18'])

Result

On Success

{"ok":1}