Fix IDEMPIERE-675 - Internal Use with zero qty is dropping the inventory

This commit is contained in:
Edwin Ang 2013-03-29 12:09:26 +07:00
parent 2032e604ff
commit a8804b11f9
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,11 @@
-- Mar 29, 2013 12:03:32 PM ICT
-- IDEMPIERE-675 - Internal Use with zero qty is dropping the inventory
UPDATE AD_Tab SET WhereClause='(SELECT COUNT(*) FROM C_DocType WHERE C_DocType.C_DocType_ID=M_Inventory.C_DocType_ID AND C_DocType.DocBaseType=''MMI'' AND C_DocType.DocSubTypeInv=''PI'') > 0',Updated=TO_DATE('2013-03-29 12:03:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=255
;
-- Mar 29, 2013 12:04:00 PM ICT
-- IDEMPIERE-675 - Internal Use with zero qty is dropping the inventory
UPDATE AD_Tab SET WhereClause='(SELECT COUNT(*) FROM C_DocType WHERE C_DocType.C_DocType_ID=M_Inventory.C_DocType_ID AND C_DocType.DocBaseType=''MMI'' AND C_DocType.DocSubTypeInv=''IU'') > 0',Updated=TO_DATE('2013-03-29 12:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=682
;

View File

@ -0,0 +1,11 @@
-- Mar 29, 2013 12:03:32 PM ICT
-- IDEMPIERE-675 - Internal Use with zero qty is dropping the inventory
UPDATE AD_Tab SET WhereClause='(SELECT COUNT(*) FROM C_DocType WHERE C_DocType.C_DocType_ID=M_Inventory.C_DocType_ID AND C_DocType.DocBaseType=''MMI'' AND C_DocType.DocSubTypeInv=''PI'') > 0',Updated=TO_TIMESTAMP('2013-03-29 12:03:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=255
;
-- Mar 29, 2013 12:04:00 PM ICT
-- IDEMPIERE-675 - Internal Use with zero qty is dropping the inventory
UPDATE AD_Tab SET WhereClause='(SELECT COUNT(*) FROM C_DocType WHERE C_DocType.C_DocType_ID=M_Inventory.C_DocType_ID AND C_DocType.DocBaseType=''MMI'' AND C_DocType.DocSubTypeInv=''IU'') > 0',Updated=TO_TIMESTAMP('2013-03-29 12:04:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=682
;