RetailReplenishmentHierarchy::addToWarehouses Method [AX 2012]
Adds the invent locations associated with the retail channel specified by a RecId value.
Syntax
client server public static boolean addToWarehouses(
RecId _channelId,
RetailTmpInventLocation _warehouses,
[RetailBuyersPushId _buyersPushId])
Run On
Called
Parameters
- _channelId
Type: RecId Extended Data Type
The RecId value of the specified retail channel.
- _warehouses
Type: RetailTmpInventLocation Table
A record to insert the invent location.
- _buyersPushId
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