USP_SIMPLEDATALIST_ALLDISCOUNTS

Gets a list of all discounts.

Definition

Copy


                CREATE procedure dbo.USP_SIMPLEDATALIST_ALLDISCOUNTS
                as
                    set nocount on;

                    select 
                        ID as VALUE,
                        NAME as LABEL
                    from dbo.DISCOUNT
                    where SUPERSEDEDBYID is null
                    order by NAME


                return 0;