03-24-2024 6:18 PM - edited 03-26-2024 12:20 PM
Hello All,
When I tried simulating my MAG I'm getting all the context values of a node as output even after assigning qualifiers (requires only first value). Can anyone help me in understanding how the context handling is done in MAGs?
Also can anyone share how the multiple qualifiers in MAG are processed while simulation?
For my MAG I'm trying to populate the date field at receiver side depending upon IDDAT(E1EDK06) and DATUM(E1EDK06). But all the context values for DATUM are coming in same target field which is not expected (only the DATUM values when IDDAT=022 is expected).
Thanks,
Aditya
It is much simpler to qualify the nodes individually rather than collectively and only group them at a target when required, than always deal with parsing the node list of the full group. I have done this previously but backtracked to the other approach and used xsl:choose because you can rename input nodes in your xsl functions (see example). To provide context we have some EDI partners that only send N1[ST], so we use that to derive sold-to/bill-to, but priority goes to N1[BT] if that exists. Notice the renaming of the source parameters for easy evaluation with xsl:choose for multiple source qualifiers (cannot see the BT from the source in the screenshot because of screen size limitations).
Regards,
Ryan Crosby
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Assigned at the source MIG.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
9 | |
8 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.