Hello,
i just started an integration for an external program with IFS8.
The external program should create supplier invoices. As far as i understood, i should use InboundDistributionTransactions:ReceiveSupplierInvoice for this.
I’m currently trying with postman. I can reach http://domain:port/fndext/soapgateway and can successfully execute the BIZAPIs GET_TEST_ORDER and GET_CUST_ORD_CUSTOMER by providing the correspondig SOAPAction.
I want to do all communication synchronous. As far as i understood, all BIZAPI calls without appending "/post" should do so, is this correct ?
But if i start trying with RECEIVE_SUPPLIER_INVOICE, strange problems start.
This is the body i am currenty sending.
<INVOICE>
<EDI_RECEIVER>CONNECT</EDI_RECEIVER>
<CUSTOMER_COMMUNICATION_ID>1</CUSTOMER_COMMUNICATION_ID>
<CUSTOMER_NAME>Airbus France</CUSTOMER_NAME>
<CUSTOMER_NO>FR_AIRBUS</CUSTOMER_NO>
<DELIVERY_DATE>2005-09-18</DELIVERY_DATE>
<DUE_DATE>2005-09-18</DUE_DATE>
<FORWARD_AGENT>CONNECT</FORWARD_AGENT>
<INVOICE_DATE>2005-09-18</INVOICE_DATE>
<INVOICE_TYPE>SUPPINV</INVOICE_TYPE>
<INVOICING_FEE>3.14</INVOICING_FEE>
<INVOICING_ROUNDING>3.14</INVOICING_ROUNDING>
<LABEL_NOTE>ABC</LABEL_NOTE>
<ORDER_DATE>2005-09-18</ORDER_DATE>
<ORDER_NO>ABC</ORDER_NO>
<OUR_COMMUNICATION_ID>Ifs</OUR_COMMUNICATION_ID>
<SUPPLIER_COMMUNICATION_ID>1</SUPPLIER_COMMUNICATION_ID>
<SUPPLIER_NAME>Smells Kitchen</SUPPLIER_NAME>
<SUPPLIER_NO>095211</SUPPLIER_NO>
<COMPANY>50</COMPANY>
</INVOICE>
The customer / company / supplier exists and the user i'm running can access all in the IFS8 app. The error i am getting with this dataset is
<ifserr:errordetail>loadInboxMessage: ORA-20111: MessageReceiver.NOTEXIST2: The Message Receiver object does not exist.
ORA-06512: at "IFSAPP.ERROR_SYS", line 203
ORA-06512: at "IFSAPP.MESSAGE_RECEIVER_API", line 515
ORA-06512: at "IFSAPP.IN_MESSAGE_API", line 465
ORA-06512: at "IFSAPP.IN_MESSAGE_API", line 780
ORA-06512: at line 1</ifserr:errordetail>
If i change something, e.g. omit the SUPPLIER_COMMUNICATION_ID, the error changes to
<ifserr:errordetail>loadInboxMessage: INMESSAGE.IN_MESSAGE.RECEIVER must have a value</ifserr:errordetail>
What are the least mandatory fields for successfully posting invoices ? As all fields seem to be marked optional, this is not very helpful.
Is there a possibility to create the web call to "fndext/soapgateway?handler=InboundDistributionTransactions&op=ReceiveSupplierInvoice&type=xml_request" with an actual database record instead of dummy values ?
Hope someone could help me out
Cheers
Michael