You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing edi-to-java with a customer order in the format of EANCOM, I set a group segment for the SKU lines in the mapping file such as above. there are 2 SKUs in the EDI, but it only mapped 1 SKU. then I changed minOccurs to "2" in medi:segmentGroup, then it mapped 2 SKUs. it seems the attr of minOccurs became "realOccurs".
The text was updated successfully, but these errors were encountered:
after testing, I found if adding the last segment "PAC" in the segmentGroup of the EDI file, and set it's minOccurs="1"(it is necessary), then it works as expected, I ignored that segment before. That's to say the last segment is necessary in the segmentGroup even it is useless. But it brings another problem that, if all the segments after "QTY" is optional, how to solve that?
I'm testing edi-to-java with a customer order in the format of EANCOM, I set a group segment for the SKU lines in the mapping file such as above. there are 2 SKUs in the EDI, but it only mapped 1 SKU. then I changed minOccurs to "2" in medi:segmentGroup, then it mapped 2 SKUs. it seems the attr of minOccurs became "realOccurs".
The text was updated successfully, but these errors were encountered: