diff --git a/db/ddlutils/postgresql/functions/BOM_PriceLimit.sql b/db/ddlutils/postgresql/functions/BOM_PriceLimit.sql index a77fa8b270..a49f019780 100644 --- a/db/ddlutils/postgresql/functions/BOM_PriceLimit.sql +++ b/db/ddlutils/postgresql/functions/BOM_PriceLimit.sql @@ -47,5 +47,4 @@ BEGIN RETURN v_Price; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT - COST 100; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_PriceList.sql b/db/ddlutils/postgresql/functions/BOM_PriceList.sql index 1f6fe191be..5d77430daa 100644 --- a/db/ddlutils/postgresql/functions/BOM_PriceList.sql +++ b/db/ddlutils/postgresql/functions/BOM_PriceList.sql @@ -57,4 +57,4 @@ BEGIN RETURN v_Price; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_PriceStd.sql b/db/ddlutils/postgresql/functions/BOM_PriceStd.sql index 3b7b8f6672..cac669b3d5 100644 --- a/db/ddlutils/postgresql/functions/BOM_PriceStd.sql +++ b/db/ddlutils/postgresql/functions/BOM_PriceStd.sql @@ -56,4 +56,4 @@ BEGIN RETURN v_Price; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_Available.sql b/db/ddlutils/postgresql/functions/BOM_Qty_Available.sql index 5d88b98858..936c03d9d3 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_Available.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_Available.sql @@ -23,5 +23,4 @@ BEGIN RETURN bomQtyOnHand(Product_ID, Warehouse_ID, Locator_ID) - bomQtyReserved(Product_ID, Warehouse_ID, Locator_ID); END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT - COST 100; \ No newline at end of file + LANGUAGE 'plpgsql' ; \ No newline at end of file diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_AvailableASI.sql b/db/ddlutils/postgresql/functions/BOM_Qty_AvailableASI.sql index 3d00f89870..696c52bec5 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_AvailableASI.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_AvailableASI.sql @@ -24,5 +24,4 @@ BEGIN bomQtyReservedASI(Product_ID, AttributeSetInstance_ID, Warehouse_ID, Locator_ID); END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT - COST 100; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_OnHand.sql b/db/ddlutils/postgresql/functions/BOM_Qty_OnHand.sql index dce587d33d..343b323707 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_OnHand.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_OnHand.sql @@ -131,4 +131,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_OnHandASI.sql b/db/ddlutils/postgresql/functions/BOM_Qty_OnHandASI.sql index 56bc89c29b..3bfbd247ec 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_OnHandASI.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_OnHandASI.sql @@ -135,4 +135,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_Ordered.sql b/db/ddlutils/postgresql/functions/BOM_Qty_Ordered.sql index bd52f2dc72..4d033f7b26 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_Ordered.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_Ordered.sql @@ -139,4 +139,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_OrderedASI.sql b/db/ddlutils/postgresql/functions/BOM_Qty_OrderedASI.sql index 123bf5b85d..d3e6f5c54a 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_OrderedASI.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_OrderedASI.sql @@ -141,4 +141,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_Reserved.sql b/db/ddlutils/postgresql/functions/BOM_Qty_Reserved.sql index 910e79e0b6..938e59084f 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_Reserved.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_Reserved.sql @@ -137,4 +137,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/BOM_Qty_ReservedASI.sql b/db/ddlutils/postgresql/functions/BOM_Qty_ReservedASI.sql index 9d12ac3fcd..d2d14ceee3 100644 --- a/db/ddlutils/postgresql/functions/BOM_Qty_ReservedASI.sql +++ b/db/ddlutils/postgresql/functions/BOM_Qty_ReservedASI.sql @@ -141,4 +141,4 @@ BEGIN RETURN 0; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT; + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/C_Invoice_OpenToDate.sql b/db/ddlutils/postgresql/functions/C_Invoice_OpenToDate.sql index 72a9fa6178..7e324f68c0 100644 --- a/db/ddlutils/postgresql/functions/C_Invoice_OpenToDate.sql +++ b/db/ddlutils/postgresql/functions/C_Invoice_OpenToDate.sql @@ -122,4 +122,4 @@ BEGIN RETURN v_TotalOpenAmt; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT + LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql b/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql index 71e77bc320..32046fd89e 100644 --- a/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql +++ b/db/ddlutils/postgresql/functions/C_Invoice_PaidToDate.sql @@ -67,4 +67,4 @@ BEGIN RETURN ROUND(COALESCE(v_PaymentAmt,0), 2) * v_MultiplierAP; END; $BODY$ -LANGUAGE 'plpgsql' STABLE STRICT; +LANGUAGE 'plpgsql' ; diff --git a/db/ddlutils/postgresql/functions/documentNo.sql b/db/ddlutils/postgresql/functions/documentNo.sql index 0ca6cffa05..0e3b70038e 100644 --- a/db/ddlutils/postgresql/functions/documentNo.sql +++ b/db/ddlutils/postgresql/functions/documentNo.sql @@ -47,5 +47,4 @@ BEGIN RETURN v_DocumentNo; END; $BODY$ - LANGUAGE 'plpgsql' STABLE STRICT - COST 100; + LANGUAGE 'plpgsql' ;