UFN_LEDGERACCOUNT_GETACCOUNTSTRING
Returns the account string for the given account.
Return
| Return Type |
|---|
| nvarchar(130) |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ACCOUNTID | uniqueidentifier | IN |
Definition
Copy
CREATE function dbo.UFN_LEDGERACCOUNT_GETACCOUNTSTRING(@ACCOUNTID uniqueidentifier)
returns nvarchar(130)
with execute as caller
as begin
return (select ACCOUNTSTRING from dbo.GLACCOUNT where ID = @ACCOUNTID)
end