UFN_CURRENCY_GETORGANIZATIONCURRENCY

Returns the organization currency of the system.

Return

Return Type
uniqueidentifier

Definition

Copy


            CREATE function dbo.UFN_CURRENCY_GETORGANIZATIONCURRENCY()
            returns uniqueidentifier
            with execute as caller
            as
            begin
                return (select ID from dbo.CURRENCY where ISORGANIZATIONCURRENCY = 1);
            end