ObjectDeletion.Default

Syntax:

New ObjectDeletion(<Ref>)

Parameters:

<Ref> (required)

Reference to a database object that must be deleted.

Description:

You can use it to create object copy with a predefined reference value to the database object.
Also can be created using the functional form of the New operator.

Example:

Array = New Array;
Array.Add(Catalogs.Currencies.FindByCode("999"));
ObjectDeletion = New (Type("ObjectDeletion"),Array);
ObjectDeletion.Write();


    

1C:Enterprise Developer's Community