DocumentNewVersion()

Creates a new version of the document identified by the Document Number in DocIDStr. Depending on the value of Method; the user may be prompted for a new document version description.

Token ID

AFTKN_DM_NEW_VERSION or 874

Syntax

ANSISTRING DocumentNewVersion(ANSISTRING DocIDStr; 
                                    ENUM Method)

Parameters

DocIDStr As ANSISTRING

Document number of the document to create a new version for.

Method As ENUM

Specifies the method as follows:

200

Interactive

Asks for folder to create reference and Version Desc dialog box.

201

NonInteractive

Return Values

ANSISTRING

Remarks

IMPORTANT:DocIDStr in the form Domain.PostOffice.Library:Doc#.Ver# for ObjectAPI reference: LibraryID: Doc#.Ver#. The DocIDStr is a subset of the object DocumentVersion.ODMADocumentID in the ObjectAPI.