From 04318fc87516d28d05aeb2d4dd77f32e6114e776 Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Wed, 11 Sep 2024 13:57:58 +0700 Subject: update calculate lob x category --- calculate_lob_category_v2_append.ktr | 571 +++++++++++++++++++++++++++++++++++ 1 file changed, 571 insertions(+) create mode 100644 calculate_lob_category_v2_append.ktr (limited to 'calculate_lob_category_v2_append.ktr') diff --git a/calculate_lob_category_v2_append.ktr b/calculate_lob_category_v2_append.ktr new file mode 100644 index 0000000..92b5b81 --- /dev/null +++ b/calculate_lob_category_v2_append.ktr @@ -0,0 +1,571 @@ + + + + calculate_lob_category_v2_append + + + + Normal + / + + + + + + + + + + + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + TRANSNAME + Y + TRANSNAME + + + STATUS + Y + STATUS + + + LINES_READ + Y + LINES_READ + + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + + LINES_UPDATED + Y + LINES_UPDATED + + + + LINES_INPUT + Y + LINES_INPUT + + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + + LINES_REJECTED + Y + LINES_REJECTED + + + + ERRORS + Y + ERRORS + + + STARTDATE + Y + STARTDATE + + + ENDDATE + Y + ENDDATE + + + LOGDATE + Y + LOGDATE + + + DEPDATE + Y + DEPDATE + + + REPLAYDATE + Y + REPLAYDATE + + + LOG_FIELD + Y + LOG_FIELD + + + EXECUTING_SERVER + N + EXECUTING_SERVER + + + EXECUTING_USER + N + EXECUTING_USER + + + CLIENT + N + CLIENT + + + + + +
+ + + + ID_BATCH + Y + ID_BATCH + + + SEQ_NR + Y + SEQ_NR + + + LOGDATE + Y + LOGDATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + INPUT_BUFFER_ROWS + Y + INPUT_BUFFER_ROWS + + + OUTPUT_BUFFER_ROWS + Y + OUTPUT_BUFFER_ROWS + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + LOGGING_OBJECT_TYPE + Y + LOGGING_OBJECT_TYPE + + + OBJECT_NAME + Y + OBJECT_NAME + + + OBJECT_COPY + Y + OBJECT_COPY + + + REPOSITORY_DIRECTORY + Y + REPOSITORY_DIRECTORY + + + FILENAME + Y + FILENAME + + + OBJECT_ID + Y + OBJECT_ID + + + OBJECT_REVISION + Y + OBJECT_REVISION + + + PARENT_CHANNEL_ID + Y + PARENT_CHANNEL_ID + + + ROOT_CHANNEL_ID + Y + ROOT_CHANNEL_ID + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + TRANSNAME + Y + TRANSNAME + + + STEPNAME + Y + STEPNAME + + + STEP_COPY + Y + STEP_COPY + + + LINES_READ + Y + LINES_READ + + + LINES_WRITTEN + Y + LINES_WRITTEN + + + LINES_UPDATED + Y + LINES_UPDATED + + + LINES_INPUT + Y + LINES_INPUT + + + LINES_OUTPUT + Y + LINES_OUTPUT + + + LINES_REJECTED + Y + LINES_REJECTED + + + ERRORS + Y + ERRORS + + + LOG_FIELD + N + LOG_FIELD + + + + + +
+ + + ID_BATCH + Y + ID_BATCH + + + CHANNEL_ID + Y + CHANNEL_ID + + + LOG_DATE + Y + LOG_DATE + + + METRICS_DATE + Y + METRICS_DATE + + + METRICS_CODE + Y + METRICS_CODE + + + METRICS_DESCRIPTION + Y + METRICS_DESCRIPTION + + + METRICS_SUBJECT + Y + METRICS_SUBJECT + + + METRICS_TYPE + Y + METRICS_TYPE + + + METRICS_VALUE + Y + METRICS_VALUE + + + + + +
+ + 0.0 + 0.0 + + 10000 + 50 + 50 + N + Y + 50000 + Y + + N + 1000 + 100 + + + + + + + + + - + 2024/09/11 11:49:18.663 + - + 2024/09/11 11:49:18.663 + + N + + + + + dw bi indoteknik (localhost) + localhost + POSTGRESQL + Native + dw_bi_indoteknik + 5432 + odoo + Encrypted 2be98afc82bdfd8dd9a2ca45acc83f6c3 + + + + + + FORCE_IDENTIFIERS_TO_LOWERCASE + N + + + FORCE_IDENTIFIERS_TO_UPPERCASE + N + + + IS_CLUSTERED + N + + + PORT_NUMBER + 5432 + + + PRESERVE_RESERVED_WORD_CASE + Y + + + QUOTE_ALL_FIELDS + N + + + SUPPORTS_BOOLEAN_DATA_TYPE + Y + + + SUPPORTS_TIMESTAMP_DATA_TYPE + N + + + USE_POOLING + N + + + + + + + Execute SQL script + ExecSQL + + Y + + 1 + + none + + + dw bi indoteknik (localhost) + Y + N + N + N + update t_lob_category_value_v2 set safety_ly = 0 where safety_ly is null; +update t_lob_category_value_v2 set safety_fy = 0 where safety_fy is null; +update t_lob_category_value_v2 set safety_g = 0 where safety_g is null; +update t_lob_category_value_v2 set tools_ly = 0 where tools_ly is null; +update t_lob_category_value_v2 set tools_fy = 0 where tools_fy is null; +update t_lob_category_value_v2 set tools_g = 0 where tools_g is null; +update t_lob_category_value_v2 set machine_ly = 0 where machine_ly is null; +update t_lob_category_value_v2 set machine_fy = 0 where machine_fy is null; +update t_lob_category_value_v2 set machine_g = 0 where machine_g is null; +update t_lob_category_value_v2 set agri_ly = 0 where agri_ly is null; +update t_lob_category_value_v2 set agri_fy = 0 where agri_fy is null; +update t_lob_category_value_v2 set agri_g = 0 where agri_g is null; +update t_lob_category_value_v2 set clean_ly = 0 where clean_ly is null; +update t_lob_category_value_v2 set clean_fy = 0 where clean_fy is null; +update t_lob_category_value_v2 set clean_g = 0 where clean_g is null; +update t_lob_category_value_v2 set chemic_ly = 0 where chemic_ly is null; +update t_lob_category_value_v2 set chemic_fy = 0 where chemic_fy is null; +update t_lob_category_value_v2 set chemic_g = 0 where chemic_g is null; +update t_lob_category_value_v2 set meas_ly = 0 where meas_ly is null; +update t_lob_category_value_v2 set meas_fy = 0 where meas_fy is null; +update t_lob_category_value_v2 set meas_g = 0 where meas_g is null; +update t_lob_category_value_v2 set elec_ly = 0 where elec_ly is null; +update t_lob_category_value_v2 set elec_fy = 0 where elec_fy is null; +update t_lob_category_value_v2 set elec_g = 0 where elec_g is null; +update t_lob_category_value_v2 set log_ly = 0 where log_ly is null; +update t_lob_category_value_v2 set log_fy = 0 where log_fy is null; +update t_lob_category_value_v2 set log_g = 0 where log_g is null; +update t_lob_category_value_v2 set office_ly = 0 where office_ly is null; +update t_lob_category_value_v2 set office_fy = 0 where office_fy is null; +update t_lob_category_value_v2 set office_g = 0 where office_g is null; +update t_lob_category_value_v2 set acc_ly = 0 where acc_ly is null; +update t_lob_category_value_v2 set acc_fy = 0 where acc_fy is null; +update t_lob_category_value_v2 set acc_g = 0 where acc_g is null; +update t_lob_category_value_v2 set hore_ly = 0 where hore_ly is null; +update t_lob_category_value_v2 set hore_fy = 0 where hore_fy is null; +update t_lob_category_value_v2 set hore_g = 0 where hore_g is null; + + N + + + + + + + + + + + + + + + + 224 + 160 + Y + + + + + + + N + + -- cgit v1.2.3