Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0010765 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2009-09-25 10:29 | 2009-10-16 00:00 | |||
Reporter | vmromanos | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | 2.50MP7 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a9c727298086 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | PostgreSQL | Java version | 1.6 | |||
OS Version | Ubuntu 8.04 | Database version | 8.3.7 | Ant version | 1.7.0 | |||
Product Version | pi | SCM revision | ||||||
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 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0020870) hgbot (developer) 2009-10-08 11:01 |
Repository: erp/devel/pi Changeset: a9c7272980861e949f096f383d76da5709bb663f Author: David Alsasua <david.alsasua <at> openbravo.com> Date: Thu Oct 08 11:01:25 2009 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/a9c7272980861e949f096f383d76da5709bb663f [^] Fixes issue 10765: Wrong sql in C_TAX_ACCT_TRG trigger --- M src-db/database/model/triggers/C_TAX_TRG.xml --- |
(0021030) arunkumar (viewer) 2009-10-15 11:41 |
Tested & Working fine. |
![]() |
|||
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 |
Copyright © 2000 - 2009 MantisBT Group |