UFN_ACCOUNTSTRUCTURE_GETLENGTH

Returns the defined length of the accounting element with the given ID

Return

Return Type
int

Parameters

Parameter Parameter Type Mode Description
@ID uniqueidentifier IN

Definition

Copy


CREATE function dbo.UFN_ACCOUNTSTRUCTURE_GETLENGTH(@ID uniqueidentifier)
returns int
with execute as caller
as begin
    return (select length from dbo.PDACCOUNTSTRUCTURE where ID = @ID)
end