Difference between revisions of "Dbo.ufnGetAccountingEndDate (function)"
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''function | dbo.ufnGetAccountingEndDate |- |} <pre> CREATE FUNCTION [dbo].[ufnGetAccou...) |
|||
Line 16: | Line 16: | ||
END; | END; | ||
</pre> | </pre> | ||
+ | |||
+ | == automatically generated == | ||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- | ||
+ | | '''function | ||
+ | | dbo.ufnGetAccountingEndDate | ||
+ | |- | ||
+ | |||
+ | | '''Description | ||
+ | | Scalar function used in the uSalesOrderHeader trigger to set the starting account date. | ||
+ | |- | ||
+ | |||
+ | |} | ||
+ | |||
+ | <pre> | ||
+ | |||
+ | CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() | ||
+ | RETURNS [datetime] | ||
+ | AS | ||
+ | BEGIN | ||
+ | RETURN DATEADD(millisecond, -2, CONVERT(datetime, '20040701', 112)); | ||
+ | END; | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Referencing Object | ||
+ | | '''Object Type | ||
+ | | '''Reference Type | ||
+ | |||
+ | |- | ||
+ | | [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | ||
+ | | Table | ||
+ | | Execute | ||
+ | |} |
Revision as of 23:59, 26 November 2009
wikibot
function | dbo.ufnGetAccountingEndDate |
CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() RETURNS [datetime] AS BEGIN RETURN DATEADD(millisecond, -2, CONVERT(datetime, '20040701', 112)); END;
automatically generated
function | dbo.ufnGetAccountingEndDate |
Description | Scalar function used in the uSalesOrderHeader trigger to set the starting account date. |
CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() RETURNS [datetime] AS BEGIN RETURN DATEADD(millisecond, -2, CONVERT(datetime, '20040701', 112)); END;
Referencing Object | Object Type | Reference Type |
Sales.SalesOrderHeader | Table | Execute |