メインコンテンツまでスキップ

 

 

Coupa Japanese

2.1サプライヤーを作成

このページは機械翻訳を使用して翻訳されています。


概要

サプライヤーメンテナンスプロセスの最初のステップは、ERP /調達システムデータに基づいてCoupaでサプライヤーを作成することです。

各ERP /調達システムは異なるレベルのサプライヤー情報を保存できるので、デフォルトですべてのCoupa標準フィールド/タグを組み込むことができ、必要に応じてカスタムフィールドを許可するツールに柔軟性があることを確認してください。

APIの使用

  1. ERP /調達システムでサプライヤーを作成します。
  2. ERP Connectorプラットフォームは、POST APIを使用してCoupaへのAPIコールをトリガーし、ERP Connectorプラットフォームでサプライヤーを作成する必要があります。
  3. 201 API応答が返され、それがERP Connectorプラットフォームのログエンジンに記録されていることを確認します。別のAPI応答(たとえば、400)エラーが発生した場合は、APIエラー(API応答 <errors><error> タグで返されます)をERPコネクタプラットフォームのログエンジンに記録し、通知を関係者に送信する必要があります。
  4. 新規サプライヤーが作成され、すべてのサプライヤー詳細がCoupaに正しく追加されていることを検証します。

サンプルAPI

この例では、サプライヤーはCoupaで、双方向照合、cXML POメソッド、およびcXML請求を使用して作成されています。

投稿

https://<instance_url>/api/suppliers

ペイロード

<?xml version="1.0" encoding="UTF-8"?>
<supplier>
  <name>R15_TEST_SUPPLIER_2</name>
  <display-name>R15 TEST SUPPLIER 2</display-name>
  <number>R15_TEST_SUPPLIER-2</number>
  <status>active</status>
  <website>https://apivalidation-15a.coupadev.com</website>
  <po-method>cxml</po-method>
  <po-change-method>email</po-change-method>
  <payment-method>pcard</payment-method>
  <cxml-url>http://www.coupa.com</cxml-url>
  <cxml-domain>CUST DOM 2</cxml-domain>
  <cxml-identity>CUST IDEN 2</cxml-identity>
  <cxml-supplier-domain>SUPP DOM 2</cxml-supplier-domain>
  <cxml-supplier-identity>SUPP IDEN 2</cxml-supplier-identity>
  <cxml-secret>CUSTSUPP22</cxml-secret>
  <cxml-protocol>HTTPS</cxml-protocol>
  <cxml-http-username>R15_SUPP_USER_2</cxml-http-username>
  <cxml-ssl-version>TLSv1</cxml-ssl-version>
  <disable-cert-verify type="boolean">true</disable-cert-verify>
  <po-email>R15_TEST_SUPPLIER_2@COUPA.COM</po-email>
  <account-number>R15_TEST_SUPPLIER_ACTNO-2</account-number>
  <duns>DUNS</duns>
  <tax-id>8</tax-id>
  <coupa-connect-secret nil="true" />
  <buyer-hold type="boolean">false</buyer-hold>
  <invoice-matching-level>2-way</invoice-matching-level>
  <allow-cxml-invoicing type="boolean">true</allow-cxml-invoicing>
  <cxml-invoice-supplier-domain>SUPP DOM 2</cxml-invoice-supplier-domain>
  <cxml-invoice-supplier-identity>SUPP IDEN 2</cxml-invoice-supplier-identity>
  <cxml-invoice-buyer-domain>CUST DOM 2</cxml-invoice-buyer-domain>
  <cxml-invoice-buyer-identity>CUST IDEN 2</cxml-invoice-buyer-identity>
  <cxml-invoice-secret>CUSTSUPP22</cxml-invoice-secret>
  <on-hold type="boolean">false</on-hold>
  <savings-pct type="decimal">5.0</savings-pct>
  <allow-inv-from-connect type="boolean">true</allow-inv-from-connect>
  <allow-inv-no-backing-doc-from-connect type="boolean">true</allow-inv-no-backing-doc-from-connect>
  <allow-inv-unbacked-lines-from-connect type="boolean">true</allow-inv-unbacked-lines-from-connect>
  <allow-inv-choose-billing-account type="boolean">false</allow-inv-choose-billing-account>
  <dp-amount-required>20%</dp-amount-required>
  <supplier-diversity>Woman-Owned Business Enterprise</supplier-diversity>
  <parent>
    <name>Amazon.com</name>
  </parent>
  <online-store>
    <url>http://www.amazon.com/</url>
    <login>R15_TEST_SUPPLIER_1</login>
  </online-store>
  <primary-contact>
    <email>R15_TEST_USER_2@COUPA.COM</email>
    <name-prefix nil="true" />
    <name-suffix nil="true" />
    <name-additional nil="true" />
    <name-given>R15_TEST</name-given>
    <name-family>USER_2</name-family>
    <name-fullname nil="true" />
    <notes nil="true" />
    <phone-work>
      <country-code>1</country-code>
      <area-code>123</area-code>
      <number>4567890</number>
      <extension nil="true" />
    </phone-work>
    <phone-mobile>
      <country-code>1</country-code>
      <area-code>098</area-code>
      <number>7654321</number>
      <extension nil="true" />
    </phone-mobile>
  </primary-contact>
  <primary-address>
    <name nil="true" />
    <location-code nil="true" />
    <street1>10615 Professional Cir</street1>
    <street2>1st Floor</street2>
    <city>Renu</city>
    <state>NV</state>
    <postal-code>89521</postal-code>
    <attention nil="true" />
    <active type="boolean">true</active>
    <business-group-name nil="true" />
    <vat-number>CA</vat-number>
    <checkbox />
    <country>
      <code>US</code>
    </country>
    <vat-country>
      <code>US</code>
    </vat-country>
    <content-groups type="array" />
  </primary-address>
  <payment-term>
    <code>Net 30</code>
    <description />
    <days-for-net-payment type="integer">30</days-for-net-payment>
    <days-for-discount-payment nil="true" />
    <discount-rate nil="true" />
    <active type="boolean">true</active>
    <content-groups type="array">
      <content-group>
        <name>Everyone</name>
      </content-group>
    </content-groups>
  </payment-term>
  <shipping-term>
    <code>Fedex</code>
  </shipping-term>
  <tax-code>
    <code>CA</code>
  </tax-code>
  <commodity>
    <name>Laptops</name>
  </commodity>
  <remit-to-addresses type="array" />
  <send-invoices-to-approvals type="boolean">false</send-invoices-to-approvals>
  <restricted-account-types type="array" />
  <invoice-emails type="array" />
  <content-groups type="array">
    <content-group>
      <name>Everyone</name>
    </content-group>
  </content-groups>
</supplier>

CSVの使用

  1. ERP /調達システムでサプライヤーを作成します。
  2. ERP Connectorプラットフォームは、新しいサプライヤーのためにERP ConnectorプラットフォームからCSVフラットファイルを生成します。(ファイルには少なくとも必須フィールドが入力されている必要があります。)
  3. ERP Connectorプラットフォームは、CSVファイルを/Incoming/SuppliersCoupa sFTPサイトの フォルダーに配置します。
  4. スケジュールされたジョブがファイルを取得して処理したら、新しいサプライヤーが作成され、すべてのサプライヤーの詳細がCoupaに正しく追加されていることを確認します。

CSVのサンプル

CSVファイルを/Incoming/Suppliersフォルダーに配置します。ここでファイルが取得され、5分で処理されます。新しいサプライヤーが作成されたことを検証します。

サンプルファイルについては、 create_supplier.csvを参照してください。

CSVフラットファイルのアップロードはCoupaのhttps://<instance>/data_sourcesで監視されています。Coupaはアップロード失敗を通知をCoupa管理者に送信します。Coupa管理者はさらに調査する必要があります。

  • この記事は役に立ちましたか?