_setLink
Set the Link for a Requisition order.
###id ID of the requisition order which will have the link details set.
1 - Contract, 2 - Customer, 3- Quote, 4 - Job, 5 - Department, 6 - Location
The ID of the Contract, Customer, Quote, Job, Department or Location you wish to set the Link as.
FM_api('RequisitionOrder_setLink', ['id' => '11', 'target_type' => '2', 'target_id' => '1'])
{"ok":1}
Last modified 4mo ago