FCLT#57661 Bijlagen zichtbaarheid in workflows kunnen aansturen

svn path=/Database/trunk/; revision=43195
This commit is contained in:
Alex Tiehuis
2019-07-03 08:46:04 +00:00
parent 4048e27e72
commit a6c43efe22
2 changed files with 2 additions and 6 deletions

View File

@@ -678,7 +678,7 @@ CREATE_TABLE(mld_workflowstep, 0)
DEFAULT 0
NOT_NULL(mld_workflowstep_eindtype, mld_c_mld_workflowstep_eindtyp),
mld_workflowstep_attachments NUMBER(3)
DEFAULT 0 NOT NULL
DEFAULT 1 NOT NULL
);

View File

@@ -407,12 +407,8 @@ ALTER TABLE mld_workflowstep
UPDATE mld_workflowstep
SET mld_workflowstep_attachments = 2
WHERE (SELECT fac_setting_pvalue FROM fac_setting WHERE fac_setting_name = 'fac_reserved_number1') = 1;
UPDATE mld_workflowstep
SET mld_workflowstep_attachments = 1
WHERE (SELECT fac_setting_pvalue FROM fac_setting WHERE fac_setting_name = 'fac_reserved_number1') <> 1 OR
(SELECT fac_setting_pvalue FROM fac_setting WHERE fac_setting_name = 'fac_reserved_number1') is NULL;
UPDATE fac_setting
SET fac_setting_pvalue = '0'
SET fac_setting_pvalue = NULL
WHERE fac_setting_name = 'fac_reserved_number1';
/////////////////////////////////////////////////////////////////////////////////////////// BLCC#58290