Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009639Openbravo ERP07. Sales managementpublic2009-06-25 15:192009-07-17 11:25
sureshbabu 
alostale 
immediatemajoralways
closedfixed 
10
2.50MP2 
pi 
Core
No
0009639: Not able to generate Commission document, if we change the Starting date field.
Not able to generate Commission document, if we change the Starting date field from current date to back date.
1) Create and complete a sales order ( Sales Management || Transactions || Sales Order || Header ) with the required details (note the Sales representative name).

2)Move to Sales Management || Setup || Commission || Header and click New

Business Partner / Sales Rep field: pick the sales representative the same one who we selected in the Sales order
Calculation Basis : Order (select any value)
Frequency Type :Monthly (select any value)


3) Move to lines tab, click new
In the reference section donot select any filters,
in the amounts section enter Multiplier Amount as .1(10%)

4) Move back to Header tab and click Generate Commission button a

5) Change the starting date to any back date and click OK.

Process starts and never ends





 
250MP2QAcylce
depends on backport 0009684 closed alostale Not able to generate Commission document, if we change the Starting date field. 
jpg Generate Commission process not getting complete if we change the Starting date.JPG (163,423) 2009-06-25 15:19
https://issues.openbravo.com/file_download.php?file_id=1470&type=bug
jpg
Issue History
2009-06-25 15:19sureshbabuNew Issue
2009-06-25 15:19sureshbabuAssigned To => rafaroda
2009-06-25 15:19sureshbabuFile Added: Generate Commission process not getting complete if we change the Starting date.JPG
2009-06-25 15:19sureshbabuTag Attached: 250MP2QAcylce
2009-06-26 09:22psarobePrioritynormal => immediate
2009-06-26 09:22psarobeStatusnew => scheduled
2009-06-26 09:54rafarodaAssigned Torafaroda => sathiyan
2009-06-26 10:25areefbashaAssigned Tosathiyan => areefbasha
2009-06-26 11:58areefbashaNote Added: 0017610
2009-06-26 11:58areefbashaAssigned Toareefbasha => alostale
2009-06-29 08:18alostaleStatusscheduled => acknowledged
2009-06-29 08:18alostaleStatusacknowledged => scheduled
2009-06-29 08:18alostalefix_in_branch => pi
2009-06-29 08:24hgbotCheckin
2009-06-29 08:24hgbotNote Added: 0017633
2009-06-29 08:24hgbotStatusscheduled => resolved
2009-06-29 08:24hgbotResolutionopen => fixed
2009-06-29 08:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1b0d3ecb46c04b285065bf8a9178dbc2d22f64b0 [^]
2009-06-29 09:52psarobeFixed in Version => main
2009-06-29 09:52psarobefix_in_branchpi =>
2009-06-29 11:33sureshbabuNote Added: 0017639
2009-06-29 11:35sureshbabuStatusresolved => closed
2009-06-30 00:00anonymoussf_bug_id0 => 2814268
2009-07-03 13:15hgbotCheckin
2009-07-03 13:15hgbotNote Added: 0017886
2009-07-03 13:15hgbotStatusclosed => resolved
2009-07-03 13:15hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/1b0d3ecb46c04b285065bf8a9178dbc2d22f64b0 [^] => http://code.openbravo.com/erp/devel/pi/rev/20e2c558bee65bd73a64b6c06ebcdfb89b8bdb83 [^]
2009-07-17 11:25sureshbabuStatusresolved => closed
2009-07-17 11:25sureshbabuNote Added: 0018354
2009-07-17 11:25sureshbabuFixed in Versionmain => pi

Notes
(0017610)
areefbasha   
2009-06-26 11:58   
If we change the date in starting date text field in the Generate Commision popup window,

1) ActionButtonData.process123 method is not called.
2) the stored procedure does not execute.

If we does not change the date in starting date text field in the Generate Commision popup window,

1) Press OK
2) ActionButtonData.process123 method is called.
3) the stored procedure executes.
(0017633)
hgbot   
2009-06-29 08:24   
Repository: erp/devel/pi
Changeset: 1b0d3ecb46c04b285065bf8a9178dbc2d22f64b0
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 29 08:24:04 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1b0d3ecb46c04b285065bf8a9178dbc2d22f64b0 [^]

fixed bug 0009639: Not able to generate Commission document, if we change the Starting date field.
  Combo reloads for action button were generated in non necessary cases

---
M src-wad/src/org/openbravo/wad/Wad.java
---
(0017639)
sureshbabu   
2009-06-29 11:33   
Tested working fine
(0017886)
hgbot   
2009-07-03 13:15   
Repository: erp/devel/pi
Changeset: 20e2c558bee65bd73a64b6c06ebcdfb89b8bdb83
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Jun 29 08:24:04 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/20e2c558bee65bd73a64b6c06ebcdfb89b8bdb83 [^]

fixed bug 0009639: Not able to generate Commission document, if we change the Starting date field.
  Combo reloads for action button were generated in non necessary cases

---
M src-wad/src/org/openbravo/wad/Wad.java
---
(0018354)
sureshbabu   
2009-07-17 11:25   
Tested working fine in Pi