Difference between revisions of "Dbo.ufnGetAccountingEndDate (function)"
Line 3: | Line 3: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- | |- | ||
− | | ''' | + | | '''Function |
| dbo.ufnGetAccountingEndDate | | dbo.ufnGetAccountingEndDate | ||
|- valign="top" | |- valign="top" | ||
Line 11: | Line 11: | ||
|} | |} | ||
+ | |||
+ | === Source === | ||
<pre> | <pre> | ||
CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() | CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() | ||
Line 20: | Line 22: | ||
</pre> | </pre> | ||
− | + | === Dependencies === | |
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
|- style="background:silver" | |- style="background:silver" | ||
Line 38: | Line 40: | ||
| uSalesOrderHeader | | uSalesOrderHeader | ||
|} | |} | ||
− | |||
Revision as of 23:05, 2 February 2010
wikibot
Function | dbo.ufnGetAccountingEndDate |
Description | Scalar function used in the uSalesOrderHeader trigger to set the starting account date. |
Source
CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() RETURNS [datetime] AS BEGIN RETURN DATEADD(millisecond, -2, CONVERT(datetime, '20040701', 112)); END;
Dependencies
Reference Type | Object Type | Referencing Object | Child Type | Child Object |
Execute | Table | Sales.SalesOrderHeader | Trigger | uSalesOrderHeader |
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;
Reference Type | Object Type | Referencing Object | Child Type | Child Object |
Execute | Table | Sales.SalesOrderHeader | Trigger | uSalesOrderHeader |