diff --git a/migration/oracle/253b-253b_XE/XE_Migration.sql b/migration/oracle/253b-253b_XE/XE_Migration.sql deleted file mode 100644 index be3f478f83..0000000000 --- a/migration/oracle/253b-253b_XE/XE_Migration.sql +++ /dev/null @@ -1,1812 +0,0 @@ -DROP FUNCTION INCOICEDISCOUNT; - -DROP FUNCTION INCOICEOPEN; - -DROP FUNCTION INCOICEPAID; - -DROP FUNCTION COMPIEREPROPERTIES; - -DROP FUNCTION COMPIEREPROPERTY; - -DROP FUNCTION COMPIEREVERSION; - -DROP JAVA RESOURCE "META-INF/MANIFEST.MF"; - -DROP JAVA CLASS "org/compiere/sqlj/Account"; - -DROP JAVA CLASS "org/compiere/sqlj/BPartner"; - -DROP JAVA CLASS "org/compiere/sqlj/Compiere"; - -DROP JAVA CLASS "org/compiere/sqlj/Currency"; - -DROP JAVA CLASS "org/compiere/sqlj/Invoice"; - -DROP JAVA CLASS "org/compiere/sqlj/Payment"; - -DROP JAVA CLASS "org/compiere/sqlj/PaymentTerm"; - -DROP JAVA CLASS "org/compiere/sqlj/Product"; - -CREATE OR REPLACE FUNCTION paymentTermDiscount -( - Amount IN NUMBER, - Currency_ID IN NUMBER, - PaymentTerm_ID IN NUMBER, - DocDate IN DATE, - PayDate IN DATE -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_PaymentTerm_Discount.sql,v 1.5 2005/07/24 19:37:42 jjanke Exp $ - *** - * Title: Calculate Discount - * Description: - * Calculate the allowable Discount Amount of the Payment Term - * - * Test: SELECT C_PaymentTerm_Discount(17777, 103, '10-DEC-1999') FROM DUAL - ************************************************************************/ - -AS - Discount NUMBER := 0; - CURSOR Cur_PT IS - SELECT * - FROM C_PaymentTerm - WHERE C_PaymentTerm_ID = PaymentTerm_ID; - Discount1Date DATE; - Discount2Date DATE; - Add1Date NUMBER := 0; - Add2Date NUMBER := 0; -BEGIN - -- No Data - No Discount - IF (Amount IS NULL OR PaymentTerm_ID IS NULL OR DocDate IS NULL) THEN - RETURN 0; - END IF; - - FOR p IN Cur_PT LOOP -- for convineance only --- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Doc = ' || TO_CHAR(DocDate)); - Discount1Date := TRUNC(DocDate + p.DiscountDays + p.GraceDays); - Discount2Date := TRUNC(DocDate + p.DiscountDays2 + p.GraceDays); - - -- Next Business Day - IF (p.IsNextBusinessDay='Y') THEN - -- Not fully correct - only does weekends (7=Saturday, 1=Sunday) - SELECT DECODE(TO_CHAR(Discount1Date,'D'), '7',2, '1',1, 0), - DECODE(TO_CHAR(Discount2Date,'D'), '7',2, '1',1, 0) - INTO Add1Date, Add2Date - FROM DUAL; - Discount1Date := Discount1Date+Add1Date; - Discount2Date := Discount2Date+Add2Date; - END IF; - - -- Discount 1 - IF (Discount1Date >= TRUNC(PayDate)) THEN --- DBMS_OUTPUT.PUT_LINE('Discount 1 ' || TO_CHAR(Discount1Date) || ' ' || p.Discount); - Discount := Amount * p.Discount / 100; - -- Discount 2 - ELSIF (Discount2Date >= TRUNC(PayDate)) THEN --- DBMS_OUTPUT.PUT_LINE('Discount 2 ' || TO_CHAR(Discount2Date) || ' ' || p.Discount2); - Discount := Amount * p.Discount2 / 100; - END IF; - END LOOP; - -- - RETURN ROUND(NVL(Discount,0), 2); -- fixed rounding -END paymentTermDiscount; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION paymentTermDueDate -( - PaymentTerm_ID IN NUMBER, - DocDate IN DATE -) -RETURN DATE -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_PaymentTerm_DueDate.sql,v 1.1 2005/05/09 22:13:22 jjanke Exp $ - *** - * Title: Get Due Date - * Description: - * Returns the due date - ************************************************************************/ -AS - Days NUMBER := 0; - DueDate DATE := TRUNC(DocDate); - -- - CURSOR Cur_PT IS - SELECT * - FROM C_PaymentTerm - WHERE C_PaymentTerm_ID = PaymentTerm_ID; - FirstDay DATE; - NoDays NUMBER; -BEGIN - FOR p IN Cur_PT LOOP -- for convineance only - -- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Doc = ' || TO_CHAR(DocDate)); - -- Due 15th of following month - IF (p.IsDueFixed = 'Y') THEN - -- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Day = ' || p.FixMonthDay); - FirstDay := TRUNC(DocDate, 'MM'); - NoDays := TRUNC(DocDate) - FirstDay; - DueDate := FirstDay + (p.FixMonthDay-1); -- starting on 1st - DueDate := ADD_MONTHS(DueDate, p.FixMonthOffset); - IF (NoDays > p.FixMonthCutoff) THEN - DueDate := ADD_MONTHS(DueDate, 1); - END IF; - ELSE - -- DBMS_OUTPUT.PUT_LINE('Net = ' || p.NetDays); - DueDate := TRUNC(DocDate) + p.NetDays; - END IF; - END LOOP; --- DBMS_OUTPUT.PUT_LINE('Due = ' || TO_CHAR(DueDate) || ', Pay = ' || TO_CHAR(PayDate)); - - RETURN DueDate; -END paymentTermDueDate; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION paymentTermDueDays -( - PaymentTerm_ID IN NUMBER, - DocDate IN DATE, - PayDate IN DATE -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_PaymentTerm_DueDays.sql,v 1.3 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Get Due Days - * Description: - * Returns the days due (positive) or the days till due (negative) - * Grace days are not considered! - * If record is not found it assumes due immediately - * - * Test: SELECT C_PaymentTerm_DueDays(103, '01-DEC-2000', '15-DEC-2000') FROM DUAL - ************************************************************************/ -AS - Days NUMBER := 0; - DueDate DATE := TRUNC(DocDate); - -- - CURSOR Cur_PT IS - SELECT * - FROM C_PaymentTerm - WHERE C_PaymentTerm_ID = PaymentTerm_ID; - FirstDay DATE; - NoDays NUMBER; -BEGIN - FOR p IN Cur_PT LOOP -- for convineance only - -- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Doc = ' || TO_CHAR(DocDate)); - -- Due 15th of following month - IF (p.IsDueFixed = 'Y') THEN - -- DBMS_OUTPUT.PUT_LINE(p.Name || ' - Day = ' || p.FixMonthDay); - FirstDay := TRUNC(DocDate, 'MM'); - NoDays := TRUNC(DocDate) - FirstDay; - DueDate := FirstDay + (p.FixMonthDay-1); -- starting on 1st - DueDate := ADD_MONTHS(DueDate, p.FixMonthOffset); - IF (NoDays > p.FixMonthCutoff) THEN - DueDate := ADD_MONTHS(DueDate, 1); - END IF; - ELSE - -- DBMS_OUTPUT.PUT_LINE('Net = ' || p.NetDays); - DueDate := TRUNC(DocDate) + p.NetDays; - END IF; - END LOOP; --- DBMS_OUTPUT.PUT_LINE('Due = ' || TO_CHAR(DueDate) || ', Pay = ' || TO_CHAR(PayDate)); - - Days := TRUNC(PayDate) - DueDate; - RETURN Days; -END paymentTermDueDays; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION currencyRound -( - p_Amount IN NUMBER, - p_CurTo_ID IN NUMBER, - p_Costing IN VARCHAR2 -- Default 'N' -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Currency_Round.SQL,v 1.4 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Round amount for Traget Currency - * Description: - * Round Amount using Costing or Standard Precision - * Returns unmodified amount if currency not found - * Test: - * SELECT C_Currency_Round(C_Currency_Convert(100,116,100,null,null),100,null) FROM DUAL => 64.72 - ************************************************************************/ -AS - v_StdPrecision NUMBER; - v_CostPrecision NUMBER; -BEGIN - -- Nothing to convert - IF (p_Amount IS NULL OR p_CurTo_ID IS NULL) THEN - RETURN p_Amount; - END IF; - - -- Ger Precision - SELECT MAX(StdPrecision), MAX(CostingPrecision) - INTO v_StdPrecision, v_CostPrecision - FROM C_Currency - WHERE C_Currency_ID = p_CurTo_ID; - -- Currency Not Found - IF (v_StdPrecision IS NULL) THEN - RETURN p_Amount; - END IF; - - IF (p_Costing = 'Y') THEN - RETURN ROUND (p_Amount, v_CostPrecision); - END IF; - - RETURN ROUND (p_Amount, v_StdPrecision); -END currencyRound; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION daysBetween -( - p_date1 DATE, - p_date2 DATE -) - RETURN NUMBER -AS -BEGIN - RETURN (TRUNC(p_date1) - TRUNC(p_date2)); -END; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION currencyRate -( - p_CurFrom_ID IN NUMBER, - p_CurTo_ID IN NUMBER, - p_ConvDate IN DATE, - p_ConversionType_ID IN NUMBER, - p_Client_ID IN NUMBER, - p_Org_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Currency_Rate.sql,v 1.8 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Return Conversion Rate - * Description: - * from CurrencyFrom_ID to CurrencyTo_ID - * Returns NULL, if rate not found - * Test - * SELECT C_Currency_Rate(116, 100, null, null) FROM DUAL; => .647169 - * SELECT C_Currency_Rate(116, 100) FROM DUAL; => .647169 - ************************************************************************/ -AS - -- Currency From variables - cf_IsEuro CHAR(1); - cf_IsEMUMember CHAR(1); - cf_EMUEntryDate DATE; - cf_EMURate NUMBER; - -- Currency To variables - ct_IsEuro CHAR(1); - ct_IsEMUMember CHAR(1); - ct_EMUEntryDate DATE; - ct_EMURate NUMBER; - -- Triangle - v_CurrencyFrom NUMBER; - v_CurrencyTo NUMBER; - v_CurrencyEuro NUMBER; - -- - v_ConvDate DATE := SysDate; - v_ConversionType_ID NUMBER := 0; - v_Rate NUMBER; -BEGIN - -- No Conversion - IF (p_CurFrom_ID = p_CurTo_ID) THEN - RETURN 1; - END IF; - -- Default Date Parameter - IF (p_ConvDate IS NOT NULL) THEN - v_ConvDate := p_ConvDate; -- SysDate - END IF; - -- Default Conversion Type - IF (p_ConversionType_ID IS NULL OR p_ConversionType_ID = 0) THEN - BEGIN - SELECT C_ConversionType_ID - INTO v_ConversionType_ID - FROM C_ConversionType - WHERE IsDefault='Y' - AND AD_Client_ID IN (0,p_Client_ID) - AND ROWNUM=1 - ORDER BY AD_Client_ID DESC; - EXCEPTION WHEN OTHERS THEN - DBMS_OUTPUT.PUT_LINE('Conversion Type Not Found'); - END; - ELSE - v_ConversionType_ID := p_ConversionType_ID; - END IF; - - -- Get Currency Info - SELECT MAX(IsEuro), MAX(IsEMUMember), MAX(EMUEntryDate), MAX(EMURate) - INTO cf_IsEuro, cf_IsEMUMember, cf_EMUEntryDate, cf_EMURate - FROM C_Currency - WHERE C_Currency_ID = p_CurFrom_ID; - -- Not Found - IF (cf_IsEuro IS NULL) THEN - DBMS_OUTPUT.PUT_LINE('From Currency Not Found'); - RETURN NULL; - END IF; - SELECT MAX(IsEuro), MAX(IsEMUMember), MAX(EMUEntryDate), MAX(EMURate) - INTO ct_IsEuro, ct_IsEMUMember, ct_EMUEntryDate, ct_EMURate - FROM C_Currency - WHERE C_Currency_ID = p_CurTo_ID; - -- Not Found - IF (ct_IsEuro IS NULL) THEN - DBMS_OUTPUT.PUT_LINE('To Currency Not Found'); - RETURN NULL; - END IF; - - -- Fixed - From Euro to EMU - IF (cf_IsEuro = 'Y' AND ct_IsEMUMember ='Y' AND v_ConvDate >= ct_EMUEntryDate) THEN - RETURN ct_EMURate; - END IF; - - -- Fixed - From EMU to Euro - IF (ct_IsEuro = 'Y' AND cf_IsEMUMember ='Y' AND v_ConvDate >= cf_EMUEntryDate) THEN - RETURN 1 / cf_EMURate; - END IF; - - -- Fixed - From EMU to EMU - IF (cf_IsEMUMember = 'Y' AND cf_IsEMUMember ='Y' - AND v_ConvDate >= cf_EMUEntryDate AND v_ConvDate >= ct_EMUEntryDate) THEN - RETURN ct_EMURate / cf_EMURate; - END IF; - - -- Flexible Rates - v_CurrencyFrom := p_CurFrom_ID; - v_CurrencyTo := p_CurTo_ID; - - -- if EMU Member involved, replace From/To Currency - IF ((cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) - OR (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate)) THEN - SELECT MAX(C_Currency_ID) - INTO v_CurrencyEuro - FROM C_Currency - WHERE IsEuro = 'Y'; - -- Conversion Rate not Found - IF (v_CurrencyEuro IS NULL) THEN - DBMS_OUTPUT.PUT_LINE('Euro Not Found'); - RETURN NULL; - END IF; - IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN - v_CurrencyFrom := v_CurrencyEuro; - ELSE - v_CurrencyTo := v_CurrencyEuro; - END IF; - END IF; - - -- Get Rate - DECLARE - CURSOR CUR_Rate IS - SELECT MultiplyRate - FROM C_Conversion_Rate - WHERE C_Currency_ID=v_CurrencyFrom AND C_Currency_ID_To=v_CurrencyTo - AND C_ConversionType_ID=v_ConversionType_ID - AND v_ConvDate BETWEEN ValidFrom AND ValidTo - AND AD_Client_ID IN (0,p_Client_ID) AND AD_Org_ID IN (0,p_Org_ID) - ORDER BY AD_Client_ID DESC, AD_Org_ID DESC, ValidFrom DESC; - BEGIN - FOR c IN CUR_Rate LOOP - v_Rate := c.MultiplyRate; - EXIT; -- only first - END LOOP; - END; - -- Not found - IF (v_Rate IS NULL) THEN - DBMS_OUTPUT.PUT_LINE('Conversion Rate Not Found'); - RETURN NULL; - END IF; - - -- Currency From was EMU - IF (cf_isEMUMember = 'Y' AND v_ConvDate >= cf_EMUEntryDate) THEN - RETURN v_Rate / cf_EMURate; - END IF; - - -- Currency To was EMU - IF (ct_isEMUMember = 'Y' AND v_ConvDate >= ct_EMUEntryDate) THEN - RETURN v_Rate * ct_EMURate; - END IF; - - RETURN v_Rate; - -EXCEPTION WHEN OTHERS THEN - DBMS_OUTPUT.PUT_LINE(SQLERRM); - RETURN NULL; - -END currencyRate; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION currencyConvert -( - p_Amount IN NUMBER, - p_CurFrom_ID IN NUMBER, - p_CurTo_ID IN NUMBER, - p_ConvDate IN DATE, - p_ConversionType_ID IN NUMBER, - p_Client_ID IN NUMBER, - p_Org_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Currency_Convert.sql,v 1.11 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Convert Amount (using IDs) - * Description: - * from CurrencyFrom_ID to CurrencyTo_ID - * Returns NULL, if conversion not found - * Standard Rounding - * Test: - * SELECT C_Currency_Convert(100,116,100,null,null) FROM DUAL => 64.72 - * SELECT C_Currency_Convert(100,116,100) FROM DUAL => 64.72 - ************************************************************************/ -AS - v_Rate NUMBER; -BEGIN - -- Return Amount - IF (p_Amount = 0 OR p_CurFrom_ID = p_CurTo_ID) THEN - RETURN p_Amount; - END IF; - -- Return NULL - IF (p_Amount IS NULL OR p_CurFrom_ID IS NULL OR p_CurTo_ID IS NULL) THEN - RETURN NULL; - END IF; - - -- Get Rate - v_Rate := currencyRate (p_CurFrom_ID, p_CurTo_ID, p_ConvDate, p_ConversionType_ID, p_Client_ID, p_Org_ID); - IF (v_Rate IS NULL) THEN - RETURN NULL; - END IF; - - -- Standard Precision - RETURN currencyRound(p_Amount * v_Rate, p_CurTo_ID, null); -END currencyConvert; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION currencyBase -( - p_Amount IN NUMBER, - p_CurFrom_ID IN NUMBER, - p_ConvDate IN DATE, - p_Client_ID IN NUMBER, - p_Org_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Base_Convert.sql,v 1.8 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Convert Amount to Base Currency of Client - * Description: - * Get CurrencyTo from Client - * Returns NULL, if conversion not found - * Standard Rounding - * Test: - * SELECT C_Base_Convert(100,116,11,null) FROM DUAL => 64.72 - ************************************************************************/ -AS - v_CurTo_ID NUMBER; -BEGIN - -- Get Currency - SELECT MAX(ac.C_Currency_ID) - INTO v_CurTo_ID - FROM AD_ClientInfo ci, C_AcctSchema ac - WHERE ci.C_AcctSchema1_ID=ac.C_AcctSchema_ID - AND ci.AD_Client_ID=p_Client_ID; - -- Same as Currency_Conversion - if currency/rate not found - return 0 - IF (v_CurTo_ID IS NULL) THEN - RETURN NULL; - END IF; - -- Same currency - IF (p_CurFrom_ID = v_CurTo_ID) THEN - RETURN p_Amount; - END IF; - - RETURN currencyConvert (p_Amount, p_CurFrom_ID, v_CurTo_ID, p_ConvDate, null, p_Client_ID, p_Org_ID); -END currencyBase; -/ - -SHOW ERRORS; - -CREATE OR REPLACE FUNCTION acctBalance -( - p_Account_ID IN NUMBER, - p_AmtDr IN NUMBER, - p_AmtCr IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2004 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: Acct_Balance.sql,v 1.5 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Aclculate Balance based on Account Sign + Type - * Description: - * If an account is specified and found - * - If the account sign is Natural it sets it based on Account Type - * Returns Credit or Debit Balance - * Test: - SELECT Acct_Balance (0,11,22) FROM DUAL - SELECT AccountType, AccountSign, - Acct_Balance(C_ElementValue_ID, 20, 10) "DR Balance", - Acct_Balance(C_ElementValue_ID, 10, 20) "CR Balance" - FROM C_ElementValue - WHERE AccountSign<>'N' - ORDER BY AccountSign - ************************************************************************/ -AS - v_balance NUMBER; - v_AccountType C_ElementValue.AccountType%TYPE; - v_AccountSign C_ElementValue.AccountSign%TYPE; -BEGIN - v_balance := p_AmtDr - p_AmtCr; - -- - IF (p_Account_ID > 0) THEN - SELECT AccountType, AccountSign - INTO v_AccountType, v_AccountSign - FROM C_ElementValue - WHERE C_ElementValue_ID=p_Account_ID; - -- DBMS_OUTPUT.PUT_LINE('Type=' || v_AccountType || ' - Sign=' || v_AccountSign); - -- Natural Account Sign - IF (v_AccountSign='N') THEN - IF (v_AccountType IN ('A','E')) THEN - v_AccountSign := 'D'; - ELSE - v_AccountSign := 'C'; - END IF; - -- DBMS_OUTPUT.PUT_LINE('Type=' || v_AccountType || ' - Sign=' || v_AccountSign); - END IF; - -- Debit Balance - IF (v_AccountSign = 'C') THEN - v_balance := p_AmtCr - p_AmtDr; - END IF; - END IF; - -- - RETURN v_balance; -EXCEPTION WHEN OTHERS THEN - -- In case Acct not found - RETURN p_AmtDr - p_AmtCr; -END acctBalance; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomQtyOnHand -( - Product_ID IN NUMBER, - Warehouse_ID IN NUMBER, - Locator_ID IN NUMBER -- Only used, if warehouse is null -) -RETURN NUMBER -/****************************************************************************** - * ** Compiere Product ** Copyright (c) 1999-2001 Accorto, Inc. USA - * Open Source Software Provided "AS IS" without warranty or liability - * When you use any parts (changed or unchanged), add "Powered by Compiere" to - * your product name; See license details http://www.compiere.org/license.html - ****************************************************************************** - * Return quantity on hand for BOM - */ -AS - myWarehouse_ID NUMBER; - Quantity NUMBER := 99999; -- unlimited - IsBOM CHAR(1); - IsStocked CHAR(1); - ProductType CHAR(1); - ProductQty NUMBER; - StdPrecision NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=Product_ID; - -- -BEGIN - -- Check Parameters - myWarehouse_ID := Warehouse_ID; - IF (myWarehouse_ID IS NULL) THEN - IF (Locator_ID IS NULL) THEN - RETURN 0; - ELSE - SELECT SUM(M_Warehouse_ID) INTO myWarehouse_ID - FROM M_Locator - WHERE M_Locator_ID=Locator_ID; - END IF; - END IF; - IF (myWarehouse_ID IS NULL) THEN - RETURN 0; - END IF; --- DBMS_OUTPUT.PUT_LINE('Warehouse=' || myWarehouse_ID); - - -- Check, if product exists and if it is stocked - BEGIN - SELECT IsBOM, ProductType, IsStocked - INTO IsBOM, ProductType, IsStocked - FROM M_Product - WHERE M_Product_ID=Product_ID; - -- - EXCEPTION -- not found - WHEN OTHERS THEN - RETURN 0; - END; - -- Unimited capacity if no item - IF (IsBOM='N' AND (ProductType<>'I' OR IsStocked='N')) THEN - RETURN Quantity; - -- Stocked item - ELSIF (IsStocked='Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyOnHand), 0) - INTO ProductQty - FROM M_Storage s - WHERE M_Product_ID=Product_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=myWarehouse_ID); - -- - -- DBMS_OUTPUT.PUT_LINE('Qty=' || ProductQty); - RETURN ProductQty; - END IF; - - -- Go though BOM --- DBMS_OUTPUT.PUT_LINE('BOM'); - FOR bom IN CUR_BOM LOOP - -- Stocked Items "leaf node" - IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyOnHand), 0) - INTO ProductQty - FROM M_Storage s - WHERE M_Product_ID=bom.M_ProductBOM_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=myWarehouse_ID); - -- Get Rounding Precision - SELECT NVL(MAX(u.StdPrecision), 0) - INTO StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; - -- How much can we make with this product - ProductQty := ROUND (ProductQty/bom.BOMQty, StdPrecision); - -- How much can we make overall - IF (ProductQty < Quantity) THEN - Quantity := ProductQty; - END IF; - -- Another BOM - ELSIF (bom.IsBOM = 'Y') THEN - ProductQty := bomQtyOnHand (bom.M_ProductBOM_ID, myWarehouse_ID, Locator_ID); - -- How much can we make overall - IF (ProductQty < Quantity) THEN - Quantity := ProductQty; - END IF; - END IF; - END LOOP; -- BOM - - IF (Quantity > 0) THEN - -- Get Rounding Precision for Product - SELECT NVL(MAX(u.StdPrecision), 0) - INTO StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=Product_ID; - -- - RETURN ROUND (Quantity, StdPrecision); - END IF; - RETURN 0; -END bomQtyOnHand; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomQtyReserved -( - p_Product_ID IN NUMBER, - p_Warehouse_ID IN NUMBER, - p_Locator_ID IN NUMBER -- Only used, if warehouse is null -) -RETURN NUMBER -/****************************************************************************** - * ** Compiere Product ** Copyright (c) 1999-2001 Accorto, Inc. USA - * Open Source Software Provided "AS IS" without warranty or liability - * When you use any parts (changed or unchanged), add "Powered by Compiere" to - * your product name; See license details http://www.compiere.org/license.html - ****************************************************************************** - * Return quantity reserved for BOM - */ -AS - v_Warehouse_ID NUMBER; - v_Quantity NUMBER := 99999; -- unlimited - v_IsBOM CHAR(1); - v_IsStocked CHAR(1); - v_ProductType CHAR(1); - v_ProductQty NUMBER; - v_StdPrecision NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=p_Product_ID; - -- -BEGIN - -- Check Parameters - v_Warehouse_ID := p_Warehouse_ID; - IF (v_Warehouse_ID IS NULL) THEN - IF (p_Locator_ID IS NULL) THEN - RETURN 0; - ELSE - SELECT MAX(M_Warehouse_ID) INTO v_Warehouse_ID - FROM M_Locator - WHERE M_Locator_ID=p_Locator_ID; - END IF; - END IF; - IF (v_Warehouse_ID IS NULL) THEN - RETURN 0; - END IF; --- DBMS_OUTPUT.PUT_LINE('Warehouse=' || v_Warehouse_ID); - - -- Check, if product exists and if it is stocked - BEGIN - SELECT IsBOM, ProductType, IsStocked - INTO v_IsBOM, v_ProductType, v_IsStocked - FROM M_Product - WHERE M_Product_ID=p_Product_ID; - -- - EXCEPTION -- not found - WHEN OTHERS THEN - RETURN 0; - END; - - -- No reservation for non-stocked - IF (v_IsBOM='N' AND (v_ProductType<>'I' OR v_IsStocked='N')) THEN - RETURN 0; - -- Stocked item - ELSIF (v_IsStocked='Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyReserved), 0) - INTO v_ProductQty - FROM M_Storage s - WHERE M_Product_ID=p_Product_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=v_Warehouse_ID); - -- - RETURN v_ProductQty; - END IF; - - -- Go though BOM --- DBMS_OUTPUT.PUT_LINE('BOM'); - FOR bom IN CUR_BOM LOOP - -- Stocked Items "leaf node" - IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyReserved), 0) - INTO v_ProductQty - FROM M_Storage s - WHERE M_Product_ID=bom.M_ProductBOM_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=v_Warehouse_ID); - -- Get Rounding Precision - SELECT NVL(MAX(u.StdPrecision), 0) - INTO v_StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; - -- How much can we make with this product - v_ProductQty := ROUND (v_ProductQty/bom.BOMQty, v_StdPrecision); - -- How much can we make overall - IF (v_ProductQty < v_Quantity) THEN - v_Quantity := v_ProductQty; - END IF; - -- Another BOM - ELSIF (bom.IsBOM = 'Y') THEN - v_ProductQty := bomQtyReserved (bom.M_ProductBOM_ID, v_Warehouse_ID, p_Locator_ID); - -- How much can we make overall - IF (v_ProductQty < v_Quantity) THEN - v_Quantity := v_ProductQty; - END IF; - END IF; - END LOOP; -- BOM - - -- Unlimited (e.g. only services) - IF (v_Quantity = 99999) THEN - RETURN 0; - END IF; - - IF (v_Quantity > 0) THEN - -- Get Rounding Precision for Product - SELECT NVL(MAX(u.StdPrecision), 0) - INTO v_StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=p_Product_ID; - -- - RETURN ROUND (v_Quantity, v_StdPrecision); - END IF; - RETURN 0; -END bomQtyReserved; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomPriceLimit -( - Product_ID IN NUMBER, - PriceList_Version_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2002 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: BOM_PriceLimit.sql,v 1.4 2005/02/04 16:33:46 jjanke Exp $ - *** - * Title: Return Limit Price of Product/BOM - * Description: - * if not found: 0 - ************************************************************************/ -AS - v_Price NUMBER; - v_ProductPrice NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=Product_ID; - -- -BEGIN - -- Try to get price from PriceList directly - SELECT COALESCE (SUM(PriceLimit), 0) - INTO v_Price - FROM M_ProductPrice - WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; --- DBMS_OUTPUT.PUT_LINE('Price=' || v_Price); - - -- No Price - Check if BOM - IF (v_Price = 0) THEN - FOR bom IN CUR_BOM LOOP - v_ProductPrice := bomPriceLimit (bom.M_ProductBOM_ID, PriceList_Version_ID); - v_Price := v_Price + (bom.BOMQty * v_ProductPrice); - END LOOP; - END IF; - -- - RETURN v_Price; -END bomPriceLimit; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomPriceList -( - Product_ID IN NUMBER, - PriceList_Version_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2002 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: BOM_PriceList.sql,v 1.4 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Return List Price of Product/BOM - * Description: - * if not found: 0 - ************************************************************************/ -AS - v_Price NUMBER; - v_ProductPrice NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=Product_ID; - -- -BEGIN - -- Try to get price from pricelist directly - SELECT COALESCE (SUM(PriceList), 0) - INTO v_Price - FROM M_ProductPrice - WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; --- DBMS_OUTPUT.PUT_LINE('Price=' || Price); - - -- No Price - Check if BOM - IF (v_Price = 0) THEN - FOR bom IN CUR_BOM LOOP - v_ProductPrice := bomPriceList (bom.M_ProductBOM_ID, PriceList_Version_ID); - v_Price := v_Price + (bom.BOMQty * v_ProductPrice); - -- DBMS_OUTPUT.PUT_LINE('Qry=' || bom.BOMQty || ' @ ' || v_ProductPrice || ', Price=' || v_Price); - END LOOP; -- BOM - END IF; - -- - RETURN v_Price; -END bomPriceList; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomQtyAvailable -( - Product_ID IN NUMBER, - Warehouse_ID IN NUMBER, - Locator_ID IN NUMBER -- Only used, if warehouse is null -) -RETURN NUMBER -/****************************************************************************** - * ** Compiere Product ** Copyright (c) 1999-2001 Accorto, Inc. USA - * Open Source Software Provided "AS IS" without warranty or liability - * When you use any parts (changed or unchanged), add "Powered by Compiere" to - * your product name; See license details http://www.compiere.org/license.html - ****************************************************************************** - * Return quantity available for BOM - */ -AS -BEGIN - RETURN bomQtyOnHand(Product_ID, Warehouse_ID, Locator_ID) - - bomQtyReserved(Product_ID, Warehouse_ID, Locator_ID); -END bomQtyAvailable; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomPriceStd -( - Product_ID IN NUMBER, - PriceList_Version_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2002 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: BOM_PriceStd.sql,v 1.4 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Return Standard Price of Product/BOM - * Description: - * if not found: 0 - ************************************************************************/ -AS - v_Price NUMBER; - v_ProductPrice NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=Product_ID; - -- -BEGIN - -- Try to get price from pricelist directly - SELECT COALESCE(SUM(PriceStd), 0) - INTO v_Price - FROM M_ProductPrice - WHERE M_PriceList_Version_ID=PriceList_Version_ID AND M_Product_ID=Product_ID; --- DBMS_OUTPUT.PUT_LINE('Price=' || v_Price); - - -- No Price - Check if BOM - IF (v_Price = 0) THEN - FOR bom IN CUR_BOM LOOP - v_ProductPrice := bomPriceStd (bom.M_ProductBOM_ID, PriceList_Version_ID); - v_Price := v_Price + (bom.BOMQty * v_ProductPrice); - -- DBMS_OUTPUT.PUT_LINE('Price=' || v_Price); - END LOOP; -- BOM - END IF; - -- - RETURN v_Price; -END bomPriceStd; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION invoiceDiscount -( - p_C_Invoice_ID IN NUMBER, - p_PayDate IN DATE, - p_C_InvoicePaySchedule_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Invoice_Discount.sql,v 1.6 2005/07/24 19:37:42 jjanke Exp $ - *** - * Title: Calculate Payment Discount Amount - * Description: - * - Calculate discountable amount (i.e. with or without tax) - * - Calculate and return payment discount - ************************************************************************/ -AS - v_Amount NUMBER; - v_IsDiscountLineAmt CHAR(1); - v_GrandTotal NUMBER; - v_TotalLines NUMBER; - v_C_PaymentTerm_ID NUMBER(10); - v_DocDate DATE; - v_PayDate DATE := SysDate; - v_IsPayScheduleValid CHAR(1); - -BEGIN - SELECT ci.IsDiscountLineAmt, i.GrandTotal, i.TotalLines, - i.C_PaymentTerm_ID, i.DateInvoiced, i.IsPayScheduleValid - INTO v_IsDiscountLineAmt, v_GrandTotal, v_TotalLines, - v_C_PaymentTerm_ID, v_DocDate, v_IsPayScheduleValid - FROM AD_ClientInfo ci, C_Invoice i - WHERE ci.AD_Client_ID=i.AD_Client_ID - AND i.C_Invoice_ID=p_C_Invoice_ID; - -- What Amount is the Discount Base? - IF (v_IsDiscountLineAmt = 'Y') THEN - v_Amount := v_TotalLines; - ELSE - v_Amount := v_GrandTotal; - END IF; - - -- Anything to discount? - IF (v_Amount = 0) THEN - RETURN 0; - END IF; - IF (p_PayDate IS NOT NULL) THEN - v_PayDate := p_PayDate; - END IF; - - -- Valid Payment Schedule - IF (v_IsPayScheduleValid='Y' AND p_C_InvoicePaySchedule_ID > 0) THEN - SELECT COALESCE(MAX(DiscountAmt),0) - INTO v_Amount - FROM C_InvoicePaySchedule - WHERE C_InvoicePaySchedule_ID=p_C_InvoicePaySchedule_ID - AND DiscountDate <= v_PayDate; - -- - RETURN v_Amount; - END IF; - - -- return discount amount - RETURN paymentTermDiscount (v_Amount, 0, v_C_PaymentTerm_ID, v_DocDate, p_PayDate); - --- Most likely if invoice not found -EXCEPTION - WHEN OTHERS THEN - RETURN NULL; -END invoiceDiscount; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION invoiceOpen -( - p_C_Invoice_ID IN NUMBER, - p_C_InvoicePaySchedule_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Invoice_Open.sql,v 1.16 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Calculate Open Item Amount in Invoice Currency - * Description: - * Add up total amount open for C_Invoice_ID if no split payment. - * Grand Total minus Sum of Allocations in Invoice Currency - * - * For Split Payments: - * Allocate Payments starting from first schedule. - -SELECT C_Invoice_Open (109) FROM DUAL; -SELECT C_Invoice_Open (109, null) FROM DUAL; -SELECT C_Invoice_Open (109, 11) FROM DUAL; -SELECT C_Invoice_Open (109, 102) FROM DUAL; -SELECT C_Invoice_Open (109, 103) FROM DUAL; -SELECT * FROM RV_OpenItem WHERE C_Invoice_ID=109; -SELECT C_InvoicePaySchedule_ID, DueAmt FROM C_InvoicePaySchedule WHERE C_Invoice_ID=109 ORDER BY DueDate; - - * Cannot be used for IsPaid as mutating - ************************************************************************/ -AS - v_Currency_ID NUMBER(10); - v_TotalOpenAmt NUMBER := 0; - v_PaidAmt NUMBER := 0; - v_Remaining NUMBER := 0; - v_MultiplierAP NUMBER := 0; - v_MultiplierCM NUMBER := 0; - v_Temp NUMBER := 0; - -- - CURSOR Cur_Alloc IS - SELECT a.AD_Client_ID, a.AD_Org_ID, - al.Amount, al.DiscountAmt, al.WriteOffAmt, - a.C_Currency_ID, a.DateTrx - FROM C_AllocationLine al - INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) - WHERE al.C_Invoice_ID = p_C_Invoice_ID - AND a.IsActive='Y'; - -- - CURSOR Cur_PaySchedule IS - SELECT C_InvoicePaySchedule_ID, DueAmt - FROM C_InvoicePaySchedule - WHERE C_Invoice_ID = p_C_Invoice_ID - AND IsValid='Y' - ORDER BY DueDate; - -BEGIN - -- Get Currency - BEGIN - SELECT MAX(C_Currency_ID), SUM(GrandTotal), MAX(MultiplierAP), MAX(Multiplier) - INTO v_Currency_ID, v_TotalOpenAmt, v_MultiplierAP, v_MultiplierCM - FROM C_Invoice_v -- corrected for CM / Split Payment - WHERE C_Invoice_ID = p_C_Invoice_ID; - EXCEPTION -- Invoice in draft form - WHEN OTHERS THEN - DBMS_OUTPUT.PUT_LINE('InvoiceOpen - ' || SQLERRM); - RETURN NULL; - END; --- DBMS_OUTPUT.PUT_LINE('== C_Invoice_ID=' || p_C_Invoice_ID || ', Total=' || v_TotalOpenAmt || ', AP=' || v_MultiplierAP || ', CM=' || v_MultiplierCM); - - -- Calculate Allocated Amount - FOR a IN Cur_Alloc LOOP - v_Temp := a.Amount + a.DisCountAmt + a.WriteOffAmt; - v_PaidAmt := v_PaidAmt - -- Allocation - + currencyConvert(v_Temp * v_MultiplierAP, - a.C_Currency_ID, v_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); - DBMS_OUTPUT.PUT_LINE(' PaidAmt=' || v_PaidAmt || ', Allocation=' || v_Temp || ' * ' || v_MultiplierAP); - END LOOP; - - -- Do we have a Payment Schedule ? - IF (p_C_InvoicePaySchedule_ID > 0) THEN -- if not valid = lists invoice amount - v_Remaining := v_PaidAmt; - FOR s IN Cur_PaySchedule LOOP - IF (s.C_InvoicePaySchedule_ID = p_C_InvoicePaySchedule_ID) THEN - v_TotalOpenAmt := (s.DueAmt*v_MultiplierCM) + v_Remaining; - IF (s.DueAmt - v_Remaining < 0) THEN - v_TotalOpenAmt := 0; - END IF; - -- DBMS_OUTPUT.PUT_LINE('Sched Total=' || v_TotalOpenAmt || ', Due=' || s.DueAmt || ',Remaining=' || v_Remaining || ',CM=' || v_MultiplierCM); - ELSE -- calculate amount, which can be allocated to next schedule - v_Remaining := v_Remaining - s.DueAmt; - IF (v_Remaining < 0) THEN - v_Remaining := 0; - END IF; - -- DBMS_OUTPUT.PUT_LINE('Remaining=' || v_Remaining); - END IF; - END LOOP; - ELSE - v_TotalOpenAmt := v_TotalOpenAmt - v_PaidAmt; - END IF; --- DBMS_OUTPUT.PUT_LINE('== Total=' || v_TotalOpenAmt); - - -- Ignore Rounding - IF (v_TotalOpenAmt BETWEEN -0.00999 AND 0.00999) THEN - v_TotalOpenAmt := 0; - END IF; - - -- Round to penny - v_TotalOpenAmt := ROUND(COALESCE(v_TotalOpenAmt,0), 2); - RETURN v_TotalOpenAmt; -END invoiceOpen; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION invoicePaid -( - p_C_Invoice_ID IN NUMBER, - p_C_Currency_ID IN NUMBER, - p_MultiplierAP IN NUMBER -- DEFAULT 1 -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Invoice_Paid.sql,v 1.14 2005/04/27 17:48:07 jjanke Exp $ - *** - * Title: Calculate Paid/Allocated amount in Currency - * Description: - * Add up total amount paid for for C_Invoice_ID. - * Split Payments are ignored. - * all allocation amounts converted to invoice C_Currency_ID - * round it to the nearest cent - * and adjust for CreditMemos by using C_Invoice_v - * and for Payments with the multiplierAP (-1, 1) - * - SELECT C_Invoice_ID, IsPaid, IsSOTrx, GrandTotal, - C_Invoice_Paid (C_Invoice_ID, C_Currency_ID, MultiplierAP) - FROM C_Invoice_v; - -- - UPDATE C_Invoice_v1 - SET IsPaid = CASE WHEN C_Invoice_Paid(C_Invoice_ID,C_Currency_ID,MultiplierAP)=GrandTotal THEN 'Y' ELSE 'N' END - WHERE C_Invoice_ID>1000000 - * - ************************************************************************/ -AS - v_MultiplierAP NUMBER := 1; - v_PaymentAmt NUMBER := 0; - CURSOR Cur_Alloc IS - SELECT a.AD_Client_ID, a.AD_Org_ID, - al.Amount, al.DiscountAmt, al.WriteOffAmt, - a.C_Currency_ID, a.DateTrx - FROM C_AllocationLine al - INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) - WHERE al.C_Invoice_ID = p_C_Invoice_ID - AND a.IsActive='Y'; -BEGIN - -- Default - IF (p_MultiplierAP IS NOT NULL) THEN - v_MultiplierAP := p_MultiplierAP; - END IF; - -- Calculate Allocated Amount - FOR a IN Cur_Alloc LOOP - v_PaymentAmt := v_PaymentAmt - + currencyConvert(a.Amount + a.DisCountAmt + a.WriteOffAmt, - a.C_Currency_ID, p_C_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); - END LOOP; - -- - RETURN ROUND(NVL(v_PaymentAmt,0), 2) * v_MultiplierAP; -END invoicePaid; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION paymentAllocated -( - p_C_Payment_ID IN NUMBER, - p_C_Currency_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Payment_Allocated.sql,v 1.8 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Calculate Allocated Payment Amount in Payment Currency - * Description: - -- - SELECT C_Payment_Allocated(C_Payment_ID,C_Currency_ID), PayAmt, IsAllocated - FROM C_Payment_v - WHERE C_Payment_ID>=1000000; - -- - UPDATE C_Payment_v - SET IsAllocated=CASE WHEN C_Payment_Allocated(C_Payment_ID, C_Currency_ID)=PayAmt THEN 'Y' ELSE 'N' END - WHERE C_Payment_ID>=1000000; - - ************************************************************************/ -AS - v_AllocatedAmt NUMBER := 0; - v_PayAmt NUMBER; - CURSOR Cur_Alloc IS - SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx - FROM C_AllocationLine al - INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) - WHERE al.C_Payment_ID = p_C_Payment_ID - AND a.IsActive='Y'; - -- AND al.C_Invoice_ID IS NOT NULL; -BEGIN - -- Charge - nothing available - SELECT MAX(PayAmt) - INTO v_PayAmt - FROM C_Payment - WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; - IF (v_PayAmt IS NOT NULL) THEN - RETURN 0; - END IF; - - -- Calculate Allocated Amount - FOR a IN Cur_Alloc LOOP - v_AllocatedAmt := v_AllocatedAmt - + currencyConvert(a.Amount, a.C_Currency_ID, p_C_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); - END LOOP; - -- Round to penny - v_AllocatedAmt := ROUND(NVL(v_AllocatedAmt,0), 2); - RETURN v_AllocatedAmt; -END paymentAllocated; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bomQtyOrdered -( - p_Product_ID IN NUMBER, - p_Warehouse_ID IN NUMBER, - p_Locator_ID IN NUMBER -- Only used, if warehouse is null -) -RETURN NUMBER -/****************************************************************************** - * ** Compiere Product ** Copyright (c) 1999-2001 Accorto, Inc. USA - * Open Source Software Provided "AS IS" without warranty or liability - * When you use any parts (changed or unchanged), add "Powered by Compiere" to - * your product name; See license details http://www.compiere.org/license.html - ****************************************************************************** - * Return quantity ordered for BOM - */ -AS - v_Warehouse_ID NUMBER; - v_Quantity NUMBER := 99999; -- unlimited - v_IsBOM CHAR(1); - v_IsStocked CHAR(1); - v_ProductType CHAR(1); - v_ProductQty NUMBER; - v_StdPrecision NUMBER; - -- Get BOM Product info - CURSOR CUR_BOM IS - SELECT b.M_ProductBOM_ID, b.BOMQty, p.IsBOM, p.IsStocked, p.ProductType - FROM M_Product_BOM b, M_Product p - WHERE b.M_ProductBOM_ID=p.M_Product_ID - AND b.M_Product_ID=p_Product_ID; - -- -BEGIN - -- Check Parameters - v_Warehouse_ID := p_Warehouse_ID; - IF (v_Warehouse_ID IS NULL) THEN - IF (p_Locator_ID IS NULL) THEN - RETURN 0; - ELSE - SELECT MAX(M_Warehouse_ID) INTO v_Warehouse_ID - FROM M_Locator - WHERE M_Locator_ID=p_Locator_ID; - END IF; - END IF; - IF (v_Warehouse_ID IS NULL) THEN - RETURN 0; - END IF; --- DBMS_OUTPUT.PUT_LINE('Warehouse=' || v_Warehouse_ID); - - -- Check, if product exists and if it is stocked - BEGIN - SELECT IsBOM, ProductType, IsStocked - INTO v_IsBOM, v_ProductType, v_IsStocked - FROM M_Product - WHERE M_Product_ID=p_Product_ID; - -- - EXCEPTION -- not found - WHEN OTHERS THEN - RETURN 0; - END; - - -- No reservation for non-stocked - IF (v_IsBOM='N' AND (v_ProductType<>'I' OR v_IsStocked='N')) THEN - RETURN 0; - -- Stocked item - ELSIF (v_IsStocked='Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyOrdered), 0) - INTO v_ProductQty - FROM M_Storage s - WHERE M_Product_ID=p_Product_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=v_Warehouse_ID); - -- - RETURN v_ProductQty; - END IF; - - -- Go though BOM --- DBMS_OUTPUT.PUT_LINE('BOM'); - FOR bom IN CUR_BOM LOOP - -- Stocked Items "leaf node" - IF (bom.ProductType = 'I' AND bom.IsStocked = 'Y') THEN - -- Get ProductQty - SELECT NVL(SUM(QtyOrdered), 0) - INTO v_ProductQty - FROM M_Storage s - WHERE M_Product_ID=bom.M_ProductBOM_ID - AND EXISTS (SELECT * FROM M_Locator l WHERE s.M_Locator_ID=l.M_Locator_ID - AND l.M_Warehouse_ID=v_Warehouse_ID); - -- Get Rounding Precision - SELECT NVL(MAX(u.StdPrecision), 0) - INTO v_StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=bom.M_ProductBOM_ID; - -- How much can we make with this product - v_ProductQty := ROUND (v_ProductQty/bom.BOMQty, v_StdPrecision); - -- How much can we make overall - IF (v_ProductQty < v_Quantity) THEN - v_Quantity := v_ProductQty; - END IF; - -- Another BOM - ELSIF (bom.IsBOM = 'Y') THEN - v_ProductQty := bomQtyOrdered (bom.M_ProductBOM_ID, v_Warehouse_ID, p_Locator_ID); - -- How much can we make overall - IF (v_ProductQty < v_Quantity) THEN - v_Quantity := v_ProductQty; - END IF; - END IF; - END LOOP; -- BOM - - -- Unlimited (e.g. only services) - IF (v_Quantity = 99999) THEN - RETURN 0; - END IF; - - IF (v_Quantity > 0) THEN - -- Get Rounding Precision for Product - SELECT NVL(MAX(u.StdPrecision), 0) - INTO v_StdPrecision - FROM C_UOM u, M_Product p - WHERE u.C_UOM_ID=p.C_UOM_ID AND p.M_Product_ID=p_Product_ID; - -- - RETURN ROUND (v_Quantity, v_StdPrecision); - END IF; - -- - RETURN 0; -END bomQtyOrdered; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION paymentAvailable -( - p_C_Payment_ID IN NUMBER -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_Payment_Available.sql,v 1.10 2005/02/04 16:33:46 jjanke Exp $ - *** - * Title: Calculate Available Payment Amount in Payment Currency - * Description: - * similar to C_Invoice_Open - ************************************************************************/ -AS - v_Currency_ID NUMBER(10); - v_AvailableAmt NUMBER := 0; - v_IsReceipt C_Payment.IsReceipt%TYPE; - v_Amt NUMBER := 0; - CURSOR Cur_Alloc IS - SELECT a.AD_Client_ID, a.AD_Org_ID, al.Amount, a.C_Currency_ID, a.DateTrx - FROM C_AllocationLine al - INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID) - WHERE al.C_Payment_ID = p_C_Payment_ID - AND a.IsActive='Y'; - -- AND al.C_Invoice_ID IS NOT NULL; -BEGIN - -- Charge - fully allocated - SELECT MAX(PayAmt) - INTO v_Amt - FROM C_Payment - WHERE C_Payment_ID=p_C_Payment_ID AND C_Charge_ID > 0; - IF (v_Amt IS NOT NULL) THEN - RETURN v_Amt; - END IF; - - -- Get Currency - SELECT C_Currency_ID, PayAmt, IsReceipt - INTO v_Currency_ID, v_AvailableAmt, v_IsReceipt - FROM C_Payment_v -- corrected for AP/AR - WHERE C_Payment_ID = p_C_Payment_ID; --- DBMS_OUTPUT.PUT_LINE('== C_Payment_ID=' || p_C_Payment_ID || ', PayAmt=' || v_AvailableAmt || ', Receipt=' || v_IsReceipt); - - -- Calculate Allocated Amount - FOR a IN Cur_Alloc LOOP - v_Amt := currencyConvert(a.Amount, a.C_Currency_ID, v_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID); - v_AvailableAmt := v_AvailableAmt - v_Amt; --- DBMS_OUTPUT.PUT_LINE(' Allocation=' || a.Amount || ' - Available=' || v_AvailableAmt); - END LOOP; - -- Ignore Rounding - IF (v_AvailableAmt BETWEEN -0.00999 AND 0.00999) THEN - v_AvailableAmt := 0; - END IF; - -- Round to penny - v_AvailableAmt := ROUND(NVL(v_AvailableAmt,0), 2); - RETURN v_AvailableAmt; -END paymentAvailable; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION productAttribute -( - p_M_AttributeSetInstance_ID IN NUMBER -) -RETURN NVARCHAR2 -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: M_Attribute_Name.sql,v 1.4 2005/10/11 02:28:41 jjanke Exp $ - *** - * Title: Return Instance Attribute Info - * Description: - * - * Test: - SELECT M_Attribute_Name (M_AttributeSetInstance_ID) - FROM M_InOutLine WHERE M_AttributeSetInstance_ID > 0 - -- - SELECT p.Name - FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); - SELECT p.Name || M_Attribute_Name (il.M_AttributeSetInstance_ID) - FROM C_InvoiceLine il LEFT OUTER JOIN M_Product p ON (il.M_Product_ID=p.M_Product_ID); - - ************************************************************************/ -AS - v_Name NVARCHAR2(2000) := NULL; - v_NameAdd NVARCHAR2(2000) := ''; - -- - v_Lot M_AttributeSetInstance.Lot%TYPE; - v_LotStart M_AttributeSet.LotCharSOverwrite%TYPE; - v_LotEnd M_AttributeSet.LotCharEOverwrite%TYPE; - v_SerNo M_AttributeSetInstance.SerNo%TYPE; - v_SerNoStart M_AttributeSet.SerNoCharSOverwrite%TYPE; - v_SerNoEnd M_AttributeSet.SerNoCharEOverwrite%TYPE; - v_GuaranteeDate M_AttributeSetInstance.GuaranteeDate%TYPE; - -- - CURSOR CUR_Attributes IS - SELECT ai.Value, a.Name - FROM M_AttributeInstance ai - INNER JOIN M_Attribute a ON (ai.M_Attribute_ID=a.M_Attribute_ID AND a.IsInstanceAttribute='Y') - WHERE ai.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID; - -BEGIN -/* -- Get Product Name - SELECT Name - INTO v_Name - FROM M_Product WHERE M_Product_ID=p_M_Product_ID; -*/ - -- Get Product Attribute Set Instance - IF (p_M_AttributeSetInstance_ID > 0) THEN - SELECT asi.Lot, asi.SerNo, asi.GuaranteeDate, - COALESCE(a.SerNoCharSOverwrite, N'#'), COALESCE(a.SerNoCharEOverwrite, N''), - COALESCE(a.LotCharSOverwrite, N'«'), COALESCE(a.LotCharEOverwrite, N'»') - INTO v_Lot, v_SerNo, v_GuaranteeDate, - v_SerNoStart, v_SerNoEnd, v_LotStart, v_LotEnd - FROM M_AttributeSetInstance asi - INNER JOIN M_AttributeSet a ON (asi.M_AttributeSet_ID=a.M_AttributeSet_ID) - WHERE asi.M_AttributeSetInstance_ID=p_M_AttributeSetInstance_ID; - -- - IF (v_SerNo IS NOT NULL) THEN - v_NameAdd := v_NameAdd || v_SerNoStart || v_SerNo || v_SerNoEnd || ' '; - END IF; - IF (v_Lot IS NOT NULL) THEN - v_NameAdd := v_NameAdd || v_LotStart || v_Lot || v_LotEnd || ' '; - END IF; - IF (v_GuaranteeDate IS NOT NULL) THEN - v_NameAdd := v_NameAdd || v_GuaranteeDate || ' '; - END IF; - -- - FOR a IN CUR_Attributes LOOP - v_NameAdd := v_NameAdd || a.Name || ':' || a.Value || ' '; - END LOOP; - -- - IF (LENGTH(v_NameAdd) > 0) THEN - v_Name := v_Name || ' (' || TRIM(v_NameAdd) || ')'; - END IF; - END IF; - - RETURN v_Name; -END productAttribute; -/ - -SHOW ERRORS; - -/* This object may not be sorted properly in the script due to cirular references */ -CREATE OR REPLACE FUNCTION bpartnerRemitLocation -( - p_C_BPartner_ID C_BPartner.C_BPartner_ID%TYPE -) -RETURN NUMBER -/************************************************************************* - * The contents of this file are subject to the Compiere License. You may - * obtain a copy of the License at http://www.compiere.org/license.html - * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either - * express or implied. See the License for details. Code: Compiere ERP+CRM - * Copyright (C) 1999-2002 Jorg Janke, ComPiere, Inc. All Rights Reserved. - ************************************************************************* - * $Id: C_BPartner_RemitLocation.SQL,v 1.3 2005/02/04 16:33:47 jjanke Exp $ - *** - * Title: Return the first RemitTo C_Location_ID of a Business Partner - * Description: - * - ************************************************************************/ -AS - v_C_Location_ID NUMBER := NULL; - CURSOR CUR_BPLoc IS - SELECT IsRemitTo, C_Location_ID - FROM C_BPartner_Location - WHERE C_BPartner_ID=p_C_BPartner_ID - ORDER BY IsRemitTo DESC; -BEGIN - FOR l IN CUR_BPLoc LOOP - IF (v_C_Location_ID IS NULL) THEN - v_C_Location_ID := l.C_Location_ID; - END IF; - END LOOP; - RETURN v_C_Location_ID; -END bpartnerRemitLocation; -/ - -SHOW ERRORS; - -ALTER PROCEDURE M_PriceList_Create COMPILE; -SHOW ERRORS; - -ALTER PROCEDURE M_Production_Run COMPILE; -SHOW ERRORS; - -ALTER PROCEDURE T_InventoryValue_Create COMPILE; -SHOW ERRORS; - --- --- VIEWS --- -ALTER VIEW C_Invoice_LineTax_v COMPILE; -SHOW ERRORS; - -ALTER VIEW C_Invoice_LineTax_vt COMPILE; -SHOW ERRORS; - -ALTER VIEW C_Order_LineTax_v COMPILE; -SHOW ERRORS; - -ALTER VIEW C_Order_LineTax_vt COMPILE; -SHOW ERRORS; - -ALTER VIEW C_PaySelection_Check_v COMPILE; -SHOW ERRORS; - -ALTER VIEW C_PaySelection_Check_vt COMPILE; -SHOW ERRORS; - -ALTER VIEW C_RfQResponseLine_v COMPILE; -SHOW ERRORS; - -ALTER VIEW C_RfQResponseLine_vt COMPILE; -SHOW ERRORS; - -ALTER VIEW M_InOut_Line_v COMPILE; -SHOW ERRORS; - -ALTER VIEW M_InOut_Line_vt COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_BPartnerOpen COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_Cash_Detail COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_InvoiceLine COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_CustomerProdQtr COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_CustomerVendQtr COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_Day COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_Month COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_ProdMonth COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_ProductMonth COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_ProductQtr COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_ProdWeek COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_VendorMonth COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_C_Invoice_Week COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_InOutDetails COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_OpenItem COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_OrderDetail COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_Payment COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_ProjectCycle COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_Storage COMPILE; -SHOW ERRORS; - -ALTER VIEW RV_WarehousePrice COMPILE; -SHOW ERRORS; diff --git a/migration/oracle/315-316/001_allow_silent_processes.sql b/migration/oracle/315-316/001_allow_silent_processes.sql deleted file mode 100644 index ca9ccc393d..0000000000 --- a/migration/oracle/315-316/001_allow_silent_processes.sql +++ /dev/null @@ -1,9 +0,0 @@ -Insert into "AD_REF_LIST" - ("AD_REF_LIST_ID","AD_CLIENT_ID","AD_ORG_ID","ISACTIVE","CREATED","CREATEDBY", - "UPDATED","UPDATEDBY","VALUE","NAME","DESCRIPTION","AD_REFERENCE_ID","VALIDFROM", - "VALIDTO","ENTITYTYPE") - values - (50040,0,0,'Y',to_date('02.03.07','DD.MM.RR'),0,to_date('02.03.07','DD.MM.RR'), - 0,'S','Run silently - Take Defaults',null,50007,null,null,'D'); - -COMMIT; diff --git a/migration/oracle/315-316/002_fix_language_key.sql b/migration/oracle/315-316/002_fix_language_key.sql deleted file mode 100644 index 546a11f2ee..0000000000 --- a/migration/oracle/315-316/002_fix_language_key.sql +++ /dev/null @@ -1,5 +0,0 @@ -UPDATE ad_column - SET iskey = 'N' - WHERE ad_column_id = 203; - -COMMIT ; diff --git a/migration/oracle/315-316/003_fix_typo_C_Invoice_InvoiceCollectionType.sql b/migration/oracle/315-316/003_fix_typo_C_Invoice_InvoiceCollectionType.sql deleted file mode 100644 index 54ad65a175..0000000000 --- a/migration/oracle/315-316/003_fix_typo_C_Invoice_InvoiceCollectionType.sql +++ /dev/null @@ -1,2 +0,0 @@ -UPDATE AD_Reference SET Name='C_Invoice InvoiceCollectionType' WHERE AD_Reference_ID=394; -commit; diff --git a/migration/oracle/315-316/004_fix_typo_spanish_es_MX.sql b/migration/oracle/315-316/004_fix_typo_spanish_es_MX.sql deleted file mode 100644 index a46ca9c87d..0000000000 --- a/migration/oracle/315-316/004_fix_typo_spanish_es_MX.sql +++ /dev/null @@ -1,108 +0,0 @@ -SET DEFINE OFF; -SET SQLBLANKLINES OFF; - -UPDATE ad_message_trl - SET msgtext = 'de' - WHERE ad_message_id = 620 AND ad_language = 'es_MX'; - -UPDATE ad_process_trl - SET NAME = 'Crear Columnas desde BD' - WHERE ad_process_id = 173 AND ad_language = 'es_MX'; - -UPDATE ad_field_trl - SET NAME = 'Crear Columnas desde BD' - WHERE ad_field_id = 5126 AND ad_language = 'es_MX'; - -UPDATE ad_menu_trl - SET NAME = 'Factura de solicitud' - WHERE ad_menu_id = 535 AND ad_language = 'es_MX'; - -UPDATE ad_element_trl - SET NAME = 'Dirección', - printname = 'Dirección', - description = - 'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta' - WHERE ad_element_id = 1356 AND ad_language = 'es_MX'; - -UPDATE ad_column_trl - SET NAME = 'Dirección' - WHERE ad_column_id = 5234 AND ad_language = 'es_MX'; - -UPDATE ad_field_trl - SET NAME = 'Dirección', - description = - 'Dirección de la Tarjeta de Crédito o el Poseedor de la cuenta' - WHERE ad_field_id = 4102 AND ad_language = 'es_MX'; - -UPDATE ad_element_trl - SET NAME = 'Descripción del Contacto', - printname = 'Descripción del Contacto' - WHERE ad_element_id = 1907 AND ad_language = 'es_MX'; - -UPDATE ad_field_trl - SET NAME = 'Descripción del Contacto' - WHERE ad_field_id = 5946 AND ad_language = 'es_MX'; - -UPDATE ad_workflow_trl - SET NAME = 'Configuración de Replicación', - istranslated = 'Y', - description = 'Configuración de replicación de datos', - HELP = - 'La replicación de datos le permite sincronizar datos de instancias remotas con una oficina central. Todas las acciones son inicializadas desde la oficina central.
-Sistema Central:
-- configurar el sistema con todas las organizaciones, roles, etc.
-- correr la migración para asegurar que todo esté actualizado
-- exportar el sistema central
-
-Sistema Remoto:
-- instalar la versión exacta como en el sistema central
-- importar datos del sistema central en las localizaciones remotas
-
-Sistema Central:
-- Definir Replicación por cada Remoto
-- Asegurarse que el rango de IDs es único por remoto - de lo contrario se perderán transacciones!
-- Inicialmente empezar la corrida de replicación para fijar el Remoto
-
-** Ingresar Transacciones ** -
-Sistema Central:
-- Empezar la corrida de replicación cuando se requiera'
- WHERE ad_workflow_id = 109 AND ad_language = 'es_MX';
-
-UPDATE ad_menu_trl
- SET NAME = 'Configuración de Replicación'
- WHERE ad_menu_id = 395 AND ad_language = 'es_MX';
-
-UPDATE ad_wf_node_trl
- SET HELP =
- 'Los usuarios pueden registrarse en el sistema y tener acceso a la funcionalidad via uno o más roles. Esto permite al usuario ser tratado como representante de ventas en el sistema.'
- WHERE ad_wf_node_id = 140 AND ad_language = 'es_MX';
-
-UPDATE ad_menu_trl
- SET NAME = 'Algoritmo Conciliación'
- WHERE ad_menu_id = 437 AND ad_language = 'es_MX';
-
-UPDATE ad_window_trl
- SET NAME = 'Algoritmo Conciliación'
- WHERE ad_window_id = 302 AND ad_language = 'es_MX';
-
-UPDATE ad_element_trl
- SET NAME = 'Contacto del menú',
- printname = 'Contacto del menú'
- WHERE ad_element_id = 2743 AND ad_language = 'es_MX';
-
-UPDATE ad_field_trl
- SET NAME = 'Contacto del menú'
- WHERE ad_field_id = 11559 AND ad_language = 'es_MX';
-
-UPDATE ad_menu_trl
- SET NAME = 'País, Región y Ciudad',
- description = 'Mantener países, regiones y ciudades'
- WHERE ad_menu_id = 109 AND ad_language = 'es_MX';
-
-UPDATE ad_window_trl
- SET NAME = 'País, Región y Ciudad',
- description = 'Mantener países, regiones y ciudades'
- WHERE ad_window_id = 122 AND ad_language = 'es_MX';
-
-COMMIT ;
diff --git a/migration/oracle/315-316/005_fix_INVOICEOPEN.sql b/migration/oracle/315-316/005_fix_INVOICEOPEN.sql
deleted file mode 100644
index 5ed99c97b2..0000000000
--- a/migration/oracle/315-316/005_fix_INVOICEOPEN.sql
+++ /dev/null
@@ -1,115 +0,0 @@
-CREATE OR REPLACE FUNCTION invoiceOpen
-(
- p_C_Invoice_ID IN NUMBER,
- p_C_InvoicePaySchedule_ID IN NUMBER
-)
-RETURN NUMBER
-/*************************************************************************
- * The contents of this file are subject to the Compiere License. You may
- * obtain a copy of the License at http://www.compiere.org/license.html
- * Software is on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
- * express or implied. See the License for details. Code: Compiere ERP+CRM
- * Copyright (C) 1999-2001 Jorg Janke, ComPiere, Inc. All Rights Reserved.
- *************************************************************************
- * $Id: C_Invoice_Open.sql,v 1.1 2006/04/21 17:51:58 jjanke Exp $
- ***
- * Title: Calculate Open Item Amount in Invoice Currency
- * Description:
- * Add up total amount open for C_Invoice_ID if no split payment.
- * Grand Total minus Sum of Allocations in Invoice Currency
- *
- * For Split Payments:
- * Allocate Payments starting from first schedule.
-
-SELECT C_Invoice_Open (109) FROM DUAL;
-SELECT C_Invoice_Open (109, null) FROM DUAL;
-SELECT C_Invoice_Open (109, 11) FROM DUAL;
-SELECT C_Invoice_Open (109, 102) FROM DUAL;
-SELECT C_Invoice_Open (109, 103) FROM DUAL;
-SELECT * FROM RV_OpenItem WHERE C_Invoice_ID=109;
-SELECT C_InvoicePaySchedule_ID, DueAmt FROM C_InvoicePaySchedule WHERE C_Invoice_ID=109 ORDER BY DueDate;
-
- * Cannot be used for IsPaid as mutating
- ************************************************************************/
-AS
- v_Currency_ID NUMBER(10);
- v_TotalOpenAmt NUMBER := 0;
- v_PaidAmt NUMBER := 0;
- v_Remaining NUMBER := 0;
- v_MultiplierAP NUMBER := 0;
- v_MultiplierCM NUMBER := 0;
- v_Temp NUMBER := 0;
- --
- CURSOR Cur_Alloc IS
- SELECT a.AD_Client_ID, a.AD_Org_ID,
- al.Amount, al.DiscountAmt, al.WriteOffAmt,
- a.C_Currency_ID, a.DateTrx
- FROM C_AllocationLine al
- INNER JOIN C_AllocationHdr a ON (al.C_AllocationHdr_ID=a.C_AllocationHdr_ID)
- WHERE al.C_Invoice_ID = p_C_Invoice_ID
- AND a.IsActive='Y';
- --
- CURSOR Cur_PaySchedule IS
- SELECT C_InvoicePaySchedule_ID, DueAmt
- FROM C_InvoicePaySchedule
- WHERE C_Invoice_ID = p_C_Invoice_ID
- AND IsValid='Y'
- ORDER BY DueDate;
-
-BEGIN
- -- Get Currency
- BEGIN
- SELECT MAX(C_Currency_ID), SUM(GrandTotal), MAX(MultiplierAP), MAX(Multiplier)
- INTO v_Currency_ID, v_TotalOpenAmt, v_MultiplierAP, v_MultiplierCM
- FROM C_Invoice_v -- corrected for CM / Split Payment
- WHERE C_Invoice_ID = p_C_Invoice_ID;
- EXCEPTION -- Invoice in draft form
- WHEN OTHERS THEN
- DBMS_OUTPUT.PUT_LINE('InvoiceOpen - ' || SQLERRM);
- RETURN NULL;
- END;
--- DBMS_OUTPUT.PUT_LINE('== C_Invoice_ID=' || p_C_Invoice_ID || ', Total=' || v_TotalOpenAmt || ', AP=' || v_MultiplierAP || ', CM=' || v_MultiplierCM);
-
- -- Calculate Allocated Amount
- FOR a IN Cur_Alloc LOOP
- v_Temp := a.Amount + a.DisCountAmt + a.WriteOffAmt;
- v_PaidAmt := v_PaidAmt
- -- Allocation
- + currencyConvert(v_Temp * v_MultiplierAP,
- a.C_Currency_ID, v_Currency_ID, a.DateTrx, null, a.AD_Client_ID, a.AD_Org_ID);
- DBMS_OUTPUT.PUT_LINE(' PaidAmt=' || v_PaidAmt || ', Allocation=' || v_Temp || ' * ' || v_MultiplierAP);
- END LOOP;
-
- -- Do we have a Payment Schedule ?
- IF (p_C_InvoicePaySchedule_ID > 0) THEN -- if not valid = lists invoice amount
- v_Remaining := v_PaidAmt;
- FOR s IN Cur_PaySchedule LOOP
- IF (s.C_InvoicePaySchedule_ID = p_C_InvoicePaySchedule_ID) THEN
- v_TotalOpenAmt := (s.DueAmt*v_MultiplierCM) - v_Remaining;
- IF (s.DueAmt - v_Remaining < 0) THEN
- v_TotalOpenAmt := 0;
- END IF;
- -- DBMS_OUTPUT.PUT_LINE('Sched Total=' || v_TotalOpenAmt || ', Due=' || s.DueAmt || ',Remaining=' || v_Remaining || ',CM=' || v_MultiplierCM);
- ELSE -- calculate amount, which can be allocated to next schedule
- v_Remaining := v_Remaining - s.DueAmt;
- IF (v_Remaining < 0) THEN
- v_Remaining := 0;
- END IF;
- -- DBMS_OUTPUT.PUT_LINE('Remaining=' || v_Remaining);
- END IF;
- END LOOP;
- ELSE
- v_TotalOpenAmt := v_TotalOpenAmt - v_PaidAmt;
- END IF;
--- DBMS_OUTPUT.PUT_LINE('== Total=' || v_TotalOpenAmt);
-
- -- Ignore Rounding
- IF (v_TotalOpenAmt BETWEEN -0.00999 AND 0.00999) THEN
- v_TotalOpenAmt := 0;
- END IF;
-
- -- Round to penny
- v_TotalOpenAmt := ROUND(COALESCE(v_TotalOpenAmt,0), 2);
- RETURN v_TotalOpenAmt;
-END invoiceOpen;
-/
diff --git a/migration/oracle/315-316/006_fix_RV_STORAGE.sql b/migration/oracle/315-316/006_fix_RV_STORAGE.sql
deleted file mode 100644
index 41701a40bd..0000000000
--- a/migration/oracle/315-316/006_fix_RV_STORAGE.sql
+++ /dev/null
@@ -1,32 +0,0 @@
-CREATE OR REPLACE VIEW RV_STORAGE
-(AD_CLIENT_ID, AD_ORG_ID, M_PRODUCT_ID, VALUE, NAME,
- DESCRIPTION, UPC, SKU, C_UOM_ID, M_PRODUCT_CATEGORY_ID,
- CLASSIFICATION, WEIGHT, VOLUME, VERSIONNO, GUARANTEEDAYS,
- GUARANTEEDAYSMIN, M_LOCATOR_ID, M_WAREHOUSE_ID, X, Y,
- Z, QTYONHAND, QTYRESERVED, QTYAVAILABLE, QTYORDERED,
- DATELASTINVENTORY, M_ATTRIBUTESETINSTANCE_ID, M_ATTRIBUTESET_ID, SERNO, LOT,
- M_LOT_ID, GUARANTEEDATE, SHELFLIFEDAYS, GOODFORDAYS, SHELFLIFEREMAININGPCT)
-AS
-SELECT s.AD_Client_ID, s.AD_Org_ID,
- -- Product
- s.M_Product_ID,p.Value,p.Name,p.Description,p.UPC,p.SKU,
- p.C_UOM_ID,p.M_Product_Category_ID,p.Classification, p.Weight,p.Volume,p.VersionNo,
- p.GuaranteeDays,p.GuaranteeDaysMin,
- -- Locator
- s.M_Locator_ID, l.M_Warehouse_ID, l.X, l.Y, l.Z,
- -- Storage
- s.QtyOnHand, s.QtyReserved, s.QtyOnHand-s.QtyReserved AS QtyAvailable,
- s.QtyOrdered, s.DateLastInventory,
- -- Instance
- s.M_AttributeSetInstance_ID, asi.M_AttributeSet_ID, asi.SerNo, asi.Lot, asi.M_Lot_ID,
- asi.GuaranteeDate, -- see PAttributeInstance.java
- daysBetween(asi.GuaranteeDate,getdate()) AS ShelfLifeDays,
- daysBetween(asi.GuaranteeDate,getdate())-p.GuaranteeDaysMin AS GoodForDays,
- CASE WHEN COALESCE(p.GuaranteeDays,0)>0 THEN ROUND((daysBetween(asi.GuaranteeDate,getdate())/p.GuaranteeDays)*100,0) ELSE NULL END AS ShelfLifeRemainingPct
-FROM M_Storage s
- INNER JOIN M_Locator l ON (s.M_Locator_ID=l.M_Locator_ID)
- INNER JOIN M_Product p ON (s.M_Product_ID=p.M_Product_ID)
- LEFT OUTER JOIN M_AttributeSetInstance asi ON (s.M_AttributeSetInstance_ID=asi.M_AttributeSetInstance_ID);
-
-
-
diff --git a/migration/oracle/315-316/007_fix_size_window_business_partner.sql b/migration/oracle/315-316/007_fix_size_window_business_partner.sql
deleted file mode 100644
index 0dc8ed35ad..0000000000
--- a/migration/oracle/315-316/007_fix_size_window_business_partner.sql
+++ /dev/null
@@ -1,6 +0,0 @@
-UPDATE AD_WINDOW
- SET winheight = NULL,
- winwidth = NULL
- WHERE ad_window_id = 123;
-
-COMMIT ;
\ No newline at end of file
diff --git a/migration/oracle/315-316/008_version316.sql b/migration/oracle/315-316/008_version316.sql
deleted file mode 100644
index 85e7146d71..0000000000
--- a/migration/oracle/315-316/008_version316.sql
+++ /dev/null
@@ -1,6 +0,0 @@
-UPDATE AD_SYSTEM
- SET releaseno = '316',
- VERSION = '2007-04-01'
- WHERE ad_system_id = 0 AND ad_client_id = 0;
-
-COMMIT ;
diff --git a/migration/oracle/351a-352a/185_1974950_CreateOutInvoice.sql b/migration/oracle/351a-352a/185_1974950_CreateOutInvoice.sql
deleted file mode 100644
index 7ca887d83e..0000000000
--- a/migration/oracle/351a-352a/185_1974950_CreateOutInvoice.sql
+++ /dev/null
@@ -1,125 +0,0 @@
-SET DEFINE OFF
-
-SET SQLBLANKLINES ON
-
--- May 29, 2008 11:15:59 PM CDT
--- New Form Shipments & Invoices
-INSERT INTO AD_Form (AD_Client_ID,AD_Form_ID,AD_Org_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,Name,Updated,UpdatedBy) VALUES (0,53010,0,'1','org.eevolution.form.VInOutInvoiceGen',TO_DATE('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Generate Shipments & Invoices from Orders.
-Select the orders to generate the shipments & Invoices for.','Y','N','Generate Shipments & Invoices (manual)',TO_DATE('2008-05-29 23:15:59','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- May 29, 2008 11:15:59 PM CDT
--- New Form Shipments & Invoices
-INSERT INTO AD_Form_Trl (AD_Language,AD_Form_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Form_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Form t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Form_ID=53010 AND EXISTS (SELECT * FROM AD_Form_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Form_ID!=t.AD_Form_ID)
-;
-
--- May 29, 2008 11:16:00 PM CDT
--- New Form Shipments & Invoices
-INSERT INTO AD_Form_Access (AD_Client_ID,AD_Form_ID,AD_Org_ID,AD_Role_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,53010,0,0,TO_DATE('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2008-05-29 23:16:00','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- May 29, 2008 11:18:19 PM CDT
--- New Form Shipments & Invoices
-INSERT INTO AD_Menu (AD_Client_ID,AD_Form_ID,AD_Menu_ID,AD_Org_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53010,53132,0,'X',TO_DATE('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0,'Select and generate shipments & Invoices','D','Y','N','N','N','Generate Shipments & Invoices (manual)',TO_DATE('2008-05-29 23:18:19','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- May 29, 2008 11:18:19 PM CDT
--- New Form Shipments & Invoices
-INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53132 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=346
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53132
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=193
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=180
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=494
-;
-
--- May 30, 2008 12:01:18 AM CDT
--- New Form Shipments & Invoices
-UPDATE AD_TreeNodeMM SET Parent_ID=459, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=444
-;
-
diff --git a/migration/oracle/351a-352a/188_FB1980626_BOMImplosion.sql b/migration/oracle/351a-352a/188_FB1980626_BOMImplosion.sql
deleted file mode 100644
index 8a2490cd6b..0000000000
--- a/migration/oracle/351a-352a/188_FB1980626_BOMImplosion.sql
+++ /dev/null
@@ -1,45 +0,0 @@
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Element SET ColumnName='Implosion', Name='Implosion',Updated=TO_DATE('2008-05-31 16:10:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53466
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53466
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Column SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Field SET Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53466) AND IsCentrallyMaintained='Y'
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.', AD_Element_ID=53466 WHERE UPPER(ColumnName)='IMPLOSION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_Process_Para SET ColumnName='Implosion', Name='Implosion', Description='Implosion of a Bill of Materials refers to finding all the BOM''''s in which a component is used.', Help='Commonly called a Where-Used report.' WHERE AD_Element_ID=53466 AND IsCentrallyMaintained='Y'
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_PrintFormatItem pi SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53466)
-;
-
--- May 31, 2008 4:10:49 PM CDT
--- Fix Libero
-UPDATE AD_PrintFormatItem pi SET PrintName='Implosion', Name='Implosion' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53466)
-;
-
--- May 31, 2008 4:14:43 PM CDT
--- Fix Libero
-ALTER TABLE T_BOMLine ADD Implosion CHAR(1) DEFAULT 'N' CHECK (Implosion IN ('Y','N'))
-;
-
diff --git a/migration/oracle/351a-352a/189_BF1981079_print_bom.sql b/migration/oracle/351a-352a/189_BF1981079_print_bom.sql
deleted file mode 100644
index 087bb831da..0000000000
--- a/migration/oracle/351a-352a/189_BF1981079_print_bom.sql
+++ /dev/null
@@ -1,11 +0,0 @@
--- June 1, 2008 1:20:00 PM EST
--- BF1981079 - MultiLevel BOM & Formula Detail
-DROP VIEW RV_PP_PRODUCT_BOMLINE;
-
-CREATE VIEW RV_PP_PRODUCT_BOMLINE (SEQNO, LEVELNO, LEVELS, AD_CLIENT_ID, AD_ORG_ID, CREATEDBY, UPDATEDBY, UPDATED, CREATED, AD_PINSTANCE_ID, IMPLOSION, M_PRODUCT_ID, ISACTIVE, PP_PRODUCT_BOM_ID, PP_PRODUCT_BOMLINE_ID, DESCRIPTION, ISCRITICAL, COMPONENTTYPE, TM_PRODUCT_ID, C_UOM_ID, ISSUEMETHOD, LINE, M_ATTRIBUTESETINSTANCE_ID, SCRAP, VALIDFROM, VALIDTO, QTYBOM, QTYBATCH, ISQTYPERCENTAGE) AS
- SELECT t.seqno, t.levelno, t.levels, t.ad_client_id, t.ad_org_id, t.createdby, t.updatedby, t.updated, t.created, t.ad_pinstance_id, t.implosion, t.sel_product_id, bl.isactive, bl.pp_product_bom_id, bl.pp_product_bomline_id, bl.description, bl.iscritical, bl.componenttype, t.m_product_id, bl.c_uom_id, bl.issuemethod, bl.line, bl.m_attributesetinstance_id, bl.scrap, bl.validfrom, bl.validto, bl.qtybom, bl.qtybatch, bl.isqtypercentage
- FROM t_bomline t
- LEFT JOIN pp_product_bomline bl ON t.pp_product_bomline_id = bl.pp_product_bomline_id
- ORDER BY t.seqno;
-
-ALTER TABLE T_BOMLine DROP COLUMN Implotion;
diff --git a/migration/oracle/351a-352a/190_Fix_ManufacturingWorkflow_window.sql b/migration/oracle/351a-352a/190_Fix_ManufacturingWorkflow_window.sql
deleted file mode 100644
index 6cbdbc4396..0000000000
--- a/migration/oracle/351a-352a/190_Fix_ManufacturingWorkflow_window.sql
+++ /dev/null
@@ -1,188 +0,0 @@
--- 02.06.2008 11:01:31 EEST
--- Fix Manufacturing Workflows window
-DELETE FROM AD_Tab_Trl WHERE AD_Tab_ID=53018
-;
-
--- 02.06.2008 11:01:31 EEST
--- Fix Manufacturing Workflows window
-DELETE FROM AD_Tab WHERE AD_Tab_ID=53018
-;
-
--- 02.06.2008 11:01:50 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Tab SET IsInsertRecord='N', TabLevel=1,Updated=TO_DATE('2008-06-02 11:01:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53019
-;
-
--- 02.06.2008 11:03:13 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,701,56255,0,53019,TO_DATE('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
-There are two reasons for de-activating and not deleting records:
-(1) The system requires the record for audit purposes.
-(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2008-06-02 11:03:12','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:14 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56255 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:14 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1213,56256,0,53019,TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:14 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56256 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:15 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,316,56257,0,53019,TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0,'Comment or Hint',2000,'D','The Help field contains a hint, comment or help about the use of this item.','Y','Y','Y','N','N','N','N','N','Comment/Help',TO_DATE('2008-06-02 11:03:14','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:15 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56257 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:16 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,315,56258,0,53019,TO_DATE('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2008-06-02 11:03:15','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:16 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56258 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:16 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,313,56259,0,53019,TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Language for this entity',6,'D','The Language identifies the language to use for display and formatting','Y','Y','Y','N','N','N','N','N','Language',TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:16 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56259 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:17 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,314,56260,0,53019,TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2008-06-02 11:03:16','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:17 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56260 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:18 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,1214,56261,0,53019,TO_DATE('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2008-06-02 11:03:17','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:18 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56261 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:19 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,317,56262,0,53019,TO_DATE('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0,'This column is translated',1,'D','The Translated checkbox indicates if this column is translated.','Y','Y','Y','N','N','N','N','N','Translated',TO_DATE('2008-06-02 11:03:18','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:19 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56262 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:03:19 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,312,56263,0,53019,TO_DATE('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks',22,'D','The Workflow field identifies a unique Workflow in the system.','Y','Y','Y','N','N','N','N','N','Workflow',TO_DATE('2008-06-02 11:03:19','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 02.06.2008 11:03:19 EEST
--- Fix Manufacturing Workflows window
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56263 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56256
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56261
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56263
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56259
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56255
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56262
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56260
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56258
-;
-
--- 02.06.2008 11:05:20 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56257
-;
-
--- 02.06.2008 11:07:03 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_DATE('2008-06-02 11:07:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56256
-;
-
--- 02.06.2008 11:07:12 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=14, IsSameLine='Y',Updated=TO_DATE('2008-06-02 11:07:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56261
-;
-
--- 02.06.2008 11:07:25 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=14, IsReadOnly='Y',Updated=TO_DATE('2008-06-02 11:07:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56263
-;
-
--- 02.06.2008 11:08:21 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=14, IsDisplayed='Y', IsReadOnly='Y', IsSameLine='N', SeqNo=40,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56259
-;
-
--- 02.06.2008 11:08:21 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=80,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56258
-;
-
--- 02.06.2008 11:08:21 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Field SET DisplayLength=60, IsDisplayed='Y', IsReadOnly='N', IsSameLine='N', SeqNo=90,Updated=TO_DATE('2008-06-02 11:08:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56257
-;
-
--- 02.06.2008 11:11:28 EEST
--- Fix Manufacturing Workflows window
-UPDATE AD_Tab SET TabLevel=2,Updated=TO_DATE('2008-06-02 11:11:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53026
-;
-
diff --git a/migration/oracle/351a-352a/191_BF1981833.sql b/migration/oracle/351a-352a/191_BF1981833.sql
deleted file mode 100644
index a24f3c0cce..0000000000
--- a/migration/oracle/351a-352a/191_BF1981833.sql
+++ /dev/null
@@ -1,5 +0,0 @@
--- 02.06.2008 11:29:41 EEST
---
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-02 11:29:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53295
-;
-
diff --git a/migration/oracle/351a-352a/192_BF1977318.sql b/migration/oracle/351a-352a/192_BF1977318.sql
deleted file mode 100644
index a5a68d1552..0000000000
--- a/migration/oracle/351a-352a/192_BF1977318.sql
+++ /dev/null
@@ -1,18 +0,0 @@
--- Jun 2, 2008 9:43:00 PM EST
--- Default comment for updating dictionary
-UPDATE AD_COLUMN SET FieldLength=22, IsUpdateable='N',Updated=TO_DATE('2008-06-02 21:43:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=14866
-;
-
--- Jun 2, 2008 9:43:14 PM EST
--- Default comment for updating dictionary
-ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NUMBER(10)
-;
-
---ALTER TABLE R_ISSUERECOMMENDATION MODIFY R_IssueRecommendation_ID NOT NULL
---;
-
---ALTER TABLE R_ISSUERECOMMENDATION ADD (CONSTRAINT r_issuerecommendation_pkey PRIMARY KEY (r_issuerecommendation_id))
---;
-
-ALTER TABLE R_ISSUEKNOWN ADD (CONSTRAINT RIssueRecommendation_RIssueKno FOREIGN KEY (R_IssueRecommendation_ID) REFERENCES R_ISSUERECOMMENDATION)
-;
diff --git a/migration/oracle/351a-352a/193_FR1926882.sql b/migration/oracle/351a-352a/193_FR1926882.sql
deleted file mode 100644
index b55460222d..0000000000
--- a/migration/oracle/351a-352a/193_FR1926882.sql
+++ /dev/null
@@ -1,53 +0,0 @@
-CREATE OR REPLACE VIEW C_INVOICE_V
-(C_INVOICE_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE, CREATED,
- CREATEDBY, UPDATED, UPDATEDBY, ISSOTRX, DOCUMENTNO,
- DOCSTATUS, DOCACTION, PROCESSING, PROCESSED, C_DOCTYPE_ID,
- C_DOCTYPETARGET_ID, C_ORDER_ID, DESCRIPTION, ISAPPROVED, ISTRANSFERRED,
- SALESREP_ID, DATEINVOICED, DATEPRINTED, DATEACCT, C_BPARTNER_ID,
- C_BPARTNER_LOCATION_ID, AD_USER_ID, POREFERENCE, DATEORDERED, C_CURRENCY_ID,
- C_CONVERSIONTYPE_ID, PAYMENTRULE, C_PAYMENTTERM_ID, C_CHARGE_ID, M_PRICELIST_ID,
- C_CAMPAIGN_ID, C_PROJECT_ID, C_ACTIVITY_ID, ISPRINTED, ISDISCOUNTPRINTED,
- ISPAID, ISINDISPUTE, ISPAYSCHEDULEVALID, C_INVOICEPAYSCHEDULE_ID, INVOICECOLLECTIONTYPE,DUNNINGGRACE,
- CHARGEAMT, TOTALLINES, GRANDTOTAL, MULTIPLIER, MULTIPLIERAP,
- DOCBASETYPE, DUEDATE
- )
-AS
-SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
- i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
- i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
- i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
- i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
- i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
- i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
- i.IsPayScheduleValid, cast(null as numeric) AS C_InvoicePaySchedule_ID, i.InvoiceCollectionType,i.DunningGrace,
- cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.ChargeAmt*-1 ELSE i.ChargeAmt END as numeric) AS ChargeAmt,
- cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.TotalLines*-1 ELSE i.TotalLines END as numeric) AS TotalLines,
- cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN i.GrandTotal*-1 ELSE i.GrandTotal END as numeric) AS GrandTotal,
- cast(CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END as numeric) AS Multiplier,
- cast(CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS numeric) as MultiplierAP,
- d.DocBaseType
- , paymentTermDueDate(i.C_PaymentTerm_ID, i.DateInvoiced) as DueDate
-FROM C_Invoice i
- INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
-WHERE i.IsPayScheduleValid<>'Y'
-UNION
-SELECT i.C_Invoice_ID, i.AD_Client_ID, i.AD_Org_ID, i.IsActive, i.Created, i.CreatedBy, i.Updated, i.UpdatedBy,
- i.IsSOTrx, i.DocumentNo, i.DocStatus, i.DocAction, i.Processing, i.Processed, i.C_DocType_ID,
- i.C_DocTypeTarget_ID, i.C_Order_ID, i.Description, i.IsApproved, i.IsTransferred,
- i.SalesRep_ID, i.DateInvoiced, i.DatePrinted, i.DateAcct, i.C_BPartner_ID, i.C_BPartner_Location_ID,
- i.AD_User_ID, i.POReference, i.DateOrdered, i.C_Currency_ID, i.C_ConversionType_ID, i.PaymentRule,
- i.C_PaymentTerm_ID, i.C_Charge_ID, i.M_PriceList_ID, i.C_Campaign_ID, i.C_Project_ID,
- i.C_Activity_ID, i.IsPrinted, i.IsDiscountPrinted, i.IsPaid, i.IsInDispute,
- i.IsPayScheduleValid, ips.C_InvoicePaySchedule_ID, i.InvoiceCollectionType, i.DunningGrace,
- null AS ChargeAmt,
- null AS TotalLines,
- CASE WHEN charAt(d.DocBaseType,3)='C' THEN ips.DueAmt*-1 ELSE ips.DueAmt END AS GrandTotal,
- CASE WHEN charAt(d.DocBaseType,3)='C' THEN -1 ELSE 1 END AS Multiplier,
- CASE WHEN charAt(d.DocBaseType,2)='P' THEN -1 ELSE 1 END AS MultiplierAP,
- d.DocBaseType
- , ips.DueDate
-FROM C_Invoice i
- INNER JOIN C_DocType d ON (i.C_DocType_ID=d.C_DocType_ID)
- INNER JOIN C_InvoicePaySchedule ips ON (i.C_Invoice_ID=ips.C_Invoice_ID)
-WHERE i.IsPayScheduleValid='Y'
- AND ips.IsValid='Y';
diff --git a/migration/oracle/351a-352a/194_Fix_Manufacturing_Resource_Window.sql b/migration/oracle/351a-352a/194_Fix_Manufacturing_Resource_Window.sql
deleted file mode 100644
index 2db67a2890..0000000000
--- a/migration/oracle/351a-352a/194_Fix_Manufacturing_Resource_Window.sql
+++ /dev/null
@@ -1,140 +0,0 @@
--- 03.06.2008 12:09:57 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DefaultValue='Y', IsReadOnly='Y',Updated=TO_DATE('2008-06-03 12:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53299
-;
-
--- 03.06.2008 12:12:50 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:12:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53300
-;
-
--- 03.06.2008 12:12:54 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:12:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
-;
-
--- 03.06.2008 12:13:00 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53302
-;
-
--- 03.06.2008 12:13:03 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53303
-;
-
--- 03.06.2008 12:13:06 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-06-03 12:13:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53304
-;
-
--- 03.06.2008 12:14:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
-;
-
--- 03.06.2008 12:14:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
-;
-
--- 03.06.2008 12:14:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
-;
-
--- 03.06.2008 12:14:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53294
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element SET Name='Manufacturing Resource', PrintName='Manufacturing Resource',Updated=TO_DATE('2008-06-03 12:15:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53232
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Column SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53232) AND IsCentrallyMaintained='Y'
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL, AD_Element_ID=53232 WHERE UPPER(ColumnName)='ISMANUFACTURINGRESOURCE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Process_Para SET ColumnName='IsManufacturingResource', Name='Manufacturing Resource', Description=NULL, Help=NULL WHERE AD_Element_ID=53232 AND IsCentrallyMaintained='Y'
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53232)
-;
-
--- 03.06.2008 12:15:42 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource', Name='Manufacturing Resource' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53232)
-;
-
--- 03.06.2008 12:17:25 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Resursa de productie',PrintName='Resursa de productie',Updated=TO_DATE('2008-06-03 12:17:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53232 AND AD_Language='ro_RO'
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element SET Name='Manufacturing Resource Type', PrintName='Manufacturing Resource Type',Updated=TO_DATE('2008-06-03 12:19:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53233
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Column SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Field SET Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53233) AND IsCentrallyMaintained='Y'
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL, AD_Element_ID=53233 WHERE UPPER(ColumnName)='MANUFACTURINGRESOURCETYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Process_Para SET ColumnName='ManufacturingResourceType', Name='Manufacturing Resource Type', Description=NULL, Help=NULL WHERE AD_Element_ID=53233 AND IsCentrallyMaintained='Y'
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53233)
-;
-
--- 03.06.2008 12:19:17 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Resource Type', Name='Manufacturing Resource Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53233)
-;
-
--- 03.06.2008 12:19:27 EEST
--- Fix Manufacturing Resource Window
-UPDATE AD_Element_Trl SET IsTranslated='Y',Name='Tip resursa productie',PrintName='Tip resursa productie',Updated=TO_DATE('2008-06-03 12:19:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53233 AND AD_Language='ro_RO'
-;
-
diff --git a/migration/oracle/351a-352a/195_libero_fixes.sql b/migration/oracle/351a-352a/195_libero_fixes.sql
deleted file mode 100644
index 80e0e6a146..0000000000
--- a/migration/oracle/351a-352a/195_libero_fixes.sql
+++ /dev/null
@@ -1,46 +0,0 @@
--- 03.06.2008 13:08:34 EEST
--- Fix AD_WF_Node.C_BPartner_ID reference
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 13:08:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53309
-;
-
--- 03.06.2008 16:25:28 EEST
--- Fix PP_Product_Planning.AD_Workflow_ID : set AD_Val_Rule_ID=MFG WF
-UPDATE AD_Column SET AD_Val_Rule_ID=52003,Updated=TO_DATE('2008-06-03 16:25:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53377
-;
-
--- Create Product Planning unique contraint:
-create unique index PP_Product_Planning_UQ on PP_Product_Planning (M_Product_ID, S_Resource_ID, M_Warehouse_ID, AD_Org_ID);
-
--- 03.06.2008 18:16:22 EEST
--- PP_Order_Node.A_Asset_ID set to Search
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:16:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53743
-;
-
--- 03.06.2008 18:17:53 EEST
--- PP_Order_Node.C_BPartner_ID set to Search
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:17:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53460
-;
-
--- 03.06.2008 18:18:34 EEST
--- PP_MRP.C_BPartner_ID set to Search
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:18:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54025
-;
-
-
---
--- M_Product_ID fields in Manufacturing tables should have AD_Reference_ID=Search
-UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_DATE('2008-06-03 18:20:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53549
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53610
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53733
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:20:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53763
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:21:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53993
-;
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-03 18:21:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54043
-;
-
diff --git a/migration/oracle/351a-352a/196_FB1983672_refactory.sql b/migration/oracle/351a-352a/196_FB1983672_refactory.sql
deleted file mode 100644
index fff62de218..0000000000
--- a/migration/oracle/351a-352a/196_FB1983672_refactory.sql
+++ /dev/null
@@ -1,74 +0,0 @@
--- 04-jun-2008 23:12:26 CDT
--- Fix Libero
-
--- added first to fix [ 1985198 ] 196_FB1983672_refactory script failing
-INSERT INTO AD_COLUMN
- (AD_COLUMN_ID, AD_CLIENT_ID, AD_ORG_ID, ISACTIVE,
- CREATED,
- UPDATED, CREATEDBY,
- UPDATEDBY, NAME, DESCRIPTION, VERSION,
- ENTITYTYPE, COLUMNNAME, AD_TABLE_ID, AD_REFERENCE_ID,
- FIELDLENGTH, ISKEY, ISPARENT, ISMANDATORY, ISUPDATEABLE,
- READONLYLOGIC, ISIDENTIFIER, ISTRANSLATED, ISENCRYPTED,
- ISSELECTIONCOLUMN, AD_ELEMENT_ID, ISSYNCDATABASE,
- ISALWAYSUPDATEABLE
- )
- VALUES (56076, 0, 0, 'Y',
- TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),
- TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'), 100,
- 100, 'Current Cost Price Low Level', 'The low level cost is using to accumulation the cost for low level in a bill of material or formula.', 0,
- 'EE01', 'CurrentCostPriceLL', 771, 37,
- 22, 'N', 'N', 'Y', 'Y',
- '@CostingMethod@!x & @CostingMethod@!S', 'N', 'N', 'N',
- 'N', 53296, 'N',
- 'N'
- );
-
-
--- 04-jun-2008 23:12:26 CDT
--- Fix Libero
-INSERT INTO AD_FIELD (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,NAME,Updated,UpdatedBy) VALUES (0,56076,56266,0,701,TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0,'The low level cost is using to accumulation the cost for low level in a bill of material or formula.',22,'EE01','The low level cost is using to accumulation the cost for low level in a bill of material or formula.','Y','Y','Y','N','N','N','N','N','Current Cost Price Low Level',TO_DATE('2008-06-04 23:11:54','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 04-jun-2008 23:12:26 CDT
--- Fix Libero
-INSERT INTO AD_FIELD_TRL (AD_LANGUAGE,AD_Field_ID, Description,Help,NAME, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_LANGUAGE,t.AD_Field_ID, t.Description,t.Help,t.NAME, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_LANGUAGE l, AD_FIELD t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56266 AND EXISTS (SELECT * FROM AD_FIELD_TRL tt WHERE tt.AD_LANGUAGE!=l.AD_LANGUAGE OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56266
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=11352
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=12318
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12175
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12176
-;
-
--- 04-jun-2008 23:14:30 CDT
--- Fix Libero
-UPDATE AD_FIELD SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=12319
-;
-
--- 04-jun-2008 23:14:39 CDT
--- Fix Libero
-UPDATE AD_FIELD SET IsSameLine='Y',Updated=TO_DATE('2008-06-04 23:14:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=11352
-;
-
--- Add CurrentCostPriceLL column to database
-ALTER TABLE M_Cost ADD CurrentCostPriceLL NUMBER DEFAULT 0;
diff --git a/migration/oracle/351a-352a/197_Fix_InternalUseWindow_Attributes.sql b/migration/oracle/351a-352a/197_Fix_InternalUseWindow_Attributes.sql
deleted file mode 100644
index 552b6e74e9..0000000000
--- a/migration/oracle/351a-352a/197_Fix_InternalUseWindow_Attributes.sql
+++ /dev/null
@@ -1,5 +0,0 @@
--- 05.06.2008 20:16:23 EEST
--- Internal Use Inventory / Attributes it's an advanced tab
-UPDATE AD_Tab SET IsAdvancedTab='Y',Updated=TO_DATE('2008-06-05 20:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53134
-;
-
diff --git a/migration/oracle/351a-352a/198_Fix_HR_Payroll_Identifier.sql b/migration/oracle/351a-352a/198_Fix_HR_Payroll_Identifier.sql
deleted file mode 100644
index e1678b9931..0000000000
--- a/migration/oracle/351a-352a/198_Fix_HR_Payroll_Identifier.sql
+++ /dev/null
@@ -1,3 +0,0 @@
--- Reset SeqNo for HR_Payroll.Value, there is already HR_Payroll.Name as identifier
-update AD_Column set SeqNo=null
-where AD_Column_ID=54887 and IsIdentifier='N' and SeqNo=1;
diff --git a/migration/oracle/351a-352a/199_Fix_EntityTypes.sql b/migration/oracle/351a-352a/199_Fix_EntityTypes.sql
deleted file mode 100644
index b1958d0f25..0000000000
--- a/migration/oracle/351a-352a/199_Fix_EntityTypes.sql
+++ /dev/null
@@ -1,2 +0,0 @@
-update AD_Table set EntityType='EE01'
-where TableName in ('RV_PP_MRP', 'RV_PP_Order_BOMLine', 'RV_PP_WIP') and EntityType<>'EE01';
diff --git a/migration/oracle/351a-352a/200_BF1989305_createGWJournalBatch.sql b/migration/oracle/351a-352a/200_BF1989305_createGWJournalBatch.sql
deleted file mode 100644
index 7e4c6a53d1..0000000000
--- a/migration/oracle/351a-352a/200_BF1989305_createGWJournalBatch.sql
+++ /dev/null
@@ -1,17 +0,0 @@
--- Jun 9, 2008 8:18:13 PM COT
--- [ 1989305 ] Missing GL Journal Batch in GardenWorld
-INSERT INTO AD_Sequence (UpdatedBy,IsAutoSequence,AD_Org_ID,AD_Sequence_ID,Updated,CurrentNext,IsTableID,Created,StartNewYear,IsAudited,IncrementNo,AD_Client_ID,StartNo,Name,CurrentNextSys,CreatedBy,IsActive) VALUES (100,'Y',0,53162,TO_DATE('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),100,'N',TO_DATE('2008-06-09 20:18:12','YYYY-MM-DD HH24:MI:SS'),'N','N',1,11,1000,'GL Journal Batch',1002,100,'Y')
-;
-
--- Jun 9, 2008 8:18:33 PM COT
-INSERT INTO C_DocType (IsSOTrx,UpdatedBy,IsDocNoControlled,AD_Org_ID,DocNoSequence_ID,Updated,DocumentCopies,HasCharges,C_DocType_ID,Created,IsDefault,GL_Category_ID,PrintName,AD_Client_ID,HasProforma,Name,CreatedBy,IsShipConfirm,IsPickQAConfirm,DocBaseType,IsDefaultCounterDoc,IsActive,IsSplitWhenDifference,IsCreateCounter,IsInTransit,IsOverwriteDateOnComplete,IsOverwriteSeqOnComplete,IsIndexed) VALUES ('N',100,'Y',0,53162,TO_DATE('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),0,'N',50001,TO_DATE('2008-06-09 20:18:32','YYYY-MM-DD HH24:MI:SS'),'N',108,'Journal Batch',11,'N','GL Journal Batch',100,'N','N','GLJ','N','Y','N','Y','N','N','N','Y')
-;
-
--- Jun 9, 2008 8:18:34 PM COT
-INSERT INTO C_DocType_Trl (AD_Language,C_DocType_ID, DocumentNote,PrintName,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_DocType_ID, t.DocumentNote,t.PrintName,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, C_DocType t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_DocType_ID=50001 AND EXISTS (SELECT * FROM C_DocType_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.C_DocType_ID!=t.C_DocType_ID)
-;
-
--- Jun 9, 2008 8:18:34 PM COT
-INSERT INTO AD_Document_Action_Access (AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,C_DocType_ID , AD_Ref_List_ID, AD_Role_ID) (SELECT 11,0,'Y', SysDate,100, SysDate,100, doctype.C_DocType_ID, action.AD_Ref_List_ID, rol.AD_Role_ID FROM AD_Client client INNER JOIN C_DocType doctype ON (doctype.AD_Client_ID=client.AD_Client_ID) INNER JOIN AD_Ref_List action ON (action.AD_Reference_ID=135) INNER JOIN AD_Role rol ON (rol.AD_Client_ID=client.AD_Client_ID) WHERE client.AD_Client_ID=11 AND doctype.C_DocType_ID=50001 AND rol.IsManual='N')
-;
-
diff --git a/migration/oracle/351a-352a/201_FR1992542.sql b/migration/oracle/351a-352a/201_FR1992542.sql
deleted file mode 100644
index 69132f4ef0..0000000000
--- a/migration/oracle/351a-352a/201_FR1992542.sql
+++ /dev/null
@@ -1,24 +0,0 @@
--- Jun 12, 2008 7:57:23 PM COT
--- FR 1992542 - Import Payment doesn't have DocAction parameter
-UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-06-12 19:57:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=712
-;
-
--- Jun 12, 2008 7:58:40 PM COT
--- FR 1992542 - Import Payment doesn't have DocAction parameter
-INSERT INTO AD_Process_Para (FieldLength,UpdatedBy,ColumnName,AD_Org_ID,AD_Process_Para_ID,SeqNo,Updated,Help,DefaultValue,Created,IsCentrallyMaintained,AD_Process_ID,AD_Client_ID,IsRange,AD_Reference_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsMandatory,AD_Reference_Value_ID,IsActive,AD_Element_ID,Description) VALUES (1,100,'DocAction',0,53177,30,TO_DATE('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'You find the current status in the Document Status field. The options are listed in a popup','PR',TO_DATE('2008-06-12 19:58:39','YYYY-MM-DD HH24:MI:SS'),'Y',343,0,'N',17,'D',219,'Document Action',100,'N',135,'Y',287,'The targeted status of the document')
-;
-
--- Jun 12, 2008 7:58:40 PM COT
--- FR 1992542 - Import Payment doesn't have DocAction parameter
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53177 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jun 12, 2008 8:32:52 PM COT
--- FR 1992542 - Import Payment doesn't have DocAction parameter
-INSERT INTO AD_Val_Rule (UpdatedBy,Code,AD_Org_ID,Updated,Type,Created,AD_Client_ID,EntityType,AD_Val_Rule_ID,Name,CreatedBy,IsActive) VALUES (100,'AD_Ref_List.Value IN (''CO'')',0,TO_DATE('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),'S',TO_DATE('2008-06-12 20:32:50','YYYY-MM-DD HH24:MI:SS'),0,'D',52027,'List - DocAction - Complete',100,'Y')
-;
-
--- Jun 12, 2008 8:33:09 PM COT
--- FR 1992542 - Import Payment doesn't have DocAction parameter
-UPDATE AD_Process_Para SET DefaultValue=NULL, AD_Val_Rule_ID=52027,Updated=TO_DATE('2008-06-12 20:33:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53177
-;
diff --git a/migration/oracle/351a-352a/202_BF1994221_MfgWorkflows.sql b/migration/oracle/351a-352a/202_BF1994221_MfgWorkflows.sql
deleted file mode 100644
index 7d21697451..0000000000
--- a/migration/oracle/351a-352a/202_BF1994221_MfgWorkflows.sql
+++ /dev/null
@@ -1,24 +0,0 @@
--- Jun 15, 2008 12:35:47 PM EST
--- Fix Manufacturing Workflows
-UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50029,Updated=TO_DATE('2008-06-15 12:35:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50008
-;
-
--- Jun 15, 2008 12:39:50 PM EST
--- Fix Manufacturing Workflows
-UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50033,Updated=TO_DATE('2008-06-15 12:39:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50009
-;
-
--- Jun 15, 2008 1:09:43 PM EST
--- Fix Manufacturing Workflows
-UPDATE AD_WF_NodeNext SET SeqNo=100,Updated=TO_DATE('2008-06-15 13:09:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_WF_NodeNext_ID=50010
-;
-
--- Jun 15, 2008 1:13:45 PM EST
--- Fix Manufacturing Workflows
-UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50016,Updated=TO_DATE('2008-06-15 13:13:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50005
-;
-
--- Jun 15, 2008 1:18:01 PM EST
--- Fix Manufacturing Workflows
-UPDATE AD_Workflow SET IsValid='Y', AD_WF_Node_ID=50020,Updated=TO_DATE('2008-06-15 13:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Workflow_ID=50006
-;
diff --git a/migration/oracle/351a-352a/203_BF1963128.sql b/migration/oracle/351a-352a/203_BF1963128.sql
deleted file mode 100644
index be42bc0e39..0000000000
--- a/migration/oracle/351a-352a/203_BF1963128.sql
+++ /dev/null
@@ -1,15 +0,0 @@
--- 20.06.2008 14:06:53 EEST
--- BF [ 1963128 ] Running a process w/o trl should display an error
-INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53038,0,TO_DATE('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'D','Y','Check Missing Translation Records','E',TO_DATE('2008-06-20 14:06:43','YYYY-MM-DD HH24:MI:SS'),0,'CheckMissingTrl')
-;
-
--- 20.06.2008 14:06:53 EEST
--- BF [ 1963128 ] Running a process w/o trl should display an error
-INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53038 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
-;
-
--- 20.06.2008 14:08:39 EEST
--- BF [ 1963128 ] Running a process w/o trl should display an error
-UPDATE AD_Message_Trl SET IsTranslated='Y',MsgText='Lipsesc liniile de traducere',Updated=TO_DATE('2008-06-20 14:08:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Message_ID=53038 AND AD_Language='ro_RO'
-;
-
diff --git a/migration/oracle/351a-352a/204_FR1999156_CreatePlanningData.sql b/migration/oracle/351a-352a/204_FR1999156_CreatePlanningData.sql
deleted file mode 100644
index 580e2e7b2f..0000000000
--- a/migration/oracle/351a-352a/204_FR1999156_CreatePlanningData.sql
+++ /dev/null
@@ -1,40 +0,0 @@
--- Jun 20, 2008 3:24:52 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Column SET AD_Val_Rule_ID=52002,Updated=TO_DATE('2008-06-20 15:24:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
-;
-
--- Jun 20, 2008 3:27:23 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2008-06-20 15:27:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
-;
-
--- Jun 20, 2008 3:30:05 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Process_Para SET AD_Element_ID=1777, AD_Val_Rule_ID=52002,Updated=TO_DATE('2008-06-20 15:30:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
-;
-
--- Jun 20, 2008 3:32:17 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Process_Para SET AD_Val_Rule_ID=52003,Updated=TO_DATE('2008-06-20 15:32:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53036
-;
-
--- Jun 20, 2008 3:35:42 PM CDT
--- Fixed Libero Issue
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53340,0,53010,53183,30,'DD_NetworkDistribution_ID',TO_DATE('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0,'Network Distribution','EE01',22,NULL,'Y','Y','N','N','Network Distribution',75,TO_DATE('2008-06-20 15:35:33','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jun 20, 2008 3:35:42 PM CDT
--- Fixed Libero Issue
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53183 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jun 20, 2008 3:37:05 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Column SET AD_Reference_ID=30,Updated=TO_DATE('2008-06-20 15:37:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53660
-;
-
--- Jun 20, 2008 3:38:45 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Process_Para SET AD_Reference_ID=19,Updated=TO_DATE('2008-06-20 15:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53183
-;
-
diff --git a/migration/oracle/351a-352a/205_FR1999230_AddSafetyStock.sql b/migration/oracle/351a-352a/205_FR1999230_AddSafetyStock.sql
deleted file mode 100644
index fce598f2f9..0000000000
--- a/migration/oracle/351a-352a/205_FR1999230_AddSafetyStock.sql
+++ /dev/null
@@ -1,23 +0,0 @@
--- Jun 20, 2008 6:33:56 PM CDT
--- Fixed Libero Issue
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53354,0,53010,53184,29,'SafetyStock',TO_DATE('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0,'Safety Stock Qty','EE01',22,'Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.','Y','Y','N','N','Safety Stock Qty',130,TO_DATE('2008-06-20 18:33:47','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jun 20, 2008 6:33:56 PM CDT
--- Fixed Libero Issue
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53184 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jun 20, 2008 6:34:14 PM CDT
--- Fixed Libero Issue
-UPDATE AD_Process_Para SET SeqNo=105,Updated=TO_DATE('2008-06-20 18:34:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53184
-;
-
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT ddnetworkdistribution_ppproduc;
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT adworkflow_ppproductplanning;
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT mwarehouse_ppproductplanning;
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT planner_ppproductplanning;
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT ppproductbom_ppproductplanning;
-ALTER TABLE PP_Product_Planning DROP CONSTRAINT sresource_ppproductplanning;
-
-DROP INDEX pp_product_planning_uq;
diff --git a/migration/oracle/351a-352a/206_BF1980521_RVPPOrderBOMLine.sql b/migration/oracle/351a-352a/206_BF1980521_RVPPOrderBOMLine.sql
deleted file mode 100644
index f9db195028..0000000000
--- a/migration/oracle/351a-352a/206_BF1980521_RVPPOrderBOMLine.sql
+++ /dev/null
@@ -1,267 +0,0 @@
-SET DEFINE OFF
-SET SQLBLANKLINES ON
--- Jun 23, 2008 9:58:30 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-UPDATE AD_Table SET IsView='Y',Updated=TO_DATE('2008-06-23 09:58:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53028
-;
-
--- Jun 23, 2008 9:59:10 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56089,102,0,19,53028,'AD_Client_ID',TO_DATE('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Client',TO_DATE('2008-06-23 09:59:02','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 9:59:10 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56089 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 9:59:11 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56090,113,0,19,53028,'AD_Org_ID',TO_DATE('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Organization',TO_DATE('2008-06-23 09:59:10','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 9:59:11 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56090 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 9:59:11 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56091,246,0,18,110,53028,'CreatedBy',TO_DATE('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','Created By',TO_DATE('2008-06-23 09:59:11','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 9:59:11 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56091 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:31 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56092,608,0,18,110,53028,'UpdatedBy',TO_DATE('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','Updated By',TO_DATE('2008-06-23 11:04:30','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:31 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56092 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:31 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56093,607,0,16,53028,'Updated',TO_DATE('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','EE01',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','Updated',TO_DATE('2008-06-23 11:04:31','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:31 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56093 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:32 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56094,245,0,16,53028,'Created',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','EE01',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','Created',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:32 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56094 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:33 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56095,348,0,20,53028,'IsActive',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
-There are two reasons for de-activating and not deleting records:
-(1) The system requires the record for audit purposes.
-(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','N','Active',TO_DATE('2008-06-23 11:04:32','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:33 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56095 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:34 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56096,53298,0,19,53028,'PP_Order_BOM_ID',TO_DATE('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOM_ID',TO_DATE('2008-06-23 11:04:33','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:34 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56096 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:35 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56097,53275,0,19,53028,'PP_Order_BOMLine_ID',TO_DATE('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_BOMLine_ID',TO_DATE('2008-06-23 11:04:34','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:35 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56097 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:36 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56098,53276,0,19,53028,'PP_Order_ID',TO_DATE('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,'EE01',10,'Y','N','N','N','N','Y','N','N','N','N','PP_Order_ID',TO_DATE('2008-06-23 11:04:35','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:36 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56098 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:37 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56099,53251,0,20,53028,'IsCritical',TO_DATE('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that a Manufacturing Order can not begin without have this component','EE01',1,'Indicate that a Manufacturing Order can not begin without have this component','Y','N','N','N','N','Y','N','N','N','N','Is Critical Component',TO_DATE('2008-06-23 11:04:36','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:37 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56099 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:38 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56100,53249,0,17,53028,'ComponentType',TO_DATE('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Component Type for a Bill of Material or Formula','EE01',2,'The Component Type can be:
-
-1.- By Product: Define a By Product as Component into BOM
-2.- Component: Define a normal Component into BOM
-3.- Option: Define an Option for Product Configure BOM
-4.- Phantom: Define a Phantom as Component into BOM
-5.- Packing: Define a Packing as Component into BOM
-6.- Planning : Define Planning as Component into BOM
-7.- Tools: Define Tools as Component into BOM
-8.- Variant: Define Variant for Product Configure BOM
-','Y','N','N','N','N','N','N','N','N','N','Component Type',TO_DATE('2008-06-23 11:04:37','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:38 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56100 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:39 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56101,454,0,19,53028,'M_Product_ID',TO_DATE('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','Y','N','N','N','N','Product',TO_DATE('2008-06-23 11:04:38','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:39 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56101 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:40 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56102,215,0,19,53028,'C_UOM_ID',TO_DATE('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,'Unit of Measure','EE01',10,'The UOM defines a unique non monetary Unit of Measure','Y','N','N','N','N','Y','N','N','N','N','UOM',TO_DATE('2008-06-23 11:04:39','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:40 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56102 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:41 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56103,53288,0,29,53028,'QtyRequiered',TO_DATE('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyRequiered',TO_DATE('2008-06-23 11:04:40','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:41 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56103 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:42 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56104,532,0,29,53028,'QtyReserved',TO_DATE('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,'Reserved Quantity','EE01',22,'The Reserved Quantity indicates the quantity of a product that is currently reserved.','Y','N','N','N','N','N','N','N','N','N','Reserved Quantity',TO_DATE('2008-06-23 11:04:41','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:42 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56104 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:43 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56105,2238,0,29,53028,'QtyAvailable',TO_DATE('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,'Available Quantity (On Hand - Reserved)','EE01',22,'Quantity available to promise = On Hand minus Reserved Quantity','Y','N','N','N','N','N','N','N','N','N','Available Quantity',TO_DATE('2008-06-23 11:04:42','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:43 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56105 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:44 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56106,530,0,29,53028,'QtyOnHand',TO_DATE('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,'On Hand Quantity','EE01',22,'The On Hand Quantity indicates the quantity of a product that is on hand in a warehouse.','Y','N','N','N','N','N','N','N','N','N','On Hand Quantity',TO_DATE('2008-06-23 11:04:43','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:44 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56106 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:45 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56107,459,0,19,53028,'M_Warehouse_ID',TO_DATE('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',10,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','Y','N','N','N','N','Warehouse',TO_DATE('2008-06-23 11:04:44','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:45 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56107 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:45 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56108,53255,0,29,53028,'QtyBOM',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity use in this BOM','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
-
-1.- Adding a Component based in quantity to use in this BOM
-2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
-','Y','N','N','N','N','N','N','N','N','N','Quantity',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:45 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56108 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:46 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56109,53252,0,29,53028,'IsQtyPercentage',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,'Indicate that this component is based in % Quantity','EE01',1,'Indicate that this component is based in % Quantity','Y','N','N','N','N','N','N','N','N','N','Is Qty Percentage',TO_DATE('2008-06-23 11:04:45','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:46 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56109 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:47 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56110,53256,0,29,53028,'QtyBatch',TO_DATE('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,'Indicate the Quantity % use in this Formula','EE01',22,'Exist two way the add a compenent to a BOM or Formula:
-
-1.- Adding a Component based in quantity to use in this BOM
-2.- Adding a Component based in % to use the Order Quantity of Manufacturing Order in this Formula.
-','Y','N','N','N','N','N','N','N','N','N','Quantity %',TO_DATE('2008-06-23 11:04:46','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:47 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56110 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:04:48 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56111,53243,0,29,53028,'QtyBatchSize',TO_DATE('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,'EE01',22,'Y','N','N','N','N','N','N','N','N','N','QtyBatchSize',TO_DATE('2008-06-23 11:04:47','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Jun 23, 2008 11:04:48 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56111 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 23, 2008 11:15:46 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-UPDATE AD_Element SET PrintName='QtyRequired',Updated=TO_DATE('2008-06-23 11:15:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53288
-;
-
--- Jun 23, 2008 11:15:47 AM EST
--- RV_PP_Order_BOMLine dictionary columns
-UPDATE AD_PrintFormatItem pi SET PrintName='QtyRequired', Name='QtyRequiered' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53288)
-;
diff --git a/migration/oracle/351a-352a/207_BF2000549.sql b/migration/oracle/351a-352a/207_BF2000549.sql
deleted file mode 100644
index 2bba587e63..0000000000
--- a/migration/oracle/351a-352a/207_BF2000549.sql
+++ /dev/null
@@ -1,20 +0,0 @@
--- 23.06.2008 10:33:45 EEST
---
-UPDATE AD_Column SET DefaultValue='N', IsMandatory='Y',Updated=TO_DATE('2008-06-23 10:33:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54951
-;
-
--- 23.06.2008 10:33:47 EEST
---
-ALTER TABLE HR_PayrollConcept MODIFY IsPrinted CHAR(1) DEFAULT 'N'
-;
-
--- 23.06.2008 10:33:47 EEST
---
-UPDATE HR_PayrollConcept SET IsPrinted='N' WHERE IsPrinted IS NULL
-;
-
--- 23.06.2008 10:33:47 EEST
---
-ALTER TABLE HR_PayrollConcept MODIFY IsPrinted NOT NULL
-;
-
diff --git a/migration/oracle/351a-352a/208_BF2000598.sql b/migration/oracle/351a-352a/208_BF2000598.sql
deleted file mode 100644
index 04d50769d8..0000000000
--- a/migration/oracle/351a-352a/208_BF2000598.sql
+++ /dev/null
@@ -1,5 +0,0 @@
--- 23.06.2008 12:02:32 EEST
---
-UPDATE AD_Field SET SortNo=1.000000000000,Updated=TO_DATE('2008-06-23 12:02:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55104
-;
-
diff --git a/migration/oracle/351a-352a/209_BF2001820.sql b/migration/oracle/351a-352a/209_BF2001820.sql
deleted file mode 100644
index a4ba9ebfa6..0000000000
--- a/migration/oracle/351a-352a/209_BF2001820.sql
+++ /dev/null
@@ -1,10 +0,0 @@
--- Jun 25, 2008 9:00:46 AM EST
--- BF2001820
-ALTER TABLE PP_Order_Workflow MODIFY EntityType VARCHAR2(40) DEFAULT 'U'
-;
-
--- Jun 25, 2008 9:00:47 AM EST
--- BF2001820
-UPDATE PP_Order_Workflow SET EntityType='U' WHERE EntityType IS NULL
-;
-
diff --git a/migration/oracle/351a-352a/210_FixDRP.sql b/migration/oracle/351a-352a/210_FixDRP.sql
deleted file mode 100644
index 935b53177d..0000000000
--- a/migration/oracle/351a-352a/210_FixDRP.sql
+++ /dev/null
@@ -1,205 +0,0 @@
--- Jun 22, 2008 5:51:42 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 17:51:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53072
-;
-
--- Jun 22, 2008 6:01:35 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53513
-;
-
--- Jun 22, 2008 6:01:35 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53512
-;
-
--- Jun 22, 2008 6:01:45 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-22 18:01:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53513
-;
-
--- Jun 22, 2008 6:01:47 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-22 18:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53512
-;
-
--- Jun 22, 2008 6:02:06 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET DisplayLength=30,Updated=TO_DATE('2008-06-22 18:02:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54392
-;
-
--- Jun 22, 2008 6:02:35 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2008-06-22 18:02:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=55434
-;
-
--- Jun 22, 2008 6:02:49 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-22 18:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53522
-;
-
--- Jun 22, 2008 6:05:22 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET DisplayLogic='@Order_Policy@=''POQ''',Updated=TO_DATE('2008-06-22 18:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53526
-;
-
--- Jun 22, 2008 6:08:03 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET AD_Column_ID=53389,Updated=TO_DATE('2008-06-22 18:08:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
-;
-
--- Jun 22, 2008 6:09:53 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:09:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53030
-;
-
--- Jun 22, 2008 6:09:57 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:09:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53033
-;
-
--- Jun 22, 2008 6:10:01 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:10:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53031
-;
-
--- Jun 22, 2008 6:10:04 PM CDT
--- New Event Model Validator
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-22 18:10:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53034
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53533
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=53525
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=53526
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53527
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53528
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=53529
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53530
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53531
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53532
-;
-
--- Jun 22, 2008 6:12:07 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54420
-;
-
--- Jun 22, 2008 6:12:20 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-06-22 18:12:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53533
-;
-
--- Jun 22, 2008 6:13:09 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53533
-;
-
--- Jun 22, 2008 6:13:09 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53523
-;
-
--- Jun 22, 2008 6:13:09 PM CDT
--- New Event Model Validator
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
-;
-
--- Jun 22, 2008 6:14:30 PM CDT
--- New Event Model Validator
-UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-06-22 18:14:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
-;
-
--- Jun 22, 2008 6:14:51 PM CDT
--- New Event Model Validator
-UPDATE AD_Column SET IsUpdateable='Y',Updated=TO_DATE('2008-06-22 18:14:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
-;
-
--- Jun 22, 2008 6:19:12 PM CDT
--- New Event Model Validator
-UPDATE AD_Column SET IsUpdateable='N',Updated=TO_DATE('2008-06-22 18:19:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53376
-;
-
--- Jun 22, 2008 6:45:01 PM CDT
--- New Event Model Validator
-UPDATE AD_Process_Para SET IsMandatory='Y',Updated=TO_DATE('2008-06-22 18:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53035
-;
-
--- Jun 22, 2008 6:46:14 PM CDT
--- New Event Model Validator
-UPDATE AD_Process_Para SET SeqNo=195,Updated=TO_DATE('2008-06-22 18:46:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
-;
-
--- Jun 22, 2008 6:46:40 PM CDT
--- New Event Model Validator
-UPDATE AD_Process_Para SET DefaultValue='@Order_Policy@=''POQ''',Updated=TO_DATE('2008-06-22 18:46:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53052
-;
-
-
--- Jun 23, 2008 12:30:57 AM CDT
--- Completed the DRP
-INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53039,0,TO_DATE('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist default Locator for Warehouse','Do not exist default Locator for Warehouse','I',TO_DATE('2008-06-23 00:30:56','YYYY-MM-DD HH24:MI:SS'),0,'DRP-001')
-;
-
--- Jun 23, 2008 12:30:57 AM CDT
--- Completed the DRP
-INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53039 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
-;
-
--- Jun 23, 2008 12:31:53 AM CDT
--- Completed the DRP
-INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53040,0,TO_DATE('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Do not exist Shipper for Create Distribution Order','Do not exist Shipper for Create Distribution Order','I',TO_DATE('2008-06-23 00:31:52','YYYY-MM-DD HH24:MI:SS'),0,'DRP-030')
-;
-
--- Jun 23, 2008 12:31:53 AM CDT
--- Completed the DRP
-INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53040 AND EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Message_ID!=t.AD_Message_ID)
-;
-
--- Jun 23, 2008 12:34:18 AM CDT
--- Completed the DRP
-UPDATE AD_Column SET IsMandatory='Y',Updated=TO_DATE('2008-06-23 00:34:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=54298
-;
-
--- Jun 23, 2008 12:34:21 AM CDT
--- Completed the DRP
-ALTER TABLE DD_NetworkDistributionLine MODIFY M_Shipper_ID NUMBER(10) DEFAULT NULL
-;
-
--- Jun 23, 2008 12:35:46 AM CDT
--- Completed the DRP
-ALTER TABLE DD_NetworkDistributionLine MODIFY M_Shipper_ID NOT NULL
-;
diff --git a/migration/oracle/351a-352a/211_BF1995132.sql b/migration/oracle/351a-352a/211_BF1995132.sql
deleted file mode 100644
index 6207357eac..0000000000
--- a/migration/oracle/351a-352a/211_BF1995132.sql
+++ /dev/null
@@ -1,50 +0,0 @@
--- Jun 26, 2008 9:57:54 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:57:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53030
-;
-
--- Jun 26, 2008 9:58:19 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53033
-;
-
--- Jun 26, 2008 9:58:28 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53031
-;
-
--- Jun 26, 2008 9:58:36 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2008-06-26 09:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
-;
-
--- Jun 26, 2008 9:58:43 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Tab SET AD_Column_ID=3668,Updated=TO_DATE('2008-06-26 09:58:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53034
-;
-
--- Jun 26, 2008 10:00:40 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53523
-;
-
--- Jun 26, 2008 10:00:40 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53522
-;
-
--- Jun 26, 2008 10:00:40 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53525
-;
-
--- Jun 26, 2008 10:00:40 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53524
-;
-
--- Jun 26, 2008 10:03:16 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-06-26 10:03:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53526
-;
-
diff --git a/migration/oracle/351a-352a/213_FR2007264_MRP.sql b/migration/oracle/351a-352a/213_FR2007264_MRP.sql
deleted file mode 100644
index 80efc6dc7f..0000000000
--- a/migration/oracle/351a-352a/213_FR2007264_MRP.sql
+++ /dev/null
@@ -1,35 +0,0 @@
--- Jun 30, 2008 7:42:57 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53014,53206,19,202,'AD_Org_ID',TO_DATE('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_DATE('2008-06-30 19:42:51','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jun 30, 2008 7:42:57 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53206 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jun 30, 2008 7:44:28 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53014,53207,19,52002,'S_Resource_ID',TO_DATE('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0,'Resource','EE01',22,'Y','Y','Y','N','Resource',20,TO_DATE('2008-06-30 19:44:25','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jun 30, 2008 7:44:28 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53207 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jun 30, 2008 7:46:01 PM CDT
--- Improve MRP
-UPDATE AD_Process_Para SET AD_Val_Rule_ID=189,Updated=TO_DATE('2008-06-30 19:46:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Process_Para_ID=53133
-;
-
--- Jun 30, 2008 7:46:15 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53014,53208,19,189,'M_Warehouse_ID',TO_DATE('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',30,TO_DATE('2008-06-30 19:46:13','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jun 30, 2008 7:46:15 PM CDT
--- Improve MRP
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53208 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
diff --git a/migration/oracle/351a-352a/214_BF2008762.sql b/migration/oracle/351a-352a/214_BF2008762.sql
deleted file mode 100644
index ec70286de4..0000000000
--- a/migration/oracle/351a-352a/214_BF2008762.sql
+++ /dev/null
@@ -1,28 +0,0 @@
--- Mar 13, 2008 11:51:15 AM CET
-UPDATE AD_Val_Rule SET Code='(
-EXISTS (
- /* UOM is a default UOM and no product selected */
- SELECT *
- FROM C_UOM uu
- WHERE C_UOM.C_UOM_ID=uu.C_UOM_ID AND IsDefault=''Y'' AND @M_Product_ID@=0
-)
-OR EXISTS (
- /* UOM is the products UOM */
- SELECT *
- FROM M_Product p
- WHERE C_UOM.C_UOM_ID=p.C_UOM_ID AND @M_Product_ID@=p.M_Product_ID
-)
-OR EXISTS (
- /* For the products UOM there is a conversion that is explicitly bound to the product */
- SELECT *
- FROM M_Product p INNER JOIN C_UOM_Conversion c ON (p.C_UOM_ID=c.C_UOM_ID AND p.M_PRODUCT_ID=c.M_Product_ID)
- WHERE C_UOM.C_UOM_ID=c.C_UOM_TO_ID AND @M_Product_ID@=p.M_Product_ID
-)
-OR EXISTS (
- /* For the products UOM there is a conversion that is not bound to any product explicitly */
- SELECT *
- FROM M_Product p INNER JOIN C_UOM_Conversion c ON (p.C_UOM_ID=c.C_UOM_ID AND c.M_Product_ID IS NULL)
- WHERE C_UOM.C_UOM_ID=c.C_UOM_TO_ID AND @M_Product_ID@=p.M_Product_ID
-))',Updated=TO_DATE('2008-03-13 11:51:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=210
-;
-
diff --git a/migration/oracle/351a-352a/215_BF1991523_CopyBOM.sql b/migration/oracle/351a-352a/215_BF1991523_CopyBOM.sql
deleted file mode 100644
index d44f83f36f..0000000000
--- a/migration/oracle/351a-352a/215_BF1991523_CopyBOM.sql
+++ /dev/null
@@ -1,15 +0,0 @@
--- Jul 4, 2008 6:11:43 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Process SET Help='This process copies BOM Lines from the Selected BOM to the Current BOM. The BOM being copied to must have any existing BOM Lines',
-Updated=TO_DATE('2008-07-04 18:11:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=53004
-;
-
--- Jul 5, 2008 4:51:47 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Copy BOM Lines From', Description='Copy BOM Lines from an exising BOM', Help='Copy BOM Lines from an exising BOM. The BOM being copied to, must not have any existing BOM Lines.',Updated=TO_DATE('2008-07-05 16:51:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53480
-;
-
--- Jul 5, 2008 4:51:47 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=53480
-;
diff --git a/migration/oracle/351a-352a/216_BF2011489_BOM_Window.sql b/migration/oracle/351a-352a/216_BF2011489_BOM_Window.sql
deleted file mode 100644
index a946ae8b98..0000000000
--- a/migration/oracle/351a-352a/216_BF2011489_BOM_Window.sql
+++ /dev/null
@@ -1,90 +0,0 @@
--- Jul 6, 2008 10:30:49 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Column SET Callout='org.eevolution.model.CalloutBOM.getdefaults',Updated=TO_DATE('2008-07-06 10:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53333
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53474
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53475
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53464
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53476
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=53465
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53466
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53467
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=53468
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=53469
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=53470
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=53471
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53472
-;
-
--- Jul 6, 2008 10:44:22 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53473
-;
-
--- Jul 6, 2008 10:44:59 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-06 10:44:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
-;
-
--- Jul 6, 2008 10:46:09 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-07-06 10:46:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53474
-;
-
--- Jul 6, 2008 10:46:15 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET IsCentrallyMaintained='Y',Updated=TO_DATE('2008-07-06 10:46:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53476
-;
-
--- Jul 6, 2008 10:50:46 AM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET DisplayLength=22,Updated=TO_DATE('2008-07-06 10:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=53464
-;
-
diff --git a/migration/oracle/351a-352a/217_BF2012439.sql b/migration/oracle/351a-352a/217_BF2012439.sql
deleted file mode 100644
index dbfaac2a65..0000000000
--- a/migration/oracle/351a-352a/217_BF2012439.sql
+++ /dev/null
@@ -1,10 +0,0 @@
--- 07.07.2008 15:22:56 EEST
---
-UPDATE AD_Column SET ReadOnlyLogic='@M_Product_ID@!0',Updated=TO_DATE('2008-07-07 15:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6610
-;
-
--- 07.07.2008 15:23:12 EEST
---
-UPDATE AD_Column SET ReadOnlyLogic='@M_Product_Category_ID@!0',Updated=TO_DATE('2008-07-07 15:23:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=6611
-;
-
diff --git a/migration/oracle/351a-352a/218_BF2012468.sql b/migration/oracle/351a-352a/218_BF2012468.sql
deleted file mode 100644
index 71000a7892..0000000000
--- a/migration/oracle/351a-352a/218_BF2012468.sql
+++ /dev/null
@@ -1,55 +0,0 @@
--- 07.07.2008 15:40:27 EEST
---
-UPDATE AD_Tab SET DisplayLogic='@DiscountType@=B', ReadOnlyLogic=NULL,Updated=TO_DATE('2008-07-07 15:40:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=406
-;
-
--- 07.07.2008 15:42:10 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5273
-;
-
--- 07.07.2008 15:42:12 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5274
-;
-
--- 07.07.2008 15:42:15 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5276
-;
-
--- 07.07.2008 15:42:18 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5275
-;
-
--- 07.07.2008 15:42:21 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5277
-;
-
--- 07.07.2008 15:42:24 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5280
-;
-
--- 07.07.2008 15:42:27 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5281
-;
-
--- 07.07.2008 15:42:31 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5278
-;
-
--- 07.07.2008 15:42:34 EEST
---
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-07 15:42:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=10479
-;
-
--- 07.07.2008 15:42:41 EEST
---
-UPDATE AD_Field SET DisplayLogic='@IsBPartnerFlatDiscount@=N',Updated=TO_DATE('2008-07-07 15:42:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=5279
-;
-
diff --git a/migration/oracle/351a-352a/219_FR2012882_PlanningHorizon.sql b/migration/oracle/351a-352a/219_FR2012882_PlanningHorizon.sql
deleted file mode 100644
index c8fa20ae54..0000000000
--- a/migration/oracle/351a-352a/219_FR2012882_PlanningHorizon.sql
+++ /dev/null
@@ -1,161 +0,0 @@
--- Jul 7, 2008 12:21:56 PM CDT
--- Improve MRP
-INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53656,0,'PlanningHorizon',TO_DATE('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','EE01','The planning horizon is the amount of time an organisation will look into the future when preparing a strategic plan.','Y','Planning Horizon','Planning Horizon',TO_DATE('2008-07-07 12:21:51','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jul 7, 2008 12:21:56 PM CDT
--- Improve MRP
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53656 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 7, 2008 12:23:05 PM CDT
--- Improve MRP
-UPDATE AD_Element SET Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',Updated=TO_DATE('2008-07-07 12:23:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53656
-;
-
--- Jul 7, 2008 12:23:05 PM CDT
--- Improve MRP
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53656
-;
-
--- Jul 7, 2008 12:23:05 PM CDT
--- Improve MRP
-UPDATE AD_Column SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656
-;
-
--- Jul 7, 2008 12:23:06 PM CDT
--- Improve MRP
-UPDATE AD_Field SET Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53656) AND IsCentrallyMaintained='Y'
-;
-
--- Jul 7, 2008 12:23:06 PM CDT
--- Improve MRP
-UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', AD_Element_ID=53656 WHERE UPPER(ColumnName)='PLANNINGHORIZON' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- Jul 7, 2008 12:23:06 PM CDT
--- Improve MRP
-UPDATE AD_Process_Para SET ColumnName='PlanningHorizon', Name='Planning Horizon', Description='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.', Help='The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.' WHERE AD_Element_ID=53656 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 7, 2008 12:23:06 PM CDT
--- Improve MRP
-UPDATE AD_PrintFormatItem pi SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53656)
-;
-
--- Jul 7, 2008 12:23:06 PM CDT
--- Improve MRP
-UPDATE AD_PrintFormatItem pi SET PrintName='Planning Horizon', Name='Planning Horizon' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53656)
-;
-
--- Jul 7, 2008 12:23:26 PM CDT
--- Improve MRP
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56150,53656,0,11,487,'PlanningHorizon',TO_DATE('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,'0','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','EE01',22,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','N','N','N','N','N','N','N','N','N','Y','Planning Horizon',0,TO_DATE('2008-07-07 12:23:24','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 7, 2008 12:23:26 PM CDT
--- Improve MRP
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56150 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 7, 2008 12:23:31 PM CDT
--- Improve MRP
-ALTER TABLE S_Resource ADD PlanningHorizon NUMBER(10) DEFAULT 0
-;
-
--- Jul 7, 2008 12:24:42 PM CDT
--- Improve MRP
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56150,56280,0,53015,TO_DATE('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0,'The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.',22,'EE01','The planning horizon is the amount of time (Days) an organisation will look into the future when preparing a strategic plan.','Y','Y','Y','N','N','N','N','N','Planning Horizon',TO_DATE('2008-07-07 12:24:21','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- Jul 7, 2008 12:24:42 PM CDT
--- Improve MRP
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56280 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53293
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53294
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56280
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=53301
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=53302
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=53303
-;
-
--- Jul 7, 2008 12:24:58 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53304
-;
-
-
--- Jul 7, 2008 12:26:04 PM CDT
--- Improve MRP
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-07 12:26:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
-;
-
--- Jul 7, 2008 12:26:24 PM CDT
--- Improve MRP
-UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2008-07-07 12:26:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53301
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=53296
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=53293
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=53292
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=53291
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=53297
-;
-
--- Jul 7, 2008 12:31:27 PM CDT
--- Improve MRP
-UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=53294
-;
-
--- Jul 7, 2008 12:35:03 PM CDT
--- Improve MRP
-UPDATE AD_Field SET DisplayLogic='@IsManufacturingResource@=''Y'' & @ManufacturingResourceType@=''PT''',Updated=TO_DATE('2008-07-07 12:35:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
-;
-
--- Jul 7, 2008 12:35:50 PM CDT
--- Improve MRP
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-07 12:35:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56280
-;
-
diff --git a/migration/oracle/351a-352a/222_FR2003044_AutocompleteForTextfields.sql b/migration/oracle/351a-352a/222_FR2003044_AutocompleteForTextfields.sql
deleted file mode 100755
index 98272d3a91..0000000000
--- a/migration/oracle/351a-352a/222_FR2003044_AutocompleteForTextfields.sql
+++ /dev/null
@@ -1,269 +0,0 @@
--- Jun 26, 2008 12:37:51 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Element (AD_Org_ID,UpdatedBy,Updated,PrintName,Name,IsActive,Help,EntityType,Description,CreatedBy,Created,ColumnName,AD_Element_ID,AD_Client_ID) VALUES (0,100,TO_DATE('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','Autocomplete','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D','Automatic completion for textfields',100,TO_DATE('2008-06-26 12:37:50','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',53655,0)
-;
-
--- Jun 26, 2008 12:37:51 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, PrintName,PO_PrintName,PO_Name,PO_Help,PO_Description,Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.PrintName,t.PO_PrintName,t.PO_Name,t.PO_Help,t.PO_Description,t.Name,t.Help,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53655 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jun 26, 2008 12:37:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Element SET EntityType='D',Updated=TO_DATE('2008-06-26 12:37:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53655
-;
-
--- Jun 26, 2008 12:37:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Column SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655
-;
-
--- Jun 26, 2008 12:37:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53655) AND IsCentrallyMaintained='Y'
-;
-
--- Jun 26, 2008 12:37:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.', AD_Element_ID=53655 WHERE UPPER(ColumnName)='ISAUTOCOMPLETE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- Jun 26, 2008 12:38:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Process_Para SET ColumnName='IsAutocomplete', Name='Autocomplete', Description='Automatic completion for textfields', Help='The autocompletion uses all existing values (from the same client and organization) of the field.' WHERE AD_Element_ID=53655 AND IsCentrallyMaintained='Y'
-;
-
--- Jun 26, 2008 12:38:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_PrintFormatItem pi SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53655)
-;
-
--- Jun 26, 2008 12:38:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_PrintFormatItem pi SET PrintName='Autocomplete', Name='Autocomplete' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53655)
-;
-
--- Jun 26, 2008 12:39:11 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Column (AD_Org_ID,Version,UpdatedBy,Updated,SeqNo,Name,IsUpdateable,IsTranslated,IsSyncDatabase,IsSelectionColumn,IsParent,IsMandatory,IsKey,IsIdentifier,IsEncrypted,IsAlwaysUpdateable,IsActive,Help,FieldLength,EntityType,Description,DefaultValue,CreatedBy,Created,ColumnName,AD_Table_ID,AD_Reference_ID,AD_Element_ID,AD_Column_ID,AD_Client_ID) VALUES (0,0,100,TO_DATE('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),0,'Autocomplete','Y','N','N','N','N','Y','N','N','N','N','Y','The autocompletion uses all existing values (from the same client and organization) of the field.',1,'D','Automatic completion for textfields','N',100,TO_DATE('2008-06-26 12:39:10','YYYY-MM-DD HH24:MI:SS'),'IsAutocomplete',101,20,53655,56149,0)
-;
-
--- Jun 26, 2008 12:39:11 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56149 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jun 26, 2008 12:39:16 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2008-06-26 12:39:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56149
-;
-
--- Jun 26, 2008 12:39:22 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-ALTER TABLE AD_Column ADD IsAutocomplete CHAR(1) DEFAULT 'N' CHECK (IsAutocomplete IN ('Y','N')) NOT NULL
-;
-
--- Jun 26, 2008 12:40:30 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Field (AD_Column_ID,AD_Org_ID,UpdatedBy,Updated,Name,IsSameLine,IsReadOnly,IsHeading,IsFieldOnly,IsEncrypted,IsDisplayed,IsCentrallyMaintained,IsActive,Help,EntityType,DisplayLength,Description,CreatedBy,Created,AD_Tab_ID,AD_Field_ID,AD_Client_ID) VALUES (56149,0,100,TO_DATE('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),'Autocomplete','N','N','N','N','N','Y','Y','Y','The autocompletion uses all existing values (from the same client and organization) of the field.','D',1,'Automatic completion for textfields',100,TO_DATE('2008-06-26 12:40:30','YYYY-MM-DD HH24:MI:SS'),101,56279,0)
-;
-
--- Jun 26, 2008 12:40:31 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Name,Help,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Name,t.Help,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56279 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56279
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=2526
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=171
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=54403
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=2574
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=2573
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=160
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=161
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=162
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=166
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=2370
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=169
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=10128
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4941
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=50188
-;
-
--- Jun 26, 2008 12:52:59 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=168
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=159
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=825
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=4940
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=167
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=5121
-;
-
--- Jun 26, 2008 12:53:00 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=5122
-;
-
--- Jun 26, 2008 12:53:41 PM CEST
--- FR[ 2003044 ] Autocomplete for Textfields - kthiemann@adempiere.org
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@AD_Reference_ID@=10',Updated=TO_DATE('2008-06-26 12:53:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56279
-;
-
--- Jul 29, 2008 12:51:57 PM COT
-UPDATE AD_Field SET SeqNo=380,Updated=TO_DATE('2008-07-29 12:51:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5122
-;
-
- drop view AD_FIELD_V;
-
- CREATE OR REPLACE VIEW AD_FIELD_V
- (AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID, AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED,
- DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE, ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD,
- OBSCURETYPE, COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT, DEFAULTVALUE, ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER,
- ISTRANSLATED, AD_REFERENCE_VALUE_ID, CALLOUT, AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE,
- READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE, ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME, VALUEMIN, VALUEMAX,
- FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID, FIELDGROUPTYPE, ISCOLLAPSEDBYDEFAULT, INFOFACTORYCLASS, ISAUTOCOMPLETE) AS
- SELECT t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
- f.NAME, f.Description, f.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
- f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
- f.IsEncrypted AS IsEncryptedField, f.ObscureType,
- c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
- COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
- c.IsKey, c.IsParent,
- COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
- c.IsIdentifier, c.IsTranslated, COALESCE(f.AD_Reference_Value_ID, c.AD_Reference_Value_ID) AS AD_Reference_Value_ID,
- c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
- COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID) AS AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
- c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn,
- c.IsSelectionColumn,
- tbl.TableName, c.ValueMin, c.ValueMax,
- fg.NAME AS FieldGroup, vr.Code AS ValidationCode,
- f.Included_Tab_ID, fg.FieldGroupType, fg.IsCollapsedByDefault,
- COALESCE(f.InfoFactoryClass, c.InfoFactoryClass) as InfoFactoryClass,
- c.IsAutocomplete
-FROM AD_FIELD f
- INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
- LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
- LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
- INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
- INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
- LEFT OUTER JOIN AD_VAL_RULE vr ON (vr.AD_Val_Rule_ID = COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID))
-WHERE f.IsActive = 'Y'
- AND c.IsActive = 'Y';
-
- drop view AD_FIELD_VT;
-
- CREATE OR REPLACE VIEW AD_FIELD_VT (AD_LANGUAGE, AD_WINDOW_ID, AD_TAB_ID, AD_FIELD_ID, AD_TABLE_ID,
- AD_COLUMN_ID, NAME, DESCRIPTION, HELP, ISDISPLAYED, DISPLAYLOGIC, DISPLAYLENGTH, SEQNO, SORTNO, ISSAMELINE,
- ISHEADING, ISFIELDONLY, ISREADONLY, ISENCRYPTEDFIELD, OBSCURETYPE, COLUMNNAME, COLUMNSQL, FIELDLENGTH, VFORMAT,
- DEFAULTVALUE, ISKEY, ISPARENT, ISMANDATORY, ISIDENTIFIER, ISTRANSLATED, AD_REFERENCE_VALUE_ID, CALLOUT,
- AD_REFERENCE_ID, AD_VAL_RULE_ID, AD_PROCESS_ID, ISALWAYSUPDATEABLE, READONLYLOGIC, MANDATORYLOGIC, ISUPDATEABLE,
- ISENCRYPTEDCOLUMN, ISSELECTIONCOLUMN, TABLENAME, VALUEMIN, VALUEMAX, FIELDGROUP, VALIDATIONCODE, INCLUDED_TAB_ID,
- FIELDGROUPTYPE, ISCOLLAPSEDBYDEFAULT, INFOFACTORYCLASS, ISAUTOCOMPLETE) AS
- SELECT trl.AD_LANGUAGE, t.AD_Window_ID, f.AD_Tab_ID, f.AD_Field_ID, tbl.AD_Table_ID, f.AD_Column_ID,
- trl.NAME, trl.Description, trl.Help, f.IsDisplayed, f.DisplayLogic, f.DisplayLength,
- f.SeqNo, f.SortNo, f.IsSameLine, f.IsHeading, f.IsFieldOnly, f.IsReadOnly,
- f.IsEncrypted AS IsEncryptedField, f.ObscureType,
- c.ColumnName, c.ColumnSQL, c.FieldLength, c.VFormat,
- COALESCE(f.DefaultValue, c.DefaultValue) AS DefaultValue,
- c.IsKey, c.IsParent,
- COALESCE(f.IsMandatory, c.IsMandatory) AS IsMandatory,
- c.IsIdentifier, c.IsTranslated, COALESCE(f.AD_Reference_Value_ID, c.AD_Reference_Value_ID) AS AD_Reference_Value_ID,
- c.Callout, COALESCE(f.AD_Reference_ID, c.AD_Reference_ID) AS AD_Reference_ID,
- COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID) as AD_Val_Rule_ID, c.AD_Process_ID, c.IsAlwaysUpdateable,
- c.ReadOnlyLogic, c.MandatoryLogic, c.IsUpdateable, c.IsEncrypted AS IsEncryptedColumn, c.IsSelectionColumn,
- tbl.TableName, c.ValueMin, c.ValueMax,
- fgt.NAME AS FieldGroup, vr.Code AS ValidationCode,
- f.Included_Tab_ID, fg.FieldGroupType, fg.IsCollapsedByDefault,
- COALESCE(f.InfoFactoryClass, c.InfoFactoryClass) as InfoFactoryClass,
- c.IsAutocomplete
- FROM AD_FIELD f
- INNER JOIN AD_FIELD_TRL trl ON (f.AD_Field_ID = trl.AD_Field_ID)
- INNER JOIN AD_TAB t ON (f.AD_Tab_ID = t.AD_Tab_ID)
- LEFT OUTER JOIN AD_FIELDGROUP fg ON (f.AD_FieldGroup_ID = fg.AD_FieldGroup_ID)
- LEFT OUTER JOIN AD_FIELDGROUP_TRL fgt ON
- (f.AD_FieldGroup_ID = fgt.AD_FieldGroup_ID AND trl.AD_LANGUAGE=fgt.AD_LANGUAGE)
- LEFT OUTER JOIN AD_COLUMN c ON (f.AD_Column_ID = c.AD_Column_ID)
- INNER JOIN AD_TABLE tbl ON (c.AD_Table_ID = tbl.AD_Table_ID)
- INNER JOIN AD_REFERENCE r ON (c.AD_Reference_ID = r.AD_Reference_ID)
- LEFT OUTER JOIN AD_VAL_RULE vr ON (vr.AD_Val_Rule_ID=COALESCE(f.AD_Val_Rule_ID, c.AD_Val_Rule_ID))
- WHERE f.IsActive = 'Y'
- AND c.IsActive = 'Y';
diff --git a/migration/oracle/351a-352a/226_FinancialReportSourceCombination.sql b/migration/oracle/351a-352a/226_FinancialReportSourceCombination.sql
deleted file mode 100644
index efd670324f..0000000000
--- a/migration/oracle/351a-352a/226_FinancialReportSourceCombination.sql
+++ /dev/null
@@ -1,1753 +0,0 @@
--- Jul 9, 2008 3:33:39 PM COT
--- Financial Report Source with Type Combination
-
--- recreate index to include the two new columns
-
-drop index FACT_ACCT_BALANCE_AKEY;
-
-CREATE UNIQUE INDEX FACT_ACCT_BALANCE_AKEY ON FACT_ACCT_BALANCE
-(AD_CLIENT_ID, AD_ORG_ID, C_ACCTSCHEMA_ID, DATEACCT, ACCOUNT_ID,
-POSTINGTYPE, M_PRODUCT_ID, C_BPARTNER_ID, C_PROJECT_ID, AD_ORGTRX_ID,
-C_SALESREGION_ID, C_ACTIVITY_ID, C_CAMPAIGN_ID, C_LOCTO_ID, C_LOCFROM_ID,
-USER1_ID, USER2_ID, USERELEMENT1_ID, USERELEMENT2_ID, GL_BUDGET_ID);
-
-
-/*
-
-Alternatively - in case you replaced fact_acct_balance with a view - this is the view replacement:
-
-CREATE OR REPLACE VIEW fact_acct_balance
-AS
- SELECT ad_client_id, ad_org_id, c_acctschema_id,
- TRUNC (dateacct) as dateacct, account_id, postingtype,
- m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
- c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
- c_locfrom_id, user1_id, user2_id, gl_budget_id,
- COALESCE (SUM (amtacctdr), 0) as amtacctdr,
- COALESCE (SUM (amtacctcr), 0) as amtacctcr,
- COALESCE (SUM (qty), 0) as qty, MAX (createdby) as createdby,
- MAX (created) as created, MAX (updatedby) as updatedby,
- MAX (updated) as updated, MAX (isactive) as isactive,
- MAX (c_subacct_id) as c_subacct_id, userelement1_id,
- userelement2_id, MAX (c_projectphase_id) as c_projectphase_id,
- MAX (c_projecttask_id) as c_projecttask_id
- FROM fact_acct a
- GROUP BY ad_client_id, ad_org_id, c_acctschema_id,
- TRUNC (dateacct), account_id, postingtype,
- m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
- c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
- c_locfrom_id, user1_id, user2_id,
- userelement1_id, userelement2_id,
- gl_budget_id
-/
-
-*/
-
-INSERT INTO AD_Reference (UpdatedBy,ValidationType,AD_Org_ID,Updated,VFormat,Help,Created,AD_Client_ID,AD_Reference_ID,EntityType,Name,CreatedBy,IsActive,Description,IsOrderByValue) VALUES (100,'L',0,TO_DATE('2008-07-09 15:33:11','YYYY-MM-DD HH24:MI:SS'),'AA','Hardcoded Element Types',TO_DATE('2008-07-09 15:33:11','YYYY-MM-DD HH24:MI:SS'),0,53280,'D','PA_ReportSource ElementType',100,'Y','Element Types for Accounting Elements - equal to C_AcctSchema ElementType plus Combination','N')
-;
-
--- Jul 9, 2008 3:33:39 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53280 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
-;
-
--- Jul 9, 2008 3:34:47 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Reference_Trl SET Description='Tipos de elementos para elementos contables - igual a C_AcctSchema ElementType mas Combinación',Help='Tipos de elementos definidos en forma fija',Updated=TO_DATE('2008-07-09 15:34:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53280 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:35:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:35:10','YYYY-MM-DD HH24:MI:SS'),'AC',TO_DATE('2008-07-09 15:35:10','YYYY-MM-DD HH24:MI:SS'),0,53280,53418,'D','Account',100,'Y','Natural Account')
-;
-
--- Jul 9, 2008 3:35:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53418 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:36:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:35:58','YYYY-MM-DD HH24:MI:SS'),'AY',TO_DATE('2008-07-09 15:35:58','YYYY-MM-DD HH24:MI:SS'),0,53280,53419,'D','Activity',100,'Y','Business Activity')
-;
-
--- Jul 9, 2008 3:36:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53419 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:36:42 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:36:38','YYYY-MM-DD HH24:MI:SS'),'BP',TO_DATE('2008-07-09 15:36:38','YYYY-MM-DD HH24:MI:SS'),0,53280,53420,'D','BPartner',100,'Y','Business Partner')
-;
-
--- Jul 9, 2008 3:36:42 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53420 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:37:02 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:36:55','YYYY-MM-DD HH24:MI:SS'),'LF',TO_DATE('2008-07-09 15:36:55','YYYY-MM-DD HH24:MI:SS'),0,53280,53421,'D','Location From',100,'Y','Location From')
-;
-
--- Jul 9, 2008 3:37:02 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53421 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:37:14 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:37:13','YYYY-MM-DD HH24:MI:SS'),'LT',TO_DATE('2008-07-09 15:37:13','YYYY-MM-DD HH24:MI:SS'),0,53280,53422,'D','Location To',100,'Y','Location To')
-;
-
--- Jul 9, 2008 3:37:14 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53422 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:37:32 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:37:31','YYYY-MM-DD HH24:MI:SS'),'MC',TO_DATE('2008-07-09 15:37:31','YYYY-MM-DD HH24:MI:SS'),0,53280,53423,'D','Campaign',100,'Y','Marketing Campaign')
-;
-
--- Jul 9, 2008 3:37:32 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53423 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:37:46 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:37:45','YYYY-MM-DD HH24:MI:SS'),'OO',TO_DATE('2008-07-09 15:37:45','YYYY-MM-DD HH24:MI:SS'),0,53280,53424,'D','Organization',100,'Y','Owning Organization')
-;
-
--- Jul 9, 2008 3:37:46 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53424 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:38:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:37:59','YYYY-MM-DD HH24:MI:SS'),'OT',TO_DATE('2008-07-09 15:37:59','YYYY-MM-DD HH24:MI:SS'),0,53280,53425,'D','Org Trx',100,'Y','Transaction Organization')
-;
-
--- Jul 9, 2008 3:38:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53425 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:38:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:38:11','YYYY-MM-DD HH24:MI:SS'),'PJ',TO_DATE('2008-07-09 15:38:11','YYYY-MM-DD HH24:MI:SS'),0,53280,53426,'D','Project',100,'Y','Project')
-;
-
--- Jul 9, 2008 3:38:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53426 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:38:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:38:25','YYYY-MM-DD HH24:MI:SS'),'PR',TO_DATE('2008-07-09 15:38:25','YYYY-MM-DD HH24:MI:SS'),0,53280,53427,'D','Product',100,'Y','Product')
-;
-
--- Jul 9, 2008 3:38:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53427 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:38:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:38:37','YYYY-MM-DD HH24:MI:SS'),'SA',TO_DATE('2008-07-09 15:38:37','YYYY-MM-DD HH24:MI:SS'),0,53280,53428,'D','Sub Account',100,'Y','Sub Account for Element Value')
-;
-
--- Jul 9, 2008 3:38:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53428 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:38:50 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:38:49','YYYY-MM-DD HH24:MI:SS'),'SR',TO_DATE('2008-07-09 15:38:49','YYYY-MM-DD HH24:MI:SS'),0,53280,53429,'D','Sales Region',100,'Y','Sales Region')
-;
-
--- Jul 9, 2008 3:38:50 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53429 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:39:01 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:39:01','YYYY-MM-DD HH24:MI:SS'),'U1',TO_DATE('2008-07-09 15:39:01','YYYY-MM-DD HH24:MI:SS'),0,53280,53430,'D','User List 1',100,'Y','User 1')
-;
-
--- Jul 9, 2008 3:39:01 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53430 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:39:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:39:15','YYYY-MM-DD HH24:MI:SS'),'U2',TO_DATE('2008-07-09 15:39:15','YYYY-MM-DD HH24:MI:SS'),0,53280,53431,'D','User List 2',100,'Y','User 2')
-;
-
--- Jul 9, 2008 3:39:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53431 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:39:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive) VALUES (100,0,TO_DATE('2008-07-09 15:39:27','YYYY-MM-DD HH24:MI:SS'),'X1',TO_DATE('2008-07-09 15:39:27','YYYY-MM-DD HH24:MI:SS'),0,53280,53432,'D','User Element 1',100,'Y')
-;
-
--- Jul 9, 2008 3:39:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53432 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:39:40 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive) VALUES (100,0,TO_DATE('2008-07-09 15:39:39','YYYY-MM-DD HH24:MI:SS'),'X2',TO_DATE('2008-07-09 15:39:39','YYYY-MM-DD HH24:MI:SS'),0,53280,53433,'D','User Element 2',100,'Y')
-;
-
--- Jul 9, 2008 3:39:40 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53433 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:40:02 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List (UpdatedBy,AD_Org_ID,Updated,Value,Created,AD_Client_ID,AD_Reference_ID,AD_Ref_List_ID,EntityType,Name,CreatedBy,IsActive,Description) VALUES (100,0,TO_DATE('2008-07-09 15:39:57','YYYY-MM-DD HH24:MI:SS'),'CO',TO_DATE('2008-07-09 15:39:57','YYYY-MM-DD HH24:MI:SS'),0,53280,53434,'D','Combination',100,'Y','Combination of accounting dimensions')
-;
-
--- Jul 9, 2008 3:40:02 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53434 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 9, 2008 3:40:17 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Cuenta',Description='Cuenta Natural',Updated=TO_DATE('2008-07-09 15:40:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53418 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:40:32 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Actividad',Description=NULL,Updated=TO_DATE('2008-07-09 15:40:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53419 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:40:49 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Socio del Negocio',Description='Socio del Negocio',Updated=TO_DATE('2008-07-09 15:40:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53420 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:41:05 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Localización Desde',Description='Localización Desde',Updated=TO_DATE('2008-07-09 15:41:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53421 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:41:18 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Localización A',Description='Localización A',Updated=TO_DATE('2008-07-09 15:41:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53422 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:41:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Campaña',Description='Campaña de Mercadotecnia',Updated=TO_DATE('2008-07-09 15:41:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53423 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:41:50 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Organización',Description='Organización Poseedora',Updated=TO_DATE('2008-07-09 15:41:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53424 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:42:05 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Trans Org',Description='Transacción de la Organización',Updated=TO_DATE('2008-07-09 15:42:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53425 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:42:19 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Proyecto',Description='Proyecto',Updated=TO_DATE('2008-07-09 15:42:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53426 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:42:31 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Producto',Description='Producto',Updated=TO_DATE('2008-07-09 15:42:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53427 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:42:47 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Sub Cuenta',Description='Sub Cuenta para Valor del Elemento',Updated=TO_DATE('2008-07-09 15:42:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53428 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:43:02 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Región de Ventas',Description='Región de Ventas',Updated=TO_DATE('2008-07-09 15:43:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53429 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:43:24 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Lista Usuario 1',Description='Usuario 1',Updated=TO_DATE('2008-07-09 15:43:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53430 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:43:39 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Lista Usuario 2',Description='Usuario 2',Updated=TO_DATE('2008-07-09 15:43:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53431 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:43:52 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Elemento de Usuario 1',Updated=TO_DATE('2008-07-09 15:43:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53432 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:44:01 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Elemento de Usuario 2',Updated=TO_DATE('2008-07-09 15:44:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53433 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:44:20 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Ref_List_Trl SET IsTranslated='Y',Name='Combinación',Description='Combinacion de dimensiones contables',Updated=TO_DATE('2008-07-09 15:44:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53434 AND AD_Language LIKE 'es_%'
-;
-
--- Jul 9, 2008 3:45:38 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Column SET AD_Reference_Value_ID=53280,Updated=TO_DATE('2008-07-09 15:45:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6085
-;
-
--- Jul 9, 2008 3:46:39 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Column SET AD_Reference_Value_ID=53280,Updated=TO_DATE('2008-07-09 15:46:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6024
-;
-
--- Jul 9, 2008 3:48:55 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=OO | @ElementType@=OT | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:48:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4815
-;
-
--- Jul 9, 2008 3:48:57 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=AC | @ElementType@=U1 | @ElementType@=U2 | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:48:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4805
-;
-
--- Jul 9, 2008 3:48:59 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=BP | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:48:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4816
-;
-
--- Jul 9, 2008 3:49:01 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=PR | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4807
-;
-
--- Jul 9, 2008 3:49:02 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=LF | @ElementType@=LT | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4808
-;
-
--- Jul 9, 2008 3:49:04 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=PJ | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4806
-;
-
--- Jul 9, 2008 3:49:05 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=SR | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4809
-;
-
--- Jul 9, 2008 3:49:06 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=AY | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4810
-;
-
--- Jul 9, 2008 3:49:09 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=MC | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4817
-;
-
--- Jul 9, 2008 3:49:44 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=OO | @ElementType@=OT | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4764
-;
-
--- Jul 9, 2008 3:49:45 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=AC | @ElementType@=U1 | @ElementType@=U2 | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4765
-;
-
--- Jul 9, 2008 3:49:47 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=PR | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4766
-;
-
--- Jul 9, 2008 3:49:49 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=MC | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4777
-;
-
--- Jul 9, 2008 3:49:50 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=BP | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4776
-;
-
--- Jul 9, 2008 3:49:51 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=PJ | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4775
-;
-
--- Jul 9, 2008 3:49:53 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=LF | @ElementType@=LT | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4767
-;
-
--- Jul 9, 2008 3:49:54 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=SR | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:49:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4768
-;
-
--- Jul 9, 2008 3:50:03 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic='@ElementType@=AY | @ElementType@=CO',Updated=TO_DATE('2008-07-09 15:50:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4769
-;
-
--- Jul 9, 2008 3:50:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-09 15:50:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4756
-;
-
--- Jul 9, 2008 3:57:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Val_Rule SET Code='C_ElementValue.C_Element_ID IN
-(SELECT C_Element_ID FROM C_AcctSchema_Element WHERE C_AcctSchema_ID=@$C_AcctSchema_ID@ AND (ElementType=''@ElementType@'' OR (''@ElementType@''=''CO'' AND ElementType=''AC'')))',Updated=TO_DATE('2008-07-09 15:57:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=258
-;
-
--- Jul 9, 2008 5:40:22 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,Help,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',10,100,'UserElement1_ID',0,'N',0,TO_DATE('2008-07-09 17:40:17','YYYY-MM-DD HH24:MI:SS'),'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)','N',TO_DATE('2008-07-09 17:40:17','YYYY-MM-DD HH24:MI:SS'),0,56151,13,'D','User Element 1','N',100,'N','N','Y',2877,'User defined accounting Element','N','N')
-;
-
--- Jul 9, 2008 5:40:22 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56151 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 9, 2008 5:40:28 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD UserElement1_ID NUMBER(10)
-;
-
--- Jul 9, 2008 5:41:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,Help,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',10,100,'UserElement2_ID',0,'N',0,TO_DATE('2008-07-09 17:41:12','YYYY-MM-DD HH24:MI:SS'),'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ','N',TO_DATE('2008-07-09 17:41:12','YYYY-MM-DD HH24:MI:SS'),0,56152,13,'D','User Element 2','N',100,'N','N','Y',2878,'User defined accounting Element','N','N')
-;
-
--- Jul 9, 2008 5:41:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56152 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 9, 2008 5:41:16 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD UserElement2_ID NUMBER(10)
-;
-
--- Jul 9, 2008 5:42:04 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,Help,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',10,100,'UserElement1_ID',0,'N',0,TO_DATE('2008-07-09 17:42:00','YYYY-MM-DD HH24:MI:SS'),'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)','N',TO_DATE('2008-07-09 17:42:00','YYYY-MM-DD HH24:MI:SS'),0,56153,13,'D','User Element 1','N',100,'N','N','Y',2877,'User defined accounting Element','N','N')
-;
-
--- Jul 9, 2008 5:42:04 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56153 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 9, 2008 5:42:07 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD UserElement1_ID NUMBER(10)
-;
-
--- Jul 9, 2008 5:42:48 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,Help,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',10,100,'UserElement2_ID',0,'N',0,TO_DATE('2008-07-09 17:42:43','YYYY-MM-DD HH24:MI:SS'),'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ','N',TO_DATE('2008-07-09 17:42:43','YYYY-MM-DD HH24:MI:SS'),0,56154,13,'D','User Element 2','N',100,'N','N','Y',2878,'User defined accounting Element','N','N')
-;
-
--- Jul 9, 2008 5:42:48 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56154 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 9, 2008 5:42:49 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD UserElement2_ID NUMBER(10)
-;
-
--- Jul 9, 2008 5:48:36 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,SeqNo,Updated,DisplayLength,Help,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,DisplayLogic,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,310,TO_DATE('2008-07-09 17:48:33','YYYY-MM-DD HH24:MI:SS'),14,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)',TO_DATE('2008-07-09 17:48:33','YYYY-MM-DD HH24:MI:SS'),'Y',0,56151,'N','D','N','User Element 1','N','@ElementType@=X1 | @ElementType@=CO & @$Element_X1@=Y',100,'Y','Y',56281,'User defined accounting Element','N')
-;
-
--- Jul 9, 2008 5:48:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56281 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 9, 2008 5:48:58 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,SeqNo,Updated,DisplayLength,Help,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,DisplayLogic,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,320,TO_DATE('2008-07-09 17:48:58','YYYY-MM-DD HH24:MI:SS'),14,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ',TO_DATE('2008-07-09 17:48:58','YYYY-MM-DD HH24:MI:SS'),'Y',0,56152,'N','D','N','User Element 2','N','@ElementType@=X2 | @ElementType@=CO & @$Element_X2@=Y',100,'Y','Y',56282,'User defined accounting Element','N')
-;
-
--- Jul 9, 2008 5:48:59 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56282 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 9, 2008 5:50:43 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,SeqNo,Updated,DisplayLength,Help,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,DisplayLogic,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,170,TO_DATE('2008-07-09 17:50:43','YYYY-MM-DD HH24:MI:SS'),14,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)',TO_DATE('2008-07-09 17:50:43','YYYY-MM-DD HH24:MI:SS'),'Y',0,56153,'N','D','N','User Element 1','N','@ElementType@=X1 | @ElementType@=CO & @$Element_X1@=Y',100,'Y','Y',56283,'User defined accounting Element','N')
-;
-
--- Jul 9, 2008 5:50:44 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56283 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 9, 2008 5:51:07 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,SeqNo,Updated,DisplayLength,Help,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,DisplayLogic,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,180,TO_DATE('2008-07-09 17:51:02','YYYY-MM-DD HH24:MI:SS'),14,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ',TO_DATE('2008-07-09 17:51:02','YYYY-MM-DD HH24:MI:SS'),'Y',0,56154,'N','D','N','User Element 2','N','@ElementType@=X2 | @ElementType@=CO & @$Element_X2@=Y',100,'Y','Y',56284,'User defined accounting Element','N')
-;
-
--- Jul 9, 2008 5:51:07 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56284 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:40:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsOrg',0,TO_DATE('2008-07-10 16:40:08','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:40:08','YYYY-MM-DD HH24:MI:SS'),'Include Nulls Org',0,'D','Include Nulls Org',100,'Y',53657,'Include nulls in the selection of the organization')
-;
-
--- Jul 10, 2008 4:40:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53657 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:41:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsElementValue',0,TO_DATE('2008-07-10 16:41:22','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:41:22','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Account',0,'D','Include Nulls in Account',100,'Y',53658,'Include nulls in the selection of the account')
-;
-
--- Jul 10, 2008 4:41:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53658 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Element SET PrintName='Include Nulls in Org', Name='Include Nulls in Org',Updated=TO_DATE('2008-07-10 16:41:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53657
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53657
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Column SET ColumnName='IsIncludeNullsOrg', Name='Include Nulls in Org', Description='Include nulls in the selection of the organization', Help=NULL WHERE AD_Element_ID=53657
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET Name='Include Nulls in Org', Description='Include nulls in the selection of the organization', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53657) AND IsCentrallyMaintained='Y'
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Process_Para SET ColumnName='IsIncludeNullsOrg', Name='Include Nulls in Org', Description='Include nulls in the selection of the organization', Help=NULL, AD_Element_ID=53657 WHERE UPPER(ColumnName)='ISINCLUDENULLSORG' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Process_Para SET ColumnName='IsIncludeNullsOrg', Name='Include Nulls in Org', Description='Include nulls in the selection of the organization', Help=NULL WHERE AD_Element_ID=53657 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_PrintFormatItem pi SET PrintName='Include Nulls in Org', Name='Include Nulls in Org' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53657)
-;
-
--- Jul 10, 2008 4:41:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_PrintFormatItem pi SET PrintName='Include Nulls in Org', Name='Include Nulls in Org' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53657)
-;
-
--- Jul 10, 2008 4:41:55 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Help,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsBpartner',0,TO_DATE('2008-07-10 16:41:54','YYYY-MM-DD HH24:MI:SS'),NULL,TO_DATE('2008-07-10 16:41:54','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in BPartner',0,'D','Include Nulls in BPartner',100,'Y',53659,'Include nulls in the selection of the business partner')
-;
-
--- Jul 10, 2008 4:41:55 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53659 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Element SET ColumnName='IsIncludeNullsBPartner',Updated=TO_DATE('2008-07-10 16:42:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53659
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Column SET ColumnName='IsIncludeNullsBPartner', Name='Include Nulls in BPartner', Description='Include nulls in the selection of the business partner', Help=NULL WHERE AD_Element_ID=53659
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET Name='Include Nulls in BPartner', Description='Include nulls in the selection of the business partner', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53659) AND IsCentrallyMaintained='Y'
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Process_Para SET ColumnName='IsIncludeNullsBPartner', Name='Include Nulls in BPartner', Description='Include nulls in the selection of the business partner', Help=NULL, AD_Element_ID=53659 WHERE UPPER(ColumnName)='ISINCLUDENULLSBPARTNER' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Process_Para SET ColumnName='IsIncludeNullsBPartner', Name='Include Nulls in BPartner', Description='Include nulls in the selection of the business partner', Help=NULL WHERE AD_Element_ID=53659 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_PrintFormatItem pi SET PrintName='Include Nulls in BPartner', Name='Include Nulls in BPartner' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53659)
-;
-
--- Jul 10, 2008 4:42:07 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_PrintFormatItem pi SET PrintName='Include Nulls in BPartner', Name='Include Nulls in BPartner' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53659)
-;
-
--- Jul 10, 2008 4:42:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsProduct',0,TO_DATE('2008-07-10 16:42:37','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:42:37','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Product',0,'D','Include Nulls in Product',100,'Y',53660,'Include nulls in the selection of the product')
-;
-
--- Jul 10, 2008 4:42:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53660 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:42:54 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsLocation',0,TO_DATE('2008-07-10 16:42:53','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:42:53','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Location',0,'D','Include Nulls in Location',100,'Y',53661,'Include nulls in the selection of the location')
-;
-
--- Jul 10, 2008 4:42:55 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53661 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:43:14 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsProject',0,TO_DATE('2008-07-10 16:43:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:43:13','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Project',0,'D','Include Nulls in Project',100,'Y',53662,'Include nulls in the selection of the project')
-;
-
--- Jul 10, 2008 4:43:15 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53662 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:43:34 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsSalesRegion',0,TO_DATE('2008-07-10 16:43:33','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:43:33','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Sales Region',0,'D','Include Nulls in Sales Region',100,'Y',53663,'Include nulls in the selection of the sales region')
-;
-
--- Jul 10, 2008 4:43:34 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53663 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:43:51 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsActivity',0,TO_DATE('2008-07-10 16:43:50','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:43:50','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Activity',0,'D','Include Nulls in Activity',100,'Y',53664,'Include nulls in the selection of the activity')
-;
-
--- Jul 10, 2008 4:43:51 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53664 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:44:05 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsCampaign',0,TO_DATE('2008-07-10 16:44:04','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:44:04','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in Campaign',0,'D','Include Nulls in Campaign',100,'Y',53665,'Include nulls in the selection of the campaign')
-;
-
--- Jul 10, 2008 4:44:05 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53665 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:44:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsUserElement1',0,TO_DATE('2008-07-10 16:44:22','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:44:22','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in User Element 1',0,'D','Include Nulls in User Element 1',100,'Y',53666,'Include nulls in the selection of the user element 1')
-;
-
--- Jul 10, 2008 4:44:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53666 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:44:31 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element (UpdatedBy,ColumnName,AD_Org_ID,Updated,Created,PrintName,AD_Client_ID,EntityType,Name,CreatedBy,IsActive,AD_Element_ID,Description) VALUES (100,'IsIncludeNullsUserElement2',0,TO_DATE('2008-07-10 16:44:30','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2008-07-10 16:44:30','YYYY-MM-DD HH24:MI:SS'),'Include Nulls in User Element 2',0,'D','Include Nulls in User Element 2',100,'Y',53667,'Include nulls in the selection of the user element 2')
-;
-
--- Jul 10, 2008 4:44:31 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PrintName,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PrintName,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53667 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
-;
-
--- Jul 10, 2008 4:45:53 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsOrg',0,'N',0,TO_DATE('2008-07-10 16:45:51','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:45:51','YYYY-MM-DD HH24:MI:SS'),0,56155,20,'D','Include Nulls in Org','N',100,'Y','N','Y',53657,'Include nulls in the selection of the organization','N','N')
-;
-
--- Jul 10, 2008 4:45:53 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56155 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:45:57 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsOrg CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsOrg IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:46:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsElementValue',0,'N',0,TO_DATE('2008-07-10 16:46:26','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:46:26','YYYY-MM-DD HH24:MI:SS'),0,56156,20,'D','Include Nulls in Account','N',100,'Y','N','Y',53658,'Include nulls in the selection of the account','N','N')
-;
-
--- Jul 10, 2008 4:46:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56156 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:46:31 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsElementValue CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsElementValue IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:46:47 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsBPartner',0,'N',0,TO_DATE('2008-07-10 16:46:46','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:46:46','YYYY-MM-DD HH24:MI:SS'),0,56157,20,'D','Include Nulls in BPartner','N',100,'Y','N','Y',53659,'Include nulls in the selection of the business partner','N','N')
-;
-
--- Jul 10, 2008 4:46:47 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56157 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:46:50 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsBPartner CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsBPartner IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:47:02 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsProduct',0,'N',0,TO_DATE('2008-07-10 16:47:02','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:47:02','YYYY-MM-DD HH24:MI:SS'),0,56158,20,'D','Include Nulls in Product','N',100,'Y','N','Y',53660,'Include nulls in the selection of the product','N','N')
-;
-
--- Jul 10, 2008 4:47:03 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56158 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:47:04 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsProduct CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsProduct IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:47:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsLocation',0,'N',0,TO_DATE('2008-07-10 16:47:15','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:47:15','YYYY-MM-DD HH24:MI:SS'),0,56159,20,'D','Include Nulls in Location','N',100,'Y','N','Y',53661,'Include nulls in the selection of the location','N','N')
-;
-
--- Jul 10, 2008 4:47:16 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56159 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:47:18 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsLocation CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsLocation IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:47:30 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsProject',0,'N',0,TO_DATE('2008-07-10 16:47:29','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:47:29','YYYY-MM-DD HH24:MI:SS'),0,56160,20,'D','Include Nulls in Project','N',100,'Y','N','Y',53662,'Include nulls in the selection of the project','N','N')
-;
-
--- Jul 10, 2008 4:47:30 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56160 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:47:32 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsProject CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsProject IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:47:43 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsSalesRegion',0,'N',0,TO_DATE('2008-07-10 16:47:42','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:47:42','YYYY-MM-DD HH24:MI:SS'),0,56161,20,'D','Include Nulls in Sales Region','N',100,'Y','N','Y',53663,'Include nulls in the selection of the sales region','N','N')
-;
-
--- Jul 10, 2008 4:47:43 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56161 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:47:45 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsSalesRegion CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsSalesRegion IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:48:04 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsActivity',0,'N',0,TO_DATE('2008-07-10 16:48:03','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:48:03','YYYY-MM-DD HH24:MI:SS'),0,56162,20,'D','Include Nulls in Activity','N',100,'Y','N','Y',53664,'Include nulls in the selection of the activity','N','N')
-;
-
--- Jul 10, 2008 4:48:04 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56162 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:48:06 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsActivity CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsActivity IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:48:17 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsCampaign',0,'N',0,TO_DATE('2008-07-10 16:48:16','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:48:16','YYYY-MM-DD HH24:MI:SS'),0,56163,20,'D','Include Nulls in Campaign','N',100,'Y','N','Y',53665,'Include nulls in the selection of the campaign','N','N')
-;
-
--- Jul 10, 2008 4:48:17 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56163 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:48:19 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsCampaign CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsCampaign IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:49:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsUserElement1',0,'N',0,TO_DATE('2008-07-10 16:48:59','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:48:59','YYYY-MM-DD HH24:MI:SS'),0,56164,20,'D','Include Nulls in User Element 1','N',100,'Y','N','Y',53666,'Include nulls in the selection of the user element 1','N','N')
-;
-
--- Jul 10, 2008 4:49:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56164 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:49:03 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsUserElement1 CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsUserElement1 IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:49:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',450,0,'N','Y',1,100,'IsIncludeNullsUserElement2',0,'N',0,TO_DATE('2008-07-10 16:49:12','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:49:12','YYYY-MM-DD HH24:MI:SS'),0,56165,20,'D','Include Nulls in User Element 2','N',100,'Y','N','Y',53667,'Include nulls in the selection of the user element 2','N','N')
-;
-
--- Jul 10, 2008 4:49:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56165 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:49:15 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportSource ADD IsIncludeNullsUserElement2 CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsUserElement2 IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:51:52 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsOrg',0,'N',0,TO_DATE('2008-07-10 16:51:51','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:51:51','YYYY-MM-DD HH24:MI:SS'),0,56166,20,'D','Include Nulls in Org','N',100,'Y','N','Y',53657,'Include nulls in the selection of the organization','N','N')
-;
-
--- Jul 10, 2008 4:51:52 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56166 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:51:53 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsOrg CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsOrg IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:52:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsElementValue',0,'N',0,TO_DATE('2008-07-10 16:52:12','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:52:12','YYYY-MM-DD HH24:MI:SS'),0,56167,20,'D','Include Nulls in Account','N',100,'Y','N','Y',53658,'Include nulls in the selection of the account','N','N')
-;
-
--- Jul 10, 2008 4:52:12 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56167 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:52:14 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsElementValue CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsElementValue IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:52:32 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsBPartner',0,'N',0,TO_DATE('2008-07-10 16:52:31','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:52:31','YYYY-MM-DD HH24:MI:SS'),0,56168,20,'D','Include Nulls in BPartner','N',100,'Y','N','Y',53659,'Include nulls in the selection of the business partner','N','N')
-;
-
--- Jul 10, 2008 4:52:32 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56168 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:52:34 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsBPartner CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsBPartner IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:52:48 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsProduct',0,'N',0,TO_DATE('2008-07-10 16:52:46','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:52:46','YYYY-MM-DD HH24:MI:SS'),0,56169,20,'D','Include Nulls in Product','N',100,'Y','N','Y',53660,'Include nulls in the selection of the product','N','N')
-;
-
--- Jul 10, 2008 4:52:48 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56169 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:52:50 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsProduct CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsProduct IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:53:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsLocation',0,'N',0,TO_DATE('2008-07-10 16:52:59','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:52:59','YYYY-MM-DD HH24:MI:SS'),0,56170,20,'D','Include Nulls in Location','N',100,'Y','N','Y',53661,'Include nulls in the selection of the location','N','N')
-;
-
--- Jul 10, 2008 4:53:00 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56170 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:53:01 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsLocation CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsLocation IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:53:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsProject',0,'N',0,TO_DATE('2008-07-10 16:53:12','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:53:12','YYYY-MM-DD HH24:MI:SS'),0,56171,20,'D','Include Nulls in Project','N',100,'Y','N','Y',53662,'Include nulls in the selection of the project','N','N')
-;
-
--- Jul 10, 2008 4:53:13 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56171 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:53:14 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsProject CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsProject IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:53:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsSalesRegion',0,'N',0,TO_DATE('2008-07-10 16:53:26','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:53:26','YYYY-MM-DD HH24:MI:SS'),0,56172,20,'D','Include Nulls in Sales Region','N',100,'Y','N','Y',53663,'Include nulls in the selection of the sales region','N','N')
-;
-
--- Jul 10, 2008 4:53:28 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56172 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:53:29 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsSalesRegion CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsSalesRegion IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:53:42 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsActivity',0,'N',0,TO_DATE('2008-07-10 16:53:40','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:53:40','YYYY-MM-DD HH24:MI:SS'),0,56173,20,'D','Include Nulls in Activity','N',100,'Y','N','Y',53664,'Include nulls in the selection of the activity','N','N')
-;
-
--- Jul 10, 2008 4:53:42 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56173 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:53:44 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsActivity CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsActivity IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:53:54 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsCampaign',0,'N',0,TO_DATE('2008-07-10 16:53:54','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:53:54','YYYY-MM-DD HH24:MI:SS'),0,56174,20,'D','Include Nulls in Campaign','N',100,'Y','N','Y',53665,'Include nulls in the selection of the campaign','N','N')
-;
-
--- Jul 10, 2008 4:53:55 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56174 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:53:58 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsCampaign CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsCampaign IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:54:10 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsUserElement1',0,'N',0,TO_DATE('2008-07-10 16:54:09','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:54:09','YYYY-MM-DD HH24:MI:SS'),0,56175,20,'D','Include Nulls in User Element 1','N',100,'Y','N','Y',53666,'Include nulls in the selection of the user element 1','N','N')
-;
-
--- Jul 10, 2008 4:54:10 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56175 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:54:12 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsUserElement1 CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsUserElement1 IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:54:24 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column (IsParent,AD_Table_ID,Version,IsIdentifier,IsUpdateable,FieldLength,UpdatedBy,ColumnName,AD_Org_ID,IsSyncDatabase,SeqNo,Updated,DefaultValue,IsTranslated,Created,AD_Client_ID,AD_Column_ID,AD_Reference_ID,EntityType,Name,IsSelectionColumn,CreatedBy,IsMandatory,IsKey,IsActive,AD_Element_ID,Description,IsEncrypted,IsAlwaysUpdateable) VALUES ('N',446,0,'N','Y',1,100,'IsIncludeNullsUserElement2',0,'N',0,TO_DATE('2008-07-10 16:54:23','YYYY-MM-DD HH24:MI:SS'),'N','N',TO_DATE('2008-07-10 16:54:23','YYYY-MM-DD HH24:MI:SS'),0,56176,20,'D','Include Nulls in User Element 2','N',100,'Y','N','Y',53667,'Include nulls in the selection of the user element 2','N','N')
-;
-
--- Jul 10, 2008 4:54:24 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56176 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 10, 2008 4:54:26 PM COT
--- Financial Report Source with Type Combination
-ALTER TABLE PA_ReportColumn ADD IsIncludeNullsUserElement2 CHAR(1) DEFAULT 'N' CHECK (IsIncludeNullsUserElement2 IN ('Y','N')) NOT NULL
-;
-
--- Jul 10, 2008 4:55:32 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:29','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:29','YYYY-MM-DD HH24:MI:SS'),'Y',0,56156,'N','D','N','Include Nulls in Account','N',100,'Y','Y',56285,'Include nulls in the selection of the account','N')
-;
-
--- Jul 10, 2008 4:55:33 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56285 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:34 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:33','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:33','YYYY-MM-DD HH24:MI:SS'),'Y',0,56162,'N','D','N','Include Nulls in Activity','N',100,'Y','Y',56286,'Include nulls in the selection of the activity','N')
-;
-
--- Jul 10, 2008 4:55:34 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56286 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:35 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:34','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:34','YYYY-MM-DD HH24:MI:SS'),'Y',0,56157,'N','D','N','Include Nulls in BPartner','N',100,'Y','Y',56287,'Include nulls in the selection of the business partner','N')
-;
-
--- Jul 10, 2008 4:55:36 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56287 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:36 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:36','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:36','YYYY-MM-DD HH24:MI:SS'),'Y',0,56163,'N','D','N','Include Nulls in Campaign','N',100,'Y','Y',56288,'Include nulls in the selection of the campaign','N')
-;
-
--- Jul 10, 2008 4:55:36 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56288 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:37 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:36','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:36','YYYY-MM-DD HH24:MI:SS'),'Y',0,56159,'N','D','N','Include Nulls in Location','N',100,'Y','Y',56289,'Include nulls in the selection of the location','N')
-;
-
--- Jul 10, 2008 4:55:38 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56289 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:39 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:38','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:38','YYYY-MM-DD HH24:MI:SS'),'Y',0,56155,'N','D','N','Include Nulls in Org','N',100,'Y','Y',56290,'Include nulls in the selection of the organization','N')
-;
-
--- Jul 10, 2008 4:55:39 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56290 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:40 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:39','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:39','YYYY-MM-DD HH24:MI:SS'),'Y',0,56158,'N','D','N','Include Nulls in Product','N',100,'Y','Y',56291,'Include nulls in the selection of the product','N')
-;
-
--- Jul 10, 2008 4:55:41 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56291 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:43 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:41','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:41','YYYY-MM-DD HH24:MI:SS'),'Y',0,56160,'N','D','N','Include Nulls in Project','N',100,'Y','Y',56292,'Include nulls in the selection of the project','N')
-;
-
--- Jul 10, 2008 4:55:43 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56292 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:44 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:43','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:43','YYYY-MM-DD HH24:MI:SS'),'Y',0,56161,'N','D','N','Include Nulls in Sales Region','N',100,'Y','Y',56293,'Include nulls in the selection of the sales region','N')
-;
-
--- Jul 10, 2008 4:55:44 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56293 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:45 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:45','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:45','YYYY-MM-DD HH24:MI:SS'),'Y',0,56164,'N','D','N','Include Nulls in User Element 1','N',100,'Y','Y',56294,'Include nulls in the selection of the user element 1','N')
-;
-
--- Jul 10, 2008 4:55:46 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56294 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:55:47 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,377,TO_DATE('2008-07-10 16:55:46','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:55:46','YYYY-MM-DD HH24:MI:SS'),'Y',0,56165,'N','D','N','Include Nulls in User Element 2','N',100,'Y','Y',56295,'Include nulls in the selection of the user element 2','N')
-;
-
--- Jul 10, 2008 4:55:47 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56295 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4811
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=4812
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=4813
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=4803
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=4802
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4814
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=4804
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=4815
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56290
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56285
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=4816
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56287
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=4807
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56291
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4808
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=56289
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4806
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56292
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=4809
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56293
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=4810
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56286
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=4817
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56288
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56283
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56294
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56284
-;
-
--- Jul 10, 2008 4:57:15 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56295
-;
-
--- Jul 10, 2008 4:57:40 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2008-07-10 16:57:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56290
-;
-
--- Jul 10, 2008 4:57:52 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:57:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56290
-;
-
--- Jul 10, 2008 4:57:56 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:57:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56285
-;
-
--- Jul 10, 2008 4:57:59 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:57:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56287
-;
-
--- Jul 10, 2008 4:58:03 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56291
-;
-
--- Jul 10, 2008 4:58:06 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56289
-;
-
--- Jul 10, 2008 4:58:10 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56292
-;
-
--- Jul 10, 2008 4:58:12 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56293
-;
-
--- Jul 10, 2008 4:58:16 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56286
-;
-
--- Jul 10, 2008 4:58:19 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 16:58:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56288
-;
-
--- Jul 10, 2008 4:58:29 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO & @$Element_X1@=Y',Updated=TO_DATE('2008-07-10 16:58:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56294
-;
-
--- Jul 10, 2008 4:58:38 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO & @$Element_X2@=Y',Updated=TO_DATE('2008-07-10 16:58:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56295
-;
-
--- Jul 10, 2008 4:58:52 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 16:58:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4816
-;
-
--- Jul 10, 2008 4:58:54 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 16:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4807
-;
-
--- Jul 10, 2008 4:58:58 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 16:58:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4808
-;
-
--- Jul 10, 2008 4:59:19 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:18','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:18','YYYY-MM-DD HH24:MI:SS'),'Y',0,56167,'N','D','N','Include Nulls in Account','N',100,'Y','Y',56296,'Include nulls in the selection of the account','N')
-;
-
--- Jul 10, 2008 4:59:20 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56296 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:21 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:20','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:20','YYYY-MM-DD HH24:MI:SS'),'Y',0,56173,'N','D','N','Include Nulls in Activity','N',100,'Y','Y',56297,'Include nulls in the selection of the activity','N')
-;
-
--- Jul 10, 2008 4:59:21 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56297 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:22 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:21','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:21','YYYY-MM-DD HH24:MI:SS'),'Y',0,56168,'N','D','N','Include Nulls in BPartner','N',100,'Y','Y',56298,'Include nulls in the selection of the business partner','N')
-;
-
--- Jul 10, 2008 4:59:22 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56298 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:22','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:22','YYYY-MM-DD HH24:MI:SS'),'Y',0,56174,'N','D','N','Include Nulls in Campaign','N',100,'Y','Y',56299,'Include nulls in the selection of the campaign','N')
-;
-
--- Jul 10, 2008 4:59:23 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56299 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:24 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:23','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:23','YYYY-MM-DD HH24:MI:SS'),'Y',0,56170,'N','D','N','Include Nulls in Location','N',100,'Y','Y',56300,'Include nulls in the selection of the location','N')
-;
-
--- Jul 10, 2008 4:59:24 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56300 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:25 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:24','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:24','YYYY-MM-DD HH24:MI:SS'),'Y',0,56166,'N','D','N','Include Nulls in Org','N',100,'Y','Y',56301,'Include nulls in the selection of the organization','N')
-;
-
--- Jul 10, 2008 4:59:25 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56301 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:25','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:25','YYYY-MM-DD HH24:MI:SS'),'Y',0,56169,'N','D','N','Include Nulls in Product','N',100,'Y','Y',56302,'Include nulls in the selection of the product','N')
-;
-
--- Jul 10, 2008 4:59:26 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56302 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:27 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:26','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:26','YYYY-MM-DD HH24:MI:SS'),'Y',0,56171,'N','D','N','Include Nulls in Project','N',100,'Y','Y',56303,'Include nulls in the selection of the project','N')
-;
-
--- Jul 10, 2008 4:59:27 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56303 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:29 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:27','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:27','YYYY-MM-DD HH24:MI:SS'),'Y',0,56172,'N','D','N','Include Nulls in Sales Region','N',100,'Y','Y',56304,'Include nulls in the selection of the sales region','N')
-;
-
--- Jul 10, 2008 4:59:29 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56304 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:30 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:29','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:29','YYYY-MM-DD HH24:MI:SS'),'Y',0,56175,'N','D','N','Include Nulls in User Element 1','N',100,'Y','Y',56305,'Include nulls in the selection of the user element 1','N')
-;
-
--- Jul 10, 2008 4:59:30 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56305 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 4:59:31 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field (IsFieldOnly,UpdatedBy,AD_Org_ID,AD_Tab_ID,Updated,DisplayLength,Created,IsCentrallyMaintained,AD_Client_ID,AD_Column_ID,IsReadOnly,EntityType,IsHeading,Name,IsSameLine,CreatedBy,IsDisplayed,IsActive,AD_Field_ID,Description,IsEncrypted) VALUES ('N',100,0,374,TO_DATE('2008-07-10 16:59:30','YYYY-MM-DD HH24:MI:SS'),1,TO_DATE('2008-07-10 16:59:30','YYYY-MM-DD HH24:MI:SS'),'Y',0,56176,'N','D','N','Include Nulls in User Element 2','N',100,'Y','Y',56306,'Include nulls in the selection of the user element 2','N')
-;
-
--- Jul 10, 2008 4:59:31 PM COT
--- Financial Report Source with Type Combination
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56306 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4747
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=4748
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=4771
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=4749
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=4750
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4751
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=4772
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=4752
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=4773
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=4753
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=4754
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=4760
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=4758
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=4774
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4770
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4756
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=4757
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4759
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=4761
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=4762
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=4763
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=4764
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56301
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56296
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=4766
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56302
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=4777
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56299
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4776
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56298
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=4775
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=56303
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=4767
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56300
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=4768
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=56304
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=4769
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56297
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=56281
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=56305
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=56282
-;
-
--- Jul 10, 2008 5:00:34 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56306
-;
-
--- Jul 10, 2008 5:04:32 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56301
-;
-
--- Jul 10, 2008 5:04:35 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56296
-;
-
--- Jul 10, 2008 5:04:39 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56302
-;
-
--- Jul 10, 2008 5:04:47 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56299
-;
-
--- Jul 10, 2008 5:04:50 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56298
-;
-
--- Jul 10, 2008 5:04:52 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56303
-;
-
--- Jul 10, 2008 5:04:54 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56300
-;
-
--- Jul 10, 2008 5:04:57 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:04:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56304
-;
-
--- Jul 10, 2008 5:05:01 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO',Updated=TO_DATE('2008-07-10 17:05:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56297
-;
-
--- Jul 10, 2008 5:05:09 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO & @$Element_X1@=Y',Updated=TO_DATE('2008-07-10 17:05:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56305
-;
-
--- Jul 10, 2008 5:05:14 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET IsSameLine='Y', DisplayLogic='@ElementType@=CO & @$Element_X2@=Y',Updated=TO_DATE('2008-07-10 17:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56306
-;
-
--- Jul 10, 2008 5:05:20 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 17:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4766
-;
-
--- Jul 10, 2008 5:05:22 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 17:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4776
-;
-
--- Jul 10, 2008 5:05:25 PM COT
--- Financial Report Source with Type Combination
-UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2008-07-10 17:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4767
-;
diff --git a/migration/oracle/351a-352a/227_MessageVPayPrintPrintCheck.sql b/migration/oracle/351a-352a/227_MessageVPayPrintPrintCheck.sql
deleted file mode 100644
index d0fd19ce6b..0000000000
--- a/migration/oracle/351a-352a/227_MessageVPayPrintPrintCheck.sql
+++ /dev/null
@@ -1,5 +0,0 @@
--- Jul 11, 2008 3:04:33 AM COT
--- Changes to Payment Selection and Print
-UPDATE AD_Column SET AD_Reference_Value_ID=343,Updated=TO_DATE('2008-07-11 03:04:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7719
-;
-
diff --git a/migration/oracle/351a-352a/228_BF2003790_BOM_Verify.sql b/migration/oracle/351a-352a/228_BF2003790_BOM_Verify.sql
deleted file mode 100755
index 5a8bcb9b67..0000000000
--- a/migration/oracle/351a-352a/228_BF2003790_BOM_Verify.sql
+++ /dev/null
@@ -1,25 +0,0 @@
--- Jul 7, 2008 1:24:00 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Process SET Classname='org.eevolution.process.PP_Product_BOM_Check', Value='PP_Product_BOM',Updated=TO_DATE('2008-07-07 13:24:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
-;
-
--- Jul 7, 2008 1:26:22 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Process SET Description='Verify BOM Structure and Update Low Level',Updated=TO_DATE('2008-07-07 13:26:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=136
-;
-
--- Jul 7, 2008 1:26:22 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=136
-;
-
--- Jul 7, 2008 1:28:22 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Field SET Description='Verify BOM Structure and Update Low Level', DisplayLogic='@IsSummary@=''N'' & @IsBOM@=''Y''',Updated=TO_DATE('2008-07-07 13:28:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3747
-;
-
--- Jul 7, 2008 1:28:22 PM EST
--- Default comment for updating dictionary
-UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=3747
-;
-
diff --git a/migration/oracle/351a-352a/229_FinReportSpeedUp.sql b/migration/oracle/351a-352a/229_FinReportSpeedUp.sql
deleted file mode 100644
index 20de9377f2..0000000000
--- a/migration/oracle/351a-352a/229_FinReportSpeedUp.sql
+++ /dev/null
@@ -1,67 +0,0 @@
--- 1642765 - problem with Facc_act_balance slow financial report
-
-DROP TABLE FACT_ACCT_BALANCE
-;
-
-CREATE OR REPLACE VIEW fact_acct_balance
-AS
- SELECT ad_client_id, ad_org_id, c_acctschema_id,
- TRUNC (dateacct) as dateacct, account_id, postingtype,
- m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
- c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
- c_locfrom_id, user1_id, user2_id, gl_budget_id,
- COALESCE (SUM (amtacctdr), 0) as amtacctdr,
- COALESCE (SUM (amtacctcr), 0) as amtacctcr,
- COALESCE (SUM (qty), 0) as qty, MAX (createdby) as createdby,
- MAX (created) as created, MAX (updatedby) as updatedby,
- MAX (updated) as updated, MAX (isactive) as isactive,
- MAX (c_subacct_id) as c_subacct_id, userelement1_id,
- userelement2_id, MAX (c_projectphase_id) as c_projectphase_id,
- MAX (c_projecttask_id) as c_projecttask_id
- FROM fact_acct a
- GROUP BY ad_client_id, ad_org_id, c_acctschema_id,
- TRUNC (dateacct), account_id, postingtype,
- m_product_id, c_bpartner_id, c_project_id, ad_orgtrx_id,
- c_salesregion_id, c_activity_id, c_campaign_id, c_locto_id,
- c_locfrom_id, user1_id, user2_id,
- userelement1_id, userelement2_id,
- gl_budget_id
-;
-
-CREATE INDEX FACT_ACCT_TRUNC_DATEACCT ON FACT_ACCT (TRUNC(dateacct))
-;
-
--- Jul 15, 2008 1:27:48 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Table SET IsView='Y',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=547
-;
-
--- Jul 15, 2008 1:31:01 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=283
-;
-
--- Jul 15, 2008 1:32:35 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Menu SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Menu_ID=393
-;
-
--- Jul 15, 2008 1:32:44 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Process SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=203
-;
-
--- Jul 15, 2008 1:34:15 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
-;
-
--- Jul 15, 2008 1:34:26 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
-;
-
--- Jul 15, 2008 1:35:05 AM COT
--- 1642765 - problem with Facc_act_balance slow financial report
-UPDATE AD_Process_Para SET IsActive = 'N',Updated=TO_DATE('2008-07-15 01:27:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
-;
\ No newline at end of file
diff --git a/migration/oracle/351a-352a/230_BF2021146_VMRPDetail_and_Report.sql b/migration/oracle/351a-352a/230_BF2021146_VMRPDetail_and_Report.sql
deleted file mode 100644
index f1a96d7654..0000000000
--- a/migration/oracle/351a-352a/230_BF2021146_VMRPDetail_and_Report.sql
+++ /dev/null
@@ -1,766 +0,0 @@
--- Jul 16, 2008 3:40:38 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,113,0,53018,53211,19,130,'AD_Org_ID',TO_DATE('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','Organization',10,TO_DATE('2008-07-16 15:40:13','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 3:40:38 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53211 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 3:42:51 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1777,0,53018,53212,19,52002,'Resource',TO_DATE('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100,'Resource','EE01',10,'Resource','Y','Y','N','N','Resource',10,TO_DATE('2008-07-16 15:42:44','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 3:42:51 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53212 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 3:47:18 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1514,0,53018,53213,17,154,'Priority',TO_DATE('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100,'Priority','EE01',10,'Priority','Y','Y','N','N','Priority',70,TO_DATE('2008-07-16 15:47:16','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 3:47:18 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53213 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 3:49:11 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,459,0,53018,53214,19,189,'M_Warehouse_ID',TO_DATE('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100,'Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','N','N','Warehouse',80,TO_DATE('2008-07-16 15:49:05','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 3:49:11 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53214 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 3:54:22 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,454,0,53018,53215,30,'Product',TO_DATE('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','Product',90,TO_DATE('2008-07-16 15:54:14','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 3:54:22 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53215 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 3:55:17 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference SET Name='_TypeMRP',Updated=TO_DATE('2008-07-16 15:55:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
-;
-
--- Jul 16, 2008 3:55:17 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
-;
-
--- Jul 16, 2008 3:55:44 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Forecast',Updated=TO_DATE('2008-07-16 15:55:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53275
-;
-
--- Jul 16, 2008 3:55:44 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53275
-;
-
--- Jul 16, 2008 3:56:01 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Manufacturing Order',Updated=TO_DATE('2008-07-16 15:56:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53276
-;
-
--- Jul 16, 2008 3:56:01 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53276
-;
-
--- Jul 16, 2008 3:56:16 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Purchase Order',Updated=TO_DATE('2008-07-16 15:56:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53277
-;
-
--- Jul 16, 2008 3:56:16 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53277
-;
-
--- Jul 16, 2008 3:57:10 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Material Requisition',Updated=TO_DATE('2008-07-16 15:57:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53278
-;
-
--- Jul 16, 2008 3:57:10 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53278
-;
-
--- Jul 16, 2008 3:57:25 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Orden de Venta',Updated=TO_DATE('2008-07-16 15:57:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
-;
-
--- Jul 16, 2008 3:57:25 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
-;
-
--- Jul 16, 2008 4:00:16 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Ref_List_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53435,53229,TO_DATE('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'EE01','Y','Distribution Order',TO_DATE('2008-07-16 16:00:10','YYYY-MM-DD HH24:MI:SS'),100,'DOO')
-;
-
--- Jul 16, 2008 4:00:16 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53435 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
-;
-
--- Jul 16, 2008 4:00:24 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Sales Order',Updated=TO_DATE('2008-07-16 16:00:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53279
-;
-
--- Jul 16, 2008 4:00:24 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53279
-;
-
--- Jul 16, 2008 4:01:47 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference SET Name='_PP_MRP Type',Updated=TO_DATE('2008-07-16 16:01:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 4:01:47 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 4:01:55 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Demand',Updated=TO_DATE('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53280
-;
-
--- Jul 16, 2008 4:01:55 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53280
-;
-
--- Jul 16, 2008 4:02:07 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET Name='Supply',Updated=TO_DATE('2008-07-16 16:02:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53281
-;
-
--- Jul 16, 2008 4:02:07 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53281
-;
-
--- Jul 16, 2008 4:14:52 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET FieldLength=10,Updated=TO_DATE('2008-07-16 16:14:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
-;
-
--- Jul 16, 2008 4:15:43 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET AD_Reference_ID=17, AD_Reference_Value_ID=319,Updated=TO_DATE('2008-07-16 16:15:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
-;
-
--- Jul 16, 2008 4:20:49 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET ColumnName='S_Resource_ID',Updated=TO_DATE('2008-07-16 16:20:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
-;
-
--- Jul 16, 2008 4:21:05 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2008-07-16 16:21:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53212
-;
-
--- Jul 16, 2008 4:21:17 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2008-07-16 16:21:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53214
-;
-
--- Jul 16, 2008 4:21:54 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2008-07-16 16:21:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53060
-;
-
--- Jul 16, 2008 4:22:04 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2008-07-16 16:22:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53057
-;
-
--- Jul 16, 2008 4:22:33 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:22:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
-;
-
--- Jul 16, 2008 4:22:49 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-07-16 16:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
-;
-
--- Jul 16, 2008 4:22:55 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-07-16 16:22:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
-;
-
--- Jul 16, 2008 4:23:11 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-07-16 16:23:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
-;
-
--- Jul 16, 2008 4:23:15 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-07-16 16:23:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
-;
-
--- Jul 16, 2008 4:23:23 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-07-16 16:23:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
-;
-
--- Jul 16, 2008 4:23:36 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:23:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
-;
-
--- Jul 16, 2008 4:26:01 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,290,0,53018,53217,10,'DocumentNo',TO_DATE('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100,'Document sequence number of the document','EE01',40,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".','Y','Y','N','N','Document No',100,TO_DATE('2008-07-16 16:25:51','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Jul 16, 2008 4:26:01 PM CDT
--- MRP Detail Report
-INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53217 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID)
-;
-
--- Jul 16, 2008 4:28:28 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET ColumnName='M_Product_ID',Updated=TO_DATE('2008-07-16 16:28:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
-;
-
--- Jul 16, 2008 4:28:50 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET FieldLength=22,Updated=TO_DATE('2008-07-16 16:28:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
-;
-
--- Jul 16, 2008 4:29:53 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2008-07-16 16:29:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
-;
-
--- Jul 16, 2008 4:30:01 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2008-07-16 16:30:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
-;
-
--- Jul 16, 2008 4:30:06 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2008-07-16 16:30:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
-;
-
--- Jul 16, 2008 4:30:12 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=90,Updated=TO_DATE('2008-07-16 16:30:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53213
-;
-
--- Jul 16, 2008 4:30:27 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=100,Updated=TO_DATE('2008-07-16 16:30:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53215
-;
-
--- Jul 16, 2008 4:30:31 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=110,Updated=TO_DATE('2008-07-16 16:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53217
-;
-
--- Jul 16, 2008 4:30:38 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET SeqNo=120,Updated=TO_DATE('2008-07-16 16:30:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53055
-;
-
--- Jul 16, 2008 4:30:59 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET Description='Is MPS',Updated=TO_DATE('2008-07-16 16:30:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53059
-;
-
--- Jul 16, 2008 4:30:59 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53059
-;
-
--- Jul 16, 2008 4:01:55 PM CDT
--- MRP Detail Report
-UPDATE AD_Ref_List SET EntityType='EE01',Updated=TO_DATE('2008-07-16 16:01:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
-;
-
--- Jul 16, 2008 4:47:31 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference SET Name='_MRP Order Type',Updated=TO_DATE('2008-07-16 16:47:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53229
-;
-
--- Jul 16, 2008 4:47:31 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53229
-;
-
--- Jul 16, 2008 4:47:37 PM CDT
--- MRP Detail Report
-UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_DATE('2008-07-16 16:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54055
-;
-
--- Jul 16, 2008 4:47:37 PM CDT
--- MRP Detail Report
-UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54055
-;
-
--- Jul 16, 2008 4:47:37 PM CDT
--- MRP Detail Report
-UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=54055 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 16, 2008 4:49:15 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference SET Description='MRP type can be a Demand or Supply', Name='_Type MRP',Updated=TO_DATE('2008-07-16 16:49:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 4:49:15 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 4:49:18 PM CDT
--- MRP Detail Report
-UPDATE AD_Column SET AD_Element_ID=53282, AD_Reference_ID=17, AD_Reference_Value_ID=53230, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_DATE('2008-07-16 16:49:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54054
-;
-
--- Jul 16, 2008 4:49:18 PM CDT
--- MRP Detail Report
-UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=54054
-;
-
--- Jul 16, 2008 4:49:18 PM CDT
--- MRP Detail Report
-UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=54054 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 16, 2008 4:50:46 PM CDT
--- MRP Detail Report
-UPDATE AD_Column SET AD_Element_ID=52020, AD_Reference_ID=17, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description=NULL, Help=NULL, Name='OrderType',Updated=TO_DATE('2008-07-16 16:50:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53440
-;
-
--- Jul 16, 2008 4:50:46 PM CDT
--- MRP Detail Report
-UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53440
-;
-
--- Jul 16, 2008 4:50:46 PM CDT
--- MRP Detail Report
-UPDATE AD_Field SET Name='OrderType', Description=NULL, Help=NULL WHERE AD_Column_ID=53440 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 16, 2008 4:59:27 PM CDT
--- MRP Detail Report
-UPDATE AD_Column SET AD_Element_ID=53282, ColumnName='TypeMRP', Description=NULL, Help=NULL, Name='TypeMRP',Updated=TO_DATE('2008-07-16 16:59:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
-;
-
--- Jul 16, 2008 4:59:27 PM CDT
--- MRP Detail Report
-UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=53439
-;
-
--- Jul 16, 2008 4:59:27 PM CDT
--- MRP Detail Report
-UPDATE AD_Field SET Name='TypeMRP', Description=NULL, Help=NULL WHERE AD_Column_ID=53439 AND IsCentrallyMaintained='Y'
-;
-
--- Jul 16, 2008 5:00:22 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference SET Name='_MRP Type',Updated=TO_DATE('2008-07-16 17:00:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 5:00:23 PM CDT
--- MRP Detail Report
-UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53230
-;
-
--- Jul 16, 2008 5:02:13 PM CDT
--- MRP Detail Report
-UPDATE AD_Column SET AD_Reference_ID=17, AD_Reference_Value_ID=53230,Updated=TO_DATE('2008-07-16 17:02:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53439
-;
-
-ALTER TABLE PP_MRP RENAME COLUMN Type TO OrderType;
-
-ALTER TABLE PP_MRP MODIFY (OrderType NVARCHAR2(3));
-
-ALTER TABLE PP_MRP MODIFY (TypeMRP CHAR(1));
-
-create or replace FUNCTION documentNo
- (
- p_PP_MRP_ID IN pp_mrp.pp_mrp_id%TYPE DEFAULT 0)
- RETURN pp_mrp.value%TYPE
- /*************************************************************************
- * Function documentNofunc - PL/SQL equivalent to pljava SQLJ function
- * Author: Tony Snook (tspc)
- ************************************************************************/
- AS
- v_DocumentNo pp_mrp.value%TYPE := '';
-
- CURSOR cur
- IS
- SELECT ordertype, m_forecast_id, c_order_id, dd_order_id, pp_order_id, m_requisition_id
- FROM pp_mrp
- WHERE pp_mrp_id = p_pp_mrp_id;
-
- rec cur%ROWTYPE;
-
- BEGIN
- -- If NO id return null
- IF p_PP_MRP_ID = 0 THEN
- CLOSE cur;
- RETURN '';
- END IF;
-
- CASE
- WHEN rec.ordertype = 'FTC' THEN
- SELECT f.Name INTO v_DocumentNo FROM M_Forecast f WHERE f.M_Forecast_ID=rec.M_Forecast_ID;
- WHEN rec.ordertype = 'POO' THEN
- SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=rec.C_Order_ID;
- WHEN rec.ordertype = 'DOO' THEN
- SELECT do.DocumentNo INTO v_DocumentNo FROM DD_Order DO WHERE do.DD_Order_ID=rec.DD_Order_ID;
- WHEN rec.ordertype = 'SOO' THEN
- SELECT co.DocumentNo INTO v_DocumentNo FROM C_Order co WHERE co.C_Order_ID=rec.C_Order_ID;
- WHEN rec.ordertype = 'MOP' THEN
- SELECT po.DocumentNo INTO v_DocumentNo FROM PP_Order po WHERE po.PP_Order_ID=rec.PP_Order_ID;
- WHEN rec.ordertype = 'POR' THEN
- SELECT r.DocumentNo INTO v_DocumentNo FROM M_Requisition r WHERE r.M_Requisition_ID=rec.M_Requisition_ID;
- ELSE
- v_documentno := '';
- END CASE;
-
- CLOSE cur;
- --
- RETURN v_DocumentNo;
- END documentNo;
-/
-
-DROP VIEW rv_pp_mrp;
-
-CREATE OR REPLACE VIEW rv_pp_mrp AS
-SELECT
-mrp.ad_client_id,
-mrp.ad_org_id,
-mrp.created,
-mrp.createdby,
-mrp.isactive,
-mrp.updated,
-mrp.updatedby,
-pp.ismps,
-mrp.c_order_id,
-mrp.c_orderline_id,
-mrp.dateordered,
-mrp.dateconfirm,
-mrp.datepromised,
-mrp.datestartschedule,
-mrp.datefinishschedule,
-mrp.datestart,
-mrp.datesimulation,
-mrp.docstatus,
-mrp.m_forecast_id,
-mrp.m_forecastline_id,
-mrp.value,
-mrp.m_product_id,
-mrp.m_requisition_id,
-mrp.m_requisitionline_id,
-mrp.m_warehouse_id,
-mrp.pp_order_id,
-mrp.qty,
-mrp.name,
-mrp.s_resource_id,
-mrp.priority,
-mrp.ordertype,
-mrp.typemrp,
-documentNo(mrp.pp_mrp_id) AS documentNo
-FROM pp_mrp mrp
-LEFT JOIN pp_product_planning pp ON pp.m_product_id = mrp.m_product_id AND mrp.m_warehouse_id = pp.m_warehouse_id;
-
-DROP VIEW rv_pp_operation_activity;
-
-CREATE OR REPLACE VIEW rv_pp_operation_activity AS
-SELECT n.ad_client_id,
-n.ad_org_id,
-n.created,
-n.createdby,
-n.isactive,
-n.updated,
-n.updatedby,
-n.pp_order_id,
-n.docstatus,
-n.value,
-n.s_resource_id,
-n.durationrequiered,
-n.durationreal,
-n.durationrequiered - n.durationreal AS duration,
-n.qtydelivered,
-n.qtyreject,
-n.qtyscrap,
-n.datestartschedule,
-n.datefinishschedule
-FROM pp_order_node n;
-
-DROP VIEW rv_pp_order_bomline;
-
-CREATE OR REPLACE VIEW rv_pp_order_bomline AS
-SELECT
-obl.ad_client_id,
-obl.ad_org_id,
-obl.createdby,
-obl.updatedby,
-obl.updated,
-obl.created,
-obl.isactive,
-obl.pp_order_bom_id,
-obl.pp_order_bomline_id,
-obl.pp_order_id,
-obl.iscritical,
-obl.componenttype,
-obl.m_product_id,
-obl.c_uom_id,
-round(obl.qtyrequiered, 4) AS qtyrequiered,
-round(bomqtyreserved(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyreserved,
-round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyavailable,
-round(bomqtyonhand(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyonhand,
-obl.m_warehouse_id,
-round(obl.qtybom, 4) AS qtybom,
-obl.isqtypercentage,
-round(obl.qtybatch, 4) AS qtybatch,
-CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize
-FROM pp_order_bomline obl
-JOIN pp_order o ON o.pp_order_id = obl.pp_order_id;
-
-DROP VIEW rv_pp_order_receipt_issue;
-
-DROP VIEW rv_pp_order_storage;
-
-CREATE OR REPLACE VIEW rv_pp_order_storage AS
-SELECT
-obl.ad_client_id,
-obl.ad_org_id,
-obl.createdby,
-obl.updatedby,
-obl.updated,
-obl.created,
-obl.isactive,
-obl.pp_order_bom_id,
-obl.pp_order_bomline_id,
-obl.pp_order_id,
-obl.iscritical,
-obl.m_product_id,
-( SELECT p.name FROM m_product p WHERE p.m_product_id = o.m_product_id) AS name,
-obl.c_uom_id,
-s.qtyonhand,
-round(obl.qtyrequiered, 4) AS qtyrequiered,
-CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize,
-round(bomqtyreserved(obl.m_product_id, obl.m_warehouse_id, 0), 4) AS qtyreserved,
-round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable,
-obl.m_warehouse_id,
-obl.qtybom,
-obl.isqtypercentage,
-round(obl.qtybatch, 4) AS qtybatch,
-obl.m_attributesetinstance_id,
-l.m_locator_id,
-l.x,
-l.y,
-l.z
-FROM pp_order_bomline obl
-JOIN pp_order o ON o.pp_order_id = obl.pp_order_id
-LEFT JOIN m_storage s ON s.m_product_id = obl.m_product_id AND s.qtyonhand <> 0 AND obl.m_warehouse_id = (( SELECT ld.m_warehouse_id FROM m_locator ld WHERE s.m_locator_id = ld.m_locator_id))
-LEFT JOIN m_locator l ON l.m_locator_id = s.m_locator_id
-;
-
-CREATE OR REPLACE VIEW rv_pp_order_receipt_issue AS
-SELECT obl.pp_order_bomline_id,
-obl.iscritical,
-p.value,
-obl.m_product_id,
-mos.name AS productname,
-mos.m_attributesetinstance_id,
-asi.description AS instancename,
-mos.c_uom_id,
-u.name AS uomname,
-obl.qtyrequiered,
-obl.qtyreserved AS qtyreserved_order,
-mos.qtyonhand,
-mos.qtyreserved AS qtyreserved_storage,
-mos.qtyavailable,
-mos.m_locator_id,
-mos.m_warehouse_id,
-w.name AS warehousename,
-mos.qtybom,
-mos.isqtypercentage,
-mos.qtybatch,
-obl.componenttype,
-mos.qtyrequiered - obl.qtydelivered AS qtyopen,
-obl.pp_order_id
-FROM rv_pp_order_storage mos
-JOIN pp_order_bomline obl ON mos.pp_order_bomline_id = obl.pp_order_bomline_id
-JOIN m_attributesetinstance asi ON mos.m_attributesetinstance_id = asi.m_attributesetinstance_id
-JOIN c_uom u ON mos.c_uom_id = u.c_uom_id
-JOIN m_product p ON mos.m_product_id = p.m_product_id
-JOIN m_warehouse w ON mos.m_warehouse_id = w.m_warehouse_id;
-
-DROP VIEW rv_pp_order_transactions;
-
-CREATE OR REPLACE VIEW rv_pp_order_transactions AS
-SELECT DISTINCT
-o.ad_client_id,
-o.ad_org_id,
-o.isactive,
-o.created,
-o.createdby,
-o.updatedby,
-o.updated,
-o.documentno,
-ol.m_product_id,
-mt.m_locator_id,
-mt.movementdate,
-o.pp_order_id,
-o.qtydelivered,
-o.qtyscrap,
-ol.qtydelivered AS qtydeliveredline,
-o.qtydelivered * ol.qtybatch / 100 AS qtyissueshouldbe,
-ol.qtyscrap AS qtyscrapline,
-o.qtyscrap * ol.qtybatch / 100 AS qtyissuescrapshouldbe,
-mt.createdby AS createdbyissue,
-mt.updatedby AS updatedbyissue,
-( SELECT sum(t.movementqty) AS sum FROM m_transaction t WHERE t.pp_order_bomline_id = ol.pp_order_bomline_id) AS qtytodeliver,
-(o.qtydelivered + o.qtyscrap) * ol.qtybatch / 100 + (( SELECT sum(t.movementqty) AS sum FROM m_transaction t WHERE t.pp_order_bomline_id = ol.pp_order_bomline_id)) AS differenceqty,
-o.issotrx,
-o.dateordered
-FROM pp_order o
-JOIN pp_order_bomline ol ON ol.pp_order_id = o.pp_order_id
-LEFT JOIN m_transaction mt ON mt.pp_order_bomline_id = ol.pp_order_bomline_id
-;
-
-DROP VIEW rv_pp_order;
-
-CREATE OR REPLACE VIEW rv_pp_order AS
-SELECT
-o.ad_client_id,
-o.ad_org_id,
-o.isactive,
-o.created,
-o.createdby,
-o.updated,
-o.updatedby,
-o.pp_order_id,
-o.documentno,
-o.docstatus,
-o.m_warehouse_id,
-o.m_product_id,
-o.qtyentered,
-o.qtyreject,
-o.qtyscrap,
-o.qtybatchs,
-o.qtybatchsize,
-o.dateordered,
-o.datepromised,
-o.datestart,
-o.datestartschedule,
-o.datefinish,
-o.datefinishschedule,
-o.dateconfirm,
-o.datedelivered,
-o.lot,
-o.pp_product_bom_id,
-o.ad_workflow_id,
-( SELECT p.weight FROM m_product p WHERE p.m_product_id = o.m_product_id) AS weight,
-o.c_doctypetarget_id,
-o.m_attributesetinstance_id,
-o.planner_id,
-o.priorityrule,
-o.ad_orgtrx_id,
-o.user1_id,
-o.user2_id,
-o.c_doctype_id,
-o.line,
-o.description,
-o.s_resource_id,
-o.floatbefored,
-o.floatafter,
-o.c_uom_id,
-o.qtyordered,
-o.qtydelivered,
-o.yield,
-o.c_project_id,
-o.c_campaign_id,
-o.c_activity_id,
-o.isapproved,
-o.isprinted,
-o.isselected,
-o.processed,
-o.assay,
-o.isqtypercentage,
-o.ordertype,
-o.issotrx,
-o.scheduletype,
-o.serno
-FROM pp_order o;
-
-DROP VIEW rv_pp_product_bomline;
-
-CREATE OR REPLACE VIEW rv_pp_product_bomline AS
-SELECT
-t.seqno,
-t.levelno,
-t.levels,
-t.ad_client_id,
-t.ad_org_id,
-t.createdby,
-t.updatedby,
-t.updated,
-t.created,
-t.ad_pinstance_id,
-bl.isactive,
-bl.pp_product_bom_id,
-bl.pp_product_bomline_id,
-bl.description, bl.iscritical,
-bl.componenttype,
-t.m_product_id,
-bl.c_uom_id,
-bl.issuemethod,
-bl.line,
-bl.m_attributesetinstance_id,
-bl.scrap,
-bl.validfrom,
-bl.validto,
-bl.qtybom,
-bl.qtybatch,
-bl.isqtypercentage
-FROM pp_product_bomline bl
-RIGHT JOIN t_bomline t ON t.pp_product_bomline_id = bl.pp_product_bomline_id
-;
-
-
-UPDATE AD_Column SET EntityType='EE01' WHERE AD_Table_ID=53021;
-
-UPDATE AD_Table SET EntityType='EE01' WHERE AD_Table_ID=53021;
-
--- Jul 16, 2008 5:18:24 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET AD_Element_ID=52020, AD_Reference_Value_ID=53229, ColumnName='OrderType', Description='Order Type', Help='Order Type', Name='Order Type',Updated=TO_DATE('2008-07-16 17:18:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53058
-;
-
--- Jul 16, 2008 5:18:24 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53058
-;
-
--- Jul 16, 2008 5:18:35 PM CDT
--- MRP Detail Report
-UPDATE AD_Process_Para SET AD_Reference_Value_ID=53230,Updated=TO_DATE('2008-07-16 17:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53056
-;
\ No newline at end of file
diff --git a/migration/oracle/351a-352a/231_SetPaymentProjectCharge.sql b/migration/oracle/351a-352a/231_SetPaymentProjectCharge.sql
deleted file mode 100644
index dc86ac19f6..0000000000
--- a/migration/oracle/351a-352a/231_SetPaymentProjectCharge.sql
+++ /dev/null
@@ -1,8 +0,0 @@
--- Jul 18, 2008 11:52:19 AM COT
--- Cannot assign project to payment with charge
-UPDATE AD_Column SET ReadOnlyLogic=NULL,Updated=TO_DATE('2008-07-18 11:52:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
-;
-
-UPDATE AD_Column SET Callout=NULL,Updated=TO_DATE('2008-07-18 12:48:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=8554
-;
-
diff --git a/migration/oracle/351a-352a/232_FR_PayrollProjectActivityControl.sql b/migration/oracle/351a-352a/232_FR_PayrollProjectActivityControl.sql
deleted file mode 100644
index 6398158b28..0000000000
--- a/migration/oracle/351a-352a/232_FR_PayrollProjectActivityControl.sql
+++ /dev/null
@@ -1,360 +0,0 @@
--- 18-jul-2008 19:14:17 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56177,1005,0,19,53088,'C_Activity_ID',TO_DATE('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity','EE02',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','N','Y','Activity',0,TO_DATE('2008-07-18 19:14:05','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:14:17 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56177 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:16:36 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56178,550,0,19,53102,'C_Campaign_ID',TO_DATE('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign','EE02',10,'The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.','Y','N','N','N','N','N','N','N','N','N','Y','Campaign',0,TO_DATE('2008-07-18 19:16:34','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:16:36 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56178 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:17:37 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56179,112,0,19,53102,'AD_OrgTrx_ID',TO_DATE('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization','EE02',10,'The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.','Y','N','N','N','N','N','N','N','N','N','Y','Trx Organization',0,TO_DATE('2008-07-18 19:17:34','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:17:37 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56179 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:17:58 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD C_Campaign_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:18:06 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD AD_OrgTrx_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:19:32 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56180,2073,0,19,53102,262,'C_ProjectPhase_ID',TO_DATE('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project','EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Project Phase',0,TO_DATE('2008-07-18 19:19:31','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:19:32 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56180 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:19:36 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD C_ProjectPhase_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:20:40 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56181,2074,0,19,53102,263,'C_ProjectTask_ID',TO_DATE('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase','EE02',10,'A Project Task in a Project Phase represents the actual work.','Y','N','N','N','N','N','N','N','N','N','Y','Project Task',0,TO_DATE('2008-07-18 19:20:39','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:20:40 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56181 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:20:43 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD C_ProjectTask_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:21:55 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56182,208,0,19,53102,'C_Project_ID',TO_DATE('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project','EE02',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','N','Y','Project',0,TO_DATE('2008-07-18 19:21:54','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:21:55 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56182 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:21:57 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD C_Project_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:23:32 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56183,613,0,18,134,53102,'User1_ID',TO_DATE('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_DATE('2008-07-18 19:23:31','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:23:32 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56183 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:23:35 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD User1_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:24:01 CDT
--- Improve in Payroll
-UPDATE AD_Column SET AD_Element_ID=614, AD_Reference_Value_ID=137, ColumnName='User2_ID', Description='User defined list element #2', Help='The user defined element displays the optional elements that have been defined for this account combination.', Name='User List 2',Updated=TO_DATE('2008-07-18 19:24:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56183
-;
-
--- 18-jul-2008 19:24:01 CDT
--- Improve in Payroll
-UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=56183
-;
-
--- 18-jul-2008 19:24:01 CDT
--- Improve in Payroll
-UPDATE AD_Field SET Name='User List 2', Description='User defined list element #2', Help='The user defined element displays the optional elements that have been defined for this account combination.' WHERE AD_Column_ID=56183 AND IsCentrallyMaintained='Y'
-;
-
--- 18-jul-2008 19:24:06 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD User2_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:25:08 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56184,613,0,18,134,53102,'User1_ID',TO_DATE('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1','EE02',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','N','Y','User List 1',0,TO_DATE('2008-07-18 19:25:07','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:25:08 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56184 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:25:11 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement MODIFY User1_ID NUMBER(10) DEFAULT NULL
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Element SET Name='Manufacturing Order Activity', PrintName='Manufacturing Order Activity',Updated=TO_DATE('2008-07-18 19:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53285
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53285
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Column SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL, AD_Element_ID=53285 WHERE UPPER(ColumnName)='PP_ORDER_NODE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Process_Para SET ColumnName='PP_Order_Node_ID', Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Element_ID=53285 AND IsCentrallyMaintained='Y'
-;
-
--- 18-jul-2008 19:27:08 CDT
--- Improve in Payroll
-UPDATE AD_Field SET Name='Manufacturing Order Activity', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53285) AND IsCentrallyMaintained='Y'
-;
-
--- 18-jul-2008 19:27:09 CDT
--- Improve in Payroll
-UPDATE AD_PrintFormatItem pi SET PrintName='Manufacturing Order Activity', Name='Manufacturing Order Activity' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53285)
-;
-
--- 18-jul-2008 19:27:36 CDT
--- Improve in Payroll
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56185,53285,0,19,53102,'PP_Order_Node_ID',TO_DATE('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,'EE02',10,'Y','N','N','N','N','N','N','N','N','N','Y','Manufacturing Order Activity',0,TO_DATE('2008-07-18 19:27:35','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- 18-jul-2008 19:27:36 CDT
--- Improve in Payroll
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56185 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- 18-jul-2008 19:27:39 CDT
--- Improve in Payroll
-ALTER TABLE HR_Movement ADD PP_Order_Node_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:30:21 CDT
--- Improve in Payroll
-ALTER TABLE HR_Department ADD C_Activity_ID NUMBER(10)
-;
-
--- 18-jul-2008 19:31:05 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56177,56307,0,53109,TO_DATE('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0,'Business Activity',10,'EE02','Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','Y','Y','N','N','N','N','N','Activity',TO_DATE('2008-07-18 19:31:04','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:06 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56307 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:38 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56178,56308,0,53124,TO_DATE('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0,'Marketing Campaign',10,'EE02','The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.','Y','Y','Y','N','N','N','N','N','Campaign',TO_DATE('2008-07-18 19:31:36','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:38 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56308 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:39 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56185,56309,0,53124,TO_DATE('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0,10,'EE02','Y','Y','Y','N','N','N','N','N','Manufacturing Order Activity',TO_DATE('2008-07-18 19:31:38','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:39 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56309 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:40 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56182,56310,0,53124,TO_DATE('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0,'Financial Project',10,'EE02','A Project allows you to track and control internal or external activities.','Y','Y','Y','N','N','N','N','N','Project',TO_DATE('2008-07-18 19:31:39','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:40 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56310 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:41 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56180,56311,0,53124,TO_DATE('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0,'Phase of a Project',10,'EE02','Y','Y','Y','N','N','N','N','N','Project Phase',TO_DATE('2008-07-18 19:31:40','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:41 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56311 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:42 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56181,56312,0,53124,TO_DATE('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0,'Actual Project Task in a Phase',10,'EE02','A Project Task in a Project Phase represents the actual work.','Y','Y','Y','N','N','N','N','N','Project Task',TO_DATE('2008-07-18 19:31:41','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:42 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56312 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:43 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56179,56313,0,53124,TO_DATE('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0,'Performing or initiating organization',10,'EE02','The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.','Y','Y','Y','N','N','N','N','N','Trx Organization',TO_DATE('2008-07-18 19:31:42','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:43 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56313 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:44 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56184,56314,0,53124,TO_DATE('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #1',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 1',TO_DATE('2008-07-18 19:31:43','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:44 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56314 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:31:45 CDT
--- Improve in Payroll
-INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56183,56315,0,53124,TO_DATE('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0,'User defined list element #2',10,'EE02','The user defined element displays the optional elements that have been defined for this account combination.','Y','Y','Y','N','N','N','N','N','User List 2',TO_DATE('2008-07-18 19:31:44','YYYY-MM-DD HH24:MI:SS'),0)
-;
-
--- 18-jul-2008 19:31:45 CDT
--- Improve in Payroll
-INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56315 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56313
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56308
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56314
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56315
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56311
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56312
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56310
-;
-
--- 18-jul-2008 19:32:39 CDT
--- Improve in Payroll
-UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56309
-;
-
--- 18-jul-2008 19:33:53 CDT
--- Improve in Payroll
-UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Activity',Updated=TO_DATE('2008-07-18 19:33:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53025
-;
-
--- 18-jul-2008 19:33:53 CDT
--- Improve in Payroll
-UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53025
-;
-
--- 18-jul-2008 19:35:01 CDT
--- Improve in Payroll
-UPDATE AD_Tab SET Description='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Help='Introduce the Name to identify the operations from the manufacturing routing. If desired give a Description for activity.', Name='Order Activity',Updated=TO_DATE('2008-07-18 19:35:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53036
-;
-
--- 18-jul-2008 19:35:01 CDT
--- Improve in Payroll
-UPDATE AD_Tab_Trl SET IsTranslated='N' WHERE AD_Tab_ID=53036
-;
-
--- 18-jul-2008 19:36:05 CDT
--- Improve in Payroll
-UPDATE AD_Menu SET Description='Activity Control', Name='Activity Control',Updated=TO_DATE('2008-07-18 19:36:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53063
-;
-
--- 18-jul-2008 19:36:05 CDT
--- Improve in Payroll
-UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53063
-;
-
--- 18-jul-2008 19:36:38 CDT
--- Improve in Payroll
-UPDATE AD_Menu SET Description='Show the Activity Control Transaction Details', Name='Activity Control Transaction Details',Updated=TO_DATE('2008-07-18 19:36:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Menu_ID=53065
-;
-
--- 18-jul-2008 19:36:38 CDT
--- Improve in Payroll
-UPDATE AD_Menu_Trl SET IsTranslated='N' WHERE AD_Menu_ID=53065
-;
-
diff --git a/migration/oracle/351a-352a/233_fix_wrong_column_in_displaylogic.sql b/migration/oracle/351a-352a/233_fix_wrong_column_in_displaylogic.sql
deleted file mode 100644
index 54a3661c2c..0000000000
--- a/migration/oracle/351a-352a/233_fix_wrong_column_in_displaylogic.sql
+++ /dev/null
@@ -1,6 +0,0 @@
--- Column wrong in displaylogic
-
-update ad_field
- set displaylogic = '@IsOwned@=Y & @IsDepreciated@=Y'
- where displaylogic = '@IsOwned@=Y & @IsDepeciated@=Y'
-;
\ No newline at end of file
diff --git a/migration/oracle/351a-352a/234_create_nextidfunc.sql b/migration/oracle/351a-352a/234_create_nextidfunc.sql
deleted file mode 100644
index 83eaf8a5fa..0000000000
--- a/migration/oracle/351a-352a/234_create_nextidfunc.sql
+++ /dev/null
@@ -1,2 +0,0 @@
--- placeholder
--- migration script just for postgresql
diff --git a/migration/oracle/351a-352a/235_BF2027432_DistributionPrintOrder.sql b/migration/oracle/351a-352a/235_BF2027432_DistributionPrintOrder.sql
deleted file mode 100644
index 589d1cef4d..0000000000
--- a/migration/oracle/351a-352a/235_BF2027432_DistributionPrintOrder.sql
+++ /dev/null
@@ -1,1763 +0,0 @@
-SET DEFINE OFF
-
--- Jul 24, 2008 3:37:40 PM CDT
--- Order Distribution
-UPDATE AD_Tab SET AD_Column_ID=53930,Updated=TO_DATE('2008-07-24 15:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Tab_ID=53050
-;
-
--- Jul 24, 2008 3:38:15 PM CDT
--- Order Distribution
-UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=54027
-;
-
--- Jul 24, 2008 3:38:15 PM CDT
--- Order Distribution
-UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=54036
-;
-
--- Jul 24, 2008 3:38:15 PM CDT
--- Order Distribution
-UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=54037
-;
-
--- Jul 24, 2008 3:38:15 PM CDT
--- Order Distribution
-UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=54038
-;
-
--- Jul 24, 2008 3:38:15 PM CDT
--- Order Distribution
-UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=54039
-;
-
--- Jul 24, 2008 3:38:52 PM CDT
--- Order Distribution
-UPDATE AD_Field SET IsCentrallyMaintained='N', Name='Ordered Quantity',Updated=TO_DATE('2008-07-24 15:38:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54035
-;
-
--- Jul 24, 2008 3:38:52 PM CDT
--- Order Distribution
-UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=54035
-;
-
--- Jul 24, 2008 3:38:59 PM CDT
--- Order Distribution
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-07-24 15:38:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=54027
-;
-
--- Jul 24, 2008 8:22:25 PM CDT
--- Order Distribution
-UPDATE AD_Column SET DefaultValue='@DatePromised@',Updated=TO_DATE('2008-07-24 20:22:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53940
-;
-
--- Jul 24, 2008 8:23:04 PM CDT
--- Order Distribution
-UPDATE AD_Column SET DefaultValue='@DateOrdered@',Updated=TO_DATE('2008-07-24 20:23:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53939
-;
-
--- Jul 24, 2008 8:36:04 PM CDT
--- Order Distribution
-UPDATE AD_Column SET AD_Reference_ID=31, AD_Reference_Value_ID=NULL,Updated=TO_DATE('2008-07-24 20:36:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53950
-;
-
--- Jul 24, 2008 8:37:40 PM CDT
--- Order Distribution
-UPDATE AD_Column SET AD_Reference_ID=31, AD_Reference_Value_ID=NULL, DefaultValue='@M_LocatorTo_ID@',Updated=TO_DATE('2008-07-24 20:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53949
-;
-
--- Jul 24, 2008 8:38:22 PM CDT
--- Order Distribution
-UPDATE AD_Column SET DefaultValue='@M_Locator_ID@',Updated=TO_DATE('2008-07-24 20:38:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53950
-;
-
--- Jul 24, 2008 8:41:33 PM CDT
--- Order Distribution
-UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2008-07-24 20:41:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53950
-;
-
--- Jul 24, 2008 8:41:56 PM CDT
--- Order Distribution
-UPDATE AD_Column SET AD_Reference_ID=18, AD_Reference_Value_ID=191,Updated=TO_DATE('2008-07-24 20:41:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53949
-;
-
--- Jul 24, 2008 8:43:39 PM CDT
--- Order Distribution
-UPDATE AD_Column SET AD_Val_Rule_ID=NULL,Updated=TO_DATE('2008-07-24 20:43:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53950
-;
-
--- Jul 24, 2008 8:54:15 PM CDT
--- Order Distribution
-UPDATE AD_Val_Rule SET Code='M_Warehouse.IsInTransit=''Y''',Updated=TO_DATE('2008-07-24 20:54:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=52024
-;
-
--- Jul 24, 2008 9:37:10 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56190,102,0,19,53039,'AD_Client_ID',TO_DATE('2008-07-24 21:37:08','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','N','N','N','N','N','Client',TO_DATE('2008-07-24 21:37:08','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:10 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56190 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:11 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56191,113,0,19,53039,'AD_Org_ID',TO_DATE('2008-07-24 21:37:10','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','N','N','N','N','N','Organization',TO_DATE('2008-07-24 21:37:10','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:11 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56191 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:12 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56192,348,0,20,53039,'IsActive',TO_DATE('2008-07-24 21:37:11','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
-There are two reasons for de-activating and not deleting records:
-(1) The system requires the record for audit purposes.
-(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','N','N','N','N','Y','Active',TO_DATE('2008-07-24 21:37:11','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:12 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56192 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:13 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56193,245,0,16,53039,'Created',TO_DATE('2008-07-24 21:37:12','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',29,'The Created field indicates the date that this record was created.','Y','N','N','N','N','N','N','N','N','N','Created',TO_DATE('2008-07-24 21:37:12','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:13 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56193 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:14 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56194,246,0,18,110,53039,'CreatedBy',TO_DATE('2008-07-24 21:37:13','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','N','N','N','N','N','Created By',TO_DATE('2008-07-24 21:37:13','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:14 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56194 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:14 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56195,607,0,16,53039,'Updated',TO_DATE('2008-07-24 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',29,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','N','N','N','N','N','Updated',TO_DATE('2008-07-24 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:14 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56195 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:15 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56196,608,0,18,110,53039,'UpdatedBy',TO_DATE('2008-07-24 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','N','N','N','N','N','Updated By',TO_DATE('2008-07-24 21:37:14','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:15 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56196 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:16 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56197,109,0,14,53039,'AD_Language',TO_DATE('2008-07-24 21:37:15','YYYY-MM-DD HH24:MI:SS'),0,'Language for this entity','EE01',2147483647,'The Language identifies the language to use for display and formatting','Y','N','N','N','N','N','N','N','N','Y','Language',TO_DATE('2008-07-24 21:37:15','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:16 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56197 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:16 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56198,558,0,19,53039,'C_Order_ID',TO_DATE('2008-07-24 21:37:16','YYYY-MM-DD HH24:MI:SS'),0,'Order','EE01',10,'The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you cloase an order, unshipped (backordered) quantities are cancelled.','Y','N','N','N','N','N','N','N','N','Y','Order',TO_DATE('2008-07-24 21:37:16','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:16 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56198 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:17 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56199,1106,0,20,53039,'IsSOTrx',TO_DATE('2008-07-24 21:37:16','YYYY-MM-DD HH24:MI:SS'),0,'This is a Sales Transaction','EE01',1,'The Sales Transaction checkbox indicates if this item is a Sales Transaction.','Y','N','N','N','N','N','N','N','N','Y','Sales Transaction',TO_DATE('2008-07-24 21:37:16','YYYY-MM-DD HH24:MI:SS'),0,0)
-;
-
--- Jul 24, 2008 9:37:17 PM CDT
--- Order Distribution
-INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56199 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Jul 24, 2008 9:37:19 PM CDT
--- Order Distribution
-INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,56200,290,0,10,53039,'DocumentNo',TO_DATE('2008-07-24 21:37:17','YYYY-MM-DD HH24:MI:SS'),0,'Document sequence number of the document','EE01',30,'The document number is usually automatically generated by the system and determined by the document type of the document. If the document is not saved, the preliminary number is displayed in "<>".
-
-If the document type of your document has no automatic document sequence defined, the field is empty if you create a new document. This is for documents which usually have an external number (like vendor invoice). If you leave the field empty, the system will generate a document number for you. The document sequence used for this fallback number is defined in the "Maintain Sequence" window with the name "DocumentNo_