FSN#26422: S("can_selfapprove") bedrag laten zijn ipv. boolean.

svn path=/Database/trunk/; revision=17851
This commit is contained in:
Maykel Geerdink
2013-05-06 10:20:58 +00:00
parent 717c5207d3
commit 83be7afd9d
2 changed files with 11 additions and 1 deletions

View File

@@ -139,7 +139,7 @@ DEFINE_SETTING('FAC', 0003, 'currency_pref' , 'string'
DEFINE_SETTING('FAC', 0003, 'currency_suff' , 'string' , '' , 'Currency suffix')
DEFINE_SETTING('FAC', 0001, 'cal_showOn' , 'string' , 'button' , '''button'' or ''focus'' or ''both''')
DEFINE_SETTING('FAC', 0003, 'show_ordernr' , 'number' , '0' , '0=never,>0=always, 3=also bo-list')
DEFINE_SETTING('FAC', 0003, 'can_selfapprove' , 'number' , '1' , 'I can approve myself below my limits (1) or someone else must approve always (0)')
DEFINE_SETTING('FAC', 0003, 'can_selfapprove' , 'number' , '999999' , 'I can approve myself below or equal this limit or someone else must approve always above this limit')
DEFINE_SETTING('PRS', 0001, 'prs_approvemethod' , 'number' , '1' , 'Approval tree: 1 = kp.budgethouder, kpngroep.verantwoordelijke, 2 = first traverse up the departments for a kp.budgethouder')
DEFINE_SETTING('FAC', 0001, 'use_simple_sso' , 'number' , '0' , 'Use user id decoding UID_DEC (Simple Single Signon uit of aan zetten) {0=no | 1=yes}')
DEFINE_SETTING('FAC', 0000, 'sso_advanced_secret' , 'string' , '' , 'Shared secret for advanced SSO')

View File

@@ -620,6 +620,16 @@ UPDATE fac_setting
/////////////////////////////////////////////////////////////////////////////////////////// FSN#24771
DEF_BOOKMARK('bestelopdr', 'appl/bes/bes_opdr.asp', 'ordernr=');
/////////////////////////////////////////////////////////////////////////////////////////// FSN#26422
UPDATE fac_setting
SET fac_setting_default = '9999999'
, fac_setting_description = 'I can approve myself below or equal this limit or someone else must approve always above this limit'
, fac_setting_pvalue = (CASE fac_setting_pvalue
WHEN '1'
THEN '9999999'
ELSE fac_setting_pvalue
END)
WHERE fac_setting_name LIKE 'can_selfapprove';
/////////////////////////////////////////////////////////////////////////////////////////// QA
-- detected using TOAD schema differences not all relevant, however the first are