PCComponentControl::findOrCreateFromModelAndSubComponent Method

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

  • _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.

See Also

Reference

PCComponentControl Table