[dbo].[IsBc]
BUILD09
>
MoversSuite2
>
Scalar-valued Functions
> dbo.IsBc
Properties
Permissions
SQL Script
Uses
Used By
Properties
Property
Value
ANSI Nulls On
Quoted Identifier On
Permissions
Type
Action
Owning Principal
Grant
Execute
MssExec
SQL Script
create
function
dbo.IsBc
(
)
returns
bit
as
begin
return
convert
(
bit
,
isnull
(
(
select
top
1
1
from
GlobalSystemOption
where
Name
=
'AccountingSystemType'
and
Value
=
'BC'
),
0
)
)
end
GO
GRANT
EXECUTE
ON
[dbo]
.
[IsBc]
TO
[MssExec]
GO
Uses
[dbo].[GlobalSystemOption]
dbo
Used By
[dbo].[GenerateAccountingBatches]
[dbo].[ValidateAccountingSystemRequirements_XLedger]
[dbo].[VerifyDateInOpenAccountingPostingPeriod]