WHSReservationHierarchyListPanel::newFromForm Method [AX 2012]
Returns a new instance of the WHSReservationHierarchyListPanel class.
Syntax
client server public static WHSReservationHierarchyListPanel newFromForm(
FormRun _formRun,
int _parentId,
Caption _captionLeft,
Caption _captionRight,
MethodName _validateMethodName,
List _hierarchyList)
Run On
Called
Parameters
- _formRun
Type: FormRun Class
A formrun that should have the list panels added.
- _parentId
Type: int
Id of the parent element.
- _captionLeft
Type: Caption Extended Data Type
The left caption.
- _captionRight
Type: Caption Extended Data Type
The right caption.
- _validateMethodName
Type: MethodName Extended Data Type
The name of the method on the form that should be called when items are added or removed.
- _hierarchyList
Type: List Class
A list of the hierarchy that will be used to populate the left panel.
Return Value
Type: WHSReservationHierarchyListPanel Class
A new instance of the WHSReservationHierarchyListPanel class.