Symptom
You are trying to release Third-Party Delivery Notifications but this is not possible due to extra empty lines created and kit items missing for the parent line item.
Also you encounter the below errors during Check Consistency
Product ID differs from product in purchase order item
Product ID is missing; enter a product ID
Product type code not valid; must be material
Environment
SAP Business ByDesign
Reproducing the Issue
1. Go to Third Party Order Fulfillment workcenter and Third Party Delivery Notifications View.
2. Search for ABC (ABC represents the document's ID).
You will notice that the Release button is inactive.
3. Click on the Check Consistency and you will encounter the below error
Product ID differs from product in purchase order item
Product ID is missing; enter a product ID
Product type code not valid; must be material
Cause
The maintained data in the payload (DeliveryDespatchAdviceNotification web service) is not correct and namely there is no reference to the fact that there are kits involved.
The following tags are missing:
*Remark: the base quantities and type codes below are given as an example only.
Kit Header
- <KitItemBaseQuantity unitCode="EA">1.0</KitItemBaseQuantity>
- <KitItemBaseQuantityTypeCode>EA</KitItemBaseQuantityTypeCode>
- <NonDeliveryRelevantIndicator>true</NonDeliveryRelevantIndicator>
Kit Item(s)
- <KitItemBaseQuantity unitCode="EA">1.0</KitItemBaseQuantity>
- <KitItemBaseQuantityTypeCode>EA</KitItemBaseQuantityTypeCode>
- <HierarchyRelationship>
- <ParentItemID>10</ParentItemID>
- </HierarchyRelationship>
The base quantity and non delivery relevance tag are missing from the kit header and the base quantity and the hierarchy relationship is missing from the kit items.
Resolution
You will need to correct the payload.
See Also
third party, delivery notifcation, webservice, DeliveryDespatchAdviceNotification
Keywords
KBA , AP-IDP-ID , Inbound Delivery , Problem