UFN_CHARGE_GETNEXTCHARGEID

Returns the next charge number based on the existing DB charges.

Return

Return Type
nvarchar(60)

Definition

Copy


            CREATE function dbo.UFN_CHARGE_GETNEXTCHARGEID()
            returns nvarchar(60)
            with execute as caller
            as begin
                -- Return the next charge ID

                return dbo.UFN_FINANCIALTRANSACTION_GETNEXTFINANCIALTRANSACTIONID(104);
            end