Hello Arunachalam,
You will have to convert the excel into the acceptable XOG format for creating a time period. Please review the sample xml file for reading time periods (prj_timeperiods_read.xml) to get a sample write XML. Add attributes for creating the time period and the scale and then do a mapping with your excel. Here is a sample XML write file for creating a single weekly time period:
<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.7.0.212" />
<TimePeriods>
<TimePeriod finish="2020-04-12T00:00:00" openForTimeEntry="true" start="2020-04-06T00:00:00" create="true" scale="weekly" />
</TimePeriods>
</NikuDataBus>
Now, some very important guidance:
- Please test on a lower environment before you run your XOG on production.
- Any mistakes in creating time periods can prove very costly (if found later). So, please thoroughly review the Start and End Dates of all periods created to ensure they have been correctly created.
Thanks,
Regards,
Debroop
Original Message:
Sent: 02-17-2020 04:01 PM
From: Arunachalam Angusamy
Subject: Time Reporting Periods Question
Hello Everyone,
Is there a way that I can create a weekly time reporting periods in excel and upload in Clarity ?