Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022814Openbravo ERPZ. Otherspublic2013-01-16 18:412013-01-29 00:02
maite 
jecharri 
immediateminorhave not tried
closedfixed 
5
 
3.0MP20 
Advanced Payables and Receivables Mngmt
No
0022814: In prepayments against invoices, no generate double posting if BP receivables account and BP prepayment account are the same
In prepayments against invoices, no generate double posting if BP receivables account and BP prepayment account are the same
0. Access to "Alimentos y Supermercados" accounting tab and configure same account in Customer Receivables No. and Customer Prepayment field.
1. Create Sales Invoice for this BP and today's date. Add any line and process.
2. Press "Add Payment" button and edit Payment date to yesterday's date and process.
3. Post Payment in and realize that one of generated entries is not needed as it is only using one account.
Add verification in DocFINPayment.java, DocFINFinAccTransaction.java and DocFINReconciliation.java to only generate double posting if BP receivables account and BP prepayment account are different.

verification should be add in these 3 files in part
// If payment date is prior to invoice date book invoice as a pre-payment not as a regular
// Receivable/Payable
No tags attached.
Issue History
2013-01-16 18:41maiteNew Issue
2013-01-16 18:41maiteAssigned To => dmiguelez
2013-01-16 18:41maiteModules => Advanced Payables and Receivables Mngmt
2013-01-16 18:41maiteTriggers an Emergency Pack => No
2013-01-16 18:43maitePriorityhigh => immediate
2013-01-16 19:19dmiguelezAssigned Todmiguelez => jonalegriaesarte
2013-01-23 16:50jonalegriaesarteAssigned Tojonalegriaesarte => jecharri
2013-01-24 12:53hgbotCheckin
2013-01-24 12:53hgbotNote Added: 0055812
2013-01-24 12:53hgbotStatusnew => resolved
2013-01-24 12:53hgbotResolutionopen => fixed
2013-01-24 12:53hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/339f82efc76c2b5472e1e798e4d410ff76513c8a [^]
2013-01-24 21:41hudsonbotCheckin
2013-01-24 21:41hudsonbotNote Added: 0055830
2013-01-29 00:02maiteNote Added: 0055926
2013-01-29 00:02maiteStatusresolved => closed

Notes
(0055812)
hgbot   
2013-01-24 12:53   
Repository: erp/devel/pi
Changeset: 339f82efc76c2b5472e1e798e4d410ff76513c8a
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jan 24 12:53:13 2013 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/339f82efc76c2b5472e1e798e4d410ff76513c8a [^]

Fixes issue 22814: In prepayments against invoices,
no generate double posting if BP receivables account and BP prepayment account are the same

---
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
M src/org/openbravo/erpCommon/ad_forms/DocFINReconciliation.java
---
(0055830)
hudsonbot   
2013-01-24 21:41   
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/fbbe21bdfeff [^]

Maturity status: Test
(0055926)
maite   
2013-01-29 00:02   
verified