Siebel Field Service Guide > Business Service Methods in Siebel Field Service > Business Service Methods for Agreements >

GetElapsedBusinessTime Method


GetElapsedBusinessTime calculates the business time to accomplish a task. This method calculates the business time that elapses between 2 dates, according to a schedule that runs in a specific time zone.

This method is not used as part of any workflow process.

Arguments

Table 54 describes the arguments for this method.

Table 54. Arguments for GetElapsedBusinessTime Method
Argument Name
Description

Calendar Id

The ID of the schedule that is associated with the starting and ending time.

Schedule Time Zone

The time zone for the starting and ending time.

Start Time

The starting date and time of the task. This argument uses one of the following formats:

  • mm/dd/yyyy hh:mm:ss
  • mm/dd/yy hh:mm:ss

The first part of the format designates a date (month/date/year). For this part, the separator can be a slash (/) or a hyphen (-). The second part of the format designates a time (hour:minute:second).

End Time

The ending date and time of the task. This argument uses the same formats as the Start Time argument.

Time Unit

The unit of time (for example, hours or days).

Return Value

Table 55 describes the return value for this method.

Table 55. Return Value for GetElapsedBusinessTime Method
Return Value
Description

Business Time

The number of hours or days to accomplish the task.

Siebel Field Service Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.