PCComponentControl::findOrCreateFromModelAndRootComponent Method
Finds or creates the specified record in the PCComponentControl table.
Syntax
client server public static PCComponentControl findOrCreateFromModelAndRootComponent(
RefRecId _configurationControl,
RefRecId _component,
[boolean _forupdate])
Run On
Called
Parameters
- _configurationControl
Type: RefRecId Extended Data Type
A reference to a configuration control.
- _component
Type: RefRecId Extended Data Type
A reference to a component.
- _forupdate
Type: boolean
A Boolean value that indicates whether the record should be selected for update; optional.
Return Value
Type: PCComponentControl Table
A record in the PCComponentControl table; otherwise, an empty record.