ディスカッション

NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.

クレジットメモを作成元の請求書に自動適用するSOAPリクエストのサンプル

編集済:Jul 25, 2024 6:55AM SuiteCloud / カスタマイズ

適用

製品:  NetSuite 2022.1



シナリオ

ユーザーは、SOAPリクエストを使用して作成元の請求書に自動的にクレジットメモ適用させたいと考えています。



解決策

SOAPリクエスト-レスポンスの例は次のようになります。

サンプルSOAPリクエスト:

<soapenv:Body>
        <add xsi:type='platformMsgs:AddRequest'>
            <record xsi:type='tranCust:CreditMemo'>
                <createdFrom xsi:type='platformCore:RecordRef' internalId='5493'/>
                <location xsi:type='platformCore:RecordRef' internalId='2'/>
                <applyList xsi:type='tranCust:CreditMemoApplyList'>
                    <apply xsi:type='tranCust:CreditMemoApply'>
                        <apply xsi:type='xsd:boolean'>trueapply>
                        <doc xsi:type='xsd:long'>5493doc>
                    apply>
                applyList>
            record>
        add>
    soapenv:Body>

サンプルSOAPレスポンス:

<soapenv:Body>
        <addResponse
            xmlns="">
            <platformMsgs:writeResponse
                xmlns:platformMsgs="urn:messages_2019_2.platform.webservices.netsuite.com">
                <platformCore:status isSuccess="true"
                    xmlns:platformCore="urn:core_2019_2.platform.webservices.netsuite.com">
              
タグ付けされた:

ようこそ!

サインイン

完全な詳細を表示するには、サインインしてください。

登録

アカウントがありませんか?ここをクリックして始めましょう!

リーダーボード

コミュニティの達人

第2四半期 (4月~6月 2026)

今週のリーダー

今月のリーダー

歴代リーダー