Skip to main content
Solved

IMPORT INVOICES _ERROR CustomerLocationId not found

  • January 18, 2021
  • 4 replies
  • 262 views

Forum|alt.badge.img

Hello Everyone

 

I am unanable to import customer invoices , I have the Error “CustomerLocationId” not found. However, all the customers have their adresses   

Best answer by jknauf

@NAWRES Hmmm,

This could be an issue of ID vs CD then. Usually the value the database stores and uses as the Key (the actual ID) is different than the one that it displays to users (this is usually called the CD behind the scenes). The issue with this is that things like GIs use the Display names as parameters, in which case the CD would also be called the ID which can cause some confusion.

So I think the core issue you’re probably having then is that the import wants the actual ID, but you’re giving it the CD. Either that or Vice-Versa. Hopefully this information can help you troubleshoot, but I’m not an expert in imports so I can’t say definitively how you’d resolve this error. I’d try double checking input parameters are correct (is there one that says CD or perhaps a different locationID field?) or try exporting from a different context if you can to try to get the actual IDs.

Worst comes to worst, if this is your issue I know you could fix it by modifying your input data with an SQL query, or writing custom import logic to convert them on import.

View original
Did this topic help you find an answer to your question?

4 replies

Forum|alt.badge.img
  • Varsity II
  • 35 replies
  • January 18, 2021

CustomerLocationID doesn’t actually represent an address. Instead that field is a meant to be a unique identifier or Key field for a location entry in the database. This field is typically required for an invoice, as it tells the system which location for a given customer this order is for. If your import scenario does not include this field, I’d expect that’s your issue. I’ve attached a screenshot of the field where this value is actually displayed on the invoice screen in case that helps.
 


Anyway, best of luck!


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 32 replies
  • January 18, 2021

@jknauf thank you for your answer 

 

However; for the same customer , I can manually create the invoice (pic below) but I ‘ll have the error message ‘CustomerLocationId” not found when using an import scenario 

 

 


Forum|alt.badge.img
  • Varsity II
  • 35 replies
  • Answer
  • January 18, 2021

@NAWRES Hmmm,

This could be an issue of ID vs CD then. Usually the value the database stores and uses as the Key (the actual ID) is different than the one that it displays to users (this is usually called the CD behind the scenes). The issue with this is that things like GIs use the Display names as parameters, in which case the CD would also be called the ID which can cause some confusion.

So I think the core issue you’re probably having then is that the import wants the actual ID, but you’re giving it the CD. Either that or Vice-Versa. Hopefully this information can help you troubleshoot, but I’m not an expert in imports so I can’t say definitively how you’d resolve this error. I’d try double checking input parameters are correct (is there one that says CD or perhaps a different locationID field?) or try exporting from a different context if you can to try to get the actual IDs.

Worst comes to worst, if this is your issue I know you could fix it by modifying your input data with an SQL query, or writing custom import logic to convert them on import.


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 32 replies
  • January 18, 2021

I tried with both CD and ID  in my import scenario and I have the same error message :( 

And I don’t have access to the SQL database 

I run out of ideas :’( 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings