RetailReplenishmentHierarchy::addToWarehouses Method [AX 2012]

Adds the invent locations associated with the retail channel specified by a RecId value.

client server public static boolean addToWarehouses(
    RecId _channelId, 
    RetailTmpInventLocation _warehouses, 
   [RetailBuyersPushId _buyersPushId])

Run On



Type: RecId Extended Data Type
The RecId value of the specified retail channel.
Type: RetailTmpInventLocation Table
A record to insert the invent location.
Type: RetailBuyersPushId Extended Data Type
The ID of the current buyers push or cross docking; optional.

Return Value

Type: boolean
true if the warehouse under the specified channel exists and has been added to the temp table; otherwise false