ディスカッション
AIを用いた自動化で請求書処理を合理化
AIを用いた考察を使用して、計画と予測を迅速化
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.
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!
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 管理者ヒント| SuiteletでのユーザーのIPアドレスの取得
Suiteletを構築する場合、セキュリティ監査、リージョンのカスタマイズ、分析と追跡の目的に関係なく、ページにアクセスするユーザーのIPアドレスを取得する必要がある場合があります。幸いなことに、WebブラウザからSuiteletにアクセスすると、NetSuiteはリクエスト・ヘッダーにクライアントのIPアドレスを含めます。
ns-client-IPヘッダーを参照することで、ユーザーのIPアドレスを簡単に抽出してスクリプトに記録できます。
この手法は、次の場合に役立ちます。
- 疑わしいアクセスまたは不正なアクセスを特定します。
- コンプライアンスまたは監査証跡のIPをロギングします。
- ユーザーの場所に基づいたコンテンツまたはサービスのカスタマイズ。
ノート:この方法は、ブラウザからSuiteletにアクセスする場合にのみ機能します。
次に、SuiteScript 2.xを使用した簡単な例を示します。
/**
* @NApiVersion 2.x
* @NScriptType Suitelet
* @NModuleScope SameAccount
*/
define(['N/ui/serverWidget'], function(widget) {
function onRequest(context) {
// Retrieve the IP address from the request headers
context.request.headers['ns-client-ip'];
// Log the entire headers object (optional)
log.debug({ title: 'Request Headers', details: context.request.headers });
// Log the IP address
log.debug({ title: 'Client IP Address', details: ip });
}
return {
onRequest: onRequest
};
});
ここに記載されているサンプルコードは、法律で許可される最大限の範囲で、いかなる種類の保証もなく「現状のまま」提供されます。Oracle + NetSuite Inc. は、サンプルコードの開発プラットフォームへの実装や、独自のWebサーバー構成の使用において、開発者の個々の成功を保証または保証しません。
Oracle + NetSuite Inc. は、サンプルコードに関連するデータまたは情報の使用、使用結果、正確性、適時性、完全性に関して、いかなる保証も行わず、すべての保証(明示的または黙示的)を否認します。特に、商品性、特定の目的への適合性、コードに関連するサービスまたはソフトウェアに関する保証を否認します。
Oracle + NetSuite Inc. は、サンプルコードに関連する行動から生じるいかなる種類の直接的、間接的または結果的な損害や費用についても責任を負いません。
SuiteScriptのデプロイの詳細は、これらのNetSuiteの始め方記事を確認してください。
- NetSuite の始め方 | スクリプトレコードの作成方法
- NetSuite の始め方 | SuiteScript 2.x レコードでスクリプトタイプを設定する方法
- NetSuite の始め方 | スクリプトレコードの展開方法
SuiteletでIPアドレス追跡を使用したことがありますか。セキュリティ、カスタマイズ、分析のいずれでも、NetSuite管理者コーナーで他のメンバーとヒントやユースケースを共有しましょう。
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- NetSuite Admin Corner | New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Advanced Accounting. RSVP on this event now!
