RetailChannelConfiguration::foundOrCreate Method
Finds the RetailChannelConfiguration record for the specified channel.
Creates the record and returns it, if not found.
Syntax
client server public static RetailChannelConfiguration foundOrCreate(RefRecId _channelId, [boolean _forupdate])
Run On
Called
Parameters
- _channelId
Type: RefRecId Extended Data Type
Channel Id
- _forupdate
Type: boolean
A Boolean value that indicates whether to read the record for update; optional.
Return Value
Type: RetailChannelConfiguration Table
A record in the RetailChannelConfiguration table; otherwise, an empty buffer.