Get Purchase Order (/pos/num)

Get Purchase Order By Number

Method accepts one argument, the po number to retrieve.

This method returns one purchase order, with header and line item detail.

Example request:

http://localhost:4567/api/pos/num?po=00024614

returns

{ "po-num": "00024614", "po-vendor": "VE", "po-status": "closed", "po-open-lines": "000002", "po-closed-lines": "000000", "items": [ { "item description": "LSILOSC SVD 0550 76 SBF", "stock num": "908602", "quantity suggested": "0.00", "quantity suggested right": "0.00", "quantity suggested left": "0.00", "quantity ordered": "0.00", "quantity ordered right": "0.00", "quantity ordered left": "0.00", "quantity received": "10.00", "quantity received right": "0.00", "quantity received left": "0.00", "unit cost": "0.00", "closed sw": "0.00" }, { "item description": "LVE SP ST28 28 0425 0100 70", "stock num": "966520", "quantity suggested": "0.00", "quantity suggested right": "1.00", "quantity suggested left": "1.00", "quantity ordered": "0.00", "quantity ordered right": "1.00", "quantity ordered left": "1.00", "quantity received": "0.00", "quantity received right": "1.00", "quantity received left": "1.00", "unit cost": "11.00", "closed sw": "11.00" }, { "item description": "LVE SP SV 0625 70", "stock num": "857515", "quantity suggested": "2.00", "quantity suggested right": "0.00", "quantity suggested left": "0.00", "quantity ordered": "4.00", "quantity ordered right": "0.00", "quantity ordered left": "0.00", "quantity received": "5.00", "quantity received right": "0.00", "quantity received left": "0.00", "unit cost": "5.00", "closed sw": "5.00" } ] }

Â