AnsweredAssumed Answered

XOG Output - Capture Warning Severity

Question asked by Juan_Ortega on Dec 7, 2010
Latest reply on Dec 9, 2010 by Chris_Hackett
Does anyone have a sample code on how to handle a Warning in the XOG Output?

Here's my sample output with a Warning:
 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

<soapenv:Header/>

<soapenv:Body>


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



<Object type="costPlan"/>



<Status state="SUCCESS"/>



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



<Records>




<Record>





<KeyInformation>






<column name="ID">cp00004937</column>






<column name="Name">Program Financials</column>





</KeyInformation>





<ErrorInformation>






<Severity>WARNING</Severity>






<Description>XOG-3636: Plan detail for Direct Non-Labor could not be added because Direct Non-Labor is invalid.</Description>





</ErrorInformation>




</Record>



</Records>


</XOGOutput>

</soapenv:Body>
</soapenv:Envelope>

Outcomes