Skip to Content
0
May 28, 2020 at 03:09 PM

BETRG Edifact Invoice Map Requirement

344 Views

Hello Gurus,

This is a standard Invoice Edifact Map(Idoc Xml -> Edifact Xml). At the target side for the field D_5004(Monetary Amount), For E1EDP26 (Qualifier Amount)QUALF = 099 and (Total Value of Sum Segment)BETRG = 0, I need to populate 0 Otherwise I need to populate the corresponding BETRG value for QUALF = 003. Need to handle the context changes as well for both the segment and the field. Also, E1EDP26 values should be picked from the same E1EDP01 segment. And, multiple S_MOA should be generated based on the QUALF values in the E1EDP26 segment inside the same E1EDP01 segment(That Logic is working fine for my Segment Creation Criteria in G_SG26). But need to build a logic for D_5004.

Source Segment Path : /INVOIC02/IDOC/E1EDP01/E1EDP26

Target Segment Path: /ns0:INVOIC97A/M_INVOIC/G_SG25/ G_SG26[1]Can we achieve this using standard Node functions in my Graphical Map, if not can you help me with the UDF. Thank You.

Attachments

image.png (152.4 kB)