Changeset 20528
- Timestamp:
- 03/04/10 08:40:10 (5 months ago)
- Files:
-
- trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/methodology.bdy (modified) (1 diff)
- trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/project.bdy (modified) (1 diff)
- trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/schedule.bdy (modified) (4 diffs)
- trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/schedule.spc (modified) (1 diff)
- trunk/core/db/oracle/create-scripts/versions/9.2.0/tables/alter_pn_plan.sql (modified) (1 diff)
- trunk/core/db/oracle/create-scripts/versions/9.2.0/update_system_properties.sql (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/methodology.bdy
r20299 r20528 388 388 389 389 /* ------------------ Schedule ----------------------- */ 390 SCHEDULE.STORE_PLAN('Project Plan', 'Main Project Plan', null, null, 1, null, null, i_creator_id, v_object_id, null, null, null, null, null, '50', null, v_plan_id);390 SCHEDULE.STORE_PLAN('Project Plan', 'Main Project Plan', null, null, 1, null, null, i_creator_id, v_object_id, null, null, null, null, null, '50', null, 1, 0, 8, 40, 20, 'PERSONAL', v_plan_id); 391 391 392 392 trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/project.bdy
r20519 r20528 757 757 -- added by Robin 18-Apr-00 758 758 -- add plan default 759 SCHEDULE.STORE_PLAN(p_plan_name, 'Main Project Plan', p_start_date, p_end_date, p_autocalc_schedule, null, null, v_creator, v_project_id, null, null, null, null, null, 50, p_start_date, 1, 0, v_plan_id);759 SCHEDULE.STORE_PLAN(p_plan_name, 'Main Project Plan', p_start_date, p_end_date, p_autocalc_schedule, null, null, v_creator, v_project_id, null, null, null, null, null, 50, p_start_date, 1, 0, 8, 40, 20, 'PERSONAL', v_plan_id); 760 760 761 761 if (p_create_share > 0) then trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/schedule.bdy
r20516 r20528 439 439 i_inline_editing_warning IN NUMBER, 440 440 i_un_assigned_workcapture IN NUMBER, 441 i_hours_per_day IN NUMBER, 442 i_hours_per_week IN NUMBER, 443 i_days_per_month IN NUMBER, 444 i_resource_calendar IN VARCHAR2, 441 445 io_plan_id IN OUT NUMBER 442 446 ) … … 476 480 baseline_start, baseline_end, modified_by, modified_date, default_task_calc_type_id, 477 481 earliest_start_date, earliest_finish_date, latest_start_date, latest_finish_date, 478 constraint_type_id, constraint_date, inline_editing_warning, un_assigned_workcapture) 482 constraint_type_id, constraint_date, inline_editing_warning, un_assigned_workcapture, 483 hours_per_day, hours_per_week, days_per_month, resource_calendar) 479 484 values 480 485 (io_plan_id, i_name, i_description, i_start_date, i_end_date, … … 483 488 i_earliest_start_date, i_earliest_finish_date, i_latest_start_date, 484 489 i_latest_finish_date, i_start_constraint_type, i_start_constraint_date, 485 i_inline_editing_warning, i_un_assigned_workcapture); 490 i_inline_editing_warning, i_un_assigned_workcapture, i_hours_per_day, 491 i_hours_per_week, i_days_per_month, i_resource_calendar); 486 492 487 493 insert into pn_space_has_plan … … 543 549 constraint_type_id = i_start_constraint_type, 544 550 constraint_date = i_start_constraint_date, 545 inline_editing_warning = i_inline_editing_warning, 546 un_assigned_workcapture = i_un_assigned_workcapture 551 inline_editing_warning = i_inline_editing_warning, 552 un_assigned_workcapture = i_un_assigned_workcapture, 553 hours_per_day = i_hours_per_day, 554 hours_per_week = i_hours_per_week, 555 days_per_month = i_days_per_month, 556 resource_calendar = i_resource_calendar 547 557 where 548 558 plan_id = io_plan_id; trunk/core/db/oracle/create-scripts/versions/9.2.0/packages/schedule.spc
r20516 r20528 210 210 i_inline_editing_warning IN NUMBER, 211 211 i_un_assigned_workcapture IN NUMBER, 212 i_hours_per_day IN NUMBER, 213 i_hours_per_week IN NUMBER, 214 i_days_per_month IN NUMBER, 215 i_resource_calendar IN VARCHAR2, 212 216 io_plan_id IN OUT NUMBER 213 217 ); trunk/core/db/oracle/create-scripts/versions/9.2.0/tables/alter_pn_plan.sql
r20516 r20528 23 23 ADD (UN_ASSIGNED_WORKCAPTURE NUMBER(1,0) DEFAULT 0) 24 24 / 25 26 -- Alter table PN_PLAN to add HOURS_PER_DAY column 27 ALTER TABLE PN_PLAN 28 ADD (HOURS_PER_DAY NUMBER DEFAULT 8) 29 / 30 31 -- Alter table PN_PLAN to add HOURS_PER_WEEK column 32 ALTER TABLE PN_PLAN 33 ADD (HOURS_PER_WEEK NUMBER DEFAULT 40) 34 / 35 36 -- Alter table PN_PLAN to add DAYS_PER_MONTH column 37 ALTER TABLE PN_PLAN 38 ADD (DAYS_PER_MONTH NUMBER DEFAULT 20) 39 / 40 41 -- Alter table PN_PLAN to add RESOURCE_CALENDAR column 42 ALTER TABLE PN_PLAN 43 ADD (RESOURCE_CALENDAR VARCHAR2(50) DEFAULT 'PERSONAL') 44 / trunk/core/db/oracle/create-scripts/versions/9.2.0/update_system_properties.sql
r20522 r20528 1378 1378 p.property = 'prm.template.main.managetemplates.heading'; 1379 1379 1380 1381 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1382 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperday.mumericrequired.message', 'Hours Per Day should not be empty or non numeric value.', 'A', 0, 1, null); 1383 1384 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1385 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperweek.mumericrequired.message', 'Hours Per Week should not be empty or non numeric value.', 'A', 0, 1, null); 1386 1387 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1388 values (2000, 'en', 'text', 'prm.schedule.properties.dayspermonth.mumericrequired.message', 'Days Per Month should not be empty or non numeric value.', 'A', 0, 1, null); 1389 1390 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1391 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperday.range.message', 'Hours Per Day value should be in range 0 to 24.', 'A', 0, 1, null); 1392 1393 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1394 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperweek.range.message', 'Hours Per Week value should be in range 0 to 168.', 'A', 0, 1, null); 1395 1396 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1397 values (2000, 'en', 'text', 'prm.schedule.properties.daysspermonth.range.message', 'Days Per Month value should be in range 0 to 30', 'A', 0, 1, null); 1398 1399 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1400 values (2000, 'en', 'text', 'prm.schedule.properties.workingtimes.required.message', 'Working Times values should not be empty.', 'A', 0, 1, null); 1401 1402 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1403 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperday.label', 'Hours Per Day:', 'A', 0, 1, null); 1404 1405 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1406 values (2000, 'en', 'text', 'prm.schedule.properties.hoursperweek.label', 'Hours Per Week:', 'A', 0, 1, null); 1407 1408 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1409 values (2000, 'en', 'text', 'prm.schedule.properties.dayspermonth.label', 'Days Per Month:', 'A', 0, 1, null); 1410 1411 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1412 values (2000, 'en', 'text', 'prm.schedule.properties.workingtimes.channltitle', 'Working Times', 'A', 0, 1, null); 1413 1414 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1415 values (2000, 'en', 'text', 'prm.schedule.properties.resourcecalendar.label', 'For Task Assignment Calculation:', 'A', 0, 1, null); 1416 1417 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1418 values (2000, 'en', 'text', 'prm.schedule.properties.resourcecalendar.personaloption.label', 'Use resource personal working time calendar.', 'A', 0, 1, null); 1419 1420 insert into PN_PROPERTY (CONTEXT_ID, LANGUAGE, PROPERTY_TYPE, PROPERTY, PROPERTY_VALUE, RECORD_STATUS, IS_SYSTEM_PROPERTY, IS_TRANSLATABLE_PROPERTY, PROPERTY_VALUE_CLOB) 1421 values (2000, 'en', 'text', 'prm.schedule.properties.resourcecalendar.scheduleoption.label', 'Use resource schedule working time calendar.', 'A', 0, 1, null); 1422 1380 1423 update pn_property p set 1381 1424 p.property_value = 'Templates'
