make compatible with postgresql 8.2

This commit is contained in:
Heng Sin Low 2008-11-24 22:24:32 +00:00
parent 74da702592
commit 74bec39467
14 changed files with 14 additions and 18 deletions

View File

@ -47,5 +47,4 @@ BEGIN
RETURN v_Price; RETURN v_Price;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT LANGUAGE 'plpgsql' ;
COST 100;

View File

@ -57,4 +57,4 @@ BEGIN
RETURN v_Price; RETURN v_Price;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -56,4 +56,4 @@ BEGIN
RETURN v_Price; RETURN v_Price;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -23,5 +23,4 @@ BEGIN
RETURN bomQtyOnHand(Product_ID, Warehouse_ID, Locator_ID) - bomQtyReserved(Product_ID, Warehouse_ID, Locator_ID); RETURN bomQtyOnHand(Product_ID, Warehouse_ID, Locator_ID) - bomQtyReserved(Product_ID, Warehouse_ID, Locator_ID);
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT LANGUAGE 'plpgsql' ;
COST 100;

View File

@ -24,5 +24,4 @@ BEGIN
bomQtyReservedASI(Product_ID, AttributeSetInstance_ID, Warehouse_ID, Locator_ID); bomQtyReservedASI(Product_ID, AttributeSetInstance_ID, Warehouse_ID, Locator_ID);
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT LANGUAGE 'plpgsql' ;
COST 100;

View File

@ -131,4 +131,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -135,4 +135,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -139,4 +139,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -141,4 +141,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -137,4 +137,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -141,4 +141,4 @@ BEGIN
RETURN 0; RETURN 0;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -122,4 +122,4 @@ BEGIN
RETURN v_TotalOpenAmt; RETURN v_TotalOpenAmt;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT LANGUAGE 'plpgsql' ;

View File

@ -67,4 +67,4 @@ BEGIN
RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP; RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT; LANGUAGE 'plpgsql' ;

View File

@ -47,5 +47,4 @@ BEGIN
RETURN v_DocumentNo; RETURN v_DocumentNo;
END; END;
$BODY$ $BODY$
LANGUAGE 'plpgsql' STABLE STRICT LANGUAGE 'plpgsql' ;
COST 100;