RetailTransactionService::getChannelIdFromStoreId Method [AX 2012]

Method to retun the channelid from the storeId if the store id has a value

client server private static RetailChannelRecId getChannelIdFromStoreId(RetailStoreId _storeId, RetailChannelRecId _channelId)

Run On

Called

Parameters

_storeId
Type: RetailStoreId Extended Data Type
ID of the RetailGiftCardTable.reservedByStoreId field.
_channelId
Type: RetailChannelRecId Extended Data Type
ID of the RetailGiftCardTable.channel field.

Return Value

Type: RetailChannelRecId Extended Data Type
The channel id from the store id

For 6.2 EPOS client, ChannelId is not set so we can resolve it based on the StoreId.

Show: