customer_master_gen
1. Description
Customer master gen program is used for generating ucic_master,ucic_master2 and ucic_master_amount files. This program works only for SA,CA,TD,RD.
2.Screen Configuration
2.1 Process Config Fields
2.1.1 Additional Input file
This file contains:
# | File | Type | Description | Required |
---|---|---|---|---|
1 | Output Metadata files | Output Metadata | Provide the path to the output metadata files of SA,CA,TD and RD. | true |
2 | UCIC | Reference | Provide the path to the ucic file | false |
2.2 Process Arguments
Here enter the process arguments to be passed to the program. The mandatory and non-mandatory fields are given below.
2.2.1 Mandatory Parameters
# | Parameters | Description | Example |
---|---|---|---|
1 | process_config | Path to process config file that needs to be processed | /path/to/process_config.json |
2 | as_on_date | The date for which the program has to run | 2024-11-28 |
3 | log_file_path | Path to write logs | test-bed/log.txt |
4 | diagnostics_file_path | Path to write diagnostics logs | test-bed/diag_log.txt |
2.2.2 Non-Mandatory Parameters
# | Parameters | Description | Default Value | Example |
---|---|---|---|---|
1 | log_level | Level of diagnostics written to the log file | info | debug |
2 | is_perf_diagnostics_enabled | The flag that decides whether performance diagnostics are logged | false | true |
3 | nwd_codes | NWD codes for processing | "" | NWD123,NWD456 |
4 | retail_codes | Retail codes for processing | "" | RT001,RT002 |
5 | residual_days | Residual days for processing | "" | 30 |
6 | check_wd | Flag to check withdrawals | false | true |
2.3 Derivations
Note:These configurations are mandatory for each source(SA,CA,TD,RD).
3. Output
This program generates three files ucic_master.txt, ucic_master2.txt and ucic_master_amount.txt. These files are generated in SH_SUMMARYDATA folder.
3.1 ucic_master file
customer_type|customer_name|customer_id
3.2 ucic_master2 file
customer_id~#~customer_type~#~customer_name~#~customer_id
3.3 ucic_master_amount file
customer_type|customer_id|currency|ca_amount|sa_amount|td_wd_amount|td_nwd_amount|rd_amount|0|0|0|0