Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds or creates the specified record in the PCComponentControl table.
Syntax
client server public static PCComponentControl findOrCreateFromModelAndSubComponent(
RefRecId _configurationControl,
RefRecId _subComponent,
RefRecId _parentComponentControl,
int _orderNumber,
[boolean _forupdate])
Run On
Called
Parameters
- _configurationControl
Type: RefRecId Extended Data Type
A reference to a configuration control.
- _subComponent
Type: RefRecId Extended Data Type
A reference to a sub-component.
- _parentComponentControl
Type: RefRecId Extended Data Type
A reference to the component control of the parent.
- _orderNumber
Type: int
The order number assigned to the created component control.
- _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.