Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inventory Validation by Warehouse at Before Save Distribution Line #71

Open
carlosaparadam opened this issue Aug 12, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@carlosaparadam
Copy link

Inventory Validation by Warehouse at Before Save Distribution Line

Currently at before save an Distribution Order Line with Attribute set instance is validated on global Warehouse although the Warehouse Location is set in Distribution Order Line.

This change allow validate inventory only on Warehouse Location if the Distribution line has Attribute set instance Selected

-----------> MDDOrderLine.beforeSave: Qty - Stock=22000.000000000000, Ordered=25000.000000000000 [35565]
===========> MDDOrderLine.saveError: QtyInsufficient - =22000.000000000000 [35565]
-------------------------------
-----------> MDDOrderLine.save: beforeSave failed - MDDOrderLine[0,Line=0,Ordered=25000.000000000000,Delivered=0,Reserved=0] [35565]
===========> ProcessQualityAnalysisAction.process: =22000.000000000000 [35565]
org.adempiere.exceptions.AdempiereException: =22000.000000000000
at org.compiere.model.PO.saveEx(PO.java:2321)
@carlosaparadam carlosaparadam added the bug Something isn't working label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant