public static Map < FieldType , String > getDefaultAssignmentFieldMap ( ) { Map < FieldType , String > map = new LinkedHashMap < FieldType , String > ( ) ; map . put ( AssignmentField . UNIQUE_ID , "taskrsrc_id" ) ; map . put ( AssignmentField . GUID , "guid" ) ; map . put ( AssignmentField . REMAINING_WORK , "remain_qty" ) ; map . put ( AssignmentField . BASELINE_WORK , "target_qty" ) ; map . put ( AssignmentField . ACTUAL_OVERTIME_WORK , "act_ot_qty" ) ; map . put ( AssignmentField . BASELINE_COST , "target_cost" ) ; map . put ( AssignmentField . ACTUAL_OVERTIME_COST , "act_ot_cost" ) ; map . put ( AssignmentField . REMAINING_COST , "remain_cost" ) ; map . put ( AssignmentField . ACTUAL_START , "act_start_date" ) ; map . put ( AssignmentField . ACTUAL_FINISH , "act_end_date" ) ; map . put ( AssignmentField . BASELINE_START , "target_start_date" ) ; map . put ( AssignmentField . BASELINE_FINISH , "target_end_date" ) ; map . put ( AssignmentField . ASSIGNMENT_DELAY , "target_lag_drtn_hr_cnt" ) ; return map ; }
Retrieve the default mapping between MPXJ assignment fields and Primavera assignment field names .