Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026694Openbravo ERP07. Sales managementpublic2014-05-26 13:302014-12-30 23:22
ngarcia 
reinaldoguerra 
highminoralways
closedfixed 
5
 
3.0PR15Q1 
vmromanos
Core
No
0026694: PO Payment Method should be used when creating an invoice from a Commission Payment
PO Payment Method should be used when creating an invoice from a Commission Payment
As group admin role:
   Set a Sales Representative as a Vendor and configure the associated fields: Purchase Pricelist, PO Payment Method (distinct from the first of the list shown in the combo box), PO Payment Terms, PO Financial Account
   Create a Sales Invoice for that Sales Representative
   Create a record in the Commission for that Sales Representative and Generate the Commission
   Go to Commission Payment screen and Create Invoice
   Check the Payment Method defined in the Business Partner - Vendor/Creditor tab is not selected in the Purchase Invoice header
   
No tags attached.
Issue History
2014-05-26 13:30ngarciaNew Issue
2014-05-26 13:30ngarciaAssigned To => jonalegriaesarte
2014-05-26 13:30ngarciaModules => Core
2014-05-26 13:30ngarciaResolution time => 1407448800
2014-05-26 13:30ngarciaTriggers an Emergency Pack => No
2014-05-26 13:30ngarciaIssue Monitored: networkb
2014-05-26 16:51RenateNieuwkoopIssue Monitored: RenateNieuwkoop
2014-05-28 11:18jonalegriaesarteAssigned Tojonalegriaesarte => pramakrishnan
2014-06-16 12:48jonalegriaesarteTarget VersionPR14Q3 => PR14Q4
2014-09-29 16:12jonalegriaesarteTarget Version3.0PR14Q4 => 3.0PR15Q1
2014-10-02 19:09reinaldoguerraAssigned Topramakrishnan => reinaldoguerra
2014-10-02 19:09reinaldoguerraStatusnew => scheduled
2014-10-03 06:51reinaldoguerraNote Added: 0070672
2014-10-07 14:26hgbotCheckin
2014-10-07 14:26hgbotNote Added: 0070772
2014-10-07 14:26hgbotStatusscheduled => resolved
2014-10-07 14:26hgbotResolutionopen => fixed
2014-10-07 14:26hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0f0340b92f487cb97215faf79f597406f9a79c90 [^]
2014-10-07 14:26vmromanosReview Assigned To => vmromanos
2014-10-07 14:26vmromanosNote Added: 0070773
2014-10-07 14:26vmromanosStatusresolved => closed
2014-12-30 23:22hudsonbotCheckin
2014-12-30 23:22hudsonbotNote Added: 0072911

Notes
(0070672)
reinaldoguerra   
2014-10-03 06:51   
Test plan used:
1- Login into Openbravo ERP
2- As group admin role:
   Set a Sales Representative as a Vendor and configure the associated fields: Purchase Pricelist, PO Payment Method (distinct from the first of the list shown in the combo box), PO Payment Terms, PO Financial Account
3- Create a Sales Invoice for that Sales Representative
4- Create a record in the Commission for that Sales Representative and Generate the Commission
5- Go to Commission Payment screen and Create Invoice
6- Check the Payment Method defined in the Business Partner - Vendor/Creditor tab, now is the selected in the Purchase Invoice header generated.
(0070772)
hgbot   
2014-10-07 14:26   
Repository: erp/devel/pi
Changeset: 0f0340b92f487cb97215faf79f597406f9a79c90
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Thu Oct 02 12:11:35 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/0f0340b92f487cb97215faf79f597406f9a79c90 [^]

Fixed bug 26694: Using PO Payment Method in Comm Payment create invoice process

C_COMMISSIONRUN_PROCESS stored procedure was modified to insert PO Payment Method from sales representative registered on commission document.
Now when create an invoice from a Commission Payment process is executed the purchase invoice generated contains de required Payment Method.

---
M src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml
---
(0070773)
vmromanos   
2014-10-07 14:26   
Code review + testing OK
(0072911)
hudsonbot   
2014-12-30 23:22   
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/6525fe229e06 [^]
Maturity status: Test