Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

/lenses/receivings

This endpoint allows an external system to post lens receivings against an Rx-Universe purchase order.

Inputs:

poNum - Rx-Universe purchase order number
OPC - OPC of the lens being received
qtyReceived - the number of lenses (not pairs) being received for this OPC
allowExcess - if set to Y, the endpoint will accept a quantity greater than what was ordered. If N, and a quantity received is submitted that is greater than the open quantity for the line (ordered - previously received), an error indicating this will be returned.
allowNewLens - if set to Y, the endpoint will accept an OPC that was not on the original PO. If set to N, and an OPC is submitted which was not on the original PO, it will be rejected and a message to that effect returned.

Additional functionality: - once all lenses have been received for a particular lens, that lens will be marked closed on the purchase order, even if there are multiple receivings.

Once all lenses have been received for the purchase order, the PO will be marked closed.

  • No labels