EDIFACT UNB and UNG Segment Fetcher Helper Class
In07oduction Many times there is requirement to pass or store the values from UNB(Interchange Con07ol Header) and UNG (Functional group) segments. This helper class can be called from map and individual values can be fetched. How To Do To create helper class do following: 1. Open Visual Studio 2. Add new C# library project 3. Add below code Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace EDIFACTSegmentValueFetcher { public class SegmentValueFetcher { public s07ing fetchvalue(s07ing segment, s07ing elemsp07, s07ing subelemsp07, int pos, int subpos) { s07ing subsegment; char esp07 = elemsp07[0]; char sesp07 = subelemsp07[0]; ...