ディスカッション

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.

ケースがオープンされた稼働日数と営業時間数の計算

編集済:Jan 14, 2026 6:33AM 一般

適用

製品:  NetSuite 2025.2
 

 



シナリオ

ユーザーは、保存検索を作成して、ケースが作成されてからの稼働日数と営業時間をカウントしたいと考えています。

 



解決策

  1. リスト>検索>保存検索>新規作成に移動 
  2. 検索の種類:ケースをクリック
  3. 検索タイトル:タイトルを入力
  4. 結果をクリック
  5. をクリック
  6. フィールド:

    • 番号を選択
    • 計算式(テキスト)を選択

      • 計算式:floor(((abs(round(to_char(trunc({createddate},'DD'), 'J') - to_char(trunc({today},'DD'), 'J') - (trunc({createddate},'d')-trunc({today},'d'))/7*2 - (case when to_char({today}, 'DY') = 'SUN' then 1 else 0 end) - (case when to_char({createddate}, 'DY') = 'SAT' then 1 else 0 end), 2))-1)*(17-4)+(decode(sign(trunc({createddate},'DD')+17/24 - {createddate}), -1 , 0, trunc({createddate},'DD')+17/24 - {createddate}-(case when trunc({createddate},'DD')+4/24 - {createddate} > 0 then trunc({createddate},'DD')+4/24 - {createddate} else 0 end)))*24+(case when {today} > trunc({today},'DD')+17/24 then 17-4 else case when {today} > trunc({today},'DD')+4/24 then {today}-(trunc({today},'DD')+4/24) else 0 end end)*24)/(17-4)) || ' days ' || replace(to_char(trunc({today},'DD')+mod((abs(round(to_char(trunc({createddate},'DD'), 'J') - to_char(trunc({today},'DD'), 'J') - (trunc({createddate},'d')-trunc({today},'d'))/7*2 - (case when to_char({today}, 'DY') = 'SUN' then 1 else 0 end) - (case when to_char({createddate}, 'DY')

ようこそ!

サインイン

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

登録

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

リーダーボード

コミュニティの達人

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

今週のリーダー

今月のリーダー

歴代リーダー