Share via


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.
  • _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.

See Also

Reference

WHSReservationHierarchyListPanel Class