x
1
-- File: trig_i_i_syst_owners.eex.sql
2
-- Location: musebms/database/components/system/mscmp_syst_instance/ms_syst/api_views/syst_owners/trig_i_i_syst_owners.eex.sql
3
-- Project: Muse Systems Business Management System
4
--
5
-- Copyright © Lima Buttgereit Holdings LLC d/b/a Muse Systems
6
-- This file may include content copyrighted and licensed from third parties.
7
--
8
-- See the LICENSE file in the project root for license terms and conditions.
9
-- See the NOTICE file in the project root for copyright ownership information.
10
--
11
-- muse.information@musesystems.com :: https://muse.systems
12
13
BEGIN
14
15
INSERT INTO ms_syst_data.syst_owners
16
( internal_name, display_name, owner_state_id )
17
VALUES
18
( new.internal_name, new.display_name, new.owner_state_id )
19
RETURNING * INTO new;
20
21
RETURN new;
22
23
END;