ディスカッション

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.

WebサービスCustomSearchJoinのエラー:INVALID_CSTM_FIELD_DATA_TYP

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

適用

製品: NetSuite 2021.1

シナリオ

Webサービスを介して、ユーザーは顧客検索を実行し、カスタムレコード内にあるカスタムフィールドのフィルターを追加したいと考えていますが、エラー:「INVALID_CSTM_FIELD_DATA_TYP-カスタムフィールド[xxx]参照オブジェクトがそのデータ型と一致しません。」が発生しています。

解決策

CustomSearchjoinを使用してCustomerSearchを実行すると、必要なオブジェクト要素に設定されている値が正しくないため、通常、このようなエラーが発生します。 Webサービスを介してカスタム結合を実行しようとしているため、どのスクリプトIDを使用するかについてはかなり注意が必要です。

サンプルスニペット:

<criteria xsi:type='listRel:CustomerSearch'>
                    <customSearchJoin xsi:type='platformCommon:CustomSearchJoin'>
                        <customizationRef xsi:type='platformCore:CustomizationRef' scriptId='custrecord1'/> //the correct value entered should be what specific field id you would like to use as your criteria. (the field inside your custom record)
                        <searchRecordBasic xsi:type='platformCommon:CustomRecordSearchBasic'>
  
タグ付けされた:

ようこそ!

サインイン

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

登録

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

リーダーボード

コミュニティの達人

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

今週のリーダー

今月のリーダー

歴代リーダー