Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010988Openbravo ERP09. Financial managementpublic2009-10-14 18:372010-01-29 11:06
networkb 
balamurugan 
highminoralways
closedfixed 
5
2.40MP3 
2.40MP122.40MP12 
Core
No
0010988: Create lines from should not show "In remittance" payments
A consolitated remittance is created: one payment (A), 1000 €.
Two new payments are created: B) -1000 €; C)1000 € (with Busines Partner of bank).
When a new bank statement is created and create lines from is used, the first payment (A) is shown in the pop-up. This is not correct. This payment is remittanced and can not be included in a bank statement.

It is correct to show B (to cancel) and C (to pay), but not A.

Revising B and C, both are created with status '--', so it can be filtered those fields that are on Remittance.
Generate a Remittance in Financial Management > Receivables and Payables > Transacctions > Remittance.
Select the consolidated one.
Add a line, using "Create lines from".
Process it.
(You can check payment status using Payment status link in the Header. It is "In remittance". Also, it can be tested the status of new payments using Settlement link. Both have '--' status).
Go to Financial Management > Receivables and Payables > Transacctions > Bank Statement.
Generate a new one.
Press Create lines from.
The first payment appears in the pop-up
Payments that are in status "Remittance should not appear in create lines from"
No tags attached.
blocks defect 00109712.40MP12 closed dalsasua Create lines from should not show "In remittance" payments 
Issue History
2009-10-15 16:31psarobeTypedefect => backport
2009-10-15 16:31psarobefix_in_branch => 2.40
2009-10-20 12:56rafarodaAssigned Torafaroda => dalsasua
2009-12-02 10:27rajagopalAssigned Todalsasua => rajagopal
2009-12-04 06:44balamuruganAssigned Torajagopal => balamurugan
2009-12-07 08:28hgbotCheckin
2009-12-07 08:28hgbotNote Added: 0022465
2009-12-07 08:28hgbotStatusscheduled => resolved
2009-12-07 08:28hgbotResolutionopen => fixed
2009-12-07 08:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/1b43f30280050a6c3d0d5b2f0acc9660f97229bf [^]
2009-12-07 16:34psarobeNote Added: 0022482
2009-12-07 16:34psarobeStatusresolved => new
2009-12-07 16:34psarobeResolutionfixed => open
2009-12-07 16:35psarobeStatusnew => scheduled
2009-12-07 16:35psarobefix_in_branch2.40 => pi
2009-12-08 07:21hgbotCheckin
2009-12-08 07:21hgbotNote Added: 0022522
2009-12-08 07:21hgbotStatusscheduled => resolved
2009-12-08 07:21hgbotResolutionopen => fixed
2009-12-08 07:21hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/stable/2.40/rev/1b43f30280050a6c3d0d5b2f0acc9660f97229bf [^] => http://code.openbravo.com/erp/stable/2.40/rev/d102a5e71e25bc72f1113273fe9aadb539bc127d [^]
2010-01-29 11:06arunkumarNote Added: 0023857
2010-01-29 11:06arunkumarStatusresolved => closed
2010-01-29 11:06arunkumarFixed in Version => 2.40MP12

Notes
(0022465)
hgbot   
2009-12-07 08:28   
Repository: erp/stable/2.40
Changeset: 1b43f30280050a6c3d0d5b2f0acc9660f97229bf
Author: Vinoth Babu <vinoth.babu <at> openbravo.com>
Date: Mon Dec 07 12:52:28 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/1b43f30280050a6c3d0d5b2f0acc9660f97229bf [^]

Fixes bug 10988: Create lines from should not show \"In Remittance\" payments

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0022482)
psarobe   
2009-12-07 16:34   
The fix is not correct. If you add that constraint in the sql you won't be able to select any payment different than in status --

The constraint as it is explained in the issue is that you shouldn't be able to select a payment in Status Remittance but fro the rest yes
(0022522)
hgbot   
2009-12-08 07:21   
Repository: erp/stable/2.40
Changeset: d102a5e71e25bc72f1113273fe9aadb539bc127d
Author: Vinoth Babu <vinoth.babu <at> openbravo.com>
Date: Tue Dec 08 11:46:39 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/d102a5e71e25bc72f1113273fe9aadb539bc127d [^]

Fixes bug 10988: Create lines from should not show In Remittance payments

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0023857)
arunkumar   
2010-01-29 11:06   
Tested & working fine