Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- add missing units of measurement
- INSERT INTO unit_of_measurement
- VALUES (seq_unit_of_measurement_id.NEXTVAL,100718,'M2',NULL,'PSI',SYSDATE);
- INSERT INTO unit_of_measurement
- VALUES (seq_unit_of_measurement_id.NEXTVAL,100718,'M3',NULL,'PSI',SYSDATE);
- INSERT INTO unit_of_measurement
- VALUES (seq_unit_of_measurement_id.NEXTVAL,100718,'PIECE',NULL,'PSI',SYSDATE);
- -- deactivate all present activities for VALENS
- UPDATE activity
- SET is_active = 'N'
- WHERE vehicle_owner_id = 100718;
- -- update existing conflicting activities
- SELECT * FROM activity
- WHERE activity_id = 3689;--3691,3689 SET CODE TO PREVIOUS CODE + _XX
- UPDATE activity
- SET activity_code = activity_code || '_XX'
- WHERE activity_id IN (3691,3689);
- -- insert new activities
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42704','PREFABRICATION BALCON','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42705','PREFABRICATION - SOUS-TRAITANT BALCON','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42104','BETONNAGE COLONNE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42105_ST','BETONNAGE - SOUS-TRAITANT COLONNE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'44554','COFFRAGE COLONNE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'10004','COFFRAGE - SOUS-TRAITANT COLONNE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42702','PREFABRICATION COLONNE','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42703_ST','PREFABRICATION - SOUS-TRAITANT COLONNE','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42102','BETONNAGE DALLE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42103_ST','BETONNAGE - SOUS-TRAITANT DALLE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'44552','COFFRAGE DALLE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'10002','COFFRAGE - SOUS-TRAITANT DALLE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42600','PREFABRICATION ESCALIER','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42601','PREFABRICATION - SOUS-TRAITANT ESCALIER','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42101','BETONNAGE FONDATION','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'30001','BETONNAGE - SOUS-TRAITANT FONDATION','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'44551','COFFRAGE FONDATION','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'10001','COFFRAGE - SOUS-TRAITANT FONDATION','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42107','BETONNAGE HOURDIS','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42108_ST','BETONNAGE - SOUS-TRAITANT HOURDIS','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42400','PREFABRICATION HOURDIS','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42401','PREFABRICATION - SOUS-TRAITANT HOURDIS','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42105','BETONNAGE POUTRE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42106_ST','BETONNAGE - SOUS-TRAITANT POUTRE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'44555','COFFRAGE POUTRE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'10005','COFFRAGE - SOUS-TRAITANT POUTRE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42703','PREFABRICATION POUTRE','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42704_ST','PREFABRICATION - SOUS-TRAITANT POUTRE','PSI',SYSDATE,'Y',192);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42106','BETONNAGE PREDALLE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42107_ST','BETONNAGE - SOUS-TRAITANT PREDALLE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42300','PREFABRICATION PREDALLE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'20001','PREFABRICATION - SOUS-TRAITANT PREDALLE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42108','BETONNAGE PREMUR','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42109','BETONNAGE - SOUS-TRAITANT PREMUR','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42500','PREFABRICATION PREMUR','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42501','PREFABRICATION - SOUS-TRAITANT PREMUR','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42103','BETONNAGE VOILE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42104_ST','BETONNAGE - SOUS-TRAITANT VOILE','PSI',SYSDATE,'Y',191);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'44553','COFFRAGE VOILE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'10003','COFFRAGE - SOUS-TRAITANT VOILE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42701','PREFABRICATION VOILE','PSI',SYSDATE,'Y',190);
- INSERT INTO activity (activity_id,vehicle_owner_id,activity_code,activity_name,lm_name,lm_date,is_active,unit_of_measurement_id) VALUES (seq_activity_id.NEXTVAL,100718,'42702_ST','PREFABRICATION - SOUS-TRAITANT VOILE','PSI',SYSDATE,'Y',190);
- -- statements for WBS
- -- WBS LVL0
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'TEST GREENWOOD 3',0,NULL,'GGW3',100718,0,'Y','Y',SYSDATE,'PSI');
- -- WBS LVL1
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'FOND-RADIER',1,(SELECT wbs_id FROM wbs WHERE name='TEST GREENWOOD 3' AND ref_number='GGW3' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'FR',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'FONDATION',1,(SELECT wbs_id FROM wbs WHERE name='TEST GREENWOOD 3' AND ref_number='GGW3' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'F',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Rez 0',1,(SELECT wbs_id FROM wbs WHERE name='TEST GREENWOOD 3' AND ref_number='GGW3' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'R0',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Rez 1',1,(SELECT wbs_id FROM wbs WHERE name='TEST GREENWOOD 3' AND ref_number='GGW3' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'R1',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Sous-sol 1',1,(SELECT wbs_id FROM wbs WHERE name='TEST GREENWOOD 3' AND ref_number='GGW3' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'SS1',100718,0,'Y',NULL,SYSDATE,'PSI');
- -- WBS LVL2
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 2',2,(SELECT wbs_id FROM wbs WHERE name='FOND-RADIER' AND ref_number='FR' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z2',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 1',2,(SELECT wbs_id FROM wbs WHERE name='FONDATION' AND ref_number='F' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z1',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 2',2,(SELECT wbs_id FROM wbs WHERE name='FONDATION' AND ref_number='F' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z2',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 1',2,(SELECT wbs_id FROM wbs WHERE name='Rez 0' AND ref_number='R0' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z1',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 2',2,(SELECT wbs_id FROM wbs WHERE name='Rez 0' AND ref_number='R0' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z2',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 1',2,(SELECT wbs_id FROM wbs WHERE name='Rez 1' AND ref_number='R1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z1',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 2',2,(SELECT wbs_id FROM wbs WHERE name='Rez 1' AND ref_number='R1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z2',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 1',2,(SELECT wbs_id FROM wbs WHERE name='Sous-sol 1' AND ref_number='SS1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z1',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Zone 2',2,(SELECT wbs_id FROM wbs WHERE name='Sous-sol 1' AND ref_number='SS1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'Z2',100718,0,'Y',NULL,SYSDATE,'PSI');
- -- WBS LVL3
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Dalle',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'D',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Dalle',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'D',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Voile',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'V',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Voile',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'V',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Poutre',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'P',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Prédalle',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PD',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Prémur',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PM',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Prémur',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PM',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Colonne',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Colonne',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Poutre',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'P',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Prédalle',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PD',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Balcon',3,(SELECT wbs_id FROM wbs WHERE name='Zone 1' AND ref_number='Z1' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI');
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name) VALUES (seq_wbs_id.NEXTVAL,101417,'Balcon',3,(SELECT wbs_id FROM wbs WHERE name='Zone 2' AND ref_number='Z2' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI');
- -- WBS LVL4
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_FR_Z2_D_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42102'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z1_D_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42102'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z1_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z2_D_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42102'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z2_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_P_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42105'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_PD_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42106'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_D_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42102'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_P_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42105'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_PD_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42106'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_D_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42102'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_C_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42104'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_P_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42105'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_PD_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42106'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_C_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42104'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_P_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42105'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_PD_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42106'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_PM_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42108'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Betonnage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'B',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_V_B',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42103'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z1_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_F_Z2_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_P_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44555'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_D_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44552'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_P_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44555'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Dalle' AND ref_number='D' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_D_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44552'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_C_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44554'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_P_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44555'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_C_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44554'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_P_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44555'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Coffrage',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'C',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_V_C',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='44553'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_V_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42701'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_V_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42701'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z1_V_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42701'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Voile' AND ref_number='V' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R1_Z2_V_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42701'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prédalle' AND ref_number='PD' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_PD_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42300'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Prémur' AND ref_number='PM' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_PM_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42500'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Balcon' AND ref_number='B' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z1_B_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42704'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Balcon' AND ref_number='B' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_R0_Z2_B_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42704'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_C_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42702'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z1_P_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42703'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Colonne' AND ref_number='C' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_C_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42702'));
- INSERT INTO wbs (wbs_id,operation_center_id,name,wbs_level,parent_wbs_id,ref_number,vehicle_owner_id,wbs_status_id,is_project,can_assign_team,lm_date,lm_name,is_work_time_reported,short_name,activity_id) VALUES (seq_wbs_id.NEXTVAL,101417,'Préfabrication',4,(SELECT wbs_id FROM wbs WHERE name='Poutre' AND ref_number='P' AND operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI'),'PF',100718,0,'Y',NULL,SYSDATE,'PSI','Y','GGW3_SS1_Z2_P_PF',(SELECT activity_id FROM activity WHERE vehicle_owner_id=100718 AND lm_name='PSI' AND activity_code='42703'));
- -- SET PLANNED_QUANTITY OF WBS LVL4
- UPDATE wbs SET planned_quantity=9.01 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_FR_Z2_D_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=74.40 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_F_Z1_D_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=3.14 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_F_Z1_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=4.23 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_F_Z2_D_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=6.04 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_F_Z2_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.16 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z1_P_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=35.79 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z1_PD_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=2.20 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z1_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=18.98 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z1_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=4.30 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z2_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=1.27 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R0_Z2_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=1.09 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z1_D_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.52 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z1_P_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=36.12 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z1_PD_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.58 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z1_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=16.05 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z1_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.56 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z2_D_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.96 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z2_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=2.26 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_R1_Z2_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.48 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z1_C_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=3.14 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z1_P_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=9.92 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z1_PD_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.95 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z1_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=17.49 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z1_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=1.39 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z2_C_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.71 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z2_P_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=34.95 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z2_PD_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=0.83 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z2_PM_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=15.04 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='B' AND short_name='GGW3_SS1_Z2_V_B' AND name='Betonnage');
- UPDATE wbs SET planned_quantity=21.03 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_F_Z1_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=40.47 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_F_Z2_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=36.37 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R0_Z1_P_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=213.74 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R0_Z1_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=24.69 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R0_Z2_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=7.28 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R1_Z1_D_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=65.89 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R1_Z1_P_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=165.37 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R1_Z1_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=3.70 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R1_Z2_D_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=24.37 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_R1_Z2_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=4.37 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z1_C_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=794.14 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z1_P_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=183.29 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z1_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=12.39 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z2_C_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=238.61 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z2_P_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=131.39 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='C' AND short_name='GGW3_SS1_Z2_V_C' AND name='Coffrage');
- UPDATE wbs SET planned_quantity=92.27 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z1_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=18.28 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z1_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=21.04 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z1_V_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=113.75 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z2_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=32.77 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z2_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=12.16 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z2_V_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=158.61 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z1_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=4.84 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z1_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=6.21 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z1_V_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=49.84 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z2_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=7.98 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z2_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=2.82 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R1_Z2_V_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=203.67 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z1_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=7.87 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z1_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=63.06 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z2_PD_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=6.91 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z2_PM_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z1_B_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_R0_Z2_B_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z1_C_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z1_P_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z2_C_PF' AND name='Préfabrication');
- UPDATE wbs SET planned_quantity=1 WHERE wbs_id=(SELECT wbs_id FROM wbs WHERE operation_center_id=101417 AND vehicle_owner_id=100718 AND lm_name='PSI' AND ref_number='PF' AND short_name='GGW3_SS1_Z2_P_PF' AND name='Préfabrication');
- SELECT * FROM wbs;
- DESC wbs;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement