Share via


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

  • _forUpdate
    Type: boolean
    A boolean value.

Return Value

Type: RetailInternalOrganization Table
A record in the RetailInternalOrganization if _omInternalOrgRefRecId != 0; otherwise, an empty record.

See Also

Reference

RetailInternalOrganization Table