Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0009689Openbravo ERP09. Financial managementpublic2009-06-29 10:352009-08-18 00:00
networkb 
alostale 
immediateminoralways
closedfixed 
5
2.40 
pi 
Core
No
0009689: Create Payment doesn't show all linked items.
We try to see all the linked items in the Create Payment tab, but it doesn't show us the linked items related with the bank statement. So we can't delete the payment because it's difficult to find it's linked items.
-Create a Payment: Financial Management || Receivables & Payables || Transactions || Manual Settlement || Manual Settlement || Create Payment
-Process it.
-Now go to Bank Statement.
-Click on Create lines from and select the payment you have created.
-Go back to the Create Payment tab and click on Linked items. The link related with bank statement doesn't appear.

I have reproduced it on version 240MP6.
No tags attached.
depends on backport 0009973 closed alostale Create Payment doesn't show all linked items. 
Issue History
2009-06-29 10:35networkbNew Issue
2009-06-29 10:35networkbAssigned To => jpabloae
2009-06-29 10:36networkbversion => 2.40
2009-06-29 10:36networkbDescription Updated
2009-06-29 10:36networkbProposed Solution updated
2009-06-29 10:53networkbProjectOpenbravo Deployment Options => Openbravo ERP
2009-06-29 11:34jpabloaeNote Added: 0017640
2009-06-29 11:34jpabloaeAssigned Tojpabloae => rafaroda
2009-06-29 11:34jpabloaeCategoryBasic Network => 09. Financial management
2009-07-01 09:41psarobeStatusnew => closed
2009-07-01 09:41psarobeNote Added: 0017715
2009-07-01 09:41psarobeResolutionopen => no change required
2009-07-01 17:57networkbStatusclosed => new
2009-07-01 17:57networkbResolutionno change required => open
2009-07-01 17:57networkbNote Added: 0017744
2009-07-01 18:17psarobeStatusnew => closed
2009-07-01 18:17psarobeNote Added: 0017745
2009-07-01 18:17psarobeResolutionopen => no change required
2009-07-01 19:39networkbStatusclosed => new
2009-07-01 19:39networkbResolutionno change required => open
2009-07-01 19:39networkbNote Added: 0017746
2009-07-17 18:36networkbPrioritynormal => immediate
2009-07-21 00:05psarobeStatusnew => scheduled
2009-07-21 00:05psarobeAssigned Torafaroda => alostale
2009-07-21 00:05psarobefix_in_branch => pi
2009-07-22 09:21hgbotCheckin
2009-07-22 09:21hgbotNote Added: 0018526
2009-07-22 09:21hgbotStatusscheduled => resolved
2009-07-22 09:21hgbotResolutionopen => fixed
2009-07-22 09:21hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/5042009564637ff41ccb267a26e7973c52dcd71d [^]
2009-08-17 11:50sureshbabuStatusresolved => closed
2009-08-17 11:50sureshbabuNote Added: 0018964
2009-08-17 11:50sureshbabuFixed in Version => pi
2009-08-18 00:00anonymoussf_bug_id0 => 2839261

Notes
(0017640)
jpabloae   
2009-06-29 11:34   
Moved to the "Openbravo ERP" project. Please report the issues in the correct project!
(0017715)
psarobe   
2009-07-01 09:41   
Hi,

The reason is because you already have the link (bank statement line) in the payment itself so you can navigate just clicking in the link
(0017744)
networkb   
2009-07-01 17:57   
if bankstatement is not processed, field "bank statement line" in the payment is void.
(0017745)
psarobe   
2009-07-01 18:17   
And that is correct. Only when the bank statement is processed the field is updated. This is the correct behavior and it's not going to be changed

Regards
(0017746)
networkb   
2009-07-01 19:39   
create manual settlement "S". create payment "P" in manual settlement. process manual settlement.
create bankstatement. create bankstatement line with payment "P". Dont process this bankstatement.
unprocess manual settlement "S". Delete balance payments. Delete payment "P"-> error is returned: "This record cannot be deleted because it is associated with other existing elements. Please see Linked Items.

If press "Linked items" button, records are not shown.
(0018526)
hgbot   
2009-07-22 09:21   
Repository: erp/stable/2.40
Changeset: 5042009564637ff41ccb267a26e7973c52dcd71d
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Wed Jul 22 09:21:49 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/5042009564637ff41ccb267a26e7973c52dcd71d [^]

fixed bug 0009689: Create Payment doesn't show all linked items.

---
M src/org/openbravo/erpCommon/utility/UsedByLink.java
---
(0018964)
sureshbabu   
2009-08-17 11:50   
Tested, bank statement appears in the linked item in linked items of the Create Payment tab