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