_find

Returns rows from the stock_container table showing where elements of a selected stock item are allocated.

Parameters

id

Integer. The ID of the stock item sought.

Example

FM_api('Stock_find',
		[
			'id'=>'5'
		]
	);

Result

On Success

Returns all rows from the stock_container table for that stock_id. Each row contains the following fields:

  • stock_id

  • container_id

  • container_type

  • amt

  • last_edited

  • amt_trigger

Example:

On Failure

If no stock id provided:

Last updated