Difference between revisions of "Dbo.ufnGetAccountingStartDate (function)"
(6 intermediate revisions 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 |
| dbo.ufnGetAccountingStartDate | | dbo.ufnGetAccountingStartDate | ||
− | |- | + | |- valign="top" |
+ | | '''Description | ||
+ | | Scalar function used in the uSalesOrderHeader trigger to set the ending account date. | ||
|} | |} | ||
+ | === Source === | ||
<pre> | <pre> | ||
CREATE FUNCTION [dbo].[ufnGetAccountingStartDate]() | CREATE FUNCTION [dbo].[ufnGetAccountingStartDate]() | ||
Line 16: | Line 19: | ||
END; | END; | ||
</pre> | </pre> | ||
+ | |||
+ | === Dependencies === | ||
+ | {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" | ||
+ | |- style="background:silver" | ||
+ | | '''Reference Type | ||
+ | | '''Object Type | ||
+ | | '''Referencing Object | ||
+ | |||
+ | | '''Child Type | ||
+ | | '''Child Object | ||
+ | |||
+ | |- valign="top" | ||
+ | | Execute | ||
+ | | Table | ||
+ | | [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | ||
+ | |||
+ | | Trigger | ||
+ | | uSalesOrderHeader | ||
+ | |} | ||
+ | |||
== automatically generated == | == automatically generated == | ||
Line 23: | Line 46: | ||
| '''function | | '''function | ||
| dbo.ufnGetAccountingStartDate | | dbo.ufnGetAccountingStartDate | ||
− | |- | + | |- valign="top" |
− | |||
| '''Description | | '''Description | ||
| Scalar function used in the uSalesOrderHeader trigger to set the ending account date. | | Scalar function used in the uSalesOrderHeader trigger to set the ending account date. | ||
|- | |- | ||
− | |||
|} | |} | ||
Line 44: | Line 65: | ||
{| 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" | ||
+ | | '''Reference Type | ||
+ | | '''Object Type | ||
| '''Referencing Object | | '''Referencing Object | ||
− | | ''' | + | |
− | | ''' | + | | '''Child Type |
− | + | | '''Child Object | |
+ | |||
|- | |- | ||
+ | | Execute | ||
+ | | Table | ||
| [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | | [[Sales.SalesOrderHeader_(table)|Sales.SalesOrderHeader]] | ||
− | | | + | |
− | | | + | | Trigger |
+ | | uSalesOrderHeader | ||
|} | |} |
Latest revision as of 23:15, 23 June 2010
wikibot[edit]
Function | dbo.ufnGetAccountingStartDate |
Description | Scalar function used in the uSalesOrderHeader trigger to set the ending account date. |
Source[edit]
CREATE FUNCTION [dbo].[ufnGetAccountingStartDate]() RETURNS [datetime] AS BEGIN RETURN CONVERT(datetime, '20030701', 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.ufnGetAccountingStartDate |
Description | Scalar function used in the uSalesOrderHeader trigger to set the ending account date. |
CREATE FUNCTION [dbo].[ufnGetAccountingStartDate]() RETURNS [datetime] AS BEGIN RETURN CONVERT(datetime, '20030701', 112); END;
Reference Type | Object Type | Referencing Object | Child Type | Child Object |
Execute | Table | Sales.SalesOrderHeader | Trigger | uSalesOrderHeader |