GetDocumentKey method: Document class

Syntax

GetDocumentKey()

Description

Use this method to generate the document keys for the document as a DocumentKey object.

Parameters

None.

Returns

A DocumentKey object.

Example

Local Document &Doc;

&Doc = CreateDocument("Purchasing", "PurchaseOrder", "v1");
&DocKey = &Doc.GetDocumentKey();

Related Topics