UFN_ACCOUNTSTRUCTURE_GETELEMENTDEFINITIONCODE
Returns the segment type code for the given accounting element
Return
| Return Type |
|---|
| tinyint |
Parameters
| Parameter | Parameter Type | Mode | Description |
|---|---|---|---|
| @ID | uniqueidentifier | IN |
Definition
Copy
create function dbo.UFN_ACCOUNTSTRUCTURE_GETELEMENTDEFINITIONCODE(@ID uniqueidentifier)
returns tinyint
with execute as caller
as begin
return (select ELEMENTDEFINITIONCODE from dbo.PDACCOUNTSTRUCTURE where ID = @ID)
end