ディスカッション
NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
月末にADD_MONTHS式の動作
適用
製品: NetSuite 2025.1
シナリオ
月末にADD_MONTHS式を使用する場合、不一致が発生する。
解決策
ADD_MONTHSはdateとinteger の月を返します。日付の引数は日付時刻の値またはDATEに暗に変換できる値です。integerの引数は数値または数値に暗に変換できる値です。dateの形式が関わらず、返すタイプは常にDATEです。dateは月の最終日またはdateのコンポネントより生じる日数は低い場合、 結果は生じる月の最終日になります。若しくは、結果はdateと同じ日のコンポネントになります。
月の最終日の日付の増減により、結果は変わります。
「ADD_MONTHS({date},-1)」のサンプルとは、左側の列はdateで返す値は右側の列です。
- 30/06/2021 > 31/05/2021
- 28/2/2021 > 31/1/2021
- 1/11/2021 > 1/10/2021
- 31/10/2021 > 30/9/2021
タグ付けされた:
0