BudgetPlanningProcessSetup::lookupOrganizationHierarchyType Method [AX 2012]
Performs the lookup for the OMHierarchyType records.
Syntax
client server public static OMHierarchyType lookupOrganizationHierarchyType(
FormReferenceControl _ctrl,
HierarchyPurpose _hierarchyPurpose,
OrganizationHierarchyTypeRecId _currentOrganizationHierarchyType)
Run On
Called
Parameters
- _ctrl
Type: FormReferenceControl Class
The form reference control for which to perform the lookup.
- _hierarchyPurpose
Type: HierarchyPurpose Enumeration
The HierarchyPurpose type to filter the lookup on.
- _currentOrganizationHierarchyType
Type: OrganizationHierarchyTypeRecId Extended Data Type
The record ID of the currently selected OMHierarchyType record.
Return Value
Type: OMHierarchyType Table
The OMHierarchyType record selected by the lookup.