向 Azure 逻辑应用的集成帐户添加贸易合作伙伴Add trading partners to integration accounts for Azure Logic Apps

Azure 逻辑应用中,可以通过将集成帐户与逻辑应用配合使用来创建自动化的企业到企业 (B2B) 集成工作流。In Azure Logic Apps, you can create automated business-to-business (B2B) integration workflows by using an integration account with your logic apps. 可以创建代表你的组织和他人的组织的贸易合作伙伴并将其作为项目添加到集成帐户。To represent your organization and others, you create and add trading partners as artifacts to your integration account. 合作伙伴是参与 B2B 交易并相互交换消息的实体。Partners are entities that participate in B2B transactions and exchange messages with each other.

创建这些合作伙伴之前,请务必与合作伙伴讨论并共享相关信息,明确如何确定和验证另一方发送的消息。Before creating these partners, make sure to discuss and share information with your partners about how to identify and validate the messages that the other sends. 在认可这些详细信息后,就可以在集成帐户中创建合作伙伴了。After you agree on these details, you're ready to create partners in your integration account.

集成帐户中的合作伙伴角色Partner roles in integration accounts

若要明确与合作伙伴交换的消息的详情,请创建协议并将其作为项目添加到集成帐户。To define the details about the messages exchanged with your partners, you create and add agreements as artifacts to your integration account. 协议要求集成帐户中至少有两个合作伙伴。Agreements require at least two partners in your integration account. 在协议中,你的组织始终是主机合作伙伴 。Your organization is always the host partner in the agreement. 与你的组织交换消息的组织是来宾合作伙伴 。The organization that exchanges messages with your organization is the guest partner. 来宾合作伙伴可以是其他公司,甚至是你自己的组织中的部门。A guest partner can be another company, or even a department in your own organization. 添加这些合作伙伴后,便可以创建协议。After you add these partners, you can create an agreement.

在协议中,你从主机合作伙伴的角度详细指定如何处理传入和传出消息。In an agreement, you specify the details for handling incoming and outgoing messages from the host partner's perspective. 对于传入消息,可以通过“接收设置”指定主机合作伙伴如何从协议中的来宾合作伙伴处接收消息。 For incoming messages, the Receive Settings specify how the host partner receives messages from the guest partner in the agreement. 对于传出消息,可以通过“发送设置” 指定主机合作伙伴如何向来宾合作伙伴发送消息。For outgoing messages, the Send Settings specify how the host partner sends messages to the guest partner.

必备条件Prerequisites

创建合作伙伴Create partner

  1. 登录 Azure 门户Sign in to the Azure portal.

  2. 在 Azure 主菜单中,选择“所有服务” 。On the main Azure menu, select All services. 在搜索框中输入“集成”,然后选择“集成帐户” 。In the search box, enter "integration", and select Integration accounts.

    选择“集成帐户”

  3. 在“集成帐户” 下,选择要添加合作伙伴的集成帐户。Under Integration Accounts, select the integration account where you want to add your partners.

    选择“集成帐户”

  4. 选择“合作伙伴” 磁贴。Choose the Partners tile.

    选择“合作伙伴”磁贴

  5. 在“合作伙伴” 下,选择“添加” 。Under Partners, choose Add. 在“添加合作伙伴” 下提供合作伙伴的详细信息,如下表所述。Under Add Partner, provide the partner's details as described by the table below.

    选择“添加”,提供合作伙伴详细信息

    propertiesProperty 必选Required 说明Description
    名称Name Yes 合作伙伴的名称The partner's name
    QualifierQualifier Yes 身份验证正文,用于向组织提供唯一业务标识,例如 D-U-N-S (Dun & Bradstreet)The authenticating body that provides unique business identities to organizations, for example, D-U-N-S (Dun & Bradstreet).

    合作伙伴可以选择使用双方约定的业务标识。Partners can opt for a mutually defined business identity. 对于这些方案,请为 EDIFACT 选择“双方约定”,或为 X12 选择“双方约定(X12)”。 For these scenarios, select Mutually Defined for EDIFACT or Mutually Defined (X12) for X12.

    对于 RosettaNet,请仅选择“DUNS” ,这是标准。For RosettaNet, select only DUNS, which is the standard.

    Value Yes 一个值,用于标识逻辑应用接收的文档。A value that identifies the documents that your logic apps receive.

    对于 RosettaNet,此值必须是对应于 DUNS 号的 9 位数字。For RosettaNet, this value must be a nine-digit number that corresponds to the DUNS number.

    备注

    对于使用 RosettaNet 的合作伙伴,可以先创建这些合作伙伴,然后编辑它们,通过这种方式指定其他信息。For partners that use RosettaNet, you can specify additional information by first creating these partners and then editing them afterwards.

  6. 完成后,选择“确定” 。When you're done, choose OK.

    现在会在“合作伙伴”列表中显示新合作伙伴。 Your new partner now appears on the Partners list. 此外,“合作伙伴” 磁贴会更新当前的合作伙伴数。Also, the Partners tile updates the current number of partners.

    新合作伙伴

编辑合作伙伴Edit partner

  1. Azure 门户中,查找并选择“集成帐户”。In the Azure portal, find and select your integration account. 选择“合作伙伴” 磁贴。Choose the Partners tile.

    选择“合作伙伴”磁贴

  2. 在“合作伙伴” 下选择要编辑的合作伙伴,然后选择“编辑”。 Under Partners, select the partner that you want to edit, and choose Edit. 在“编辑”下进行更改。 Under Edit, make your changes.

    进行更改和保存更改

    对于 RosettaNet,可以在“RosettaNet 合作伙伴属性”下指定以下附加信息: For RosettaNet, under RosettaNet Partner Properties, you can specify this additional information:

    propertiesProperty 必选Required 说明Description
    合作伙伴分类Partner Classification No 合作伙伴的组织类型The partner's organization type
    供应链代码Supply chain code No 合作伙伴的供应链代码,例如“信息技术”或“电子组件”The partner's supply chain code, for example, "Information Technology" or "Electronic Components"
    联系人姓名Contact Name No 合作伙伴的联系人姓名The partner's contact name
    电子邮件Email No 合作伙伴的电子邮件地址The partner's email address
    FaxFax No 合作伙伴的传真号码The partner's fax number
    电话Telephone No 合作伙伴的电话号码The partner's phone number
  3. 完成后选择“确定”,保存所做的更改。 When you're done, choose OK to save your changes.

删除合作伙伴Delete partner

  1. Azure 门户中,查找并选择“集成帐户”。In the Azure portal, find and select your integration account. 选择“合作伙伴” 磁贴。Choose the Partners tile.

    选择“合作伙伴”磁贴

  2. 在“合作伙伴” 下,选择要删除的合作伙伴。Under Partners, select the partner that you want to delete. 选择“删除” 。Choose Delete.

    删除合作伙伴

后续步骤Next steps