AnsweredAssumed Answered

Can allocations be added using hours instead of percentages via XOG

Question asked by RStanski on Nov 8, 2017
Latest reply on Nov 15, 2017 by urmas

I am being tasked to create a process to add allocations to a project but I am being given hours instead of percentages. Is there a way to add the allocations as hours instead of a percentage? Below is an example of the XML I am using to add a resource to a project with the allocations as a percentage. If it is possible, what would I need to change to add the allocation as hours? In this example I am adding the resource with 1 hour of time for each month.


<NikuDataBus xmlns:xsi="" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_project.xsd">
 <Header action="write" externalSource="NIKU" objectType="project" version=""/>
  <Project name="Solution the Benefit Coding - Project-1" projectID="PR8163">
       <Resource projectRoleID="hm_por_int_pel" resourceID="hm_por_int_pel" teamId="hm_por_int_pel">
         <Segment finish="2018-02-01T00:00:00" start="2018-01-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-03-01T00:00:00" start="2018-02-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-04-01T00:00:00" start="2018-03-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-05-01T00:00:00" start="2018-04-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-06-01T00:00:00" start="2018-05-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-07-01T17:00:00" start="2018-06-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-08-01T17:00:00" start="2018-07-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-09-01T17:00:00" start="2018-08-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-10-01T17:00:00" start="2018-09-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-11-01T17:00:00" start="2018-10-01T00:00:00" sum="0.0066"/>
         <Segment finish="2018-12-01T17:00:00" start="2018-11-01T00:00:00" sum="0.0066"/>
         <Segment finish="2019-01-01T17:00:00" start="2018-11-01T00:00:00" sum="0.0066"/>
         <ColumnValue name="partition_code">NIKU.ROOT</ColumnValue>