_nominalSet
Update the nominal code of a selected stock item.
Parameters
id
Integer. The ID of the stock item to be updated.
val
Integer. The new value of the nominal_code field. Cannot exceed 8 chars in length.
Example
FM_api('Stock_nominalSet',
[
'id'=>'2',
'val'=>'3000'
]
);
Result
On Success
{"ok":"1"}
On Failure
If no stock ID provided:
{"error":"no stock id provided"}
Last updated