SET search_path TO  fw_code;
INSERT INTO fw_core.test_file_sheet_format_master (client_id,function_id,test_type,test_name,file_mnemonic,sheet_name,sheet_format,file_sheet_mnemonic,sheet_format_mnemonic,stg2_function,trx_function,created_by,create_timestamp,updated_by,update_timestamp) VALUES 
(20,1,'Field','Field Dry Performance','FTDRY','Tractor specifications','Field_Dry_TractorSpecs','FTDRY_TRS','FTDRY_TRS',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Field','Field Dry Performance','FTDRY','Summary','Field_Dry_Summary','FTDRY_SUM','FTDRY_SUM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Field','Field wet Performance','FTWET','Tractor specifications','Field_Wet_TractorSpecs','FTWET_TRS','FTWET_TRS',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Field','Field wet Performance','FTWET','Summary','Field_Wet_Summary','FTWET_SUM','FTWET_SUM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Field','Field Haulage Performance','FTHLG','Tractor specifications','Field_Haulage_TractorSpecs','FTHLG_TRS','FTHLG_TRS',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Field','Field Haulage Performance','FTHLG','Summary','Field_Haulage_Summary','FTHLG_SUM','FTHLG_SUM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Drawbar','Drawbar Standard Performance','DBSTD','Test Results','Drawbar_Test_Results','DBSTD_TEST','DBSTD_TEST',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Drawbar','Drawbar OECD Performance','DBOECD','Test Results','Drawbar_Test_Results','DBOECD_TEST','DBOECD_TEST',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','PTO Performance','BUDNI','PTO Perf','Budni_PTO_Perf','BUDNI_PTO','BUDNI_PTO',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Drawbar performance','BUDNI','Drawbar perf','Budni_Drawbar_Perf','BUDNI_DBP','BUDNI_DBP',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
;
INSERT INTO fw_core.test_file_sheet_format_master (client_id,function_id,test_type,test_name,file_mnemonic,sheet_name,sheet_format,file_sheet_mnemonic,sheet_format_mnemonic,stg2_function,trx_function,created_by,create_timestamp,updated_by,update_timestamp) VALUES 
(20,1,'Budni','Hydraulic test','BUDNI','Hydraulic test','Budni_Hydraulic_Test','BUDNI_HDL','BUDNI_HDL',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Vibration measurement','BUDNI','Vibration measurement','Budni_Vibration_Measurement','BUDNI_VMT','BUDNI_VMT',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Location Of CG','BUDNI','Location Of CG','Budni_Location_of_CG','BUDNI_LCG','BUDNI_LCG',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Field Performance Test','BUDNI','Field Perf. Test','Budni_Field_Perf','BUDNI_FLD','BUDNI_FLD',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Haulage Performance Test','BUDNI','Haulage Perf. Test','Budni_Haulage_Perf','BUDNI_HLG','BUDNI_HLG',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Noise Measurement','BUDNI','Noise Measurement','Budni_Noise_Measurement','BUDNI_NMT','BUDNI_NMT',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Noise Test','IHTNST','Noise Test','InHouse_NoiseTest','IHTNST_NST','IHTNST_NST',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Brake Test  ASEBA 30','IHTBT30','Brake Test','inHouse_BrakeTest30','IHTBT30_BT30','IHTBT30_BT30',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Brake Test ASEBA 50 ','IHTBT50','Brake Test','inHouse_BrakeTest50','IHTBT50_BT50','IHTBT50_BT50',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Hot Air Mapping','IHTHAM','Hot Air Mapping','inHouse_HotAirMap','IHTHAM_HAM','IHTHAM_HAM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
;
INSERT INTO fw_core.test_file_sheet_format_master (client_id,function_id,test_type,test_name,file_mnemonic,sheet_name,sheet_format,file_sheet_mnemonic,sheet_format_mnemonic,stg2_function,trx_function,created_by,create_timestamp,updated_by,update_timestamp) VALUES 
(20,1,'In house','Speed and Lead Lag Measurement','IHTSLL','Speed and lead lag measurement','inHouse_SpeedandLeadLagMeasurement','IHTSLL_SLL','IHTSLL_SLL',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Effort Measurement','IHTEMT','Effort measurement','inHouse_EffortMeasurement','IHTEMT_EMT','IHTEMT_EMT',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Effort Measurement','IHTEMT','Steering data','inHouse_SteeringData','IHTEMT_STD','IHTEMT_STD',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','CG Measurement','IHTCGM','CG Measurement','inHouse_CGMeasurement','IHTCGM_CGM','IHTCGM_CGM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Brake Test Domestic','IHTBTD','Brake Test domestic','inHouse_BrakeTestDomestic','IHTBTD_BTD','IHTBTD_BTD',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'In house','Hyd lift sensitivity','IHTHLS','Hyd lift sensitivity','inHouse_HydLiftSensitivity','IHTHLS_HLS','IHTHLS_HLS',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO BEN Performance','PTOBEN','Performance -BOOST MODE','PTO_Performance_Boost','PTOBEN_PRFB','PTO_PRF',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO BEN Performance','PTOBEN','Performance -ECO MODE','PTO_Performance_Eco','PTOBEN_PRFE','PTO_PRF',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO BEN Performance','PTOBEN','Multipoint Mapping','PTO_MultipointMap_BEN','PTOBEN_MPM','PTO_MPM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO BEN Performance','PTOBEN','Governing Graph','PTO_GoverningGraph_BEN','PTOBEN_GVG','PTO_GVG',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
;
INSERT INTO fw_core.test_file_sheet_format_master (client_id,function_id,test_type,test_name,file_mnemonic,sheet_name,sheet_format,file_sheet_mnemonic,sheet_format_mnemonic,stg2_function,trx_function,created_by,create_timestamp,updated_by,update_timestamp) VALUES 
(20,1,'PTO','PTO Standard Peformance','PTOSTD','Performance -STANDARD MODE','PTO_Performance_Standard','PTOSTD_PRF','PTO_PRF',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Brake Performance Test','BUDNI','Brake Perf Test','Budni_Brake_Perf','BUDNI_BRK','BUDNI_BRK',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'Budni','Air Cleaner Performance Test','BUDNI','Air Cleaner Perf Test','Budni_Air_Cleaner_Perf','BUDNI_ARC','BUDNI_ARC',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO Standard Peformance','PTOSTD','Multipoint Mapping','PTO_MultipointMap_Standard','PTOSTD_MPM','PTO_MPM',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO Standard Peformance','PTOSTD','Governing Graph','PTO_GoverningGraph_Standard','PTOSTD_GVG','PTO_GVG',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
,(20,1,'PTO','PTO BEN Performance','PTOBEN','Performance -NORMAL MODE','PTO_Performance_Normal','PTOBEN_PRFN','PTO_PRF',NULL,NULL,CURRENT_USER,NOW(),NULL,NULL)
;
