THHD#88804 -- Werkplekken - type uitbreiden met Aanland en Duo-plek - Graphics

svn path=/Customer/trunk/; revision=69025
This commit is contained in:
Jos Migo
2025-05-14 15:17:00 +00:00
parent 594b407bec
commit b7f7354b34

View File

@@ -250,12 +250,14 @@ AS
-- Thema dat het type werkplek aangeeft.
CREATE OR REPLACE VIEW thhd_v_rap_type_werkplek
AS
SELECT d.ins_deel_key,
DECODE (
FLX.getflex ('INS', 45, d.ins_deel_key),
1, 'ZitSta',
'Normaal') waarde
FROM ins_deel d;
SELECT d.ins_deel_key,
CASE WHEN FLX.getflex ('INS', 45, d.ins_deel_key) = 1 THEN 'ZitSta'
WHEN FLX.getflex ('INS', 63, d.ins_deel_key) = 1 THEN 'Aanland'
WHEN FLX.getflex ('INS', 64, d.ins_deel_key) = 1 THEN 'Duo plek'
ELSE 'Normaal'
END
waarde
FROM ins_deel d ;
-------------------------
-- ALBRON - CATERING ---