ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Using XOG to Remove ETC hours and Set Task Status to Completed


Article ID: 131246


Updated On:


Clarity PPM SaaS Clarity PPM On Premise


What needs to be updated in the XOG xml to be able to zero out unused ETC hours on assignments and set a task's status to Completed? 


Release: CODFSS99000-15.5-PPM SAAS FedRAMP-Sandbox-Small Environment


To zero out the unused ETC, this needs to be done by updating the ETC curve sum to 0. To update the status to Completed, the status needs to be updated to 2.

Here is a sample xml used to make the above two updates on a task assignment and task: 
<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
    <Header action="write" externalSource="NIKU" objectType="project" version=""/>
        <Project  name="Test Project" projectID="00000197">
                <Task name="Task 1" taskID="tsk1" outlineLevel="1" status="2" >
                        <TaskLabor resourceID="res1">
                                <Segment finish="2019-01-22T17:00:00" start="2019-01-22T00:00:00" sum="0"/>