Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029403Openbravo ERP03. Procurement managementpublic2015-03-25 13:082015-05-07 22:16
maite 
vmromanos 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q3pi 
umartirena
Core
Production - Confirmed Stable
2014-06-02
3.0PR14Q3
https://code.openbravo.com/erp/devel/pi/rev/3e75e4d92c649e3293c1b6830771b0fba009b2da [^]
No
0029403: Invoice's entry generated against Currency Balancing account instead of Vendor Prepayment account
Invoice's entry generated against Currency Balancing account instead of Vendor Prepayment account
1. Define Conversion Rate for today between MXN - EUR and MXN - USD
2. Create Price List in MXN currency, for purchase transactions
3. Define Financial Account payment to use different currencies
4. Register Purchase Order using MXN price list, add any line and process
5. Register multicurrency payment using Add Payment process from order's header
6. Register receipt using Pending Goods Receipt form
7. Register Purchase Invoice using Create Lines from process. Post invoice and realize that accounting entry is generated against Currency balancing account instead of Vendor Prepayment account
No tags attached.
depends on backport 00294563.0PR15Q1.3 closed vmromanos Invoice's entry generated against Currency Balancing account instead of Vendor Prepayment account 
depends on backport 00294713.0PR15Q2 closed vmromanos Invoice's entry generated against Currency Balancing account instead of Vendor Prepayment account 
caused by feature request 00259763.0PR14Q3 closed eduardo_Argal Open Balances 
related to defect 00318733.0PR16Q2 closed vmromanos Wrong multicurrency accounting entry when posting partial invoice related to a prepaid order 
Issue History
2015-03-25 13:08maiteNew Issue
2015-03-25 13:08maiteAssigned To => Sandrahuguet
2015-03-25 13:08maiteModules => Core
2015-03-25 13:08maiteTriggers an Emergency Pack => No
2015-03-25 13:08maiteIssue Monitored: networkb
2015-03-25 13:18heccamIssue Monitored: heccam
2015-03-25 13:54umartirenaAssigned ToSandrahuguet => eduardo_Argal
2015-03-27 10:48umartirenaAssigned Toeduardo_Argal => vmromanos
2015-03-27 13:50maiteResolution time => 1430085600
2015-03-27 13:50maiteTarget Version => 3.0PR15Q2
2015-03-27 14:39vmromanosRegression level => Production - Confirmed Stable
2015-03-27 14:39vmromanosRegression date => 2014-06-09
2015-03-27 14:39vmromanosRegression introduced in release => 3.0PR14Q3
2015-03-27 14:39vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/57ae71ea5865 [^]
2015-03-27 14:41vmromanosRegression date2014-06-09 =>
2015-03-27 14:41vmromanosRegression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/57ae71ea5865 [^] =>
2015-03-30 13:32vmromanosRegression date => 2014-06-02
2015-03-30 13:32vmromanosRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/3e75e4d92c649e3293c1b6830771b0fba009b2da [^]
2015-03-30 13:32vmromanosRelationship addedcaused by 0025976
2015-03-30 13:33vmromanosStatusnew => scheduled
2015-03-30 13:59jonalegriaesarteTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-03-31 12:32umartirenaStatusscheduled => acknowledged
2015-03-31 12:32umartirenaStatusacknowledged => scheduled
2015-03-31 12:33hgbotCheckin
2015-03-31 12:33hgbotNote Added: 0076169
2015-03-31 12:33hgbotStatusscheduled => resolved
2015-03-31 12:33hgbotResolutionopen => fixed
2015-03-31 12:33hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a20d7406cc397985fbcb325c9f38c5467dd8a69f [^]
2015-04-01 09:56umartirenaReview Assigned To => umartirena
2015-04-01 09:56umartirenaNote Added: 0076285
2015-04-01 09:56umartirenaStatusresolved => closed
2015-04-01 09:56umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077105
2016-01-14 17:25vmromanosRelationship addedrelated to 0031873

Notes
(0076169)
hgbot   
2015-03-31 12:33   
Repository: erp/devel/pi
Changeset: a20d7406cc397985fbcb325c9f38c5467dd8a69f
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Mon Mar 30 13:43:26 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a20d7406cc397985fbcb325c9f38c5467dd8a69f [^]

Fixed bug 29403: Invoice's entry Currency Balancing instead of Vendor Prepayment

The selectPrepayments method now searches by FIN_PAYMENT_SCHEDULEDETAIL.FIN_PAYMENT_SCHEDULE_ORDER instead of FIN_PAYMENT_SCHEDULEDETAIL.FIN_PAYMENT_SCHEDULE_INVOICE, because a prepayment is linked to an order.

---
M src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql
---
(0076285)
umartirena   
2015-04-01 09:56   
Code Review + Testing OK
(0077105)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test