* fixed minor error

This commit is contained in:
Heng Sin Low 2007-01-05 02:37:50 +00:00
parent 32179e841c
commit 9754fdbc90
1 changed files with 3 additions and 6 deletions

View File

@ -33,12 +33,9 @@ BEGIN
END; END;
$$ LANGUAGE plpgsql VOLATILE; $$ LANGUAGE plpgsql VOLATILE;
CREATE OR REPLACE FUNCTION adempiere.addDays (day TIMESTAMP WITH TIME ZONE, days INTEGER) CREATE OR REPLACE FUNCTION adddays("day" timestamp with time zone, days integer) RETURNS timestamp with time zone
RETURNS TIMESTAMP WITH TIME ZONE AS $$ AS $$org.compiere.sqlj.Adempiere.addDays(java.sql.Timestamp,int)$$
BEGIN LANGUAGE java;
RETURN adempiere.addDays(day,Idays);
END;
$$ LANGUAGE plpgsql VOLATILE;
CREATE OR REPLACE FUNCTION adempiere.subtractdays (day TIMESTAMP WITH TIME ZONE, days INTEGER) CREATE OR REPLACE FUNCTION adempiere.subtractdays (day TIMESTAMP WITH TIME ZONE, days INTEGER)