web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Sales order lines V2 entity - Import failed due to DELIVERYADDRESSLOCATIONID empty

(0) ShareShare
ReportReport
Posted on by

Hello all,

I'm trying to import sales order lines to specified SO, but import failed due to the following error :

DELIVERYADDRESSLOCATIONID -- > The data value violates integrity constraints.

In my import file, this field is empty I do not understand why this value should be mandatory... Because I do not have delivery address in my SO.

Any ideas ?

--> Version 10.0.2. No custo. All standard.

Thanks.

Gregory

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    Try to remove that field from your file, instead of providing empty value.

  • Verified answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi Bernard,

    If you remove the field, you will get message "Location ID" must be filled in. Give it a try and see if that's the case in your environment too. Just incase, something is not setup right on my environment.

    Do know that I was able to import lines (In mapping marked "Auto-generated").

    pastedimage1573585066565v1.png

    pastedimage1573585090441v2.png

  • Suggested answer
    Bernard Gregory Profile Picture
    on at

    Hello,

    Ok. I've defined the LocationID AND the InventorylotID, and it is working fine. But both must be defined as Auto-generated.

    Thanks a lot for your help.

    Gregory

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. André Arnaud de Cal... 580 Super User 2025 Season 2

#2
Abhilash Warrier Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Abhilash Warrier 428 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Liquid error: Object of type 'Adxstudio.Xrm.Web.Mvc.Liquid.EntityReferenceDrop' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Liquid error: Object of type 'System.Boolean' cannot be converted to type 'System.String'. Martin Dráb 329 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans