dbo ufnGetAccountingEndDate (function)

wikibot

Functiondbo.ufnGetAccountingEndDate
DescriptionScalar 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 TypeObject TypeReferencing ObjectChild TypeChild Object
ExecuteTableSales.SalesOrderHeaderTriggeruSalesOrderHeader