DisplacingCalculationTypes.<Name of chart of calculation types>.Add

Syntax:

Add()

Returned value:

Type: DisplacingCalculationTypesRow.

Description:

Adds a row to the end of the tabular section.

Availability:

Server, thick client, external connection.

Note:

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:

Procedure SetDisplacingCalculation(CalculationType, 
        DisplacingCalculationTypes)
    CalculationType = CalculationType.GetObject();
    CalculationType.DisplacingCalculationTypes.Clear();
    If 
DisplacingCalculationTypes <> Undefined Then
        For each Item In DisplacingCalculationTypes Do
            NewRow = CalculationType.DisplacingCalculationTypes.Add();
            NewRow.CalculationType = Item.Value;
        EndDo
;
    EndIf
; 
    CalculationType.Write();
EndProcedure


    

1C:Enterprise Developer's Community