private void processScheduleOptions ( ) { List < Row > rows = getRows ( "schedoptions" , "proj_id" , m_projectID ) ; if ( rows . isEmpty ( ) == false ) { Row row = rows . get ( 0 ) ; Map < String , Object > customProperties = new HashMap < String , Object > ( ) ; customProperties . put ( "LagCalendar" , row . getString ( "sched_calendar_on_relationship_lag" ) ) ; customProperties . put ( "RetainedLogic" , Boolean . valueOf ( row . getBoolean ( "sched_retained_logic" ) ) ) ; customProperties . put ( "ProgressOverride" , Boolean . valueOf ( row . getBoolean ( "sched_progress_override" ) ) ) ; customProperties . put ( "IgnoreOtherProjectRelationships" , row . getString ( "sched_outer_depend_type" ) ) ; customProperties . put ( "StartToStartLagCalculationType" , Boolean . valueOf ( row . getBoolean ( "sched_lag_early_start_flag" ) ) ) ; m_reader . getProject ( ) . getProjectProperties ( ) . setCustomProperties ( customProperties ) ; } }
Process schedule options from SCHEDOPTIONS . This table only seems to exist in XER files not P6 databases .