RetailInternalOrganization::findOrCreateByOMInternalOrganization Method
Finds or creates the record in the RetailInternalOrganization based on the RecId of an OM internal org.
Syntax
client server public static RetailInternalOrganization findOrCreateByOMInternalOrganization(RefRecId _omInternalOrgRefRecId, [boolean _forUpdate])
Run On
Called
Parameters
- _omInternalOrgRefRecId
Type: RefRecId Extended Data Type
The value of OmInternalOrganization RecId.
- _forUpdate
Type: boolean
A boolean value.
Return Value
Type: RetailInternalOrganization Table
A record in the RetailInternalOrganization if _omInternalOrgRefRecId != 0; otherwise, an empty record.