Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0002072Openbravo ERP09. Financial managementpublic2007-10-10 20:282008-06-12 09:43
psarobe 
alostale 
normalminoralways
closedfixed 
5
 
2.35 
No
Core
No
0002072: Bank statement process. C_BANKSTATEMENT_POST
There is an issue related with the c_bankstatement_post and it happens whenever you return a payment that comes from a remittance. But for being more specific, it only happens if you return the payment using the window:

Financial management-->Receivables&payables-->Transactions-->Remittance cancellation/returned.

The solution is to add two lines in the C_BANKSTATEMENT_POST.

Exactly in the cursor CUR_MANAGEMENTLINES and after the line AND RT.STATUS_RETURNED = DP2.STATUS

These two lines are:

AND EXISTS (SELECT 1 FROM C_DP_MANAGEMENT
        WHERE BSL.C_DP_MANAGEMENT_ID=C_DP_MANAGEMENT.C_DP_MANAGEMENT_ID)
No tags attached.
Issue History

Notes
(0005661)
user71   
2005-06-01 00:00   
(edited on: 2008-06-12 09:43)
This bug was originally reported in SourceForge bug tracker and then migrated to Mantis.

You can see the original bug report in:
https://sourceforge.net/support/tracker.php?aid=1811083 [^]
(0002339)
rafaroda   
2007-10-24 18:16   
(edited on: 2008-06-12 09:22)
Logged In: YES
user_id=1892190
Originator: NO

Verification assigned to rafaroda.