📚 SAP Business One SDK Help

Child Method
See Also 
bstrDataName

Specifies the child table/UDO from which to retrieve the lines.

When registering a UDO, you can specify one or more child tables to link to the UDO and from which to create a child UDO. By default, the name of the child UDO is the same as the child table, but can be changed during the UDO registration.

Description

Returns a GeneralDataCollection object that represents all the lines in the specified child table/UDO for the current record.

Syntax

Visual Basic
Public Function Child( _
   ByVal bstrDataName As String _
) As GeneralDataCollection

Parameters

bstrDataName

Specifies the child table/UDO from which to retrieve the lines.

When registering a UDO, you can specify one or more child tables to link to the UDO and from which to create a child UDO. By default, the name of the child UDO is the same as the child table, but can be changed during the UDO registration.

Return Type

A collection of child lines.

Remarks

This method is not relevant when the GeneralData object represents a record in a child table of the UDO.

See Also