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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Answered

Error in D365 Sales Return for Expired Batch – Root Cause and Solution?

(1) ShareShare
ReportReport
Posted on by 77

Hello everyone,

I’m encountering an error in Dynamics 365 while processing a sales return order for an expired batch:

“Batch j441 not selected based on Expiration date being past the required date.”

Changing the expiration date isn’t feasible because we have multiple items being returned. Our process is to receive expired items and move them to a quarantine warehouse until we get state approval to scrap them. For this reason, we can’t use the disposition code Scrap.

To my understanding (though not certain), this might be related to FEFO date control. I tried removing the FEFO date-controlled checkbox, but the error persists. I’m not sure if the system is holding previous transaction data. I also attempted using the Quarantine management process in the Item Model Group, but that didn’t resolve the issue either.

Questions:

  • What is the exact root cause of this error (which parameter triggers it)?
  • How can we resolve it without changing expiration dates?

Any insights or best practices would be greatly appreciated!

D365-Expiry Error.png
I have the same question (0)
  • Suggested answer
    SA-05110627-0 Profile Picture
    25 on at
    Can you use a custom disposition code with quarantine? Since you're moving expired items to a quarantine warehouse, ensure below
    • Item model group has quarantine management enabled
    • Disposition code used in the return order is not set to "Scrap, but something like “Hold for Inspection”
    • Return order process includes a quarantine step, allowing you to receive expired items without triggering expiration validation
  • André Arnaud de Calavon Profile Picture
    303,674 Super User 2026 Season 1 on at
    Hi Anthony,

    I don't have experience myself with this scenario. It should be a valid scenario. When I look at the screenshot, I do see a positive quantity. Have you tried it with a negative number?
  • Verified answer
    Anthony Maroun Profile Picture
    77 on at
     
    I was able to solve the issue by using the Arrival Overview and registering it through the Arrival Journal. This is the only way to bypass the validation on expired products.
     

    Thanks.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 254

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 188 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans