Share via


RetailDeploymentHierarchyControllerFocus.getSearchContext Method [AX 2012]

Gets the node which sets the context for the current search. For example, if a "Modern POS" collection was connected to retailSrv1 and is selected, retailSrv1 would be returned as the search would be for Modern POSs connected to retailSrv1

Syntax

public RetailDeploymentHierarchyNode getSearchContext()

Run On

Called

Return Value

Type: RetailDeploymentHierarchyNode Class
The node which sets the context for the current search

Remarks

If no parent, this will return an invalid value. If isGlobalSearch == true, the value returned by this method is invalid

See Also

Reference

RetailDeploymentHierarchyControllerFocus Class