USP_DATAFORMTEMPLATE_PRELOAD_ADD_DESIGNATIONGOAL

The load procedure used by the edit dataform template "Designation Goal Add Form"

Parameters

Parameter Parameter Type Mode Description
@DESIGNATIONID uniqueidentifier IN Input parameter indicating the context ID for the record being added.
@BASECURRENCYID uniqueidentifier INOUT Currency

Definition

Copy


                    CREATE procedure dbo.USP_DATAFORMTEMPLATE_PRELOAD_ADD_DESIGNATIONGOAL
                    (
                        @DESIGNATIONID uniqueidentifier,
                        @BASECURRENCYID uniqueidentifier = null output
                    ) as begin
                        set nocount on;

                        select
                            @BASECURRENCYID = DESIGNATION.BASECURRENCYID
                        from
                            dbo.DESIGNATION
                        where
                            DESIGNATION.ID = @DESIGNATIONID;

                        return 0;
                    end