복사된 필드의 기본값 변경

  • 릴리스 버전: Washingtondc
  • 업데이트 날짜 2024년 02월 01일
  • 읽기1분
  • 새 부분 프로젝트에서 기본값을 변경합니다.

    시작하기 전에

    필요한 역할: 관리자

    이 태스크 정보

    실제 기간과 실제 시작 및 종료 날짜는 null 값으로 재설정됩니다. 상태가 신규로 설정되고 완료율은 0으로 설정됩니다. 관리자는 UI 페이지를 수정하여 재설정할 필드를 결정하거나 기본값을 변경할 수 있습니다.

    프로시저

    1. 다음으로 이동 모두 > 시스템 UI > UI 페이지.
    2. copy_partial_project 기록을 엽니다.
    3. 처리 스크립트 필드에 있는 경우 다음 스크립트를 사용합니다.
      /* resetFields is the array containing the list of names of fields that need to be erased from the copied project tasks
      	   * defaultFields is the array containing the key, value pairs of field names and values that need to be set on the copied tasks
      	   */var resetFields =new Array();var defaultFields ={};
      	  resetFields.push("work_start","work_end","work_duration");
      	  defaultFields["state"]="-5";
      	  defaultFields["percent_complete"]="0";