Setting time attributes consists of the following activities:
Note: For information about time functions, see the Toolset Help.
A SET action can be used to establish the value of an attribute from an export or local view.
The SET statement in the following example sets a time attribute to the current time:
SET actual_time_started TO CURRENT_TIME
A time view is a component of an entity view that sees an attribute that is defined as time. The SET statement in the following example sets a time attribute to a time view:
SET actual_time_started TO project_actual_time_started
You can build time duration expressions in the Action Diagram. These expressions let you add a number of hours, minutes, and seconds to a time value. The expressions include times and labeled durations. The result is another time value. Time durations are available when you select a time value (either time view or current time).
The following statement illustrates the format for time duration expressions:
SET customer_contact_time TO import_customer_contact_time _2_HOURS_13_MONTHS + 1 SECOND
|
Copyright © 2014 CA.
All rights reserved.
|
|