Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This method returns all lenses received for either the date or purchase order specified.

Example request:

http://localhost:4567/api/lenses/receivings?polookup=00024614

returns

[{"tx-date":"20170627","tx-time":"15494572","stock-tx-type":"M","stock-tx-code":"C","stock-num":"966520","stock-description":"LVE SPST28 28 0425 0100 70","po-num":"00024614","tx-qty":0.0,"tx-qty-right":1.0,"tx-qty-left":0.0},{"tx-date":"20170627","tx-time":"15494573","stock-tx-type":"M","stock-tx-code":"C","stock-num":"857515","stock-description":"LVE SPSV 0625 70","po-num":"00024614","tx-qty":5.0,"tx-qty-right":0.0,"tx-qty-left":0.0},{"tx-date":"20170627","tx-time":"15524268","stock-tx-type":"M","stock-tx-code":"C","stock-num":"966520","stock-description":"LVE SPST28 28 0425 0100 70","po-num":"00024614","tx-qty":0.0,"tx-qty-right":0.0,"tx-qty-left":1.0},{"tx-date":"20170908","tx-time":"13072749","stock-tx-type":"M","stock-tx-code":"C","stock-num":"908602","stock-description":"LSILOSCSVD 0550 76 SBF","po-num":"00024614","tx-qty":10.0,"tx-qty-right":0.0,"tx-qty-left":0.0}]