cancel
Showing results for 
Search instead for 
Did you mean: 

B1IF - Atom0 output for Sales Order

Former Member
0 Kudos

Hi experts,

After going through some transformations and SQL Calls, finally I am able to have the below output from the final Atom0.

However, it keeps returns me error message: Exception : DI Error: (-5002) 10000100 - Document total value must be zero or greater than zero

Below is part of the XML copied from the Message Log.

<Body><BOM><BO><AdmInfo><Object>17</Object><Version>2</Version></AdmInfo><QueryParams/><Documents><row><CardCode>A1001</CardCode><NumAtCard>B211094</NumAtCard><Address2>JASONS SUPERMARKET1 CLAYMORE DRIVE #01-01ORCHARD TOWERS, SINGAPORE 229594229594</Address2><DocDueDate>20150512</DocDueDate></row></Documents><Documents_Lines><row><ItemCode>AC-LK-K01</ItemCode><Quantity>1</Quantity><MeasureUnit>20/CTN</MeasureUnit><UnitPrice>114</UnitPrice><LineTotal>114.00000</LineTotal></row><row><ItemCode>AC-CY-300</ItemCode><Quantity>2</Quantity><MeasureUnit>40/CTN</MeasureUnit><UnitPrice>318</UnitPrice><LineTotal>300.0000</LineTotal></row></Documents_Lines></BO></BOM></Body></Envelope></Payload><Payload id="ErrorInfos"><ipo/><bfd/><calls/></Payload></Body>

Please advise what possibly wrong and how to check on such issue.

Any advise is appreciated.

Thank you.

Krisma

Accepted Solutions (1)

Accepted Solutions (1)

chinghianguyen
Explorer
0 Kudos

Hi Krisma,

Try to remove the QueryParams and LineTotal segment from your xml. It must working.

Regards,

Nghia

Former Member
0 Kudos

Hi,

Thanks for your suggestion, but I have found the issue.

It was because the typo <Documents_Lines> tag, the correct one is<Document_Lines>.

Former Member
0 Kudos

Hi Krishma,

Please explain me the "some transformations and SQL Calls, finally I am able to have the below output in ATom0". I am trying to add a sale order using XML data through http post.

My flow is xform -> B1objet -> final object. But I am not able to get the desired result please help me with steps you have followed to achieve this task.

Former Member
0 Kudos

Hi Jayedran,

It will be a very long if we discuss the whole scenario in the forum.

Will you able to pin point the issue that you are encountering?

Regards,

Krisma

Answers (0)