Share via


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

  • _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.

See Also

Reference

RetailChannelConfiguration Table