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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0024309
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 07. Sales managementtrivialalways2013-07-10 15:282013-10-25 17:44
ReporterngarciaView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionfixedFixed in Version3.0MP29
StatusclosedFix in branchpiFixed in SCM revisionfb0daa4e04b9
ProjectionnoneETAnoneTarget Version3.0MP29
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tongarcia
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0024309: Cannot generate an invoice from a commission if a sales representative has a sales representative configured

DescriptionCannot generate an invoice from a commission if a sales representative has a sales representative configured
Steps To ReproduceAs group admin role:
   Select a business partner configured as employee and sales representative
   Configure it also as vendor and add fill the following fields:
      Purchase Pricelist
      PO Payment Method
      PO Payment Terms
      PO Financial Account
   Configure it also as customer and fill the Sales Representative field
   Create a Sales Invoice and select that BP as Sales Representative
   Create a record for that BP in the Commission window:
      Basis Document: Invoice
      Basis Status: All documents
      Basis Amount: Net Amount
   Add a line to it:
      Based on Sales Rep.: 'Y'
      Multiplier Amount: 2
   Generate Commission
   In Commission Payment window, create an invoice for that commission
   An error message is shown
      
Proposed SolutionIn the C_COMMISSIONRUN_PROCESS function, the value of the salesrep_id column of the c_bpartner table (which refers to c_bpartner_id) is inserted in the salesrep_id column of the c_invoice table (which refers to ad_user_id)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0061692)
hgbot (developer)
2013-10-16 11:52

Repository: erp/devel/pi
Changeset: fb0daa4e04b9d15404f1af6c93ee0bef71b18fda
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Wed Oct 09 12:27:58 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/fb0daa4e04b9d15404f1af6c93ee0bef71b18fda [^]

Fixed bug 24309 Cannot generate an invoice from a commission with sales_rep configured

---
M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
---
(0061760)
hudsonbot (developer)
2013-10-16 19:47

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/51315988909a [^]

Maturity status: Test
(0061878)
hgbot (developer)
2013-10-24 09:22

Repository: erp/devel/pi
Changeset: acb7c4bb1944d77bf246e4db9a2fa7e9d9c63153
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Oct 22 09:11:41 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/acb7c4bb1944d77bf246e4db9a2fa7e9d9c63153 [^]

Related to issue 24309

---
M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
---
(0061885)
hgbot (developer)
2013-10-24 15:47

Repository: erp/devel/pi
Changeset: 3478e80b1ffc9544f7e447acf4f80a7124f151a0
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Thu Oct 24 15:49:18 2013 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/3478e80b1ffc9544f7e447acf4f80a7124f151a0 [^]

related to issue 24309

---
M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
---
(0061893)
hudsonbot (developer)
2013-10-24 20:04

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/d0465c5073ba [^]

Maturity status: Test
(0061910)
hudsonbot (developer)
2013-10-25 17:44

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/156e0398fda4 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2013-07-10 15:28 ngarcia New Issue
2013-07-10 15:28 ngarcia Assigned To => dmiguelez
2013-07-10 15:28 ngarcia Modules => Core
2013-07-10 15:28 ngarcia Triggers an Emergency Pack => No
2013-07-10 15:29 ngarcia Issue Monitored: networkb
2013-07-12 10:45 dmiguelez Assigned To dmiguelez => jonalegriaesarte
2013-08-27 12:31 jonalegriaesarte Target Version => 3.0MP29
2013-10-08 17:33 jonalegriaesarte Assigned To jonalegriaesarte => Sandrahuguet
2013-10-09 08:38 Sandrahuguet Status new => scheduled
2013-10-09 08:38 Sandrahuguet fix_in_branch => pi
2013-10-16 11:52 hgbot Checkin
2013-10-16 11:52 hgbot Note Added: 0061692
2013-10-16 11:52 hgbot Status scheduled => resolved
2013-10-16 11:52 hgbot Resolution open => fixed
2013-10-16 11:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fb0daa4e04b9d15404f1af6c93ee0bef71b18fda [^]
2013-10-16 11:55 Sandrahuguet Review Assigned To => ngarcia
2013-10-16 19:47 hudsonbot Checkin
2013-10-16 19:47 hudsonbot Note Added: 0061760
2013-10-24 09:22 hgbot Checkin
2013-10-24 09:22 hgbot Note Added: 0061878
2013-10-24 15:47 hgbot Checkin
2013-10-24 15:47 hgbot Note Added: 0061885
2013-10-24 15:55 ngarcia Status resolved => closed
2013-10-24 15:55 ngarcia Fixed in Version => 3.0MP29
2013-10-24 20:04 hudsonbot Checkin
2013-10-24 20:04 hudsonbot Note Added: 0061893
2013-10-25 17:44 hudsonbot Checkin
2013-10-25 17:44 hudsonbot Note Added: 0061910


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker