Project:
View Revisions: Issue #32364 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0032364: NullPointerException when posting a Physical Inventory with a line without an associated transaction (not stocked product) | ||
Revision | 2016-02-29 13:18 by psanjuan | ||
Steps To Reproduce | In an instance without the following issue solved: https://issues.openbravo.com/view.php?id=31835 [^] As group admin role: Create a new product and set is as Stocked = 'Y' Create a goods receipt to increase its stock Create a goods shipment to leave its stock to 0 Set it as Stocked = 'N' (it will not possible after the fix of 31835) Create a Physical inventory for the same warehouse the stock was received in Launch the Create Inventory Count with the option of Inventory Quantity empty Check the product is not inserted Launch the Create Inventory Count with the option of Inventory Quantity = 0 Check the product is inserted and it shouldn't Process the inventory Try to post it and check the following error message is shown: Process failed during execution The logs shows: WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: 0E718DFD7B384111B2D2112722FCFF8B - TableId: 321 java.lang.NullPointerException at org.openbravo.erpCommon.ad_forms.DocInventory.createFact(DocInventory.java:183) at org.openbravo.erpCommon.ad_forms.AcctServer.postLogic(AcctServer.java:1111) at org.openbravo.erpCommon.ad_forms.AcctServer.post(AcctServer.java:804) at org.openbravo.erpCommon.ad_forms.AcctServer.post(AcctServer.java:719) at org.openbravo.erpCommon.ad_actionButton.Posted.processButton(Posted.java:273) at org.openbravo.erpCommon.ad_actionButton.Posted.doPost(Posted.java:104) |
||
Revision | 2016-02-29 08:58 by psanjuan | ||
Steps To Reproduce | In an instance without the following issue solved: https://issues.openbravo.com/view.php?id=31835 [^] As group admin role: Create a new product and set is as Stocked = 'Y' Create a goods receipt to increase its stock Create a goods shipment to leave its stock to 0 Set it as Stocked = 'N' (it will not possible after the fix of 31385) Create a Physical inventory for the same warehouse the stock was received in Launch the Create Inventory Count with the option of Inventory Quantity empty Check the product is not inserted Launch the Create Inventory Count with the option of Inventory Quantity = 0 Check the product is inserted and it shouldn't Process the inventory Try to post it and check the following error message is shown: Process failed during execution The logs shows: WARN org.openbravo.erpCommon.ad_forms.AcctServer - Accounting process failed. RecordID: 0E718DFD7B384111B2D2112722FCFF8B - TableId: 321 java.lang.NullPointerException at org.openbravo.erpCommon.ad_forms.DocInventory.createFact(DocInventory.java:183) at org.openbravo.erpCommon.ad_forms.AcctServer.postLogic(AcctServer.java:1111) at org.openbravo.erpCommon.ad_forms.AcctServer.post(AcctServer.java:804) at org.openbravo.erpCommon.ad_forms.AcctServer.post(AcctServer.java:719) at org.openbravo.erpCommon.ad_actionButton.Posted.processButton(Posted.java:273) at org.openbravo.erpCommon.ad_actionButton.Posted.doPost(Posted.java:104) |
Copyright © 2000 - 2009 MantisBT Group |