PCSubComponent::findByNameAndParent Method
Finds a subcomponent by its name and the record ID of its parent component.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static PCSubComponent findByNameAndParent(
PCName _subComponentName,
RefRecId _parentComponent,
[boolean _selectForUpdate])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static PCSubComponent findByNameAndParent(PCName _subComponentName, RefRecId _parentComponent)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static PCSubComponent findByNameAndParent(PCName _subComponentName, RefRecId _parentComponent)
Microsoft Dynamics AX 2012 (FPK)
client server public static PCSubComponent findByNameAndParent(PCName _subComponentName, RefRecId _parentComponent)
Microsoft Dynamics AX 2012 (SYS)
client server public static PCSubComponent findByNameAndParent(PCName _subComponentName, RefRecId _parentComponent)
Run On
Called
Parameters
- _subComponentName
Type: PCName Extended Data Type
A subcomponent name.
- _parentComponent
Type: RefRecId Extended Data Type
A record ID of a component.
- _selectForUpdate
Type: boolean
Return Value
Type: PCSubComponent Table
A subcomponent record buffer.