First initial commit

This commit is contained in:
AzureAD\SylvainDUVERNAY
2026-01-07 14:38:55 +01:00
parent 0d02c89192
commit 022f4e0a2a
16 changed files with 587 additions and 2 deletions

18
vw_utility_location.sql Normal file
View File

@@ -0,0 +1,18 @@
-- View: public.vw_utility_location
-- DROP VIEW public.vw_utility_location;
CREATE OR REPLACE VIEW public.vw_utility_location AS
SELECT 0 AS "intLocationId",
''::character varying AS "strLocationName",
''::character varying AS "strLocationType",
true AS "ysnIsActive"
UNION ALL
SELECT sl.id AS "intLocationId",
sl.name AS "strLocationName",
sl.type AS "strLocationType",
sl.active AS "ysnIsActive"
FROM stock_location sl;
ALTER TABLE public.vw_utility_location
OWNER TO postgres;