ディスカッション

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.

SuiteTalkを使用して親子関係のカスタムレコードを作成

編集済:Jun 2, 2025 2:48PM SuiteCloud / カスタマイズ

適用

製品:  NetSuite 2020.1

シナリオ

Webサービスでのカスタムレコードの作成は、注文書レコードの作成方法と異なります。

注文書レコードおよびそのラインアイテムは一つのaddオペレーションリクエストにて作成することができますが、カスタムレコードの場合はまずは親レコードを作成、その後に子レコードをaddListオペレーションを使用して作成します。

解決策

1. 親レコードをaddオペレーションを使用して親カスタムレコードを作成(SuiteAnswers ID: 10724 - add)

サンプルSOAPリクエスト:

<soapenv:Body>

    <add xsi:type='platformMsgs:AddRequest'>

        <record xsi:type='setupCustom:CustomRecord'>

            <recType xsi:type='platformCore:RecordRef' internalId='recordtypeid' type='customRecord'/>

        </record>

    </add>

</soapenv:Body>

2. 親レコード作成後、addListオペレーションを使用して子レコードを作成 (SuiteAnswers ID: 10725 - addList)

サンプルSOAPリクエスト:

<soapenv:Body>

    <addList xsi:type='platformMsgs:AddListRequest'>

        <record xsi:type='setupCustom:CustomRecord'>

            <parent xsi:type='platformCore:RecordRef' internalId='123' type='customRecord'/>

                <recType xsi:type='platformCore:RecordRef' internalId='321' type='customRecord'/>


        </record>


        <record xsi:type='setupCustom:CustomRecord'>


            <parent xsi:type='platformCore:RecordRef' internalId='123' type='customRecord'/>

            <recType xsi:type='platformCore:RecordRef' internalId='321' type='customRecord'/>


    
タグ付けされた:

ようこそ!

サインイン

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

登録

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

リーダーボード

コミュニティの達人

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

今週のリーダー

今月のリーダー

歴代リーダー