Share this page

# Example .xml File

This section provides an example of an `.xml` file created for test purposes. There are two time sheets having the following characteristics:

- Both time sheets are for the resource David Jones (username djones).

- Both time sheets use the Semi-Monthly - Day - Hours time sheet policy and the Semi-Monthly period type, with time entered by Day in Hours.

- The first time sheet starts on June 1, 2009. The second time sheet starts on June 16, 2009.

- The first time sheet reports time for one project, Project XYZ, on June 11, 2009, and one miscellaneous item, Vacation, on June 12, 2009.

- The second time sheet reports time for one task, subtask A under summary task First Task in Project XYZ, for two days, June 16 and 17.

- All time sheet lines are unsubmitted.

- Notes are provided to distinguish each time sheet and time sheet line.

The example `.xml` file, with values shown in bold, is as follows:

    <?xml version="1.0" encoding="UTF-8" ?>
    <timesheets>
      <timesheet>
        <resourceUserName>djones</resourceUserName>
        <timesheetPolicy>Semi-Monthly - Day - Hours
        </timesheetPolicy>
        <periodTypeCode>SEMI_MONTHLY</periodTypeCode>
        <periodStartDate>2009-06-01T08:00:00Z</periodStartDate>
        <creationUser>admin</creationUser>
        <creationDate>2009-06-23T11:00:00Z</creationDate>
        <creationUser>admin</creationUser>
        <lastUpdateDate>2009-06-23T11:00:00Z</lastUpdateDate>
        <timesheetNotes>1st time sheet</timesheetNotes>
        <timesheetLine>
           <workItemType>PROJECT</workItemType>
           <workItemDescription>ProjectXYZ</workItemDescription>
           <timesheetLineStatus>UNSUBMITTED</timesheetLineStatus>
           <timesheetLineNotes>1st time sheet, line 1
           </timesheetLineNotes>
           <timeBreakdown>
              <dateValueEntry>
                 <date>2009-06-11T08:00:00Z</date>
                 <value>8.5</value>
              </dateValueEntry>
           </timeBreakdown>
        </timesheetLine>
      <timesheetLine>
         <workItemType>MISC</workItemType>
         <workItemDescription>Vacation</workItemDescription>
         <timesheetLineStatus>UNSUBMITTED</timesheetLineStatus>
         <timesheetLineNotes>1st time sheet, line 2
         </timesheetLineNotes>
         <timeBreakdown>
            <dateValueEntry>
               <date>2009-06-12T08:00:00Z</date>
               <value>8</value>
            </dateValueEntry>
         </timeBreakdown>
       </timesheetLine>
      </timesheet>
      <timesheet>
         <resourceUserName>davidjones</resourceUserName>
         <timesheetPolicy>Semi-Monthly - Day - Hours
         </timesheetPolicy>
         <periodTypeCode>SEMI_MONTHLY</periodTypeCode>
         <periodStartDate>2009-06-16T08:00:00Z</periodStartDate>
         <creationUser>admin</creationUser>
         <creationDate>2009-06-23T11:00:00Z</creationDate>
         <creationUser>admin</creationUser>
         <lastUpdateDate>2009-06-23T11:00:00Z</lastUpdateDate>
         <timesheetNotes>2nd time sheet</timesheetNotes>
         <timesheetLine>
            <workItemType>TASK</workItemType>
            <workItemDescription>Project XYZ#@#First Task#@#Subtask A
            </workItemDescription>
            <timesheetLineStatus>UNSUBMITTED</timesheetLineStatus>
            <timesheetLineNotes>2nd time sheet, line 1
            </timesheetLineNotes>
            <timeBreakdown>
               <dateValueEntry>
                  <date>2009-06-16T08:00:00Z</date>
                  <value>8</value>
               </dateValueEntry>
               <dateValueEntry>
                  <date>2009-06-17T08:00:00Z</date>
                  <value>8</value>
               </dateValueEntry>
             </timeBreakdown>
         </timesheetLine>
      </timesheet>
    </timesheets>

https://admhelp.microfocus.com PPM 8942
Tips to improve your search results... OpenText™ Project and Portfolio Management Help Center PPM Help 26.2-26.3 All View Local Help Center View Online Help Center Version: