UFN_PLEDGE_GETDEFAULTOVERPAYMENTAPPLICATIONCODE

Returns the default pledge overpayment code.

Return

Return Type
tinyint

Definition

Copy


            create function dbo.UFN_PLEDGE_GETDEFAULTOVERPAYMENTAPPLICATIONCODE()
            returns tinyint
            with execute as caller
            as begin
                declare @CODE tinyint;

                select top 1
                    @CODE = DEFAULTAPPLICATIONTYPECODE
                from 
                    dbo.PLEDGEOVERPAYMENTOPTIONS

                return @CODE;
            end