OMOperatingUnit::findName Method
Finds a specified operating unit by using a specified name and the operating unit type.
Syntax
client server public static OMOperatingUnit findName(
str _partyName,
OMOperatingUnitType _ouType,
[boolean _forupdate])
Run On
Called
Parameters
- _partyName
Type: str
A party name that is stored in the DirPartyTable table.
- _ouType
Type: OMOperatingUnitType Enumeration
A type of operating unit.
- _forupdate
Type: boolean
A Boolean value that indicates whether to select for update.
Return Value
Type: OMOperatingUnit Table
A record, if found; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).