Allow Sale Return after Lot Expiry Date(days)
YouTube: How to Restrict Entry of Expired Lots Older Than 'n' Days in Sale Return?
How to Restrict Entry of Expired Lots Older Than 'n' Days in Sale Return?
In this tutorial, we’ll explain how to configure sale return permissions for expired lots in Logic ERP, including how to define grace periods and enforce restrictions.
Enable Lot Expiry-Based Sale Return
Open Logic Admin and navigate to Global Settings.
Go to the Sale Return Settings section.
Locate the option: "Allow Sale Return After Lot Expiry Date (Days)"
Enter the number of days you want to allow sale returns after the lot has expired (e.g., 5 days).

Save the settings.
Restart the software for the changes to take effect.
Implement the Functionality
Create a Sale Return Voucher.
Attempt to return an item whose lot has already expired.
The system will display a message:
“Lot has expired beyond the 5-day limit set in Global Settings.”

At this point, you can:
Choose Yes to proceed with the return.
Press No to cancel the entry.
Set Action Behavior for Expired Lots
In Global Settings, locate the option to define the action on expired lot sale return.
Choose between:
Show Prompt – Allows the user to decide.
Do Not Allow SR – Completely restricts the transaction.
Select “Do Not Allow SR” to enforce a hard restriction.

Save the settings.
Verify Restriction
Attempt the same sale return entry again for the expired lot.
This time, the software will:
Block the transaction.
Show a message:
“Lot has expired beyond the defined period. Transaction cannot be processed.”

Conclusion
These settings help maintain control and compliance in your sales return process by enforcing rules around lot expiry, ensuring data accuracy and inventory integrity.
Last updated