This commit is contained in:
vpj-cd 2007-01-25 05:15:06 +00:00
parent e42c7c4c73
commit fb077ca85a
3 changed files with 59 additions and 10 deletions

View File

@ -76,9 +76,7 @@
<antcall target="load"> <antcall target="load">
<param name="file.name" value="${basedir}/init.sql" /> <param name="file.name" value="${basedir}/init.sql" />
</antcall> </antcall>
<antcall target="load">
<param name="file.name" value="${basedir}/aliasfunction.sql" />
</antcall>
</target> </target>
<target name="load-others"> <target name="load-others">
@ -115,6 +113,9 @@
<antcall target="load"> <antcall target="load">
<param name="file.name" value="${basedir}/adempiere-fk.sql" /> <param name="file.name" value="${basedir}/adempiere-fk.sql" />
</antcall> </antcall>
<antcall target="load">
<param name="file.name" value="${basedir}/install_procedures.sql" />
</antcall>
</target> </target>
<target name="load"> <target name="load">

View File

@ -0,0 +1,48 @@
UPDATE AD_Process
SET Classname='org.compiere.process.AD_PrintPaper_Default',
ProcedureName=NULL
WHERE value = 'AD_PrintPaper_Default';
UPDATE AD_Process
SET Classname='org.compiere.process.C_AcctSchema_Default_Copy',
ProcedureName=NULL
WHERE value like 'C_AcctSchema_Default_Copy';
UPDATE AD_Process
SET Classname='org.compiere.process.C_BP_Group_Acct_Copy',
ProcedureName=NULL
WHERE value = 'C_BP_Group_Acct_Copy';
UPDATE AD_Process
SET Classname='org.compiere.process.M_Product_BOM_Check',
ProcedureName=NULL
WHERE value = 'M_Product_BOM';
UPDATE AD_Process
SET Classname='org.compiere.process.M_Product_Category_Acct_Copy',
ProcedureName=NULL
where value = 'M_Product_Category_Acct_Copy';
UPDATE AD_Process
SET Classname='org.compiere.process.M_Product_CostingUpdate',
ProcedureName=NULL
WHERE value = 'M_Product_CostingUpdate';
UPDATE AD_Process
SET Classname='org.compiere.process.M_Production_Run',
ProcedureName=NULL
WHERE value like 'M_Production';
UPDATE AD_Process
SET Classname='org.compiere.process.T_InventoryValue_Create',
ProcedureName=NULL
WHERE value = 'RV_T_InventoryValue';
UPDATE AD_Process
SET Classname='org.compiere.process.M_PriceList_Create',
ProcedureName=NULL
WHERE value = 'M_PriceList Create';
UPDATE AD_Process
SET Classname = 'org.compiere.process.SynchronizeTerminology', ProcedureName = NULL
where procedurename = 'AD_Synchronize';

View File

@ -57,26 +57,26 @@ SQLActions[ ] = {
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomPriceLimit *******************/ /************* bomPriceLimit *******************/
CREATE OR REPLACE FUNCTION bomPriceLimit (M_Product_ID INTEGER, M_PriceList_Version_ID INTEGER) CREATE OR REPLACE FUNCTION bomPriceLimit (M_Product_ID NUMERIC, M_PriceList_Version_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomPriceLimit(int,int)' AS 'org.compiere.sqlj.Product.bomPriceLimit(int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomPriceList *******************/ /************* bomPriceList *******************/
CREATE OR REPLACE FUNCTION bomPriceList (M_Product_ID INTEGER, M_PriceList_Version_ID INTEGER) CREATE OR REPLACE FUNCTION bomPriceList (M_Product_ID NUMERIC, M_PriceList_Version_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomPriceList(int,int)' AS 'org.compiere.sqlj.Product.bomPriceList(int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomPriceStd *******************/ /************* bomPriceStd *******************/
CREATE OR REPLACE FUNCTION bomPriceStd (M_Product_ID INTEGER, M_PriceList_Version_ID INTEGER) CREATE OR REPLACE FUNCTION bomPriceStd (M_Product_ID NUMERIC, M_PriceList_Version_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomPriceStd(int,int)' AS 'org.compiere.sqlj.Product.bomPriceStd(int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomQtyAvailable *******************/ /************* bomQtyAvailable *******************/
CREATE OR REPLACE FUNCTION bomQtyAvailable (M_Product_ID INTEGER, M_Warehouse_ID INTEGER, M_Locator_ID INTEGER) CREATE OR REPLACE FUNCTION bomQtyAvailable (M_Product_ID NUMERIC, M_Warehouse_ID NUMERIC, M_Locator_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomQtyAvailable(int,int,int)' AS 'org.compiere.sqlj.Product.bomQtyAvailable(int,int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
@ -89,7 +89,7 @@ SQLActions[ ] = {
/************* bomQtyOnHand *******************/ /************* bomQtyOnHand *******************/
CREATE OR REPLACE FUNCTION bomQtyOnHand (M_Product_ID INTEGER, M_Warehouse_ID INTEGER, M_Locator_ID INTEGER) CREATE OR REPLACE FUNCTION bomQtyOnHand (M_Product_ID NUMERIC, M_Warehouse_ID NUMERIC, M_Locator_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomQtyOnHand(int,int,int)' AS 'org.compiere.sqlj.Product.bomQtyOnHand(int,int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
@ -101,7 +101,7 @@ SQLActions[ ] = {
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomQtyOrdered *******************/ /************* bomQtyOrdered *******************/
CREATE OR REPLACE FUNCTION bomQtyOrdered (M_Product_ID INTEGER, M_Warehouse_ID INTEGER, M_Locator_ID INTEGER) CREATE OR REPLACE FUNCTION bomQtyOrdered (M_Product_ID NUMERIC, M_Warehouse_ID NUMERIC, M_Locator_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomQtyOrdered(int,int,int)' AS 'org.compiere.sqlj.Product.bomQtyOrdered(int,int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
@ -113,7 +113,7 @@ SQLActions[ ] = {
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;
/************* bomQtyReserved *******************/ /************* bomQtyReserved *******************/
CREATE OR REPLACE FUNCTION bomQtyReserved (M_Product_ID INTEGER, M_Warehouse_ID INTEGER, M_Locator_ID INTEGER) CREATE OR REPLACE FUNCTION bomQtyReserved (M_Product_ID NUMERIC, M_Warehouse_ID NUMERIC, M_Locator_ID NUMERIC)
RETURNS NUMERIC RETURNS NUMERIC
AS 'org.compiere.sqlj.Product.bomQtyReserved(int,int,int)' AS 'org.compiere.sqlj.Product.bomQtyReserved(int,int,int)'
LANGUAGE java VOLATILE; LANGUAGE java VOLATILE;