19.28 Configuring Labels for Transactions
This section describes how to configure Labels for Transactions.
Labels are used to easily segregate and filter transactions.
Adding Customized Transaction Labels
To add customized transaction labels in the KDD_CODE_SET_TRNLN and KDD_CODE_SET_TRNLN_TL
tables, refer to the following
scripts:
insert into KDD_CODE_SET_TRNLN (CODE_SET,
CODE_VAL, SRC_SYS_CD,CODE_DISP_TX) values ('TrxnLabels', '<Sample Tag value>', null, '<Sample
Tag>');
insert into KDD_CODE_SET_TRNLN_TL
(CODE_SET,CODE_VAL,CODE_DISP_TX,V_LOCALE_CD) values ('TrxnLabels', '<Sample Tag Value>',
'<Sample Tag>', 'en_US');
(here <Sample Tag> and <Sample Tag value> need to be replaced by the required
Tag/Label and its value respectively).
Note:
If a language pack is installed, you must configure the entries in the KDD_CODE_SET_TRNLN_TL table for all locale codes for which the language pack was installed.Updating Labels in UI
Refer to the following scripts to update the Label display in
UI:
update kdd_code_set_trnln t set
t.code_disp_tx='<New Label Display>' where t.code_set='TrxnLabels' and t.code_val='<Label
Value>';
update kdd_code_set_trnln_tl t set
t.code_disp_tx='<New Label Display>' where t.code_set='TrxnLabels' and t.code_val='<Label
Value>' and t.v_locale_cd='<Required Locale>';
For
example:
update kdd_code_set_trnln t set
t.code_disp_tx='Evented New' where t.code_set='TrxnLabels' and
t.code_val='EVENTED';
update kdd_code_set_trnln_tl t set t.code_disp_tx='Evented New' where
t.code_set='TrxnLabels' and t.code_val='EVENTED' and
t.v_locale_cd='en_US';
Note:
The code_val EVENTED and SAMPLED (label value) must not be modified as they are referred in the code. However, the display label or the code_disp_tx can be modified.