This commit is contained in:
parent
e42c7c4c73
commit
fb077ca85a
|
@ -76,9 +76,7 @@
|
|||
<antcall target="load">
|
||||
<param name="file.name" value="${basedir}/init.sql" />
|
||||
</antcall>
|
||||
<antcall target="load">
|
||||
<param name="file.name" value="${basedir}/aliasfunction.sql" />
|
||||
</antcall>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="load-others">
|
||||
|
@ -114,6 +112,9 @@
|
|||
<echo file="log/psql.log" append="true" message="${line.separator}#Create Foreign Keys:${line.separator}${line.separator}" />
|
||||
<antcall target="load">
|
||||
<param name="file.name" value="${basedir}/adempiere-fk.sql" />
|
||||
</antcall>
|
||||
<antcall target="load">
|
||||
<param name="file.name" value="${basedir}/install_procedures.sql" />
|
||||
</antcall>
|
||||
</target>
|
||||
|
||||
|
|
|
@ -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';
|
|
@ -57,26 +57,26 @@ SQLActions[ ] = {
|
|||
LANGUAGE java VOLATILE;
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomPriceLimit(int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomPriceList(int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomPriceStd(int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomQtyAvailable(int,int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
@ -89,7 +89,7 @@ SQLActions[ ] = {
|
|||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomQtyOnHand(int,int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
@ -101,7 +101,7 @@ SQLActions[ ] = {
|
|||
LANGUAGE java VOLATILE;
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomQtyOrdered(int,int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
@ -113,7 +113,7 @@ SQLActions[ ] = {
|
|||
LANGUAGE java VOLATILE;
|
||||
|
||||
/************* 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
|
||||
AS 'org.compiere.sqlj.Product.bomQtyReserved(int,int,int)'
|
||||
LANGUAGE java VOLATILE;
|
||||
|
|
Loading…
Reference in New Issue