Do Not Allow Change in Lot Number (Purchase) if Default Lot Number is specified

YouTube: How to Restrict Lot/ Batch Number Editing When a Default Lot is Specified in Purchase?

How to Restrict Lot/ Batch Number Editing When a Default Lot is Specified in Purchase?

This tutorial explains how to prevent users from changing the lot number in a purchase voucher when a default lot number has been configured.


Set Default Lot Number in Purchase Voucher Configuration

  • Open Purchase Voucher Configuration.

  • Navigate to Other Settings 2.

  • Locate the option Labeled: "Default Lot No "

  • Specify the default lot number to be used during Purchase Entry.

As shown in the picture, define the Default LOT Number.

Access Logic Admin Settings:

  • Open the Logic Folder and run Logic Admin.

  • Go to Global Settings.

  • Navigate to the Purchase tab.

  • Locate and enable the option: "Do Not Allow Change in Lot Number in Purchase if default lot number is specified".

Let's keep this feature enable to observe its impact in Purchase.
  • Click Save to confirm the configuration.

  • Restart the software to activate the changes.


Verify Functionality During Purchase Entry

  • Open the Purchase Voucher module.

  • While making a purchase entry:

    • The default lot number will be automatically selected.

As you can see in the image above, the default LOT Number has been picked automatically, and you cannot make any changes to it.
  • The system will restrict any attempt to modify the selected lot number.


Conclusion

By enabling this setting, you can enforce data consistency and avoid unintended modifications to lot numbers during purchase entries.

Last updated