_suppliersSet

Get Suppliers

Return all supplier data

Example

    FM_api(
	'Stock_suppliersGet'
    );

Result

Returns all rows in suppliers table, ordered by supplier name. Example:

[{"id":"1","name":"Test Supplier1","contact_name":"","street_address1":"","street_address2":"","town":"","county":"","country":"","postcode":"","email":"test@supplier.com","phone":"","notes":"","website":"www.testsupplier.com","tax_id":"01010101","terms":null,"account_number":"12345","is_active":"1","on_hold":"0","type":null,"meta":null,"cdate":"2018-01-01 10:00:00"},{"id":"2","name":"Test Supplier2","contact_name":"","street_address1":"street1","street_address2":"street2","town":"town","county":"county","country":"IRL","postcode":"","email":"test@supplier2.com","phone":"98877000","notes":"some notes go in here","website":"http:\/\/supplier2.com","tax_id":"674488","terms":null,"account_number":"46465452","is_active":"1","on_hold":"0","type":null,"meta":null,"cdate":"2017-12-21 10:42:52"}]

Last updated