Skip to main content
Solved

Error while importing customer orders to IFS

  • February 3, 2023
  • 20 replies
  • 380 views

Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Superhero (Customer)

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?

Best answer by Link

Now the import works with SFTP.

I’ve removed the file path.

20 replies

Shehan Chandrasekara
Sidekick (Former Employee)
Forum|alt.badge.img+8

Hi,

 

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

 

-Sheha-


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • February 3, 2023

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>

...

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • February 3, 2023

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

Doesn’t it support?

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • Answer
  • February 6, 2023

Now the import works with SFTP.

I’ve removed the file path.


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 14, 2025

Could you provide a sample of your Chain #1 step please? Thank you in advance.


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 15, 2025

Could you provide a sample of your Chain #1 step please? Thank you in advance.

Hi ​@CDeslatte 

which part is chain 1 for you?


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

I am trying to do something similar with FILE_READER. The incoming file is a pure CSV format 850 and I have a java/xslt transformer to convert it to XML. I can get it to pickup the drop file but I always get an error message: Message of type 'NONE_XML' doesn't match any routing rule.

 

 

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

I was hoping to see how your Incoming Receive Customer Order looked like.


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 15, 2025

You cant import a customer order without these marked chains:

Can you put them after yours?


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

I’ll give it a try and report back. Thank you.


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 15, 2025

Here an example for an incoming customer order:

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

Could you assist me possibly with this highlighted part. Forgive me, I am new to setting this up.

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 15, 2025

Sure. Just click on “Destination Address” on the top of this screen.

Then you can add new addresses. Also the sequence is important.

I recommend you starting with these addresses. Create a xml file manually for testing purposes.

If the test is successful, you can then add your address.


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

I did this:

 


and this:

 

I still get this:

 


 

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

Let me convert the CSV to XML as you suggested.


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 15, 2025

No matter what I do I can’t get past this:

Message of type 'UNKNOWN_XML' doesn't match any routing rule


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 16, 2025

Hi ​@CDeslatte 

1. Why do you type here the file sender name?

Parameters

message_function_
    BizAPI name or message function.

message_type_
    Optional message type.

sender_
    Optional identity of sending organization.

receiver_
    Optional identity of receiving organization.

in_order_
    Flag denoting if the message should be put to an InOrder queue. Default FALSE. If TRUE and it is not possible to find a queue or the found queue is not InOrder, an exception will be raised..

Use the parameter CONTRACT and enter you company (contract).

 

2. Check this sequence again. It should look like mine.

 


Forum|alt.badge.img+2
  • Do Gooder (Customer)
  • October 21, 2025

Good day sir,

 

First and foremost, I would like to say Thank you for assisting me with this stuff. I know you don’t have to and it is appreciated.

I still don’t have my stuff working correctly but I wanted to back up a bit and ask you a couple of questions if possible.

First, are you using XML to get the information into the IN_MESSAGE_TAB and IN_MESSAGE_LINE_TAB? Then internal IFS processes create the PO? If so, could you possibly share what format your XML files are in?

Secondly, we are being given pure CSV formatted files from SPS Commerce who is handling our EDI for us. We will eventually be moving to the Cloud Based IFS, but for the transition I have to get this working with IFS10EE U22.

Do you have any thoughts or suggestions as to how I can get the incoming EDI documents into the two tables first... then we can work on getting the Customer Order to process in?

Thank you in advance I realize there is a time difference between us and I don’t want to bother you while you are trying to work.

I can provide you with a sample EDI document that is provided to us via SPS Commerce if that helps.


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 27, 2025

Dear ​@CDeslatte 

yes, we import XML files. It is the EDI process.

The views are EXTERNAL_CUSTOMER_ORDER and EXTERNAL_CUST_ORDER_LINE_ALL.

From the view “Internal Customer Order” you need approve the order. Then IFS creates a customer order.

 

In what screen is this view IN_MESSAGE_TAB?

You can download the xml file from your “IFS Interface Browser”:

 


Link
Superhero (Customer)
Forum|alt.badge.img+23
  • Author
  • Superhero (Customer)
  • October 27, 2025

I found the example XML file from IFS, which you can import to IFS.