Hi There,
I've just come back to use IDM after about a month of downtime, unfortunately a program that we use as an intermediary had issues, which meant we weren't using the software suite until we could get that sorted. Now that we've finally sorted our original software solution, I've tried to upload some XML Files that were generated from supplier invoices into our workflow. They are taken from a folder and the XML Creates a PDF copy in IDM as well as uploading the data to custom tables in our ERP Solution (CSI). However when we try and upload the PDF into IDM Via the API we get the following error: java.lang.RuntimeException: Retrieved Response code 400; Bad Request.
We haven't actually changed anything inn ION over this time as far as I'm aware and even old XML Files that I know hat successfully updated are failing, so it's not an issues of the export.
Could someone please shed some light onto what settings might need to be changed to troubleshoot / get this working? I've attached the BOD Below as well as the mapping for the api.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<ProcessEphesoftInvoice xmlns="">schema.infor.com/.../2" xmlns:xs="">www.w3.org/.../XMLSchema" releaseID="9.2">
<ApplicationArea>
<Sender>
<LogicalID>infor.file.ephesoftserver</LogicalID>
<ComponentID>External</ComponentID>
<ConfirmationCode>OnError</ConfirmationCode>
</Sender>
<CreationDateTime>2020-03-30T02:34:48.652Z</CreationDateTime>
<BODID>infor.file.ephesoftserver:1585535688652:8533eed7-b659-4206-9bdc-18147ddc0a94</BODID>
</ApplicationArea>
<DataArea>
<ActionCriteria>
<ActionExpression actionCode="Add"/>
</ActionCriteria>
<Process>
<ActionCriteria>
<ActionExpression actionCode="Add"/>
</ActionCriteria>
</Process>
<EphesoftInvoice>
<EphesoftInvoiceHeader>
<inv_date>2020-03-03</inv_date>
<vend_gst_num>010-006-422</vend_gst_num>
<vend_po>1408247-01</vend_po>
<hbp_po>CHP0047291</hbp_po>
<subtotal>40.60</subtotal>
<gst_amt>6.09</gst_amt>
<totalcst>46.69</totalcst>
<Freight>27.50</Freight>
<Base>DeletedforBrevity</Base>
<Filename>BI5848_DOC1.pdf</Filename>
</EphesoftInvoiceHeader>
<EphesoftInvoiceLine>
<SiteRef>CH_LIVE</SiteRef>
<row_id>1</row_id>
<vend_item>FPEDER/125X110</vend_item>
<qty>1</qty>
<line_value>13.10</line_value>
</EphesoftInvoiceLine>
</EphesoftInvoice>
</DataArea>
</ProcessEphesoftInvoice>
MAPPING
<item xmlns="">http://infor.com/daf">
<attrs>
<attr>
<name>PoNumber</name>
<value><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/hbp_po</IonApiRef></value>
</attr>
<attr>
<name>InvoiceAmount</name>
<value><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/totalcst</IonApiRef></value>
</attr>
<attr>
<name>InvoiceDate</name>
<value><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/inv_date</IonApiRef></value>
</attr>
<attr>
<name>Freight</name>
<value><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/Freight</IonApiRef></value>
</attr>
<attr>
<name>InvoiceNumber</name>
<value><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/vend_po</IonApiRef></value>
</attr>
</attrs>
<resrs>
<res>
<filename><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/Filename</IonApiRef></filename>
<base64><IonApiRef>ProcessEphesoftInvoice/DataArea/EphesoftInvoice/EphesoftInvoiceHeader/Base</IonApiRef></base64>
</res>
</resrs>
<entityName>CS_SupplierInvoice</entityName>
</item>
Cheers,
Jamie.