DetailField property: Tree Structure class
Description
This property returns the name of the detail field for the tree structure, as a string. This property is valid only if you define a detail tree structure. If you create a node-oriented tree structure, this property is not required. This field must exist on the specified DetailRecord.
This property can be used only with an open tree structure, that is, you must use the Open method on the tree structure before you can use this property.
This property is read/write.
Example
The following example sets the DetailPage, DetailRecord, and DetailField properties for a tree structure. Note that the names of the page, record, and field are all capitalized: this is required for all PeopleSoft page, record, and field names.
&MYTREESTRUCT.DetailPage = "BUS_UNIT_TREE_INV";
&MYTREESTRUCT.DetailRecord = "BUS_UNIT_TBL_IN";
&MYTREESTRUCT.DetailField = "BUSINESS_UNIT";
Related Topics