Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005866Openbravo ERP01. General setuppublic2008-11-06 19:102009-04-21 11:06
vmromanos 
vmromanos 
highmajorhave not tried
closedfixed 
20Ubuntu 8.04
 
2.50 
No
Core
No
0005866: Check document does not have element of different legal entities or business unit
Due to the new business rule which says that there can be more than one legal entity into an organization's branch, the AD_ORG_CHK_DOCUMENTS and the AD_ORG_CHK_PAYMENTS functions must be reviewed to ensure that this business rule is properly fulfilled.
multi-org
Issue History
2008-11-06 19:10vmromanosNew Issue
2008-11-06 19:10vmromanosAssigned To => vmromanos
2008-11-06 19:10vmromanossf_bug_id0 => 2230526
2008-11-06 19:10vmromanosOBNetwork customer => No
2008-11-06 19:10vmromanosRegression testing => No
2008-11-06 19:24rafarodaTag Attached: multi-org
2008-11-07 08:43vmromanosPrioritynormal => high
2008-11-07 08:43vmromanosTarget Versiontrunk => 2.50
2008-11-07 10:21vmromanosStatusnew => scheduled
2008-11-07 10:21vmromanosfix_in_branch => trunk
2008-11-07 14:37svnbotCheckin
2008-11-07 14:37svnbotNote Added: 0010080
2008-11-07 14:37svnbotStatusscheduled => resolved
2008-11-07 14:37svnbotResolutionopen => fixed
2008-11-07 14:37svnbotsvn_revision => 9789
2008-11-25 13:29psarobeNote Added: 0010641
2009-04-21 11:06psarobeStatusresolved => closed

Notes
(0010080)
svnbot   
2008-11-07 14:37   
Repository: openbravo
Revision: 9789
Author: vmromanos
Date: 2008-11-07 14:37:37 +0100 (Fri, 07 Nov 2008)

Fixed bug 0005866: Check document does not have element of different legal entities or business unit

---
U branches/modularity/src-db/database/model/postscript-Oracle.sql
U branches/modularity/src-db/database/model/postscript-PostgreSql.sql
---

https://dev.openbravo.com/websvn/openbravo/?rev=9789&sc=1 [^]
(0010641)
psarobe   
2008-11-25 13:29   
For QA:

You must check that in a transactional document cannot be different organizations if these ones are legal entities. For example:

Org A: Legal entity
Org A1: Child of A, but not legal
Org A2: Child of A, but legal

If the header of document has the org A, and a line has the org A2, it shouldn't let you do that