Hi guys,
My requirements from the PI scenarios are as followed:
- I have an outbound IDoc to X12 scenario.
- I want to access in a dynamic way the sender and receiver Party Agency values during mapping.
- My map is a reusable map across different partners.
- I have maintained various Identifiers representing my sender Partner (DUNS,Phone number,ZZ for mutual defines and more..)
How can I get the sender party Agency values in a dynamic way during mapping?
For example in a scenario where my 3rd party expects my DUNS In the map I will access it using getSenderPartyAgency (getting back the Qualifier)
and then accessing the value relevant for DUNS.
And in the same map if my 3rd party expects my Phone number a a qualifier I will accedes it the same way sending him back my Phone number as maintained in my Party object.
All in the same map. No Partner specific conditions.
Is it possible?
Basically a standard scenario like Invoice IDoc mapped to x12 810 might take place with different partners with different qualifiers but the payload logic will be remained for all..it will be just the ISA qualifiers that will get changed.
Appreciate your insights.