CatalogManager.<Catalog name>.CreateItem

Syntax:

CreateItem()

Returned value:

Type: CatalogObject.

Description:

Creates new catalog item.

Availability:

Server, thick client, external connection, Mobile application (server).

Note:

This method does not write the created object to the database.

Example:

NewObject = Catalogs.Currencies.CreateItem();
NewObject.Code = "840";
NewObject.Description = "USD";
NewObject.FullDescr = "US dollars";
NewObject.Write();


    

1C:Enterprise Developer's Community