'Define labour rates SAW_labour_rate = 15 CNCF_labour_rate = 15 STEELSAW_labour_rate = 15 PUNCH_labour_rate = 15 FORM_labour_rate = 15 WELD_labour_rate = 15 CNCC_labour_rate = 15 JOIN_labour_rate = 15 FASSY_labour_rate = 15 SANDING_labour_rate = 15 PCOAT_labour_rate = 15 COMPASSY_labour_rate = 15 GLASS_labour_rate = 15 BPG_labour_rate = 15 BOND_labour_rate = 15 WPAINT_labour_rate = 15 PANFIN_labour_rate = 15 CASSY_labour_rate = 15 PACK_labour_rate = 15 'Calculate each operational cost Try SAW_labour_set = (iProperties.Value("Custom", "SAW_SET")/60)*SAW_labour_rate SAW_labour_run = (iProperties.Value("Custom", "SAW_RUN")/60)*SAW_labour_rate SAW_labour = SAW_labour_set + SAW_labour_run Catch End Try Try CNCF_labour_set = (iProperties.Value("Custom", "CNCF_SET")/60)*CNCF_labour_rate CNCF_labour_run = (iProperties.Value("Custom", "CNCF_RUN")/60)*CNCF_labour_rate CNCF_labour = CNCF_labour_set + CNCF_labour_run Catch End Try Try STEELSAW_labour_set = (iProperties.Value("Custom", "STEELSAW_SET")/60)*STEELSAW_labour_rate STEELSAW_labour_run = (iProperties.Value("Custom", "STEELSAW_RUN")/60)*STEELSAW_labour_rate STEELSAW_labour = STEELSAW_labour_set + STEELSAW_labour_run Catch End Try Try PUNCH_labour_set = (iProperties.Value("Custom", "PUNCH_SET")/60)*PUNCH_labour_rate PUNCH_labour_run = (iProperties.Value("Custom", "PUNCH_RUN")/60)*PUNCH_labour_rate PUNCH_labour = PUNCH_labour_set + PUNCH_labour_run Catch End Try Try FORM_labour_set = (iProperties.Value("Custom", "FORM_SET")/60)*FORM_labour_rate FORM_labour_run = (iProperties.Value("Custom", "FORM_RUN")/60)*FORM_labour_rate FORM_labour = FORM_labour_set + FORM_labour_run Catch End Try Try WELD_labour_set = (iProperties.Value("Custom", "WELD_SET")/60)*WELD_labour_rate WELD_labour_run = (iProperties.Value("Custom", "WELD_RUN")/60)*WELD_labour_rate WELD_labour = WELD_labour_set + WELD_labour_run Catch End Try Try CNCC_labour_set = (iProperties.Value("Custom", "CNCC_SET")/60)*CNCC_labour_rate CNCC_labour_run = (iProperties.Value("Custom", "CNCC_RUN")/60)*CNCC_labour_rate CNCC_labour = CNCC_labour_set + CNCC_labour_run Catch End Try Try JOIN_labour_set = (iProperties.Value("Custom", "JOIN_SET")/60)*JOIN_labour_rate JOIN_labour_run = (iProperties.Value("Custom", "JOIN_RUN")/60)*JOIN_labour_rate JOIN_labour = JOIN_labour_set + JOIN_labour_run Catch End Try Try FASSY_labour_set = (iProperties.Value("Custom", "FASSY_SET")/60)*FASSY_labour_rate FASSY_labour_run = (iProperties.Value("Custom", "FASSY_RUN")/60)*FASSY_labour_rate FASSY_labour = FASSY_labour_set + FASSY_labour_run Catch End Try Try SANDING_labour_set = (iProperties.Value("Custom", "SANDING_SET")/60)*SANDING_labour_rate SANDING_labour_run = (iProperties.Value("Custom", "SANDING_RUN")/60)*SANDING_labour_rate SANDING_labour = SANDING_labour_set + SANDING_labour_run Catch End Try Try PCOAT_labour_set = (iProperties.Value("Custom", "PCOAT_SET")/60)*PCOAT_labour_rate PCOAT_labour_run = (iProperties.Value("Custom", "PCOAT_RUN")/60)*PCOAT_labour_rate PCOAT_labour = PCOAT_labour_set + PCOAT_labour_run Catch End Try Try COMPASSY_labour_set = (iProperties.Value("Custom", "COMPASSY_SET")/60)*COMPASSY_labour_rate COMPASSY_labour_run = (iProperties.Value("Custom", "COMPASSY_RUN")/60)*COMPASSY_labour_rate COMPASSY_labour = COMPASSY_labour_set + COMPASSY_labour_run Catch End Try Try GLASS_labour_set = (iProperties.Value("Custom", "GLASS_SET")/60)*GLASS_labour_rate GLASS_labour_run = (iProperties.Value("Custom", "GLASS_RUN")/60)*GLASS_labour_rate GLASS_labour = GLASS_labour_set + GLASS_labour_run Catch End Try Try BPG_labour_set = (iProperties.Value("Custom", "BPG_SET")/60)*BPG_labour_rate BPG_labour_run = (iProperties.Value("Custom", "BPG_RUN")/60)*BPG_labour_rate BPG_labour = BPG_labour_set + BPG_labour_run Catch End Try Try BOND_labour_set = (iProperties.Value("Custom", "BOND_SET")/60)*BOND_labour_rate BOND_labour_run = (iProperties.Value("Custom", "BOND_RUN")/60)*BOND_labour_rate BOND_labour = BOND_labour_set + BOND_labour_run Catch End Try Try WPAINT_labour_set = (iProperties.Value("Custom", "WPAINT_SET")/60)*WPAINT_labour_rate WPAINT_labour_run = (iProperties.Value("Custom", "WPAINT_RUN")/60)*WPAINT_labour_rate WPAINT_labour = WPAINT_labour_set + WPAINT_labour_run Catch End Try Try PANFIN_labour_set = (iProperties.Value("Custom", "PANFIN_SET")/60)*PANFIN_labour_rate PANFIN_labour_run = (iProperties.Value("Custom", "PANFIN_RUN")/60)*PANFIN_labour_rate PANFIN_labour = PANFIN_labour_set + PANFIN_labour_run Catch End Try Try CASSY_labour_set = (iProperties.Value("Custom", "CASSY_SET")/60)*CASSY_labour_rate CASSY_labour_run = (iProperties.Value("Custom", "CASSY_RUN")/60)*CASSY_labour_rate CASSY_labour = CASSY_labour_set + CASSY_labour_run Catch End Try Try PACK_labour_set = (iProperties.Value("Custom", "PACK_SET")/60)*PACK_labour_rate PACK_labour_run = (iProperties.Value("Custom", "PACK_RUN")/60)*PACK_labour_rate PACK_labour = PACK_labour_set + PACK_labour_run Catch End Try 'Calculate total part labour cost part_labour = SAW_labour + CNCF_labour + STEELSAW_labour + PUNCH_labour + FORM_labour + WELD_labour + CNCC_labour + JOIN_labour + FASSY_labour + SANDING_labour + PCOAT_labour + COMPASSY_labour + GLASS_labour + BPG_labour + BOND_labour + WPAINT_labour + PANFIN_labour + CASSY_labour + PACK_labour