RetailChannelTable::findOrCreateChannel Method
Finds the record in the RetailChanneltable table by using the record ID.
Syntax
client server public static RetailChannelTable findOrCreateChannel(RetailChannelType channelType, RecId _ouRecId)
Run On
Called
Parameters
- channelType
Type: RetailChannelType Enumeration
The current value of channel type.
- _ouRecId
Type: RecId Extended Data Type
The current value of record ID.
Return Value
Type: RetailChannelTable Table
A record in the RetailChannelTable table; otherwise, an empty record.
Remarks
Calls the method recIdfromOperatingUnitId from RetailChannelTable to find the record.