Re: [GENERAL] Function doesn't work properly

2009-08-14 Thread Alban Hertroys
On 14 Aug 2009, at 18:42, Ing. Eris J. Gómez wrote: Hi all. I wrote a function and it does not work properly. What am I doing wrong? *- Here is the script .. --- CREATE OR REPLACE FUNCTION "public"."cxp_balfactura" (x_codcia char, x_suplidor char, x_factura char, x_monto numeric, x_moneda

[GENERAL] Function doesn't work properly

2009-08-14 Thread Ing . Eris J . Gómez
Hi all. I wrote a function and it does not work properly. What am I doing wrong? *- Here is the script . --- CREATE OR REPLACE FUNCTION "public"."cxp_balfactura" (x_codcia char, x_suplidor char, x_factura char, x_monto numeric, x_moneda integer) RETURNS numeric AS $body$ DECLARE cursor1