pgsql/x-dragon-invadj.sql
[Pman.Xtuple] / pgsql / x-fifo-invfifo-update-from-return-shipping.sql
1 --- updates the invfifo values for shipped and unitcost
2
3
4 CREATE OR REPLACE FUNCTION invfifo_update_from_return_shipping(integer)
5     RETURNS  boolean
6 AS $BODY$
7 DECLARE    
8 i_invdetail_id  ALIAS FOR $1;
9 BEGIN
10     RAISE EXCEPTION 'replaced with option version';
11 END
12 $BODY$
13   LANGUAGE plpgsql VOLATILE
14   COST 100;
15   
16  
17  
18