i have an issue when i add the interchange envelope to an edi message (IFTSTA).
i’m using the service addICEnvelopeEDIFACT to generate the UNB, UNA, UNZ segments. but the UNB segment isn’t generated as expected.
the generated sgement: UNB+UNOA:1+111AAAA00000:ZZ+666RRRR00100:ZZ+140130:1505+118053015’
the intended one: UNB+UNOA:1+111AAAA00000:ZZ+666RRR00100:ZZ+142701:1805+124777++IFTSTA’
there are some missed composites in this line (++IFTSTA)
how can i fix this? are there any extra inputs to set for the service addICEnvelopeEDIFACT ?
documents: the document (string) we will add the envelope to
syntaxId: UNOA
syntaxVersion: 1
senderId : the sender id
senderQual: ZZ
receiverId: the receiver id
receiverQual: ZZ
UNARequired: true
addGroups: false
the rest of the inputs are not set:
reverseRoute
routingAddress
ICreference
ctlFromTable
password
passwordQual
applReference
priority
ackRequested
agreementId
testIndicator
groupInfo
delimiters
directoryVersionNumber
characterEncoding
syntaxReleaseNumber
senderInternalId
senderInternalSubId
receiverInternalId
receiverInternalSubId
we finally did it. in fact, as i had mentioned before about the inputs, there is an extra input to set which is "applReference ". once set to “IFTSTA” this text is added automatically at the end of the UNB segment.