DeleteChildType

Deletes all of the child objects of the type that you designate as a parameter from the Document Hierarchy.

Syntax

bool DeleteChildType (StrParam)

Parameters

String value of the child object Type. Smart parameters are supported.

Field, for example, eliminates all Field objects. In the Invoices application, LineItem removes the child fields of the Details parent Field object.

Returns

False if the child objects do not exist. Otherwise, True.

Level

All except Batch.

Details

Example
DeleteChildType("Field")