_stockGetDT

Gets Customer stock details.

Parameters

cid

The ID of the customer.

date_to

Date to retrieve stock to, YYYY-MM-DD.

date_from

Date to retrieve stock from, YYYY-MM-DD.

Example

FM_api('Customer_stockGetDT', ['cid' => '1', 'date_to' => '2018-12-12', 'date_from' => '2018-09-01']);

Result

On Success

{"draw":0,"recordsTotal":42,"recordsFiltered":8,"data":[["141","2018-11-26 16:22:40","82878",[[{"id":"2","amt":"5","containers":{"1_82878":5}}]]],["139","2018-11-26 16:21:43","82878",[[{"id":"2","amt":"2","source":"1_82878"}]]],["137","2018-11-23 14:56:28","82878",[[{"id":"1","amt":"4","source":"1_82878"}]]],["98","2018-11-15 09:58:19","82878",[[{"id":"4","amt":"10","source":"1_82878"}]]],["131","2018-11-08 09:22:24","82878",[[{"id":"2","amt":"2","containers":{"1_82878":2}}]]],["130","2018-11-08 09:20:41",""...

Last updated