Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0002539 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] C. Security | minor | always | 2008-01-22 11:23 | 2008-06-19 09:50 | |||
Reporter | psarobe | View Status | public | |||||
Assigned To | user71 | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 2.40alpha-r2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 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 | 0002539: It can be changed the Organization in Processed Documents | |||||||
Description | Although the documents are processed, it is possible to change the organization of these documents. The organization can be changed in the header of the documents and in the lines as well. The solution is to add this code: OR(COALESCE(:old.AD_ORG_ID, '0') <> COALESCE(:new.AD_ORG_ID, '0')) in the triggers This happens in tables: C_ORDER C_ORDERLINE M_INOUT M_INOUTLINE C_INVOICE C_INVOICELINE M_INVENTORY M_MOVEMENT GL_JOURNAL GL_JOURNALLINE A_AMORTIZATION C_BANKSTATEMENT C_BANKSTATEMENTLINE C_CASH C_CASHLINE C_REMITTANCE C_REMITTANCELINE C_SETTLEMENT C_DP_MANAGEMENT C_DP_MANAGEMENTLINE | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0003075) user71 2008-01-24 19:12 edited on: 2008-06-12 09:24 |
Logged In: YES user_id=1964080 Originator: NO The client as well, can not be changed (the restriction is applied in application level, but not in database level) The solution is to add this code in triggers: OR(COALESCE(:old.AD_ORG_ID, '0') <> COALESCE(:new.AD_ORG_ID, '0')) OR(COALESCE(:old.AD_CLIENT_ID, '0') <> COALESCE(:new.AD_CLIENT_ID, '0')) |
(0003076) user71 2008-01-25 11:59 edited on: 2008-06-12 09:24 |
Logged In: YES user_id=1964080 Originator: NO To avoid an error, in coalesce function a numeric value must appear instead of a String OR COALESCE(:old.AD_ORG_ID, 0) <> COALESCE(:new.AD_ORG_ID, 0) OR COALESCE(:old.AD_CLIENT_ID, 0) <> COALESCE(:new.AD_CLIENT_ID, 0) |
(0003077) user71 2008-05-06 12:13 edited on: 2008-06-12 09:24 |
Logged In: YES user_id=1964080 Originator: NO Resolved in revision 2272 in the trunk |
(0006128) 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=1877138 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2008-06-19 09:50 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |