Customization

All installation-specific modifications for Control & Release are made in the module TRNISM.

Rule TRNISM.UsrRelFlg is used to determine what signature the user could apply to this transaction. For this purpose, the relevant amount is converted into the currency (“USR\RELCUR”) in which the release threshold for this user is defined (“USR\RELAMT”). Depending on the comparison of these amounts and the release group (“USR\RELGRP”), UsrRelFlg returns the maximum signature value this user could apply to this transaction.

From the signatures requested (TRN\RELREQ) and the result reached so far (TRN\RELRES) Rule TRNISM.GetUseIdx determines which signatures are to be included next - as defined in UsrRelFlg. If the user has already attached a signature to this transaction or created the transaction himself, this function will return zero (i.e. no signature applicable)

Rule TRNISM.CheckUseIdx checks whether a specified signature can be applied in a specified position. This rule is only used to check manual entry of the signature position in Control & Release.

Rule TRNISM.SetWorkFlow creates the actual Workflow entries. If a signature for the user who creates the transaction should be applied, this could be coded here following the call to wfm.create, which creates the Workflow entries.