ディスカッション

スイート全体に組み込まれたAI機能は、データをより迅速に分析し、より優れた意思決定を促進する独自の考察を生成できるようにすることで、生産性を向上させ、リーダーに利便性をもたらします。オラクルのAI機能がどのように役立つかについては、これらのオンデマンド・ウェビナーをご覧ください。

AIを用いた自動化で請求書処理を合理化

AIを用いた考察を使用して、計画と予測を迅速化
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
Nominate Your Peers for NetSuite Support Community's Choice of the Quarter! Submit your nomination today.
Intelligent Payment Automation version 1.0.3 is now available in the SuiteApp Marketplace. The SuiteApp, powered by BILL, lets you automate payments, manage vendor details, and bank account information within NetSuite. Learn more
No Limits. Just possibilities.
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Celebrate Your 2025 Community Recap & Achievements!

We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.

View Your 2025 Community Recap

Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
Staying Connected During the Holidays

Season’s greetings to you and yours! As we head into the holidays (December 24 – January 4), we want to take a moment to celebrate the incredible strength and collaboration within our community. Even during the break, you can continue to benefit from connecting with peers, searching related threads, posting your questions, and marking helpful replies as “Accepted” in the Support Community.

Please note our dedicated team will be on reduced coverage during this time, and regular responsiveness will resume on January 5. Wishing you a joyful and restful holiday season!

-The NetSuite Support Community Team

NetSuite管理者ヒント|submitFields()を使用した効率的なレコード更新

編集済:Oct 14, 2025 2:52PM NetSuite 管理者コーナー

SuiteScriptを操作する場合、特にレコードを更新する場合、効率が重要です。NetSuiteは、より多くのガバナンス単位を消費し、実行速度を低下させるレコード全体をロードおよび保存するかわりに、より合理的な代替方法(submitFields()メソッド)を提供します。

submitFields()メソッドを使用すると、既存のレコードの1つ以上のボディレベル・フィールドをメモリーにロードせずに更新および送信できるため、スクリプトのパフォーマンスが大幅に向上します。また、更新されたレコードの内部IDも返されるため、単純な更新のための実用的でリソース節約のオプションになります。

load()およびsave()アプローチの使用

/**
 * @NApiVersion 2.x
  * @NScriptType Suitelet
 */

define(['N/record'], function(record) {
function onRequest(scriptContext) {
var rec = record.load({
  type: record.Type.EMPLOYEE,
  id:1903
})
rec.setValue({
  fieldId: 'firstname',
  value: 'Employee One'
})
rec.setValue({
  fieldId: 'middlename',
  value: ''
})
rec.setValue({
  fieldId: 'lastname',
  value: 'Save'
})
rec.save()
}
    return {
        onRequest: onRequest
    };
});

load()およびsave()アプローチを使用した後に記録します。

submitFields()アプローチの使用

/**
 * @NApiVersion 2.x
  * @NScriptType Suitelet
 */

define(['N/record'], function(record) {
function onRequest(scriptContext) {
record.submitFields({
type: record.Type.EMPLOYEE,
id:1903,
values: {
firstname: 'Employee One',
middlename: '',
lastname: 'Submit Field'
},
options: {
enablesourcing: false, // disable sourcing
ignoreMandatory: true // disable mandatory validation
}
})
}
    return {
        onRequest: onRequest
    };
});

submitFields()アプローチを使用した後の記録

レコード更新の適切な方法を選択すると、スクリプトの効率とシステム・パフォーマンスが大幅に向上します。該当する場合は、submitFields()を使用します。

ここに記載されているサンプルコードは、法律で許可される最大限の範囲で、いかなる種類の保証もなく「現状のまま」提供されます。Oracle + NetSuite Inc. は、サンプルコードの開発プラットフォームへの実装や、独自のWebサーバー構成の使用において、開発者の個々の成功を保証または保証しません。

Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced

----

Admin Tips.gif

ようこそ!

サインイン

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

登録

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

リーダーボード

コミュニティの達人

第4四半期 (Oct-Dec 2025年)

今週のリーダー

今月のリーダー

歴代リーダー