AnsweredAssumed Answered

Budget Plan XOG - Autonumbering Error

Question asked by whole_milk on Feb 25, 2015
Latest reply on Apr 12, 2015 by whole_milk

Team:

 

I am attempting to xog in an approved budget plan. The cost plan code has an autonumbering scheme enabled and I am working around it via the override parameter and code="-1". What am I doing wrong? I am getting the following error:

 

Input:

<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_budgetPlan.xsd">

  <Header action="write" externalSource="NIKU" objectType="budgetPlan" version="13.2.0.472">

   <args name="overrideAutoNumbering" value="false"/>

  </Header>

  <BudgetPlans>

    <BudgetPlan benefitPlanCode="" code="-1" finishPeriod="2015-12" forceReplace="true" investmentCode="STUFF"

      investmentType="project" name="2015 Budget Plan" periodType="MONTHLY" revision="0" sourceCostPlanCode="2015_Initial_Plan" startPeriod="2015-01" status="APPROVED">

      <Description/>

      <GroupingAttributes>

        <GroupingAttribute>cost_type_id</GroupingAttribute>

        <GroupingAttribute>resource_class_id</GroupingAttribute>

        <GroupingAttribute>transaction_class_id</GroupingAttribute>

      </GroupingAttributes>

      <Details>

<DELETED>

    </BudgetPlan>

  </BudgetPlans>

</NikuDataBus>

 

Output:

<

<NikuDataBus>

  <Header action="write" externalSource="NIKU" objectType="budgetPlan" version="13.2.0.472" />

- <XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">

  <Object type="budgetPlan" />

  <Status elapsedTime="1.479 seconds" state="SUCCESS" />

  <Statistics failureRecords="1" insertedRecords="0" totalNumberOfRecords="1" updatedRecords="0" />

- <Records>

- <Record>

- <KeyInformation>

  <column name="externalSource">NIKU</column>

  <column name="UNIQUE_NAME">2015 Budget Plan</column>

  </KeyInformation>

- <ErrorInformation>

  <Severity>ERROR</Severity>

  <Description>com.niku.union.service.ServiceException: Service Exception</Description>

  </ErrorInformation>

  </Record>

  </Records>

  </XOGOutput>

  </NikuDataBus>

Outcomes