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, ...
Unanswered

Physical updating quantity in the inventory unit ea must be other than zero.

(0) ShareShare
ReportReport
Posted on by 2,326

Hi,

I have a Sales order that was invoiced on a wrong date. So now I'm generating another invoice after entering minus(-Quantity) in the "Deliver now" field in the Lines, which generates a Credit Note. This cancels the Sales order line. Now I can create another line and generate invoice on correct date.

This works okay from the front end.

But when I try to do this with data entity, I'm getting an error.

Sales Order Lines V2 (Entity) [Deliver now field in -ve quantity]

pastedimage1643796067912v1.png

pastedimage1643796121864v2.png

In order to import the -ve quantity I switched off the Business rules validations on the Data Entity.

Why is it working from front end and not with Data Entity?

What is the best practice to correct the date of Sales Order Invoice if posted in a wrong date?

Best Regards,

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    302,672 Super User 2026 Season 1 on at

    Hi MYGz,

    I'm not sure why Microsoft added this validation in the data entity. You can disable the validations, but that would probably have an chance to import wrong lines. You can also consider creating an own entity or correct it via the user interface with the procedure you mentioned yourself.

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

André Arnaud de Cal... 663 Super User 2026 Season 1

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 289 Super User 2026 Season 1

#3
Martin Dráb Profile Picture

Martin Dráb 232 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans