on 08-21-2008 3:34 PM
Hey experts,
I'm having an issue with an outbound scenario like this:
DELVRY05 --> EDI 856
as an additionally request, i have to consider to create differents 856 for every unique EXIDV2 field (tracking number of the handling unit E1EDL37 segment)
per example with 5 packs like this:
E1EDL37-EXIDV = 1
E1EDL37-EXIDV = 5
E1EDL37-EXIDV = 5
E1EDL37-EXIDV = 4
E1EDL37-EXIDV = 4
I would have to create 3 EDI
1º EDI:
E1EDL37-EXIDV = 1
2º EDI
E1EDL37-EXIDV = 5
E1EDL37-EXIDV = 5
3º EDI
E1EDL37-EXIDV = 4
E1EDL37-EXIDV = 4
So from my point of view i have 2 problems
- How can i check the EXIDV field to now of many commons codes i have and order the groups with the graphical mapping?
- After knowing this.. how can i create the multi map to create needed outputs?
I have already map 856 outbound scenarios, but i never needed to create a multimapping based on a condition
any ideas?
Thanks in advance!
Hey
You need to do mapping of ISA and ST segments
Use splitByValue for ISA,map E1EDL37-EXIDV->splitByValue->ISA.this will make sure that you get one ISA for every change in value,now within each ISA you can get multiple ST,so for that map E1EDL37-EXIDV to ST directly.
Thanx
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Aamir, I'm not sure on how to use SplitByValue, but let's say that i create a new ISA for every EXIDV2 value, that's ok i guess but do i need to do the same for ST??
I need to create a new EDI for every EXIDV2, not more transactions, besides this is at a header/item relation
for example: 3 codes
2 equals EXIDV2
1 different
result:
1 EDI with 1 transaction, with 2 headers/packs (segment S_HL) each one with their corresponding items
1 EDI with 1 transaction with 1 header/pack (segment S_HL) with their corresponding items
So my question is, i need to split the pack segment and the corresponding subsegment (segment E1EDL37, subsegments: E1EDL44.. etc) for every new EDI i create
- Can i create that only with SplitByValue on ISA segment?
- This includes multimapping right? because ISA it's 1.1
Hey
You need to create one ISA segment for very change in value,for that you need to use splitByValue.
then withing each ISA you can have multiple S_HL,for that just do a 1-1 mapping with the multiple occurring field of sender side.
You can change the occurrence of ISA by going in the messges tab of message mapping
Thanx
Aamir
Pl:In my earlier post i had said ST instead of S_HL. It will be S_HL ,not ST
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.