Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0005162Openbravo ERP09. Financial managementpublic2008-09-22 18:012009-05-21 16:37
networkb 
vmromanos 
normalminoralways
closedfixed 
20
2.35MP5 
 
No
Core
No
0005162: Is not possible to change the alias in Account Combination window
It is currently not possible to modify the alias in window: Account Combination, as the alias in Valid Combination is overwritten by the value of the Element Value via a trigger.

Financial Management>Accounting>Setup>Account Combination

Change the Alias and save
Modify the C_VALIDCOMBINATION_TRG so that whenever the alias in Account
Combination is empty, the value from Element Value is used. Whenever the alias is filled, it will not update from elementvalue anymore.

Modify

IF (Cur_AC%NOTFOUND) THEN -- mandatory
v_IsFullyQualified := 'N';
ELSE
:new.Alias := v_TempValue; --Alias is the account no
END IF;

to:

IF (Cur_AC%NOTFOUND) THEN -- mandatory
v_IsFullyQualified := 'N';
ELSE
IF (:old.Alias is null) THEN
:new.Alias := v_TempValue; --Alias is the account no
END IF;
END IF;

Attached you fill find the modified C_VALIDCOMBINATION_TRG
No tags attached.
blocks defect 0004801 closed vmromanos Is not possible to change the alias in Account Combination window 
Issue History
2008-09-22 18:01cromeroNew Issue
2008-09-22 18:01cromeroAssigned To => vmromanos
2008-09-22 18:01cromeroStatusnew => scheduled
2008-09-22 18:02svnbotCheckin
2008-09-22 18:02svnbotNote Added: 0009130
2008-09-22 18:02svnbotStatusscheduled => resolved
2008-09-22 18:02svnbotResolutionopen => fixed
2008-09-22 18:02svnbotsvn_revision7536 => 7663
2009-05-21 16:37psarobeStatusresolved => closed

Notes
(0009130)
svnbot   
2008-09-22 18:02   
Repository: openbravo
Revision: 7663
Author: cromeroherrero
Date: 2008-09-22 18:02:12 +0200 (Mon, 22 Sep 2008)

Fixed bug 5162: Is not possible to change the alias in Account Combination window

---
U branches/r2.40-installer/src-db/database/model/triggers/C_VALIDCOMBINATION_TRG.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=7663&sc=1 [^]