GetTimeLine function

Syntax

GetTimeLine(RecordName.FieldName)

Description

Use the GetTimeLine function to get a reference to a TimeLine object.

A chart must be associated with a record and field merely so that the chart object can be instantiated in PeopleCode. Which record and field you use does not matter. Commonly, the same derived/work record is used for all the charts in an application.

Parameters

Parameter Description

RecordName.FieldName

Specify the record and field associated with the chart you want to get.

Returns

A reference to a TimeLine object.

Example

&MyTimeLine = GetTimeLine(CHARTREC_WRK.CHART_FLD);