사례 레코드 자체에 나타낼 수 있는 정보가 필요하다면 복잡한 수식을 작성해야 합니다. CST의 월요일~금요일의 표준 업무 시간에 기반하여 다음과 같은 수식을 작성할 수 있습니다(Setup(설정) | Company Profile(회사 설정) | Business Hours(업무 시간)에서 업무 시간을 구성해야 함).
IF(DATEVALUE(CreatedDate) = DATEVALUE(ClosedDate),
(ClosedDate - CreatedDate) * 24,
((CASE(MOD(DATEVALUE(CreatedDate) - DATE(1985,6,24),7),
0 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,2,2,3,3,4,4,5,5,5,6,5,1),
1 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,2,2,3,3,4,4,4,5,4,6,5,1),
2 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,2,2,3,3,3,4,3,5,4,6,5,1),
3 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,2,2,2,3,2,4,3,5,4,6,5,1),
4 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,1,2,1,3,2,4,3,5,4,6,5,1),
5 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,0,2,1,3,2,4,3,5,4,6,5,0),
6 , CASE( MOD(DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate) ,7),1,1,2,2,3,3,4,4,5,5,6,5,0),
999)
+ (FLOOR((DATEVALUE(ClosedDate) - DATEVALUE(CreatedDate))/7)*5)
- 2) * 9)
+
MAX((
DATETIMEVALUE(TEXT(YEAR(DATEVALUE(CreatedDate))) & "-" & TEXT(MONTH(DATEVALUE(CreatedDate))) & "-" & TEXT(DAY(DATEVALUE(CreatedDate))) & " 01:00:00am") - CreatedDate + 1) * 24, 0))
+
MAX((ClosedDate -
DATETIMEVALUE(TEXT(YEAR(DATEVALUE(ClosedDate))) & "-" & TEXT(MONTH(DATEVALUE(ClosedDate))) & "-" & TEXT(DAY(DATEVALUE(ClosedDate))) & " 16:00:00")) * 24, 0)
AppExchange 웹 사이트에서 다른 솔루션을 찾을 수도 있습니다. AppExchange
참고: 이는 하나의 예시일 뿐이므로 참조용으로만 사용해야 합니다. 표준시간대와 영업 시간이 다르므로 사용자 환경에서 위의 수식을 그대로 복사해서 붙여 넣어 사용하는 것은 권장하지 않습니다. 마지막으로 이 수식은 List View/Reports(목록 보기/보고서)에서는 제대로 작동하지 않을 수 있습니다. 보고서에서는 'Business Hours Age(업무 시간 경과일)' 필드를 사용하세요.
참고 항목:
Date Formula on Report Displays '#Error!' but Displays Correctly at the Record Level
Enable Case duration or age in business hours
000385836

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.