edi_party_data_oca
Provide reusable EDI components that gather partner data with controlled identifier exposure for each exchange type.
Key Features
- edi.exchange.type: Add an ID categories field so each exchange type restricts which partner identifiers are exposed in EDI payloads.
- edi.party.data: Provide a default component that returns a partner's name, filtered identifiers, and endpoint structure for a partner involved in an exchange.
- edi.party.data.mixin: Share reusable logic to pull the partner from the work context, honor a configurable name field, and build DotDict responses for consumer components.
- edi_party_data_oca.utils: Offer get_party_data_component helper to fetch the matching party data component for a specific backend exchange and partner.
- configuration: Advanced work context settings let implementers choose which partner name field (e.g. name or display_name) the party data component should emit.