| Previous | Next |  | Contents | Index | Glossary

## GetItemAttrDocument

PL/SQL Syntax

`function GetItemAttrDocument`

        (itemtype in varchar2,

         itemkey in varchar2,

         aname in varchar2) return varchar2;

Description

Returns the document identifier for a DM document-type item attribute. The document identifier is a concatenated string of the following values:

    DM:<nodeid>:<documentid>:<version>

`<nodeid>` is the node ID assigned to the document management system node as defined in the Document Management Nodes web page. See: To Define a Document Node.

`<documentid>` is the document ID of the document, as assigned by the document management system where the document resides.

`<version>` is the version of the document. If a version is not specified, the latest version is assumed.

Arguments (input) | itemtypeA valid item type.
itemkey | A string generated from the application object's primary key. The string uniquely identifies the item within an item type. The item type and key together identify the process. See: CreateProcess.

> Note: Pass #SYNCH as the itemkey to create a forced synchronous process. See: Forced Synchronous Processes.

aname | The internal name of the item type attribute.

| Previous | Next |  | Contents | Index | Glossary