Solved

Error while importing customer orders to IFS

  • 3 February 2023
  • 4 replies
  • 182 views

Userlevel 7
Badge +22
  • Superhero (Customer)
  • 935 replies

Hi everybody,

i want to import a customer order via sFTP to IFS but get an error message in application message:. 

IFS takes the file from our local sFTP server but isn’t able to create an incoming customer order. 

Both conditions (orders and contract) are in the xml file available. 

Can anyone help?

icon

Best answer by Link 6 February 2023, 13:58

View original

4 replies

Userlevel 4
Badge +7

Hi,

 

Please check if any whitespaces are exists in the tags that you validate in the Routing Rule.

 

-Sheha-

Userlevel 7
Badge +22

Hi @Shehan Chandrasekara 

thank you for replying. I’ve just checked the conditions and also the file and both looks good.

Are there other possible causes?

 

Example:

<?xml version="1.0" encoding="UTF-8"?>
<ORDERS xmlns="urn:ifsworld-com:schemas:inbound_distribution_transactions_create_customer_order_request">
    <CONTACT_REFERENCE>TESTUSER</CONTACT_REFERENCE>
    <CURRENCY_CODE>EUR</CURRENCY_CODE>
    <EAN_LOCATION_DELIVERY_ADDRESS>012345678</EAN_LOCATION_DELIVERY_ADDRESS>
    <EAN_LOCATION_DOCUMENT_ADDRESS>04567893</EAN_LOCATION_DOCUMENT_ADDRESS>
    <EAN_LOCATION_PAYER_ADDRESS/>
    <EAN_SUPPLIER_DOCUMENT_ADDRESS>40188750</EAN_SUPPLIER_DOCUMENT_ADDRESS>
    <HEADER_NOTE>Import XML ORDERS</HEADER_NOTE>
    <ORDER_NO>111222</ORDER_NO>
    <OUR_CUSTOMER_NO>78</OUR_CUSTOMER_NO>
    <WANTED_DELIVERY_DATE>2023-03-20T09:01:01</WANTED_DELIVERY_DATE>
    <CONTRACT>GER</CONTRACT>
    <SENDER_MESSAGE_ID>251645</SENDER_MESSAGE_ID>
    <SENDER_COMMUNICATION_ID>TEST</SENDER_COMMUNICATION_ID>
    <RECEIVER_COMMUNICATION_ID>EDI</RECEIVER_COMMUNICATION_ID>
    <ACTIONTYPE>CREATE</ACTIONTYPE>
    <MESSAGE_SEQUENCE_NO>1</MESSAGE_SEQUENCE_NO>
    <PAY_TERM_ID>10</PAY_TERM_ID>
    <DELIVERY_TERMS>EXW</DELIVERY_TERMS>
    <SHIP_VIA_CODE>TRU</SHIP_VIA_CODE>
    <SALESMAN_CODE>TESTUSER</SALESMAN_CODE>
    <LANGUAGE_CODE>de</LANGUAGE_CODE>
    <ORDER_NO>778899</ORDER_NO>
    <DELIVER_TO>

...

 

Userlevel 7
Badge +22

If I use the location type “File” than the import works but not with sFTP.

Doesn’t it support?

 

Userlevel 7
Badge +22

Now the import works with SFTP.

I’ve removed the file path.

Reply