Skip to main content

Notifications

Announcements

No record found.

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,031

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,

  • André Arnaud de Calavon Profile Picture
    294,261 Super User 2025 Season 1 on at
    RE: Physical updating quantity in the inventory unit ea must be other than zero.

    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,009 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans