FCLT#85815 Opdrachttype codes toevoegen voor duidelijkheid en compatibiliteit

svn path=/Database/trunk/; revision=67274
This commit is contained in:
Erik Groener
2024-12-03 14:36:54 +00:00
parent 7045186030
commit cc7ff3ead8
3 changed files with 14 additions and 2 deletions

View File

@@ -4808,6 +4808,7 @@ AS
v_gvs mld_typeopdr.mld_typeopdr_gvs%TYPE;
v_bez mld_typeopdr.mld_typeopdr_bez%TYPE;
v_image mld_typeopdr.mld_typeopdr_image%TYPE;
v_code mld_typeopdr.mld_typeopdr_code%TYPE;
BEGIN
IF p_key IS NOT NULL
THEN
@@ -4830,7 +4831,8 @@ AS
mld_typeopdr_isofferte,
mld_typeopdr_gvs,
mld_typeopdr_bez,
mld_typeopdr_image
mld_typeopdr_image,
mld_typeopdr_code
INTO v_omschrijving,
v_decentraal,
v_kosten,
@@ -4845,7 +4847,8 @@ AS
v_isofferte,
v_gvs,
v_bez,
v_image
v_image,
v_code
FROM mld_typeopdr
WHERE mld_typeopdr_key = p_key;
@@ -4865,6 +4868,7 @@ AS
createxmltagvalue ('gvs', v_gvs);
createxmltagvalue ('bez', v_bez);
createxmltagvalue ('image', v_image);
createxmltagvalue ('code', v_code);
createclosetag ('opdrachttype');
END IF;
END;

View File

@@ -356,6 +356,9 @@ CREATE_TABLE(mld_typeopdr,0)
DEFAULT 0 NOT NULL,
mld_typeopdr_image
VARCHAR2(255 CHAR),
mld_typeopdr_code
VARCHAR2(60)
CONSTRAINT mld_u_mld_typeopdr_code UNIQUE,
CONSTRAINT mld_u_mld_typeopdr_upper UNIQUE(mld_typeopdr_upper, mld_typeopdr_module)
);

View File

@@ -144,6 +144,11 @@ UPDATE prs_perslid
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#00000
DEF_FAC_MESSAGE ('INS_M205', 'Parent object bestaat niet.','Parent object does noet exist.');
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#85815
ALTER TABLE mld_typeopdr
ADD mld_typeopdr_code VARCHAR2(60)
CONSTRAINT mld_u_mld_typeopdr_code UNIQUE;
/////////////////////////////////////////////////////////////////////////////////////////// FCLT#00000
REGISTERONCE('$Id$')