LeadingCalculationTypes.<Chart of calculation types name>.Clear

Syntax:

Clear()

Description:

Deletes all tabular section rows.

Availability:

Server, thick client, external connection.

Note:

This method should be exercised with caution if a tabular section contains predefined rows (i.e. if there are rows for which Predefined property has True value). If you delete all predefined tabular section rows, then you will not be able to record this calculation type.
The method can be used only when the tabular section is obtained from an object's property. If the tabular section is obtained from a reference property (or selection property), using this method would cause a runtime error.

Example:

// see example for the Add method.


    

1C:Enterprise Developer's Community