1 DROP FUNCTION IF EXISTS changeprdate(integer, date);
2 CREATE OR REPLACE FUNCTION changePrDate(INTEGER, DATE) RETURNS INTEGER AS $$
3 -- Copyright (c) 1999-2014 by OpenMFG LLC, d/b/a xTuple.
4 -- See www.xtuple.com/CPAL for the full text of the software license.
12 SET pr_duedate=pDueDate
18 $$ LANGUAGE 'plpgsql';