DocumentManager.<Document name>.CreateDocument

Syntax:

CreateDocument()

Returned value:

Type: DocumentObject.

Description:

Creates a new document.

Availability:

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

Example:

// create new ExpenseBill document
NewDocum = Documents.ExpenseBill.CreateDocument();
NewDocum.Write();


    

1C:Enterprise Developer's Community