TAMFundCategoryTreeDatasource.new Method [AX 2012]
Initializes a new TAMFundCustCategoryTreeDatasource object.
Syntax
public void new(
FormDataSource _formDataSource,
FormTreeControl _formTreeControl,
FieldId _id,
FieldId _parentId,
anytype _txtField,
boolean _showIdInDescription,
boolean _useLastValue,
FieldId _id2,
TAMFundTable _tamFundTable,
[FieldId _sortField])
Run On
Client
Parameters
- _formDataSource
Type: FormDataSource Class
Datasource of the related tree control.
- _formTreeControl
Type: FormTreeControl Class
The tree control being managed.
- _id
Type: FieldId Extended Data Type
The ID of the current node.
- _parentId
Type: FieldId Extended Data Type
The ID of the parent node.
- _txtField
Type: anytype
The field being used to set the name of the current node.
- _showIdInDescription
Type: boolean
A boolean value that determines whether or not to show the ID in the node description.
- _useLastValue
Type: boolean
A boolean value that determines whether or not to use the last value.
- _id2
Type: FieldId Extended Data Type
The second ID.
- _tamFundTable
Type: TAMFundTable Table
The related record the hierarchy is tied to.
- _sortField
Type: FieldId Extended Data Type
The field to sort the nodes on.