_setForm
Parameters
id
val
Example
FM_api('Invoice_setForm',[
'id'=>'697934',
'val'=>'460477'
]
);Result
On Success
On Failure
Last updated
FM_api('Invoice_setForm',[
'id'=>'697934',
'val'=>'460477'
]
);Last updated
{"ok":1}{"ok":1,"warning":"no change needed"}{"error":"id and val parameters are both required"}{"error":"invoice does not exist"}{"error":"form does not exist"}{"error":"cannot edit invoices that are marked Paid"}{"error":"wrong form type"}