Part of the trading partner definition process is to add a trade agreement to specific trade partners which associate specific standards, transactions and maps with the trading partner, including
The EDI standard used for this trade agreement
The map, transaction, direction for the application flow
Any overrides specific to this transaction and trade partner