UFN_ACCOUNTSTRUCTURE_GETSEQUENCE
Returns the sequence for 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_GETSEQUENCE(@ID uniqueidentifier)
returns int
with execute as caller
as begin
return (select SEQUENCE from PDACCOUNTSTRUCTURE where ID = @ID)
end