fixed the error in PostgeSQL with the function paymenttermdiscount: http://sourceforge.net/tracker/index.php?func=detail&aid=1633753&group_id=176962&atid=879332
This commit is contained in:
parent
b49e50244a
commit
cd1efeb071
|
@ -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 **/
|
||||
|
|
Loading…
Reference in New Issue