Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010949Openbravo ERP09. Financial managementpublic2009-10-13 16:512009-12-09 00:00
networkb 
vinothbabu 
urgentminoralways
closedfixed 
5
2.40MP3 
2.40MP122.50MP10 
Core
No
0010949: In Payment status managment organization is not the same as Remittance organization
When a remittance is returned in Remittance Cancellation/Return, a new record is generated in Payment status management. This new record is generated with other organization than the one in Remittance.

IE. Remittance has been generated in Organization B2. And Payment Status Management in Main (only when it is returned).
Generate a Sales Invoice in Organization B2 (Big Bazaar). Add lines and complete it.
Go to Financial Management > Receivables and Payables > Transactions > Remittance.
Generate a new record. Select as Remittance type, consolidated.
Press "Create lines from" and select the payment generated by sales invoice.
Save it and complete it.
Go to Financial Management > Receivables and Payables > Transactions > Bank Statement and generate a new one.
Press "Create lines from" and select a payment with Bank Statement Business partner and amount possitive. Save it and process it.
Go to Financial Management > Receivables and Payables > Transactions > Remittance Cancellation/Return.
Select in the combo the remittance created and press Search.
Select its payment and enter a date (not the same as Remittance) and press Return.
Go to Financial Management > Receivables and Payables > Transactions > Payment Status Management and search the one that belongs to the date entered in the previous step.
It is not the same Organization.
if (strDPMID.equals("")) {
//linea aƱadida
String strOrg = RemittanceCancelData.selectOrg(this, strRLId);
....
//linea modificada
RemittanceCancelData.insertDPManagement(conn, this, strDPMID, vars.getClient(),
strOrg, vars.getUser(), strDocumentNo, strDateAcct, strRLId);
No tags attached.
depends on backport 00109902.40MP12 closed vinothbabu In Payment status managment organization is not the same as Remittance organization 
Issue History
2009-10-13 16:51networkbNew Issue
2009-10-13 16:51networkbAssigned To => rafaroda
2009-10-15 16:36psarobePriorityimmediate => high
2009-10-15 16:37psarobePriorityhigh => urgent
2009-10-15 16:37psarobeStatusnew => scheduled
2009-10-15 16:37psarobefix_in_branch => pi
2009-10-20 12:58rafarodaAssigned Torafaroda => dalsasua
2009-11-05 11:02networkbNote Added: 0021589
2009-11-05 11:02networkbfix_in_branchpi =>
2009-11-05 11:02networkbSteps to Reproduce Updated
2009-11-30 09:30vinothbabuAssigned Todalsasua => vinothbabu
2009-12-01 15:36vinothbabuNote Added: 0022304
2009-12-01 15:36vinothbabuStatusscheduled => closed
2009-12-01 15:36vinothbabuResolutionopen => unable to reproduce
2009-12-01 15:56networkbNote Added: 0022308
2009-12-01 15:57networkbNote Added: 0022309
2009-12-01 16:50networkbNote Added: 0022322
2009-12-01 16:50networkbStatusclosed => new
2009-12-01 16:50networkbResolutionunable to reproduce => open
2009-12-01 16:51networkbProposed Solution updated
2009-12-02 12:17vinothbabuStatusnew => scheduled
2009-12-03 07:30hgbotCheckin
2009-12-03 07:30hgbotNote Added: 0022387
2009-12-03 07:30hgbotStatusscheduled => resolved
2009-12-03 07:30hgbotResolutionopen => fixed
2009-12-03 07:30hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b9ffc19be3c813f294bf8f681a4294cc11fe9662 [^]
2009-12-04 09:15hudsonbotCheckin
2009-12-04 09:15hudsonbotNote Added: 0022452
2009-12-08 09:52sureshbabuNote Added: 0022532
2009-12-08 09:52sureshbabuStatusresolved => closed
2009-12-08 09:52sureshbabuFixed in Version => 2.50MP10
2009-12-09 00:00anonymoussf_bug_id0 => 2911048

Notes
(0021589)
networkb   
2009-11-05 11:02   
In AppsOpenbravo/src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.java

in processReturn:

if (strDPMID.equals("")) {
//add line
String strOrg = RemittanceCancelData.selectOrg(this, strRLId);
....
//modify this line
RemittanceCancelData.insertDPManagement(conn, this, strDPMID, vars.getClient(),
strOrg, vars.getUser(), strDocumentNo, strDateAcct, strRLId);

This change has been tested and work fine.
(0022304)
vinothbabu   
2009-12-01 15:36   
As I discussed with David, Not able to reproduce
(0022308)
networkb   
2009-12-01 15:56   
It was a mistaken in Steps to Reproduce. Instead of "Cancel", it must be pressed "Return" button in Remittance Cancellation/Return.

Please, see documentno 10000003 in Payment status management.
(0022309)
networkb   
2009-12-01 15:57   
Please, reopen the issue
(0022322)
networkb   
2009-12-01 16:50   
It was a mistaken in Steps to Reproduce. Instead of "Cancel", it must be pressed "Return" button in Remittance Cancellation/Return.
(0022387)
hgbot   
2009-12-03 07:30   
Repository: erp/devel/pi
Changeset: b9ffc19be3c813f294bf8f681a4294cc11fe9662
Author: Vinoth Babu <vinoth.babu <at> openbravo.com>
Date: Thu Dec 03 11:58:00 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b9ffc19be3c813f294bf8f681a4294cc11fe9662 [^]

Fixes bug 10949 organization is not the same as Remittance

---
M src/org/openbravo/erpCommon/ad_forms/RemittanceCancel.java
---
(0022452)
hudsonbot   
2009-12-04 09:15   
---
A changeset related to this issue has passed a series of tests and has been promoted to main:

Changeset: http://code.openbravo.com/erp/devel/main/rev/f6bc559b1872 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
---
(0022532)
sureshbabu   
2009-12-08 09:52   
Tested working fine