Issue #9295 Issue #23537 Fix InvoiceListItem performance.
authorBen Thompson <ben@xtuple.com>
Thu, 1 May 2014 19:54:58 +0000 (15:54 -0400)
committerBen Thompson <ben@xtuple.com>
Thu, 1 May 2014 19:54:58 +0000 (15:54 -0400)
foundation-database/public/functions/determinediscountdate.sql
foundation-database/public/functions/determineduedate.sql

index fac9d6f..76fccd5 100644 (file)
@@ -1,5 +1,5 @@
-CREATE OR REPLACE FUNCTION determineDiscountDate(INTEGER, DATE) RETURNS DATE AS $$
--- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple. 
+CREATE OR REPLACE FUNCTION determineDiscountDate(INTEGER, DATE) RETURNS DATE STABLE AS $$
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
 -- See www.xtuple.com/CPAL for the full text of the software license.
 DECLARE
   pTermsid ALIAS FOR $1;
index 789fc55..beb3433 100644 (file)
@@ -1,5 +1,5 @@
-CREATE OR REPLACE FUNCTION determineDueDate(INTEGER, DATE) RETURNS DATE AS $$
--- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple. 
+CREATE OR REPLACE FUNCTION determineDueDate(INTEGER, DATE) RETURNS DATE STABLE AS $$
+-- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
 -- See www.xtuple.com/CPAL for the full text of the software license.
 DECLARE
   pTermsid ALIAS FOR $1;