Clarity

 View Only
  • 1.  Update the calendar based on occurrences

    Posted Oct 14, 2019 11:21 AM

    Hello gays.

    How can i create routine (Integration) to automatically update the calendar based on occurrences of the point system, for absences only.



    Thanks

    Alexandre



  • 2.  RE: Update the calendar based on occurrences
    Best Answer

    Posted Oct 14, 2019 05:03 PM
    There is an example of the resource calendar in rsm_resources_write.xml (xog client sample files)
    (see the calendar section below)

    <Resource resourceId="XOGRES2" isActive="true" employmentType="Employee" resourceType="LABOR" hireDate="2000-03-21" terminationDate="2002-09-21" isExternal="false" managerUserName="admin" externalId="2323AAA" includeInDatamart="false">
    <PersonalInformation lastName="XOGLast2" firstName="XOGFirst2" emailAddress="bogus@niku.com"/>
    <ManagementInformation category="cat1" defaultAllocationPercentage="65" trackMode="PPM" openForTimeEntry="true"/>
    <General addedBy="admin" addedDate="2001-09-11"/>
    <OBSAssocs>
    <OBSAssoc name="Location" id="loc" unitPath="/USA/California/RWC"/>
    <OBSAssoc name="dept" id="dept" unitPath="/Niku"/>
    </OBSAssocs>
    <Calendar baseCalendar="Standard" resetCalendar="false">
    <Days>
    <Day dayOfWeek="MON" isWorkDay="false"/>
    <Day dayOfWeek="SAT" isWorkDay="true">
    <Shifts>
    <Shift finish="12:00:00" start="08:00:00"/>
    </Shifts>
    </Day>
    <Day isWorkDay="false" start="2004-01-08"/>
    <Day isWorkDay="true" start="2004-01-19">
    <Shifts>
    <Shift finish="06:00:00" start="04:00:00"/>
    <Shift finish="12:00:00" start="08:00:00"/>
    <Shift finish="17:00:00" start="13:00:00"/>
    <Shift finish="20:00:00" start="18:00:00"/>
    </Shifts>
    </Day>
    <Day isWorkDay="false" start="2004-01-21" finish="2004-01-24"/>
    </Days>
    </Calendar>
    </Resource>



  • 3.  RE: Update the calendar based on occurrences

    Posted Nov 08, 2019 01:42 PM
    @Aditya Angrish, Hi, sorry for my question, I'm just doing it because I'm familiar with PPM and I'm not familiar.
    Where can I find the resource calendar example in rsm_resources_write.xml (xog client sample files)

    Thanks

    Alexandre



  • 4.  RE: Update the calendar based on occurrences

    Posted Nov 09, 2019 05:36 AM
    Hi, Alexandre. 
    1. Download XOG from administration/Client Downloads
    2. Install xog
    3. Under the installation folder, you will find the xml folder which contains xml samples. 

    But I am concerned about what you are trying to do.  Do you want to set some days as non working days based on the register of the time clock? What do you intend to do with this information in Clarity?


  • 5.  RE: Update the calendar based on occurrences

    Posted Nov 13, 2019 08:08 AM
    @Fabio Nicida, for example, if the user missed the job, of course there was no point registration in the system, based on this point registration information, an event would be created within PPM.

    Thanks 

    Alexandre