For “outbound” documents, it would be better to use the settings in the EDITPA than the settings in the profile. The profile external IDs are best used for “inbound” documents, not outbound. The challenge with using the profile for outbound documents is knowing which of the 2, 3, 10, etc. DUNS values to use for a given document.
As rmg points out too, it may be a good idea to use individual profiles in all cases anyway. In the projects I’ve done, we use the enterprise/hub profile for administrative purposes only (read contact information to know who to send error e-mails to) and never for routing purposes. Don’t think of your TN and the enterprise/hub profile as the entity that represents your company. Instead, you’ll get more flexibility if all apps, business units, etc. within your company are treated as full-fledged TN partners.
#webMethods#Integration-Server-and-ESB#B2B-Integration