Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010909
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2009-10-08 11:052009-10-24 00:00
ReporternetworkbView Statuspublic 
Assigned Todalsasua 
PriorityurgentResolutionfixedFixed in Version2.50MP8
StatusclosedFix in branchFixed in SCM revision6e2cf9eac684
ProjectionnoneETAnoneTarget Version2.50MP7
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP5SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010909: The reset accounting process does not work when you select a table

DescriptionThe reset accounting process does not work when you select a table.
If you don't select anything the process works well but if you
want to delete the accounting only for the selected tab,
the process does not unpost anything.
Steps To Reproduce-Create an post a settlement
-go to Financial management > Accounting > Reset accounting
-Select the settlement table
-Execute the process
You get the folling message:
@Updated@ = 0, @Deleted@ = 0

If you don't select the table the process work
Proposed Solutionreplace the code
        EXECUTE
          'SELECT AD_Org_ID
          FROM ' || v_TableName || '
          WHERE ' || v_TableName || '_ID =''' || v_Record_ID || ''' AND AD_CLIENT_ID =''' || v_AD_Client_ID || ''' '
          INTO v_AD_Org_ID;

with the following in order to select the organization of the parameter instead of the organization of the document.

IF (v_Record_ID!='0') THEN
        EXECUTE
          'SELECT AD_Org_ID
          FROM ' || v_TableName || '
          WHERE ' || v_TableName || '_ID =''' || v_Record_ID || ''' AND AD_CLIENT_ID =''' || v_AD_Client_ID || ''' '
          INTO v_AD_Org_ID;
    END IF;
Tags250MP8, main
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
has duplicate defect 00108492.50MP7 closedvmromanos Reset accounting process: When using the "table" combo box the reset accounting does not delete anything 

-  Notes
(0020994)
hgbot (developer)
2009-10-14 09:46

Repository: erp/devel/pi
Changeset: 6e2cf9eac6842d16b12a4e5a99fa2e460a319cda
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Oct 14 09:46:06 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/6e2cf9eac6842d16b12a4e5a99fa2e460a319cda [^]

Fixes issue 10909: The reset accounting process
does not work when you select a table

---
M src-db/database/model/functions/FACT_ACCT_RESET.xml
---
(0021360)
arunkumar (reporter)
2009-10-23 12:48

Tested & Working fine.

- Issue History
Date Modified Username Field Change
2009-10-08 11:05 networkb New Issue
2009-10-08 11:05 networkb Assigned To => rafaroda
2009-10-09 08:27 networkb Target Version 2.40MP11 => 2.50MP7
2009-10-09 08:28 networkb Target Version 2.50MP7 => 2.50MP8
2009-10-09 08:33 rafaroda Assigned To rafaroda => dalsasua
2009-10-09 08:33 rafaroda Priority immediate => urgent
2009-10-09 08:33 rafaroda Status new => scheduled
2009-10-09 09:31 networkb Target Version 2.50MP8 => 2.50MP7
2009-10-13 12:18 psarobe Relationship added has duplicate 0010849
2009-10-14 09:46 hgbot Checkin
2009-10-14 09:46 hgbot Note Added: 0020994
2009-10-14 09:46 hgbot Status scheduled => resolved
2009-10-14 09:46 hgbot Resolution open => fixed
2009-10-14 09:46 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/6e2cf9eac6842d16b12a4e5a99fa2e460a319cda [^]
2009-10-22 19:26 psarobe Tag Attached: main
2009-10-22 19:33 psarobe Tag Attached: 250MP8
2009-10-23 12:48 arunkumar Status resolved => closed
2009-10-23 12:48 arunkumar Note Added: 0021360
2009-10-23 12:48 arunkumar Fixed in Version => 2.50MP8
2009-10-24 00:00 anonymous sf_bug_id 0 => 2885058


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker