DID definition

In the DID definition, you define the following attributes:

  • Name

    Sets the name of the DID. The name can contain a maximum of 10 characters. It must begin with an uppercase character and can be followed by lowercase characters, uppercase characters, digits, or underscores.

    did_name ::=
    uppercase-itp-name 
    |	quoted-string 
    
    The did_name attribute is omitted in a DID created and compiled in KCM Designer for Windows. In KCM Designer for Windows, the DID name is equal to that of the DID object.

  • Three-letter code

    Sets the three-letter code that a script developer uses in a Master Template when accessing a main entry.

    three-letter-code ::=
    uppercase-character 

  • DID modules

    Specify the DID modules used in this DID.

    did-module-name ::=
    uppercase-itp-name  
    |	quoted-string
    

  • Main entries

    Specify which entries a script developer can use as a main entry in a Master Template.

    entry-name ::=
    uppercase-itp-name  

  • DID functions

    Specify which DID functions a script developer can use in a Master Template.

    function-name ::=
    uppercase-itp-name  

Syntax

did-definition ::=
DEFINE_DID
NAME did_name 
IDENTIFICATION three-letter-code 
DID_MODULE_LIST [ did-module-declaration-sequence ]
MAIN_ENTRY_LIST [ main-entry-sequenceuence ]
DID_DEFINED_FUNCTION_LIST [ did-defined-function-sequence ]
END_DEFINE_DID
did-module-declaration-sequence ::=
did-module-name [ did-module-declaration-sequence ]
main-entry-sequenceuence::=
main-entry [ main-entry-sequenceuence ]
main-entry ::=
entry-name FROM did-module-name
did-defined-function-sequence ::=
did-defined-function [ did-defined-function-sequence ]
did-defined-function ::=
function-name FROM did-module-name 

If the NAME parameter is omitted in a DID created and compiled within KCM Designer for Windows, the name of the DID is equal to that of the DID object.

Example

DEFINE_DID
			NAME Example
			IDENTIFICATION EXP
			DID_MODULE_LIST 
									Example_module
			MAIN_ENTRY_LIST 
									Customer FROM Example_module 
									Order FROM Example_module
			DID_DEFINED_FUNCTION_LIST 
									Open_amount_customer FROM Example_module
END_DEFINE_DID