GetGanttChart function

Syntax

GetGanttChart(RecordName.FieldName)

Description

Use the GetGanttChart function to get a reference to a Gantt 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 doesn't 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 Gantt object.

Example

&gGantt = GetGanttChart(CHARTREC_WRK.CHART_FLD);