Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005586Openbravo ERP07. Sales managementpublic2008-10-20 11:312009-05-20 09:07
azabaleta 
Dowid 
normalmajoralways
closedfixed 
5
2.40 
 
Core
No
0005586: Running commissions gives an incorrect error
When creating a commission, if you dont select a product (is not mandatory), when creating purchase invoices from commissions it gives incorrect error messages due to the bad PL implementation of the proccess.
Before validating if the sales representative has address, payment form, terms... the PL should validate if the commission has a product.
No tags attached.
blocks defect 0005544 closed Dowid Running commissions gives an incorrect error 
Issue History
2008-10-20 11:31psarobeNew Issue
2008-10-20 11:31psarobeAssigned To => Dowid
2008-10-20 11:31psarobeStatusnew => scheduled
2008-11-19 14:06svnbotCheckin
2008-11-19 14:06svnbotNote Added: 0010407
2008-11-19 14:06svnbotStatusscheduled => resolved
2008-11-19 14:06svnbotResolutionopen => fixed
2008-11-19 14:06svnbotsvn_revision => 10235
2008-11-25 09:01svnbotCheckin
2008-11-25 09:01svnbotNote Added: 0010596
2008-11-25 09:01svnbotsvn_revision10235 => 10501
2008-12-13 19:05psarobeStatusresolved => new
2008-12-13 19:05psarobeResolutionfixed => open
2008-12-13 19:05psarobeStatusnew => scheduled
2008-12-13 19:05psarobefix_in_branch2.40 => trunk
2008-12-18 12:59svnbotCheckin
2008-12-18 12:59svnbotNote Added: 0011518
2008-12-18 12:59svnbotStatusscheduled => resolved
2008-12-18 12:59svnbotResolutionopen => fixed
2008-12-18 12:59svnbotsvn_revision10501 => 11358
2009-05-20 09:07sureshbabuRegression testing => No
2009-05-20 09:07sureshbabuStatusresolved => closed
2009-05-20 09:07sureshbabuNote Added: 0016485
2009-05-20 09:07sureshbabuFixed in Version => 2.40MP4

Notes
(0010407)
svnbot   
2008-11-19 14:06   
Repository: openbravo
Revision: 10235
Author: dowid
Date: 2008-11-19 14:06:24 +0100 (Wed, 19 Nov 2008)

Fixed bug 0005586: Running commissions gives an incorrect error

---
U branches/r2.40/src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=10235&sc=1 [^]
(0010596)
svnbot   
2008-11-25 09:01   
Repository: openbravo
Revision: 10501
Author: villind
Date: 2008-11-25 09:01:08 +0100 (Tue, 25 Nov 2008)

Merged r10235. Fixed bug 0005586: Running commissions gives an incorrect error

---
_U branches/bonware/r2.40/
_U branches/bonware/r2.40/config/setup-tool/
_U branches/bonware/r2.40/eclipse.install.source.launch
_U branches/bonware/r2.40/export.database.launch
_U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java
U branches/bonware/r2.40/src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
_U branches/bonware/r2.40/update.database.launch
---

https://dev.openbravo.com/websvn/openbravo/?rev=10501&sc=1 [^]
(0011518)
svnbot   
2008-12-18 12:59   
Repository: openbravo
Revision: 11358
Author: dowid
Date: 2008-12-18 12:59:35 +0100 (Thu, 18 Dec 2008)

Bug fixed 0005586: Running commissions gives an incorrect error
Fixed according to the solution proposed by azabaleta and Pablo Sarobe.

---
U branches/r2.40/src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
U branches/r2.40/src-db/database/sourcedata/AD_MESSAGE.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11358&sc=1 [^]
(0016485)
sureshbabu   
2009-05-20 09:07   
System throws error message as " Error:Commission Testing issueid 5586 has not defined an invoiced product "

Tested and working fine