RetailReplenishmentHierarchy::getWarehousesList Method [AX 2012]

Gets the list of invent locations for OMHierarchyRelationship for a given buyers push Id.

client server public static int getWarehousesList(
    RecId _hierarchyId, 
    RetailTmpInventLocation _warehouses, 
   [RetailBuyersPushId _buyersPushId])

Run On

Called

Parameters

_hierarchyId
Type: RecId Extended Data Type
The RecId value for the OMHierarchyRelationship table.
_warehouses
Type: RetailTmpInventLocation Table
A table instance to insert invent location.
_buyersPushId
Type: RetailBuyersPushId Extended Data Type
The value for buyers push Id.

Return Value

Type: int
The count of warehouses found by the list.
Show: