Custom Service Segments
Hello,
is it possible to create custom service segments like UNB or UNH and extend or restrict some of the qualifiers? The reason for this is that I'm working with interchange agreements, which also make specifications for UNB or UNH segments.
Best regards,
Robin Reiß
Comments
1 comment
Hi Robin,
You can extend the UNB\UNH by inheriting from the base classes:
https://www.edifabric.com/api/html/T_EdiFabric_Core_Model_Edi_Edifact_UNB.htm
https://www.edifabric.com/api/html/T_EdiFabric_Core_Model_Edi_Edifact_UNH.htm
This way you can apply a new set of EDI Codes.
We will also add the option of passing the EDI Codes externally (as it currently is for EdiMessage IsValid()) in the next release.
Please sign in to leave a comment.