FLEX#64717 geschedulede commando's redundante code weg

svn path=/Database/trunk/; revision=51820
This commit is contained in:
Jos Groot Lipman
2021-06-09 12:39:58 +00:00
parent fe1caec10d
commit 305886f851

View File

@@ -2562,7 +2562,7 @@ CREATE OR REPLACE PACKAGE BODY fac AS
-- Kijk of de extra kolommen xemail en xmobile in de view zitten, dan gebruiken we die ook
-- Merk op: met deze implementatie zijn niet alle combi's ondersteund, we wegen 32 het zwaarst
IF BITAND(pflags, 32) = 32 /* met prs_bedrijfadres_key */
IF BITAND(pflags, 32) = 32 /* met prs_bedrijfadres_key en *alle* andere velden */
THEN
OPEN messages FOR
'SELECT sender, receiver, text, code, fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments, prs_bedrijfadres_key FROM '
@@ -2573,11 +2573,6 @@ CREATE OR REPLACE PACKAGE BODY fac AS
'SELECT sender, NULL receiver, text, code, fac_srtnotificatie_key, NULL key, xkey, NULL xsender, NULL xemail, NULL xmobile, NULL attachments, NULL prs_bedrijfadres_key'
|| ' FROM fac_srtnotificatie, ' || pviewname
|| ' WHERE code = fac_srtnotificatie_code';
ELSIF BITAND(pflags, 32) = 32 /* met prs_bedrijfadres_key */
THEN
OPEN messages FOR
'SELECT sender, receiver, text, code, fac_srtnotificatie_key, key, xkey, xsender, xemail, xmobile, attachments, prs_bedrijfadres_key FROM '
|| pviewname;
ELSIF BITAND(pflags, 13) = 13 /* 8+4+1 */
THEN
OPEN messages FOR