MCRPickingWorkbenchProfile::find Method
Finds a MCRPickingWorkbenchProfile with the passed profile ID.
Syntax
client server public static MCRPickingWorkbenchProfile find(
MCRPickingProfile _profileId,
[boolean _forupdate,
boolean _throwOnNotFound])
Run On
Called
Parameters
- _profileId
Type: MCRPickingProfile Extended Data Type
The profile ID used to find the MCRPickingWorkbenchProfile record.
- _forupdate
Type: boolean
A boolean used to determine whether or not a record should be selected for update; optional.
- _throwOnNotFound
Type: boolean
A boolean used to determine whether or not to throw an error if nothing is found; optional.
Return Value
Type: MCRPickingWorkbenchProfile Table
The MCRPickingWorkbenchProfile record found.
Exceptions
Exception | Condition |
---|---|
Error | Error thrown when no profile ID is passed. -or- Error thrown when _throwOnNotFound parameter is true and no MCRPickingWorkbenchProfile was found. |