sql
This commit is contained in:
6
onetime/commonfunctions/fn_check_count.sql
Normal file → Executable file
6
onetime/commonfunctions/fn_check_count.sql
Normal file → Executable file
@@ -130,8 +130,8 @@ group by table_name, syspks, file_mnemonic, file_sheet_mnemonic;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_nmt_noise_at_operator_ear_level_block',count(*) from staging2.budni_nmt_noise_at_operator_ear_level_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_nmt_spec_h1_block',count(*) from staging2.budni_nmt_spec_h1_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_nmt_test_obs_summary_block',count(*) from staging2.budni_nmt_test_obs_summary_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_mmtkeyword1_block',count(*) from staging2.budni_pto_mmtkeyword1_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_mmtkeyword2_block',count(*) from staging2.budni_pto_mmtkeyword2_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_Parameter1_block',count(*) from staging2.budni_pto_Parameter1_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_Parameter2_block',count(*) from staging2.budni_pto_Parameter2_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_perf_report_block',count(*) from staging2.budni_pto_perf_report_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_spec_h1_block',count(*) from staging2.budni_pto_spec_h1_block where create_time::timestamp >= p_date;
|
||||
insert into fw_core.check_table_stg_trx_count(schema_name,table_name,row_count) select 'staging2','budni_pto_summary_block',count(*) from staging2.budni_pto_summary_block where create_time::timestamp >= p_date;
|
||||
@@ -322,7 +322,7 @@ EXCEPTION when OTHERS then
|
||||
err_hint = pg_exception_hint, /* No data error capture */
|
||||
err_context = pg_exception_context; /* PL/pgSQL function staging2.fn_ftdry_trs_block(integer,integer,text,text,integer) line 69 at RAISE*/
|
||||
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'check count failed', end_status='error' ,end_time= now() where job_id=__jobid and step_id=__stepid and latest_runschedule_flag='1';
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'check count failed', end_status='success' ,end_time= now() where job_id=__jobid and step_id=__stepid and latest_runschedule_flag='1';
|
||||
|
||||
perform fw_core.fn_insert_db_error ( __client_id, __function_id, 1001, 'Compegence', __file_syspk ,__file_mnemonic,__file_sheet_mnemonic ,null,'Check_Count', 'fn_check_count', err_state, err_msg, err_detail, err_hint, err_context,'error');
|
||||
|
||||
|
||||
75
onetime/commonfunctions/fn_fw_ods_misnomer_load.sql
Normal file
75
onetime/commonfunctions/fn_fw_ods_misnomer_load.sql
Normal file
@@ -0,0 +1,75 @@
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(1, 20, 1, 'wheel_drive_type', '2', '2WD', 'postgres', '2021-05-26 20:52:59.171', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(2, 20, 1, 'wheel_drive_type', '2 WD', '2WD', 'postgres', '2021-05-26 20:53:06.400', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(3, 20, 1, 'wheel_drive_type', '4 WD', '4WD', 'postgres', '2021-05-26 20:53:16.856', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(4, 20, 1, 'wheel_drive_type', '4', '4WD', 'postgres', '2021-05-26 20:53:20.535', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(5, 20, 1, 'tractor_make', 'Johndeer', 'John Deere', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(6, 20, 1, 'tractor_make', 'MAHINDRA', 'Mahindra', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(7, 20, 1, 'tractor_make', 'Japan', 'MAM', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(8, 20, 1, 'tractor_make', 'Kubota ', 'Kubota', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(9, 20, 1, 'tractor_make', 'KUBOTA', 'Kubota', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(10, 20, 1, 'tractor_make', 'Mahindra & Mahindra', 'Mahindra', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(11, 20, 1, 'tractor_make', 'Mahindra', 'Mahindra', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(12, 20, 1, 'tractor_make', 'Jhon Deere', 'John Deere', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(13, 20, 1, 'tractor_make', 'NEW HOLLAND', 'New Holland', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(14, 20, 1, 'tractor_make', 'JD', 'John Deere', 'postgres', '2021-05-26 21:00:10.211', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(19, 20, 1, 'tractor_model', 'Arjun Trem 4', 'Arjun-Trem-IV', 'postgres', '2021-05-26 21:06:36.956', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(20, 20, 1, 'tractor_model', 'Arjun 605 BS3A', 'Arjun 605 BS 3A', 'postgres', '2021-05-26 21:07:10.903', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(21, 20, 1, 'tractor_model', 'B2741', 'B 2741', 'postgres', '2021-05-26 21:07:54.373', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(22, 20, 1, 'tractor_model', 'JD 5050D V7', 'JD 5050D V7', 'postgres', '2021-05-26 21:08:37.886', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(23, 20, 1, 'tractor_model', 'JOHN DHERE', 'John Deere', 'postgres', '2021-05-26 21:09:18.788', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(24, 20, 1, 'tractor_model', 'KUBOTA L3408', 'Kubota L3408', 'postgres', '2021-05-26 21:09:57.830', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(25, 20, 1, 'tractor_model', 'B2741', 'Kubota B2741', 'postgres', '2021-05-26 21:10:24.457', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(26, 20, 1, 'tractor_model', 'B 2741', 'Kubota B2741', 'postgres', '2021-05-26 21:10:29.379', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(27, 20, 1, 'tractor_model', 'M-Star 60HP 4WD (Boost ) REV 8', 'M-Star 60HP 4WD (Boost ) REV 8', 'postgres', '2021-05-26 21:11:42.910', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(28, 20, 1, 'tractor_model', 'M-Star 60HP 4WD (Boost)
|
||||
REV 17B', 'M-Star 60HP 4WD (Boost) REV 17B', 'postgres', '2021-05-26 21:12:38.027', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(29, 20, 1, 'tractor_model', 'Mstar 60Hp Trem IV (Normal Mode)
|
||||
Rev 8', 'Mstar 60Hp Trem IV (Normal Mode) Rev 8', 'postgres', '2021-05-26 21:13:39.510', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(30, 20, 1, 'tractor_model', 'Dhruv CRDI 45 HP
|
||||
', 'Dhruv CRDI 45 HP', 'postgres', '2021-05-26 21:14:13.126', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(31, 20, 1, 'tractor_model', 'MAM license
|
||||
(Paddy variant)', 'MAM license(Paddy variant)', 'postgres', '2021-05-26 21:15:15.275', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(32, 20, 1, 'tractor_model', 'M-Star 60HP 4WD (Normal)
|
||||
REV 17B', 'M-Star 60HP 4WD (Normal) REV 17B', 'postgres', '2021-05-26 21:16:11.990', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(33, 20, 1, 'tractor_model', 'Mstar-Trem-IV (Rev 9)
|
||||
( Boost Mode)', 'Mstar-Trem-IV (Rev 9) (Boost Mode)', 'postgres', '2021-05-26 21:17:14.790', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(34, 20, 1, 'tractor_model', 'Trem 4_MSTAR 55HP 2WD
|
||||
(Engine Dataset Rev. 7) Normal Mode', 'Trem 4_MSTAR 55HP 2WD(Engine Dataset Rev. 7) Normal Mode', 'postgres', '2021-05-26 21:18:27.965', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(35, 20, 1, 'tractor_model', 'Trem 4_MSTAR 55HP 2WD
|
||||
(Engine Dataset Rev. 7)Boost Mode', 'Trem 4_MSTAR 55HP 2WD(Engine Dataset Rev. 7)Boost Mode', 'postgres', '2021-05-26 21:19:16.384', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(36, 20, 1, 'tractor_model', 'Trem 4_MSTAR 55HP 4WD
|
||||
(Engine Dataset Rev. 7) Normal Mode', 'Trem 4_MSTAR 55HP 4WD(Engine Dataset Rev. 7) Normal Mode', 'postgres', '2021-05-26 21:19:48.994', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(37, 20, 1, 'tractor_model', 'Trem 4_MSTAR 55HP 4WD
|
||||
(Engine Dataset Rev. 7)Boost Mode', 'Trem 4_MSTAR 55HP 4WD(Engine Dataset Rev. 7)Boost Mode', 'postgres', '2021-05-26 21:20:49.833', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(38, 20, 1, 'wheel_drive_type', '2wd', '2WD', 'postgres', '2021-05-26 21:23:48.034', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(39, 20, 1, 'wheel_drive_type', '2 wd', '2WD', 'postgres', '2021-05-26 21:23:51.754', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(40, 20, 1, 'wheel_drive_type', '4 wd', '4WD', 'postgres', '2021-05-26 21:23:57.559', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(41, 20, 1, 'wheel_drive_type', '4wd', '4WD', 'postgres', '2021-05-26 21:24:00.469', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(42, 20, 1, 'name_of_implement', 'ROTAVATOR', 'Rotavator', 'postgres', '2021-05-27 21:17:59.157', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(43, 20, 1, 'name_of_implement', 'Disc harrow', 'Disc Harrow', 'postgres', '2021-05-27 21:18:16.312', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(44, 20, 1, 'type_of_implement', '400 Lit capacity', '400 Lit Capacity', 'postgres', '2021-05-27 21:34:26.397', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(45, 20, 1, 'type_of_implement', '600 Lit capacity', '600 Lit Capacity', 'postgres', '2021-05-27 21:34:29.273', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(46, 20, 1, 'type_of_implement', 'Duck foot cultivator', 'Duck Foot Cultivator', 'postgres', '2021-05-27 21:34:33.972', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(47, 20, 1, 'type_of_implement', 'Duck foot Cultivator.', 'Duck Foot Cultivator', 'postgres', '2021-05-27 21:34:36.393', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(48, 20, 1, 'type_of_implement', 'L Blade Rotovator', 'L Blade Rotavator', 'postgres', '2021-05-27 21:34:38.262', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(49, 20, 1, 'type_of_implement', 'L Blades Types', 'L Type Blades', 'postgres', '2021-05-27 21:34:41.003', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(50, 20, 1, 'type_of_implement', 'L Type Blade', 'L Type Blades', 'postgres', '2021-05-27 21:34:45.868', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(51, 20, 1, 'type_of_implement', 'L Blades', 'L Type Blades', 'postgres', '2021-05-27 21:34:47.747', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(52, 20, 1, 'type_of_implement', 'L type Blades', 'L Type Blades', 'postgres', '2021-05-27 21:34:49.567', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(53, 20, 1, 'type_of_implement', 'L type', 'L Type Blades', 'postgres', '2021-05-27 21:34:51.267', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(54, 20, 1, 'type_of_implement', 'L type blade', 'L Type Blades', 'postgres', '2021-05-27 21:34:53.917', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(54, 20, 1, 'type_of_implement', 'L types blade', 'L Type Blades', 'postgres', '2021-05-27 21:34:53.917', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(55, 20, 1, 'type_of_implement', 'L type blade', 'L Type Blades', 'postgres', '2021-05-27 21:34:55.667', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(56, 20, 1, 'type_of_implement', 'L- Blade Rotavator', 'L Type Blade Rotavator', 'postgres', '2021-05-27 21:34:57.447', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(57, 20, 1, 'type_of_implement', 'L- Type blade rotavator', 'L Type Blade Rotavator', 'postgres', '2021-05-27 21:34:59.142', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(58, 20, 1, 'type_of_implement', 'REVERSIBLE', 'Reversible', 'postgres', '2021-05-27 21:35:00.842', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(59, 20, 1, 'type_of_implement', 'Rigid Type', 'Rigid Tyne', 'postgres', '2021-05-27 21:35:03.113', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(60, 20, 1, 'type_of_implement', 'Rigid type', 'Rigid Tyne', 'postgres', '2021-05-27 21:35:05.227', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(61, 20, 1, 'type_of_implement', 'Rigid tupe cultivator', 'Rigid Tyne Cultivator', 'postgres', '2021-05-27 21:35:06.922', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(62, 20, 1, 'type_of_implement', 'Rigid tyne', 'Rigid Tyne', 'postgres', '2021-05-27 21:35:08.447', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(63, 20, 1, 'type_of_implement', 'Rigid type cultivator', 'Rigid Tyne Cultivator', 'postgres', '2021-05-27 21:35:10.552', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(64, 20, 1, 'type_of_implement', 'Rigid tyne cultivator', 'Rigid Tyne Cultivator', 'postgres', '2021-05-27 21:35:12.368', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(65, 20, 1, 'type_of_implement', 'Semi Champion L-Blade', 'Semi Champion L Blade', 'postgres', '2021-05-27 21:35:13.922', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(66, 20, 1, 'type_of_implement', 'Trail Type', 'Trailed Type', 'postgres', '2021-05-27 21:35:15.967', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(67, 20, 1, 'type_of_implement', 'Trailed', 'Trailed Type', 'postgres', '2021-05-27 21:35:17.458', NULL, NULL, 'fw_ods.fw_ods');
|
||||
INSERT INTO fw_ods.fw_ods_misnomer (syspk, client_id, function_id, column_name, source_value, target_value, created_by, create_timestamp, updated_by, update_timestamp, table_name) VALUES(68, 20, 1, 'type_of_implement', 'Trailed type Disc Harrow', 'Trailed Type Disc Harrow', 'postgres', '2021-05-27 21:35:19.298', NULL, NULL, 'fw_ods.fw_ods');
|
||||
208
onetime/commonfunctions/fn_fw_ods_tractor_info_load.sql
Normal file
208
onetime/commonfunctions/fn_fw_ods_tractor_info_load.sql
Normal file
@@ -0,0 +1,208 @@
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(1, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 8)- Boost mode', 'M_Star', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(2, 'FTWET', 'Mahindra', 'BSIII A_MSTAR 57HP 4WD', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(3, 'FTHLG', 'Mahindra', 'MAM-Liecense', 'Small Tractors', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(4, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev- A10)', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(5, 'DBSTD', 'Mahindra', 'Dhruv 575 4WD', 'Dhruv', 45, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(6, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 8)- Normal mode', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(7, 'BUDNI', 'John Deere', '3028EN', 'NA', 28, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(8, 'FTDRY', 'Mahindra', 'Yuvo Star 47 HP', 'Dhruv', 47, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(9, 'FTDRY', 'Mahindra', 'M-Star 65HP-2WD TremIV (Normal)
|
||||
Rev-9', 'M_Star', 68, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(10, 'FTWET', 'Mahindra', 'Trem 4_MSTAR 55HP 2WD(Engine Dataset Rev. 7)Boost Mode', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(11, 'BUDNI', 'Mahindra', '605 DI i', 'PVE', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(12, 'FTHLG', 'Mahindra', 'NST REFRESH 45 HP/2WD/', 'H1', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(13, 'FTDRY', 'Mahindra', 'Dhruv CRDI 45 HP', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(14, 'FTHLG', 'Mahindra', 'Mstar 57 hp BSIII A', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(15, 'FTDRY', 'Mahindra', '265 XP Plus', 'H1', 33, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(16, 'FTDRY', 'Mahindra', 'NST Refresh 44HP 2WD', 'H1', 44, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(17, 'BUDNI', 'Mahindra', 'YUVO 415 DI', 'Dhruv', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(18, 'DBSTD', 'Mahindra', '6075 4WD', 'M_Star', 73, '4WD', 'Cabin');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(19, 'FTDRY', 'Mahindra', 'M-Star 75HP-2WD (Boost) Rev 8', 'M_Star', 75, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(20, 'FTDRY', 'Mahindra', 'Dhruv 39hp Regular', 'Dhruv', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(21, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 65, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(22, 'FTHLG', 'Mahindra', 'Arjun 60HP-2WD TremIV (Boost)
|
||||
Rev 8', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(23, 'BUDNI', 'John Deere', '5050 D V7', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(24, 'FTHLG', 'MAM', 'MAM CBU', 'Small Tractors', 36, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(25, 'DBSTD', 'Mahindra', 'Arjun 555 DI HBT', 'H2', 49, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(26, 'DBSTD', 'Mahindra', 'Mstar Trem 4 68 HP-4WD Normal mode', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(27, 'FTHLG', 'Mahindra', 'Yuvo 575', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(28, 'FTDRY', 'Mahindra', 'M-Star 75HP-4WD TremIV Rev 8 (Normal)', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(29, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 9) (Normal Mode)', 'M_Star', 65, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(30, 'FTDRY', 'Mahindra', '475DI NST-Refresh', 'H1', 44, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(31, 'FTWET', 'Mahindra', 'Trem 4_MSTAR 55HP 2WD(Engine Dataset Rev. 7) Normal Mode', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(32, 'FTDRY', 'Mahindra', '475DI NST', 'M_Star', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(33, 'FTDRY', 'Mahindra', 'Arjun-BS-IIIA', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(34, 'FTDRY', 'Mahindra', 'Arjun 55HP-2WD TremIV (Normal)
|
||||
Rev 7', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(35, 'DBSTD', 'Mahindra', 'H1 575DI XP Plus', 'H1', 47, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(36, 'FTDRY', 'Mahindra', 'M-Star 55HP-2WD (Normal) Rev 7', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(37, 'FTDRY', 'Mahindra', '33 HP NSTR', 'H1', 33, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(38, 'DBSTD', 'Mahindra', 'Mstar 655 DI', 'M_Star', 65, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(39, 'BUDNI', 'Mahindra', 'YUVO 475 DI', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(40, 'FTDRY', 'Mahindra', 'B275 DI TU RCRPTO', 'H1', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(41, 'FTWET', 'Mahindra', 'Trem 4_MSTAR 55HP 4WD(Engine Dataset Rev. 7) Normal Mode', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(42, 'FTDRY', 'Mahindra', 'Dhruv 42hp Regular', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(43, 'BUDNI', 'John Deere', '5105 V2', 'NA', 40, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(44, 'DBSTD', 'Mahindra', 'Dhruv 585 DI 4WD', 'Dhruv', 50, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(45, 'FTDRY', 'Mahindra', 'M-Star 60HP 4WD (Normal) REV 17B', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(46, 'FTDRY', 'Mahindra', 'Arjun 60HP-2WD TremIV (Normal)
|
||||
Rev 8', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(47, 'FTHLG', 'Mahindra', 'Yuvo Star', 'Dhruv', 47, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(48, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 65, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(49, 'FTDRY', 'Mahindra', 'Yuvo 585', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(50, 'FTDRY', 'Mahindra', 'Arjun-Trem-IV (Rev- A10)', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(51, 'FTDRY', 'Mahindra', 'M-Star 55HP-4WD Inline', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(52, 'FTDRY', 'Mahindra', 'M-Star 75HP-4WD TremIV Rev 8 (Boost)', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(53, 'DBSTD', 'Mahindra', 'Arjun Trem 4 55 HP-2WD Boost', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(54, 'FTDRY', 'Mahindra', 'Dhruv 49.96HP P2', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(55, 'FTDRY', 'Mahindra', 'Mstar Alternate Approach', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(56, 'FTDRY', 'Mahindra', 'NOVO Add on Cabin', 'M_Star', 57, '2WD', 'Cabin');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(57, 'FTDRY', 'Mahindra', 'Arjun 60HP-2WD TremIV (Boost)
|
||||
Rev 8', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(58, 'FTHLG', 'Mahindra', 'Arjun 555 DI 49.9 HP HBTU Non CRPTO', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(59, 'FTDRY', 'Mahindra', 'Arjun-Trem-IV (Rev- 7)', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(60, 'FTDRY', 'Mahindra', 'Arjun 57HP-2WD Inline', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(61, 'FTWET', 'Mahindra', 'Yuvo STAR 42HP HCE', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(62, 'FTDRY', 'MAM', 'MAM-CBU', 'Small Tractors', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(63, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev-D15T)', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(64, 'BUDNI', 'Mahindra', 'JIVO 365 DI P', 'Small Tractors', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(65, 'FTWET', 'Mahindra', 'DHRUV 42HP', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(66, 'FTDRY', 'Mahindra', 'Dhruv 39hp HCE', 'Dhruv', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(67, 'DBSTD', 'Mahindra', 'Mstar Trem 4 68 HP-4WD Boost mode', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(68, 'FTDRY', 'Mahindra', 'Yuvraj NXT 28 HP', 'Small Tractors', 28, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(69, 'IHTNST', 'Mahindra', '265 DI SP Plus(NST-33hp)', 'H1', 33, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(70, 'FTHLG', 'Mahindra', 'Arjun 605 DI 57 HP', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(71, 'PTOSTD', 'Mahindra', 'Dhruv 31 hp', 'Dhruv', 31, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(72, 'FTDRY', 'Mahindra', 'M-Star 60HP 4WD (Boost) REV 17B', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(73, 'BUDNI', 'New Holland', '5500 TS 12+3 UG', 'NA', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(74, 'DBSTD', 'Mahindra', 'Arjun Trem 4 55 HP-2WD Normal mode', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(75, 'IHTSLL', 'Mahindra', 'K2- 4WD HST ', 'K2', 26, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(76, 'FTDRY', 'Mahindra', 'NST Refresh 42HP 2WD', 'H1', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(77, 'DBSTD', 'Mahindra', 'Mstar Trem 4 55 HP-2WD', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(78, 'FTDRY', 'John Deere', 'JD 5050D V7', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(79, 'FTDRY', 'Mahindra', 'Mstar 57 hp BSIII A', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(80, 'DBSTD', 'Mahindra', 'Mstar Trem 4 68 HP-4WD Eco mode', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(81, 'FTDRY', 'John Deere', 'John Deere 3036EN', 'NA', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(82, 'FTDRY', 'Mahindra', 'Arjun-Trem-IV (Rev-B17)', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(83, 'FTHLG', 'Mahindra', 'Arjun 55HP-2WD TremIV (Boost)
|
||||
Rev 7', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(84, 'FTDRY', 'Mahindra', 'Yuvo star 44HP/2WD', 'Dhruv', 44, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(85, 'FTDRY', 'Mahindra', 'M-Star 75HP-4WD Inline', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(86, 'FTHLG', 'Mahindra', 'Arjun 55HP-2WD TremIV (Normal)
|
||||
Rev 7', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(87, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(88, 'FTDRY', 'Mahindra', 'Arjun-Trem-IV (Rev-8)', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(89, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 9) (Boost Mode)', 'M_Star', 65, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(90, 'FTWET', 'Mahindra', 'DHRUV P2', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(91, 'FTDRY', 'Mahindra', 'Y NXT 28 HP', 'Small Tractors', 28, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(92, 'IHTHAM', 'Mahindra', 'Mstar P2 75HP 4WD', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(93, 'FTDRY', 'Mahindra', 'Arjun 555 HBTU', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(94, 'BUDNI', 'John Deere', '5310 V5', 'NA', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(95, 'FTDRY', 'Mahindra', 'NST Refresh 47HP 2WD', 'H1', 47, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(96, 'IHTHLS', 'Mahindra', 'Dhruv export 55hp', 'Dhruv', 55, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(97, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(98, 'DBSTD', 'Mahindra', 'H1 275DI XP PLUS', 'H1', 44, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(99, 'FTHLG', 'Mahindra', 'Yuvo 585', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(100, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 8)- Boost mode', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(101, 'FTDRY', 'Mahindra', 'M Star Trem IV 65 HP 4 WD ( Normal) Rev C12', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(102, 'FTDRY', 'Mahindra', 'Arjun 605 Trem 4 Alternate Approach', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(103, 'FTDRY', 'Mahindra', 'Yuvo Star 49.3 HP', 'Dhruv', 49, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(104, 'FTDRY', 'Mahindra', 'M-Star 55HP-2WD', 'M_Star', 52, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(105, 'BUDNI', 'Mahindra', 'ARJUN 605 DI V2', 'M_Star', 56, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(106, 'FTWET', 'Mahindra', 'DHRUV P2 49.96HP', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(107, 'FTDRY', 'Mahindra', 'Arjun 555 HBTU + RCRPTO', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(108, 'FTDRY', 'Mahindra', 'M-Star 60HP 4WD (Boost ) REV 8', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(109, 'FTHLG', 'John Deere', '5050 D V7', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(110, 'IHTBT50', 'Mahindra', 'Mstar 8100 CAB', 'M_Star', 95, NULL, 'Cabin');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(111, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 8)- Normal mode', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(112, 'FTDRY', 'Mahindra', 'M-Star 65HP-2WD Inline', 'M_Star', 65, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(113, 'DBSTD', 'Mahindra', 'Yuvo 585 DI 2WD SLIPTO', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(114, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 9) (Boost Mode)', 'M_Star', 65, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(115, 'FTHLG', 'Mahindra', 'Arjun Alternate Approach', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(116, 'IHTEMT', 'Mahindra', 'JIVO LOW PROFILE', 'Small Tractors', 24, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(117, 'BUDNI', 'Mahindra', '605 DI PS', 'PVE', 52, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(118, 'FTHLG', 'Kubota', 'Kubota L3408', 'NA', 34, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(119, 'FTDRY', 'Mahindra', 'Y-NXT E-Governing OFF', 'Small Tractors', 24, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(120, 'FTDRY', 'Mahindra', '415 DI RCRPTO', 'H1', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(121, 'FTDRY', 'Mahindra', 'Dhruv 42hp HCE', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(122, 'FTHLG', 'Mahindra', 'Mstar 60Hp Trem IV
|
||||
(Boost mode)
|
||||
Rev 8', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(123, 'DBSTD', 'Mahindra', 'ARJUN 555 DI', 'H2', 50, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(124, 'BUDNI', 'TAFE', 'MF 241 DI Planetary Plus V1', 'NA', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(125, 'FTDRY', 'Kubota', 'Kubota L-3408', 'NA', 34, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(126, 'FTDRY', 'Mahindra', 'M Star 65HP 4WD Inline', 'M_Star', 65, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(127, 'FTDRY', 'Mahindra', '265 DI MKM', 'H1', 30, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(128, 'DBSTD', 'Mahindra', 'Arjun Trem 4 55 HP-2WD Eco mode', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(129, 'FTDRY', 'Mahindra', 'M-Star 55HP-4WD TremIV Rev 7 Data (Boost)', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(130, 'BUDNI', 'Mahindra', 'JIVO 245 DI', 'Small Tractors', 24, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(131, 'FTDRY', 'Mahindra', 'NOVO Non AC Add on Cabin', 'M_Star', 57, '2WD', 'Cabin');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(132, 'BUDNI', 'Mahindra', 'YUVO 575 DI', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(133, 'PTOSTD', 'Mahindra', 'Dhruv 31 hp', 'Dhruv', 31, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(134, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 7)', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(135, 'FTDRY', 'Mahindra', 'Arjun 55HP-2WD TremIV (Boost)
|
||||
Rev 7', 'H2', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(136, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(137, 'FTDRY', 'Kubota', 'Kubota B2741', 'NA', 27, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(138, 'FTHLG', 'Mahindra', 'Mstar 57Hp BSIII A', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(139, 'FTDRY', 'Mahindra', 'Arjun 605 DI 57 HP', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(140, 'FTDRY', 'Mahindra', 'Y-NXT E-Governing ON', 'Small Tractors', 24, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(141, 'DBSTD', 'Mahindra', 'YUVO 575 DI SLIPTO 2WD', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(142, 'BUDNI', 'John Deere', '5039C PC V3', 'NA', 39, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(143, 'FTDRY', 'Mahindra', 'M-Star 75HP-2WD', 'M_Star', 75, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(144, 'FTHLG', 'MAM', 'MAM license(Paddy variant)', 'Small Tractors', 36, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(145, 'FTHLG', 'Mahindra', 'NST REFRESH 47 HP/2WD/', 'H1', 47, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(146, 'FTDRY', 'Mahindra', 'M-Star 75HP-2WD (Normal) Rev 8', 'M_Star', 75, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(147, 'FTWET', 'Mahindra', 'Trem 4_MSTAR 55HP 4WD(Engine Dataset Rev. 7)Boost Mode', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(148, 'FTHLG', 'Mahindra', 'Mstar Alternate Approach', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(149, 'FTDRY', 'John Deere', 'John Deere 3028', 'NA', 28, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(150, 'BUDNI', 'Kubota', 'Kubota B2741', 'NA', 27, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(151, 'FTDRY', 'Mahindra', 'M-Star 55HP-2WD (Boost) Rev A10', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(152, 'FTHLG', 'Mahindra', 'Arjun 555 DI 49.9 HP HBTU + RCRPTO', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(153, 'FTDRY', 'Mahindra', 'M-Star 60HP 4WD (Normal ) REV 8', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(154, 'FTDRY', 'Mahindra', 'M-Star 75HP-2WD (Boost) Rev D15T', 'M_Star', 75, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(155, 'IHTBT30', 'Mahindra', 'K2 26 HP 4WD ', 'K2', 26, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(156, 'FTWET', 'John Deere', 'John Deere', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(157, 'FTDRY', 'Mahindra', 'Yuvo 575 Regular - 45HP', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(158, 'FTDRY', 'Mahindra', 'Yuvo 575 45 HP', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(159, 'FTDRY', 'Mahindra', 'M Star 60HP Inline', 'M_Star', 57, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(160, 'FTWET', 'Mahindra', 'Yuvo STAR 49.96HP', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(161, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev 9) (Normal Mode)', 'M_Star', 65, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(162, 'FTDRY', 'Mahindra', 'Dhruv INLINE 45HP', 'Dhruv', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(163, 'FTDRY', 'Mahindra', 'Yuvraj NXT regular', 'Small Tractors', 24, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(164, 'FTDRY', 'Mahindra', 'NST Refresh 45HP 2WD', 'H1', 45, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(165, 'FTDRY', 'Mahindra', 'Dhruv 585 Engine on Arjun 555 tractor 49.9 hp + NCRPTO', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(166, 'FTDRY', 'Mahindra', 'M-Star 55HP-2WD (Normal) Rev A10', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(167, 'FTWET', 'Mahindra', 'BSIII A_MSTAR 57HP 2WD', 'M_Star', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(168, 'FTDRY', 'Mahindra', 'MAM-Liecense', 'Small Tractors', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(169, 'FTDRY', 'Mahindra', 'Dhruv 49.96hp', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(170, 'FTDRY', 'Mahindra', 'M-Star 75HP-2WD (Normal) Rev D15T', 'M_Star', 75, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(171, 'FTDRY', 'Mahindra', 'M Star Trem IV 65 HP 4 WD ( Boost ) Rev C12', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(172, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev-8)', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(173, 'FTDRY', 'Mahindra', 'M Star Trem IV 65 HP 4 WD ( Normal) Rev 9', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(174, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV(Rev-17B)', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(175, 'FTDRY', 'Mahindra', 'Mstar-BS-IIIA', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(176, 'IHTBTD', 'Mahindra', 'Dhruv 575 DI MAT 45hp', 'Dhruv', 45, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(177, 'FTWET', 'Mahindra', 'Yuvo STAR 42HP HCE PS', 'Dhruv', 42, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(178, 'FTDRY', 'Mahindra', 'Arjun 555 49.96 HP + NCRPTO', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(179, 'FTHLG', 'Mahindra', 'Dhruv 585 Engine on Arjun 555 tractor 49.9 hp + NCRPTO', 'Dhruv', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(180, 'FTDRY', 'Mahindra', 'M-Star 55HP-4WD TremIV Rev 7 Data (Normal)', 'M_Star', 55, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(181, 'FTDRY', 'Mahindra', 'Arjun 605 BS 3A', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(182, 'FTHLG', 'Mahindra', 'Arjun 555 49.96 HP + NCRPTO', 'H2', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(183, 'FTHLG', 'MAM', 'MAM-CBU', 'Small Tractors', 36, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(184, 'FTHLG', 'Mahindra', 'Arjun 60HP-2WD TremIV (Normal)
|
||||
Rev 8', 'H2', 60, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(185, 'PTOBEN', 'Mahindra', 'M-Star 55 Hp', 'M_Star', 55, NULL, 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(186, 'FTDRY', 'Mahindra', 'M-Star 65HP-2WD TremIV (Boost)
|
||||
Rev-9', 'M_Star', 68, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(187, 'FTDRY', 'John Deere', '5050 D V7', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(188, 'FTWET', 'John Deere', 'JD5050D', 'NA', 50, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(189, 'FTHLG', 'Mahindra', 'Mstar 60Hp Trem IV (Normal Mode) Rev 8', 'M_Star', 60, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(190, 'BUDNI', 'John Deere', '5042 D V3', 'NA', 44, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(191, 'FTHLG', 'Mahindra', 'Arjun 57HP-2WD Inline', 'H2', 57, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(192, 'FTDRY', 'Mahindra', 'M Star Trem IV 65 HP 4 WD ( Boost ) Rev 9', 'M_Star', 68, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(193, 'FTDRY', 'Mahindra', 'YuvoStar 33Hp', 'Dhruv', 33, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(194, 'FTDRY', 'Mahindra', 'M-Star 55HP-2WD (Boost) Rev 7', 'M_Star', 55, '2WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(195, 'FTDRY', 'Mahindra', 'Mstar-Trem-IV (Rev-8)', 'M_Star', 75, '4WD', 'Open station');
|
||||
INSERT INTO fw_ods.tractor_info ("#", test_file_mnemonic, tractor_make, tractor_model, platform, tractor_engine_hp, wheel_drive_type, "configuration") VALUES(196, 'FTDRY', 'Mahindra', 'Yuvo star 44HP', 'Dhruv', 44, '2WD', 'Open station');
|
||||
@@ -1,3 +1,6 @@
|
||||
|
||||
|
||||
|
||||
drop function if exists fw_core.fn_run_post_generic_validation;
|
||||
CREATE OR REPLACE FUNCTION fw_core.fn_run_post_generic_validation(p_client_id int,p_function_id int,p_job_id int,p_step_id int)
|
||||
RETURNS void AS $$
|
||||
@@ -32,36 +35,47 @@ SELECT SUM (case WHEN end_status = 'success' THEN 1
|
||||
if (success_sum >0 or success_sum is null) then
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_completed', end_status='success' , end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
else
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status='error', end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status='success', end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
return ;
|
||||
end if;
|
||||
|
||||
--insert into fw_core.track_jobstep select *,'file_syspk' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
--insert into fw_core.track_file select *,'file_syspk' from fw_core.fw_jobctl_file_runschedule;
|
||||
--insert into fw_core.track_file_sheet select * ,'file_syspk' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
-- validate sheet names for a given file:
|
||||
|
||||
for f in select distinct file_syspk,file_mnemonic,file_sheet_mnemonic from fw_core.fw_jobctl_file_sheet_runschedule
|
||||
for f in select distinct file_syspk,file_mnemonic from fw_core.fw_jobctl_file_sheet_runschedule
|
||||
where file_sheet_mnemonic is not null
|
||||
and end_status != 'error' and end_status_note = 'generic_validation_completed' and latest_runschedule_flag = '1'
|
||||
and end_status != 'error' and end_status_note = 'generic_validation_completed' and latest_runschedule_flag = '1'
|
||||
loop
|
||||
|
||||
|
||||
if f.file_mnemonic = 'BUDNI'
|
||||
then
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status_note = 'generic_validation_completed', end_status='success', staging_type = 'stg1',end_time = now() where
|
||||
file_syspk = f.file_syspk;
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note ='generic_validation_completed', end_status='success', staging_type = 'stg1',end_time = now() where file_syspk = f.file_syspk;
|
||||
|
||||
else
|
||||
|
||||
select count(distinct sheet_name) from fw_core.test_file_sheet_format_master
|
||||
where sheet_name not in
|
||||
(select distinct sheet_name from fw_core.fw_jobctl_file_sheet_runschedule where file_mnemonic in (f.file_mnemonic) and file_sheet_mnemonic is not null and file_syspk=f.file_syspk)
|
||||
(select distinct sheet_name from fw_core.fw_jobctl_file_sheet_runschedule where file_sheet_mnemonic is not null and file_syspk=f.file_syspk)
|
||||
and file_mnemonic in (f.file_mnemonic)
|
||||
into missing_sheet_count;
|
||||
|
||||
if missing_sheet_count = 0 then
|
||||
|
||||
if (missing_sheet_count = 0 ) then
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status_note = 'generic_validation_completed', end_status='success', staging_type = 'stg1',end_time = now() where
|
||||
file_syspk = f.file_syspk and file_sheet_mnemonic=f.file_sheet_mnemonic;
|
||||
file_syspk = f.file_syspk;
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note ='generic_validation_completed', end_status='success', staging_type = 'stg1',end_time = now() where file_syspk = f.file_syspk;
|
||||
|
||||
else
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status_note = 'stg1_sheet_missing', end_status='error', staging_type = 'stg1',end_time = now() where
|
||||
file_syspk = f.file_syspk and file_sheet_mnemonic=f.file_sheet_mnemonic;
|
||||
file_syspk = f.file_syspk;
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note ='generic_validation_failed', end_status='error', staging_type = 'stg1',end_time = now() where file_syspk = f.file_syspk;
|
||||
end if;
|
||||
end if;
|
||||
end loop;
|
||||
|
||||
@@ -70,17 +84,12 @@ end if;
|
||||
if ((success_sum > 0) or (success_sum is null)) then
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_completed', end_status='success', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
else
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status='error', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status='success', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
return ;
|
||||
end if;
|
||||
|
||||
|
||||
|
||||
|
||||
insert into fw_core.track_jobstep select *,'missing_sheet' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
insert into fw_core.track_file select *,'missing_sheet' from fw_core.fw_jobctl_file_runschedule;
|
||||
insert into fw_core.track_file_sheet select * ,'missing_sheet' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
|
||||
-- validate keywords for a given file:
|
||||
|
||||
for f in select distinct file_syspk,file_mnemonic,file_sheet_mnemonic
|
||||
@@ -108,35 +117,23 @@ insert into fw_core.track_file_sheet select * ,'missing_sheet' from fw_core.fw_
|
||||
end if;
|
||||
end loop;
|
||||
|
||||
-- update fw_jobctl_file_runschedule table.
|
||||
|
||||
|
||||
--insert into fw_core.track_jobstep select *,'keyword_' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
--insert into fw_core.track_file select *,'keyword_' from fw_core.fw_jobctl_file_runschedule;
|
||||
--insert into fw_core.track_file_sheet select *,'keyword_' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
|
||||
--, staging_type = 'stg1'
|
||||
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note = 'generic_validation_completed', end_status='success', end_time=now() from fw_core.fw_jobctl_file_sheet_runschedule a
|
||||
where a.latest_runschedule_flag = '1' and a.end_status = 'success' and a.end_status_note ='generic_validation_completed' and fw_core.fw_jobctl_file_runschedule.file_syspk = a.file_syspk;
|
||||
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note = 'generic_validation_failed' , end_status='error',end_time=now() from fw_core.fw_jobctl_file_sheet_runschedule a
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note = 'validation_failed' , end_status='error',end_time=now() from fw_core.fw_jobctl_file_sheet_runschedule a
|
||||
where a.latest_runschedule_flag = '1' and a.end_status = 'error' and a.end_status_note = 'stg1_keyword_validation_failed' and fw_core.fw_jobctl_file_runschedule.file_syspk = a.file_syspk;
|
||||
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status='error',end_status_note = 'stg1_keyword_validation_failed',end_time=now() from fw_core.fw_jobctl_file_runschedule a
|
||||
where file_sheet_mnemonic is not null and a.latest_runschedule_flag = '1' and a.end_status = 'error' and a.end_status_note = 'generic_validation_failed' and fw_core.fw_jobctl_file_sheet_runschedule.file_syspk = a.file_syspk;
|
||||
where file_sheet_mnemonic is not null and a.latest_runschedule_flag = '1' and a.end_status = 'error' and a.end_status_note = 'validation_failed' and fw_core.fw_jobctl_file_sheet_runschedule.file_syspk = a.file_syspk;
|
||||
|
||||
SELECT SUM (case WHEN end_status = 'success' THEN 1
|
||||
ELSE 0 END) AS "Error Sum" FROM fw_core.fw_jobctl_file_runschedule where latest_runschedule_flag = '1' INTO success_sum;
|
||||
if (success_sum >0 or success_sum is null) then
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_completed', end_status='success', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
else
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status= 'error', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'generic_validation_failed', end_status= 'success', end_time=now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
end if;
|
||||
|
||||
--insert into fw_core.track_jobstep select *,'keyword_missing' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
--insert into fw_core.track_file select *,'keyword_missing' from fw_core.fw_jobctl_file_runschedule;
|
||||
--insert into fw_core.track_file_sheet select *,'keyword_missing' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
|
||||
end;
|
||||
$$ LANGUAGE plpgsql;
|
||||
|
||||
|
||||
11
onetime/commonfunctions/fn_run_post_trx_validation.sql
Normal file → Executable file
11
onetime/commonfunctions/fn_run_post_trx_validation.sql
Normal file → Executable file
@@ -16,19 +16,16 @@ CREATE OR REPLACE FUNCTION fw_core.fn_run_trx_post_validation(p_client_id int,p_
|
||||
loop
|
||||
select count(*) from transactional.test_instance where file_syspk = f.file_syspk into trx_record_count;
|
||||
if (trx_record_count = 0) then
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'trx_post_validation_failed', end_status='error', end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
--update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'trx_post_validation_failed', end_status='success', end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status_note = 'trx_post_validation_failed', end_status='error', end_time= now() where file_syspk=f.file_syspk;
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note = 'trx_post_validation_failed', end_status='error', end_time= now() where file_syspk=f.file_syspk;
|
||||
else
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'TRX_completed', end_status='success' , end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
--update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'TRX_completed', end_status='success' , end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
update fw_core.fw_jobctl_file_sheet_runschedule set end_status_note = 'TRX_completed', end_status='success', end_time= now() where file_syspk=f.file_syspk;
|
||||
update fw_core.fw_jobctl_file_runschedule set end_status_note = 'TRX_completed', end_status='success', end_time= now() where file_syspk=f.file_syspk;
|
||||
end if;
|
||||
end loop;
|
||||
/*
|
||||
--insert into fw_core.track_jobstep select *,'trx_validation' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
--insert into fw_core.track_file select *,'trx_validation' from fw_core.fw_jobctl_file_runschedule;
|
||||
--insert into fw_core.track_file_sheet select *,'trx_validation' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
*/
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status='success', end_status_note = 'TRX_post_validation_completed', end_time= now() where job_id = w_job_id and step_id = w_step_id and latest_runschedule_flag = '1';
|
||||
|
||||
end;
|
||||
$$ LANGUAGE plpgsql;
|
||||
@@ -4,7 +4,8 @@ CREATE OR REPLACE FUNCTION fw_core.fn_run_trx_rollback(p_client_id int,p_functio
|
||||
declare
|
||||
f record;
|
||||
begin
|
||||
for f in select file_syspk,file_mnemonic
|
||||
|
||||
for f in select file_syspk,file_mnemonic
|
||||
from fw_core.fw_jobctl_file_runschedule where latest_runschedule_flag = '1' and end_status = 'error'
|
||||
and end_status_note in ('stg2_failed','TRX_failed')
|
||||
order by file_syspk
|
||||
@@ -162,13 +163,8 @@ CREATE OR REPLACE FUNCTION fw_core.fn_run_trx_rollback(p_client_id int,p_functio
|
||||
delete from transactional.iht_hot_air_mapping_results where file_syspk = f.file_syspk;
|
||||
end if;
|
||||
end loop;
|
||||
|
||||
update fw_core.fw_jobctl_runschedule_jobstep set end_status_note = 'rollback completed', end_status='success', end_time=now() where job_id = p_job_id and step_id = p_step_id and latest_runschedule_flag = '1';
|
||||
|
||||
|
||||
|
||||
--insert into fw_core.track_jobstep select *,'roll_back' from fw_core.fw_jobctl_runschedule_jobstep;
|
||||
--insert into fw_core.track_file select *,'roll_back' from fw_core.fw_jobctl_file_runschedule;
|
||||
--insert into fw_core.track_file_sheet select *,'roll_back' from fw_core.fw_jobctl_file_sheet_runschedule;
|
||||
|
||||
end;
|
||||
$$ LANGUAGE plpgsql;
|
||||
44
onetime/commonfunctions/fn_run_updates.sql
Normal file
44
onetime/commonfunctions/fn_run_updates.sql
Normal file
@@ -0,0 +1,44 @@
|
||||
drop function if exists transactional.fn_run_updates;
|
||||
CREATE OR REPLACE FUNCTION transactional.fn_run_updates(p_client_id int,p_function_id int)
|
||||
RETURNS void AS $$
|
||||
begin
|
||||
-- Update location at test_insstance table:
|
||||
update transactional.test_instance
|
||||
set test_location_name = 'BUDNI'
|
||||
where file_mnemonic = 'BUDNI' ;
|
||||
|
||||
update transactional.test_instance
|
||||
set test_location_name = 'MRV Test Track'
|
||||
where file_mnemonic in ('DBSTD', 'DBOECD');
|
||||
|
||||
update transactional.test_instance
|
||||
set test_location_name = 'MRV Test Track'
|
||||
where file_mnemonic like 'IHT%';
|
||||
|
||||
update transactional.test_instance
|
||||
set test_location_name = 'MRV'
|
||||
where file_mnemonic like 'PTO%';
|
||||
|
||||
update transactional.test_instance
|
||||
set season = TO_CHAR(
|
||||
TO_DATE (extract( month from date_of_test)::text, 'MM'), 'Month'
|
||||
)
|
||||
where season is null
|
||||
and file_mnemonic in ('FTDRY','FTWET');
|
||||
|
||||
update transactional.test_instance
|
||||
set date_of_test = test_report_date
|
||||
where date_of_test is null
|
||||
and file_mnemonic like 'IHT%';
|
||||
|
||||
|
||||
|
||||
update transactional.test_instance
|
||||
set date_of_test = test_end_date
|
||||
where date_of_test is null
|
||||
and file_mnemonic like 'IHT%';
|
||||
|
||||
|
||||
|
||||
end;
|
||||
$$ LANGUAGE plpgsql;
|
||||
@@ -25,50 +25,77 @@ __lead_trim_columns text;
|
||||
__Dots_3 text;
|
||||
__inverted_comma text;
|
||||
__underscore text;
|
||||
__hashvalue text;
|
||||
begin
|
||||
loop
|
||||
exit when __n=53;
|
||||
__n := __n+1;
|
||||
|
||||
__na_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''NA'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__space_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'='''' and file_syspk=' ||filesyspk;
|
||||
|
||||
__div_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''#REF!'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__ref_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''#DIV/0!'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__hyphen_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''-'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__hyphen_3_sql := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''---'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__not_applicable := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''Not Applicable '' and file_syspk=' ||filesyspk;
|
||||
|
||||
__NR := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''NR'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__Dots_1 := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''u..'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__Dots_2 := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''u.'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__Dots_3 := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''.'' and file_syspk=' ||filesyspk;
|
||||
|
||||
__inverted_comma := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''`'' and file_syspk=' ||filesyspk;
|
||||
__trail_trim_columns:='update staging1.staging_generic_table set '|| concat('column',__n)||' = trim(trailing from '|| concat('column',__n)||')';
|
||||
__lead_trim_columns:='update staging1.staging_generic_table set '|| concat('column',__n)||' = trim(leading from '|| concat('column',__n)||')';
|
||||
|
||||
__trail_trim_columns:='update staging1.staging_generic_table set '|| concat('column',__n)||' = trim(trailing from '|| concat('column',__n)||')
|
||||
where file_syspk=' ||filesyspk;
|
||||
|
||||
__lead_trim_columns:='update staging1.staging_generic_table set '|| concat('column',__n)||' = trim(leading from '|| concat('column',__n)||')
|
||||
where file_syspk=' ||filesyspk;
|
||||
|
||||
__underscore := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''_'' and file_syspk=' ||filesyspk;
|
||||
execute __na_sql;
|
||||
|
||||
__hashvalue := 'update staging1.staging_generic_table set '|| concat('column',__n)||' =null
|
||||
where '||concat('column',__n)||'=''#VALUE!'' and file_syspk=' ||filesyspk;
|
||||
|
||||
|
||||
execute __na_sql;
|
||||
execute __space_sql;
|
||||
execute __div_sql;
|
||||
execute __ref_sql;
|
||||
execute __hyphen_sql;
|
||||
execute __hyphen_3_sql;
|
||||
execute __not_applicable;
|
||||
execute __NR;
|
||||
execute __Dots_1;
|
||||
execute __Dots_2;
|
||||
execute __Dots_3;
|
||||
execute __trail_trim_columns;
|
||||
execute __lead_trim_columns;
|
||||
execute __underscore;
|
||||
execute __hashvalue;
|
||||
execute __space_sql;
|
||||
end loop;
|
||||
end;
|
||||
$function$
|
||||
Reference in New Issue
Block a user