Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0010765 | Openbravo ERP | 09. Financial management | public | 2009-09-25 10:29 | 2009-10-16 00:00 | |||||||
Reporter | vmromanos | |||||||||||
Assigned To | rafaroda | |||||||||||
Priority | urgent | Severity | major | Reproducibility | always | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 20 | OS Version | Ubuntu 8.04 | ||||||||
Product Version | pi | |||||||||||
Target Version | Fixed in Version | 2.50MP7 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | ||||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0010765: Wrong sql in C_TAX_ACCT_TRG trigger | |||||||||||
Description | The following query is wrong: SELECT * FROM C_AcctSchema_Default d WHERE EXISTS ( SELECT 1 FROM AD_Org_AcctSchema WHERE AD_IsOrgIncluded(AD_Org_ID, new.AD_ORG_ID, new.AD_Client_ID)<>-1 AND IsActive = 'Y' AND AD_Org_AcctSchema.C_AcctSchema_ID = d.C_AcctSchema_ID ) 1- The queries should be filtered by AD_Client_ID 2- The use of the AD_IsOrgIncluded function should be: AD_IsOrgIncluded(new.AD_ORG_ID, AD_Org_ID, new.AD_Client_ID) because we want to get the acct schema of the organization and its parents | |||||||||||
Steps To Reproduce | ||||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | No tags attached. | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2009-09-25 10:29 | vmromanos | New Issue | ||||||||||
2009-09-25 10:29 | vmromanos | Assigned To | => rafaroda | |||||||||
2009-09-25 10:29 | vmromanos | OBNetwork customer | => No | |||||||||
2009-09-25 10:29 | vmromanos | Relationship added | related to 0005863 | |||||||||
2009-09-29 23:11 | psarobe | Priority | normal => urgent | |||||||||
2009-09-29 23:11 | psarobe | Status | new => scheduled | |||||||||
2009-10-08 11:01 | hgbot | Checkin | ||||||||||
2009-10-08 11:01 | hgbot | Note Added: 0020870 | ||||||||||
2009-10-08 11:01 | hgbot | Status | scheduled => resolved | |||||||||
2009-10-08 11:01 | hgbot | Resolution | open => fixed | |||||||||
2009-10-08 11:01 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a9c7272980861e949f096f383d76da5709bb663f [^] | |||||||||
2009-10-15 11:41 | arunkumar | Status | resolved => closed | |||||||||
2009-10-15 11:41 | arunkumar | Note Added: 0021030 | ||||||||||
2009-10-15 11:41 | arunkumar | Fixed in Version | => 2.50MP7 | |||||||||
2009-10-16 00:00 | anonymous | sf_bug_id | 0 => 2880177 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|