From cd1efeb0715b15f54aa93ec88d809821a56839ce Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Fri, 12 Jan 2007 06:02:16 +0000 Subject: [PATCH] fixed the error in PostgeSQL with the function paymenttermdiscount: http://sourceforge.net/tracker/index.php?func=detail&aid=1633753&group_id=176962&atid=879332 --- sqlj/postgresql/sqlj.ddr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqlj/postgresql/sqlj.ddr b/sqlj/postgresql/sqlj.ddr index 0f427a04c5..d723a5beec 100755 --- a/sqlj/postgresql/sqlj.ddr +++ b/sqlj/postgresql/sqlj.ddr @@ -164,9 +164,9 @@ SQLActions[ ] = { AS 'org.compiere.sqlj.PaymentTerm.dueDate(int,java.sql.Timestamp)' LANGUAGE java VOLATILE; - CREATE OR REPLACE FUNCTION paymentTermDiscount (p_Amount NUMERIC, p_C_PaymentTerm_ID INTEGER, p_DocDate TIMESTAMP WITH TIME ZONE, p_PayDate TIMESTAMP WITH TIME ZONE) + CREATE OR REPLACE FUNCTION paymentTermDiscount (p_Amount NUMERIC,p_C_Currency_ID INTEGER, p_C_PaymentTerm_ID INTEGER, p_DocDate TIMESTAMP WITH TIME ZONE, p_PayDate TIMESTAMP WITH TIME ZONE) RETURNS NUMERIC - AS 'org.compiere.sqlj.PaymentTerm.discount(java.math.BigDecimal,int,java.sql.Timestamp,java.sql.Timestamp)' + AS 'org.compiere.sqlj.PaymentTerm.discount(java.math.BigDecimal,int, int ,java.sql.Timestamp,java.sql.Timestamp)' LANGUAGE java VOLATILE; /** Payment **/