BaseCalculationTypes.<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 used cautiously, if there are predefined lines in the tabular section (if there are lines, for which the Predefined property has the value True). 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