RetailInternalOrganization::findByChannelId Method
Find record in RetailInternalOrganization table.
Syntax
client server public static RetailInternalOrganization findByChannelId(RefRecId _channel, [boolean _forUpdate])
Run On
Called
Parameters
- _channel
Type: RefRecId Extended Data Type
RecId from RetailChannelTable table.
- _forUpdate
Type: boolean
Select record for updating RetailChannelTable table.
Return Value
Type: RetailInternalOrganization Table
Return the internal org.
Remarks
Return the internal org based on channel id if found else return empty record.