on 05-17-2011 6:18 AM
Hi ,
The target structure in the mapping I am working on is like this
LIST/S_UNB/S_UNH
LIST/S_UNB/S_UNH/D_0062
The mapping requirement is like the number of occurrences of the UNH segment should be assigned to 0062
Example:
First Occurrence of UNH:
UNBUNOA:2AMAZONRecvMsgB:RQMB:381050110509:1653105091653532+IN810'
UNH+ 1+ORDERS:D:96A:UN:EAN008'
BGM2201105060039NA'
DTM+137:20110506:102'
Second Occurrence of UNH
UNBUNOA:2AMAZONRecvMsgB:RQMB:381050110509:1653105091653532+IN810'
UNH2ORDERS:D:96A:UN:EAN008'
BGM2201105060049NA'
DTM+137:20110506:102'
Third Occurrence of UNH
UNBUNOA:2AMAZONRecvMsgB:RQMB:381050110509:1653105091653532+IN810'
UNH3ORDERS:D:96A:UN:EAN008'
BGM2201105060059NA'
DTM+137:20110506:102'
And so on...
I tried this way
Constant->Index(1,1)---->0062
But it did not work.
Please help me.
Thanks in advance
answered
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try this..!!
*Source element*(that is being mapped to LIST/S_UNB/S_UNH)------->*Count*------->*LIST/S_UNB/S_UNH/D_0062*
Regards,
Ramana.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Constant->Index(1,1)---->0062
Please use
UNH -> removeContext -> index(1,1) -> 0062
Hope this helps,
Mark
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.