No data in mandatory data element '<element ID>' in data segment or composite element '<identifier>'.
Description
Data is expected to be present in the data element with the specified element ID. The data element is in the data elements collection belonging to the data segment or the composite element with the specified identifier.
This error is generated if the following conditions are encountered in an EDI document:
- The composite element has a mandatory requirement, but does not contain sub elements.
- The composite element has a mandatory requirement and contains sub elements, but all its sub elements have no data.
- The composite element has a mandatory requirement, and has a sub element that has a mandatory requirement but does not contain data.
- The composite element or data segment has an optional requirement and contains sub elements, but in the sub element collection there is an element that has a mandatory requirement but does not contain data.
- The data segment has a mandatory requirement, and has a data element that has a mandatory requirement but does not contain data.