In new user experience UI users are unable to view timesheet notes which are imported through XOG.

Document ID : KB000006922
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

In new user experience UI users are unable to view timesheet notes which are imported through XOG.
If timesheet notes are created in the UI they are displayed fine.

Steps to Reproduce:

1. In the UI enter a timesheet for a resource. Example:
Time Period= 2016-12-19 - 2016-12-26
Resource Name = MyResource
Timesheet Status= Open

Investment= "Project 1.68"
Task Name="Callibrate TrackMan"
"2016-12-19" = 5.00

Enter a Note with Text="xxxx"
 
2. XOG out the timesheet using prj_timeperiods_read.xml :

<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_read.xsd">
<Header version="6.0.11" action="read" objectType="timeperiod" externalSource="NIKU"/>
<Query>

    <Filter name="start" criteria="BETWEEN">2016-12-16, 2016-12-25</Filter>
<Filter name="resourceID" criteria="EQUALS">demre01</Filter>
</Query>
</NikuDataBus>


3. In the UI delete the Note

4. Use the XOG output from step 2 and XOG it in.  Below is the xml input file:


<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_timeperiod.xsd">
<Header action="write" externalSource="NIKU" objectType="timeperiod" version="15.1.0.149"/>
<TimePeriods>
<TimePeriod finish="2016-12-26T00:00:00" openForTimeEntry="true" start="2016-12-19T00:00:00">
<TimeSheets>
<TimeSheet ID="5028001" lastModified="2016-12-27T13:18:55" resourceID="demre01" status="0" version="7">
<TimeSheetEntries>
<TimeSheetEntry assignmentEstimate="0" assignmentEstimateAfterTimePeriod="0" assignmentEstimateForTimePeriod="0"
          assignmentFinish="2016-08-31T17:00:00" assignmentID="5002000" assignmentPendingEstimate="0" assignmentStart="2016-08-29T08:00:00"
          internalTaskID="5004000" projectID="project_168" projectName="Project 1.68" taskID="Trackman" taskName="Callibrate TrackMan" totalActuals="5">
<DailyActuals>
<Actual actualDate="2016-12-19" amount="5"/>
<Actual actualDate="2016-12-20" amount="0"/>
<Actual actualDate="2016-12-21" amount="0"/>
<Actual actualDate="2016-12-22" amount="0"/>
<Actual actualDate="2016-12-23" amount="0"/>
<Actual actualDate="2016-12-24" amount="0"/>
<Actual actualDate="2016-12-25" amount="0"/>
</DailyActuals>
</TimeSheetEntry>
</TimeSheetEntries>
<Notes>
<NoteData category="xxx" createdBy="admin" createdTime="2016-12-27T13:59:19" noteText="xxxx"/>
</Notes>
</TimeSheet>
</TimeSheets>
</TimePeriod>
</TimePeriods>
<XOGOutput>
<Object type="TimePeriods"/>
<Status state="SUCCESS"/>
<Statistics insertedRecords="0" failureRecords="0" totalNumberOfRecords="1" updatedRecords="0"/>
<Records/>
</XOGOutput>
</NikuDataBus>


5. In Classic PPM Open that timesheet and check Timesheet Notes.

Actual Result: You see the Note with Text="xxxx"

6. Go to Home: Link to New User Experience.
Go to Timesheets
Go to Review & Approve Tab

Find Time Period= 2016-12-19 - 2016-12-26 for Resource Name = MyResource

Notice the it shows a circle in blue with number 1. Click on it.
Notes Tab opens.
Observe Notes

Expected Result: 
Timesheet note should be displayed.

Actual Result: 
Timesheet note is not displayed.

Cause:

Caused by DE31228

Resolution:

Defect is fixed in 15.2.