Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020213
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2012-04-05 06:342012-05-12 03:49
ReporterthirumalaikView Statuspublic 
Assigned Tothirumalaik 
PrioritynormalResolutionduplicateFixed in Version3.0MP10.1
StatusclosedFix in branchpiFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionProfessional ApplianceDatabase version8.3.9Ant version1.7.1
Product VersionSCM revision 
Review Assigned To
Web browserApple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020213: Invoicerule issue in Purchase order

DescriptionPurchase Order:

Create a purchase order and try to save record.You may face this error "Error
Saving failed. ERROR: null value in column "invoicerule" violates not-null constraint".
There is no choice for selecting Invoicerule because the field is hidden.

Sales Order:

Create a sales order and try to save record.You may face an issue like,no invoice rule is listed(mandatory field).
Steps To Reproduce1.Create a new client and make sure no sales representative is exist.
2.Now try to create record in Purchase order and try to save record.You may face this error "Error
Saving failed. ERROR: null value in column "invoicerule" violates not-null constraint".


Proposed SolutionIn SE_Order_BPartner.java callout,Sales representative is validated for displaying invoice rules.I'm not sure about the functional purpose of this validation.If so,please display corresponding message to overcome this error.

   162 // Sales Representative

   163

   164 FieldProvider[] tld = null;




   205 if (tld != null && tld.length > 0) {
   206 info.addSelect("inpinvoicerule");

TagsVMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on defect 00202513.0MP11 closedguilleaer Under special conditions the business partner callout in orders windows, fails 

-  Notes
(0048183)
jonalegriaesarte (reporter)
2012-04-30 09:52

Seems to be solved in this changeset https://code.openbravo.com/erp/devel/pi/rev/83facabed792547fd4f549cf40ab5c79f9c9ef14 [^]
published in MP10.1
Could you please confirm?
(0048437)
jonalegriaesarte (reporter)
2012-05-08 10:50

Solved in changeset https://code.openbravo.com/erp/devel/pi/rev/83facabed792547fd4f549cf40ab5c79f9c9ef14 [^]
(0048590)
rmalla (reporter)
2012-05-12 03:49

Hello, I have changed the if (tld != null && tld.length > 0) on the SE_Order_BPartner.java as specified below, but still getting the folowing error:

Error
Saving failed. ERROR: null value in column "invoicerule" violates not-null constraint

Please advise because I think there may be another bug.

- Issue History
Date Modified Username Field Change
2012-04-05 06:34 thirumalaik New Issue
2012-04-05 06:34 thirumalaik Assigned To => vmromanos
2012-04-05 06:34 thirumalaik Web browser => Apple Safari, Google Chrome, Internet Explorer, Mozilla Firefox
2012-04-05 06:34 thirumalaik Modules => Core
2012-04-05 06:34 thirumalaik Issue Monitored: thirumalaik
2012-04-05 22:43 kcelebi Issue Monitored: kcelebi
2012-04-10 13:19 vmromanos Tag Attached: VMA-Reviewed
2012-04-10 13:25 jonalegriaesarte Assigned To vmromanos => jonalegriaesarte
2012-04-30 09:52 jonalegriaesarte Note Added: 0048183
2012-04-30 09:52 jonalegriaesarte Assigned To jonalegriaesarte => thirumalaik
2012-04-30 09:52 jonalegriaesarte Status new => acknowledged
2012-04-30 09:54 jonalegriaesarte Relationship added depends on 0020251
2012-04-30 17:26 jonalegriaesarte Status acknowledged => scheduled
2012-04-30 17:26 jonalegriaesarte fix_in_branch => pi
2012-04-30 17:27 jonalegriaesarte Status scheduled => feedback
2012-05-08 10:50 jonalegriaesarte Note Added: 0048437
2012-05-08 10:50 jonalegriaesarte Status feedback => closed
2012-05-08 10:50 jonalegriaesarte Resolution open => duplicate
2012-05-08 10:50 jonalegriaesarte Fixed in Version => 3.0MP10.1
2012-05-12 03:49 rmalla Note Added: 0048590


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker