Shipment Receipt Errors (.xml)

The following errors may be encountered with the Shipment Receipt message:

Data Element Error Message Description
Class 1 Errors
cmn:Location/@type Source type attribute must be populated if cmn:Location is present !!! The error occurs if cmn:Location is populated, but source is empty or null.
cmn:LotNumber Lot number in source cmn:LotNumber is required !!! The error occurs if source is empty or null, unless IsPharmacy = True, and ReceiptType = Purchase or Transfer.
cmn:NDC NDC code in source cmn:NDC is required !!! The error occurs if source is empty or null.
cmn:NDC/@type NDC type code in the source type attribute is required !!!
cmn:Quantity Receipt quantity in source cmn:Quantity is required !!!
cmn:ReceiptType Receipt type in source cmn:ReceiptType is required !!!
cmn:TransactionIdentifier/@type Source type attribute must be populated if cmn:TransactionIdentifier is present !!! The error occurs if cmn:TransactionIdentifier is populated, but source is empty or null.
Class 2 Errors
ShipmentReceipt.NDC, ShipmentReceipt.lot, ID, Location "No Transaction Histories pending receipt for <shipmentReceipt.receivingLocation> <shipmentReceipt.NDC>, Lot <shipmentReceipt.lot>, Delivery <id> at Location <loc>. The error occurs if a specified product does not have a corresponding Transaction History (TH) pending receipt.
PENDING_RECEIPT_EXCEED_QTY_NEG PENDING_RECEIPT_EXCEED_QTY_NEG must be a ParameterizedException. The error occurs if quantity was not parametrized.
PENDING_RECEIPT_EXCEED_QTY PENDING_RECEIPT_EXCEED_QTY must be a ParameterizedException.
ReceivingQuantity, RemainingQuantity Receiving quantity <ReceivingQuantity> exceeds Transaction History pending receipt quantity for <shipmentReceipt.NDC>. Original Transaction History Quantity: <ReceivedQuantity>. Remaining Quantity to Receive: <RemainingQuantity>. The error occurs if the receiving quantity is more than the TH pending receipt quantity.
TransactionHistoryResource Transaction History received against has no recent histories. The error occurs if the specified TH does not have recent histories.
NDC Validation exception: <NDC>. The error occurs if the NDC is null.
<ndc.value><ndc.type>" unknown origin". The error occurs if a specified product's origin cannot be found.
<ndc.type><ndc.value>with Product Origin<productOrigin> contains a prior Transaction History when it should not. The error occurs if a specified product has a TH when it should not.
<ndc.type><ndc.value>with Product Origin<productOrigin> contains Received Direct Purchase Statement but has<transactions.size><prior Transaction Information>. The error occurs if a specified product contains received direct purchase statements but has multiple prior transaction information.
<ndc.type><ndc.value>with Product Origin<productOrigin> contains Direct Purchase Statement but has more than one prior Transaction Information. The error occurs if a specified product contains a direct purchase statement but has multiple prior transaction information.
Delivery Number, NDC Type, NDC Value, Lot Number Warning processing Delivery <Delivery Number>, <NDC Type> <NDC Value>, Lot <Lot Number>. The Transaction History is not found. The NDC is not found in Product Master Data. This error occurs if the user is a Dispenser and the "Consider an NDC that cannot be verified in Product Master Data to be an OTC product for which no Transaction History will be created" is "true" and no TH is found for the received item.
Delivery Number, NDC Type, NDC Value, Item Quantity Warning processing Delivery <Delivery Number>, <NDC Type> <NDC Value>, Quantity <Item Quantity>. The NDC is not found in Product Master Data. This error occurs if the user is a Dispenser AND the "Consider an NDC that cannot be verified in Product Master Data to be an OTC product for which no Transaction History will be created" is "true" AND the NDC is not found in RedBook.
Class 3 Errors
The following will be thrown for all Class 3 errors: “INTERNALERROR=Internal error from server [server details].” Please contact Support if this error is encountered.