Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029136Openbravo ERP07. Sales managementpublic2015-03-05 10:092015-05-07 22:16
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR15Q3pi 
umartirena
Core
No
0029136: Wrong entry when posting prepayment against invoice using credit
Wrong entry when posting prepayment against invoice using credit
0. Install cash vat management module and configure it for using: http://wiki.openbravo.com/wiki/Cash_VAT_Management/User_Documentation_Spanish#Configuraci.C3.B3n [^]
1. Register Payment with date 22-01-2015 for any BP and generate 100 eur of credit
2. Register Sales Invoice for same BP and date 30-01-2015 and Cash Vat checked. Add line and use cash vat tax rate. Ensure that total invoice amount=100 and process invoice.
3. Post invoice and realize that vat transitory account is affected
4. Register Payment In for same BP and date 29-01-2015. Run add details process, select available credit and use to pay invoice. Process payment
5. Post payment in and realize that vat transitory account is NOT affected, when it should
No tags attached.
has duplicate defect 0033341 closed vmromanos Invoice prepayment accounting needs to support Cash VAT in the case of managing more than one General Ledger configuration 
Issue History
2015-03-05 10:09maiteNew Issue
2015-03-05 10:09maiteAssigned To => Sandrahuguet
2015-03-05 10:09maiteModules => Core
2015-03-05 10:09maiteResolution time => 1428444000
2015-03-05 10:09maiteTriggers an Emergency Pack => No
2015-03-05 10:11maiteIssue Monitored: networkb
2015-03-13 10:35jonalegriaesarteTarget Version3.0PR15Q2 => 3.0PR15Q3
2015-03-17 06:58AtulOpenbravoAssigned ToSandrahuguet => AtulOpenbravo
2015-03-17 06:58AtulOpenbravoStatusnew => scheduled
2015-03-27 07:54AtulOpenbravoNote Added: 0076049
2015-03-27 07:55AtulOpenbravoReview Assigned To => umartirena
2015-04-01 19:08psanjuanNote Added: 0076341
2015-04-10 13:46hgbotCheckin
2015-04-10 13:46hgbotNote Added: 0076446
2015-04-10 13:46hgbotStatusscheduled => resolved
2015-04-10 13:46hgbotResolutionopen => fixed
2015-04-10 13:46hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/e662937f064fc996fb92e2d0a7d585617b4a64a3 [^]
2015-04-10 13:47umartirenaNote Added: 0076447
2015-04-10 13:47umartirenaStatusresolved => closed
2015-04-10 13:47umartirenaFixed in Version => pi
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077117
2016-06-30 13:02psanjuanRelationship addedhas duplicate 0033341

Notes
(0076049)
AtulOpenbravo   
2015-03-27 07:54   
Test Plan
- Install cash vat management module and configure it for using: http://wiki.openbravo.com/wiki/Cash_VAT_Management/User_Documentation_Spanish#Configuraci.C3.B3n [^] [^]
- Register Payment with date 22-01-2015 for any BP and generate 100 eur of credit
- Register Sales Invoice for same BP and date 30-01-2015 and Cash Vat checked. Add line and use cash vat tax rate. Ensure that total invoice amount=100 and process invoice.
- Post invoice and realize that vat transitory account is affected
- Register Payment In for same BP and date 29-01-2015. Run add details process, select available credit and use to pay invoice. Process payment.
- Post payment in and realize that vat transitory account is affected properly.
(0076341)
psanjuan   
2015-04-01 19:08   
Verified from functional side.

Both sales and purchase, total and partial credit, credit generated for customer/vendor, both options "use credit" upon completion of the invoice, and "do not use credit" upon completion of the invoice.

Payment posting, Financial account "transaction" posting, reconciliation posting.

Also tested prepayments total/partial, both purchase and sales.
(0076446)
hgbot   
2015-04-10 13:46   
Repository: erp/devel/pi
Changeset: e662937f064fc996fb92e2d0a7d585617b4a64a3
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri Mar 27 11:27:07 2015 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/e662937f064fc996fb92e2d0a7d585617b4a64a3 [^]

Fixes Issue 29136:Wrong entry when posting prepayment against invoice using
credit

CashVATUtil.createFactCashVAT was misplaced in DocFINPayment.

---
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
---
(0076447)
umartirena   
2015-04-10 13:47   
Code review Done.
(0077117)
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