_getCosts
Returns supplier, nominal code and cost information pertaining to a selected Stock item.
Parameters,
id
Integer. The ID of the stock item.
Example
Fm_api('Stock_getCosts',
[
'id'=>'3'
]
);Result
On Success
Returns the following:
average_cost
nominal_code
supplier_id
supplier_name
Example:
On Failure
If no stock ID provided:
Last updated