Difference between revisions of "Dbo.ufnGetAccountingEndDate (function)"
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
− | |- | + | |- valign="top" |
| '''Function | | '''Function | ||
| dbo.ufnGetAccountingEndDate | | dbo.ufnGetAccountingEndDate | ||
Line 8: | Line 8: | ||
| '''Description | | '''Description | ||
| Scalar function used in the uSalesOrderHeader trigger to set the starting account date. | | Scalar function used in the uSalesOrderHeader trigger to set the starting account date. | ||
− | |||
|} | |} | ||
− | |||
=== Source === | === Source === | ||
Line 32: | Line 30: | ||
| '''Child Object | | '''Child Object | ||
− | |- | + | |- valign="top" |
| Execute | | Execute | ||
| Table | | Table |
Latest revision as of 23:15, 23 June 2010
wikibot[edit]
Function | dbo.ufnGetAccountingEndDate |
Description | Scalar function used in the uSalesOrderHeader trigger to set the starting account date. |
Source[edit]
CREATE FUNCTION [dbo].[ufnGetAccountingEndDate]() RETURNS [datetime] AS BEGIN RETURN DATEADD(millisecond, -2, CONVERT(datetime, '20040701', 112)); END;
Dependencies[edit]
Reference Type | Object Type | Referencing Object | Child Type | Child Object |
Execute | Table | Sales.SalesOrderHeader | Trigger | uSalesOrderHeader |
automatically generated[edit]
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 |