Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010971Openbravo ERP09. Financial managementpublic2009-10-14 18:372009-12-09 00:00
networkb 
dalsasua 
highminoralways
closedfixed 
5
2.40MP3 
2.40MP122.50MP10 
Core
No
0010971: 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.
depends on backport 00109882.40MP12 closed balamurugan Create lines from should not show "In remittance" payments 
Issue History
2009-10-14 18:37networkbNew Issue
2009-10-14 18:37networkbAssigned To => rafaroda
2009-10-15 16:30psarobePriorityimmediate => high
2009-10-15 16:30psarobeStatusnew => scheduled
2009-10-15 16:30psarobeSteps to Reproduce Updated
2009-10-15 16:30psarobeStatusscheduled => feedback
2009-10-15 16:31psarobeStatusfeedback => scheduled
2009-10-15 16:31psarobefix_in_branch => pi
2009-10-20 12:56rafarodaAssigned Torafaroda => dalsasua
2009-12-07 08:35hgbotCheckin
2009-12-07 08:35hgbotNote Added: 0022466
2009-12-07 08:35hgbotStatusscheduled => resolved
2009-12-07 08:35hgbotResolutionopen => fixed
2009-12-07 08:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/840110f765ba84073b932ec276d1da98233dd2d2 [^]
2009-12-07 16:34psarobeNote Added: 0022481
2009-12-07 16:34psarobeStatusresolved => new
2009-12-07 16:34psarobeResolutionfixed => open
2009-12-07 16:34psarobeStatusnew => scheduled
2009-12-07 18:50hgbotCheckin
2009-12-07 18:50hgbotNote Added: 0022492
2009-12-07 18:50hgbotStatusscheduled => resolved
2009-12-07 18:50hgbotResolutionopen => fixed
2009-12-07 18:50hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/840110f765ba84073b932ec276d1da98233dd2d2 [^] => http://code.openbravo.com/erp/devel/pi/rev/58eeaf50431aee28eaa63ee00c8238586b1f19be [^]
2009-12-08 10:20sureshbabuNote Added: 0022536
2009-12-08 10:20sureshbabuStatusresolved => closed
2009-12-08 10:20sureshbabuFixed in Version => 2.50MP10
2009-12-09 00:00anonymoussf_bug_id0 => 2911049

Notes
(0022466)
hgbot   
2009-12-07 08:35   
Repository: erp/devel/pi
Changeset: 840110f765ba84073b932ec276d1da98233dd2d2
Author: Balamurugan Ramadoss <balamurugan.ramadoss <at> openbravo.com>
Date: Mon Dec 07 13:03:11 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/840110f765ba84073b932ec276d1da98233dd2d2 [^]

Fixes Issue 10971: Create lines from should not show \"In remittance\" payments.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0022481)
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
(0022492)
hgbot   
2009-12-07 18:50   
Repository: erp/devel/pi
Changeset: 58eeaf50431aee28eaa63ee00c8238586b1f19be
Author: Balamurugan Ramadoss <balamurugan.ramadoss <at> openbravo.com>
Date: Mon Dec 07 23:18:34 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/58eeaf50431aee28eaa63ee00c8238586b1f19be [^]

Fixes Issue 10971: Create lines from should not show In remittance payments.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Bank_data.xsql
---
(0022536)
sureshbabu   
2009-12-08 10:20   
Payment with status "In remittance" not appear in the create lines option in Bank statement (Tested working fine)