| Previous | Next |  | Contents | Index | Glossary

## SetItemParent

PL/SQL Syntax

`procedure SetItemParent`

        (itemtype in varchar2,

         itemkey in varchar2,

         parent_itemtype in varchar2,

         parent_itemkey in varchar2,

         parent_context in varchar2);

Description

Defines the parent/child relationship for a master process and a detail process. This API must be called by any detail process spawned from a master process to define the parent/child relationship between the two processes. You make a call to this API after you call the CreateProcess API, but before you call the StartProcess API for the detail process.

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 child process.
parent_itemtype | A valid item type for the parent process.
parent_itemkey | A string generated from the application object's primary key to uniquely identify the item within the parent item type. The parent item type and key together identify the parent process.
parent_context | Context information about the parent.

| Previous | Next |  | Contents | Index | Glossary