diff --git a/base/GenerateModel-general.launch b/base/GenerateModel-general.launch
index a365ced51c..a9bf7342eb 100644
--- a/base/GenerateModel-general.launch
+++ b/base/GenerateModel-general.launch
@@ -11,43 +11,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/base/src/org/compiere/model/I_C_Tax.java b/base/src/org/compiere/model/I_C_Tax.java
index 509e8fd5e5..534a33bd06 100644
--- a/base/src/org/compiere/model/I_C_Tax.java
+++ b/base/src/org/compiere/model/I_C_Tax.java
@@ -64,36 +64,6 @@ public interface I_C_Tax
public I_AD_Rule getAD_Rule() throws Exception;
- /** Column name C_BPartner_ID */
- public static final String COLUMNNAME_C_BPartner_ID = "C_BPartner_ID";
-
- /** Set Business Partner .
- * Identifies a Business Partner
- */
- public void setC_BPartner_ID (int C_BPartner_ID);
-
- /** Get Business Partner .
- * Identifies a Business Partner
- */
- public int getC_BPartner_ID();
-
- public I_C_BPartner getC_BPartner() throws Exception;
-
- /** Column name C_BP_Group_ID */
- public static final String COLUMNNAME_C_BP_Group_ID = "C_BP_Group_ID";
-
- /** Set Business Partner Group.
- * Business Partner Group
- */
- public void setC_BP_Group_ID (int C_BP_Group_ID);
-
- /** Get Business Partner Group.
- * Business Partner Group
- */
- public int getC_BP_Group_ID();
-
- public I_C_BP_Group getC_BP_Group() throws Exception;
-
/** Column name C_Country_ID */
public static final String COLUMNNAME_C_Country_ID = "C_Country_ID";
@@ -226,36 +196,6 @@ public interface I_C_Tax
*/
public boolean isTaxExempt();
- /** Column name M_Product_Category_ID */
- public static final String COLUMNNAME_M_Product_Category_ID = "M_Product_Category_ID";
-
- /** Set Product Category.
- * Category of a Product
- */
- public void setM_Product_Category_ID (int M_Product_Category_ID);
-
- /** Get Product Category.
- * Category of a Product
- */
- public int getM_Product_Category_ID();
-
- public I_M_Product_Category getM_Product_Category() throws Exception;
-
- /** Column name M_Product_ID */
- public static final String COLUMNNAME_M_Product_ID = "M_Product_ID";
-
- /** Set Product.
- * Product, Service, Item
- */
- public void setM_Product_ID (int M_Product_ID);
-
- /** Get Product.
- * Product, Service, Item
- */
- public int getM_Product_ID();
-
- public I_M_Product getM_Product() throws Exception;
-
/** Column name Name */
public static final String COLUMNNAME_Name = "Name";
diff --git a/base/src/org/compiere/model/Tax.java b/base/src/org/compiere/model/Tax.java
index 18b9095d33..a5bd86bf3e 100644
--- a/base/src/org/compiere/model/Tax.java
+++ b/base/src/org/compiere/model/Tax.java
@@ -33,8 +33,6 @@ import org.compiere.util.Msg;
* Tax Handling
*
* @author Jorg Janke
- * @author Trifon Trifonov
- *
[ 2311165 ] Tax rate Extension; https://sourceforge.net/tracker/index.php?func=detail&aid=2311165&group_id=176962&atid=879335
* @version $Id: Tax.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $
*/
public class Tax
@@ -127,13 +125,10 @@ public class Tax
int billFromC_Location_ID = 0;
int billToC_Location_ID = 0;
String IsTaxExempt = null;
- int C_BPartner_ID = 0; // @Trifon
- int C_BP_Group_ID = 0; // @Trifon
-
+
// Get all at once
String sql = "SELECT c.C_TaxCategory_ID, o.C_Location_ID, il.C_Location_ID, b.IsTaxExempt,"
+ " w.C_Location_ID, sl.C_Location_ID "
- + " , b.C_BPartner_ID, b.C_BP_Group_ID " // #7, #8 @Trifon
+ "FROM C_Charge c, AD_OrgInfo o,"
+ " C_BPartner_Location il INNER JOIN C_BPartner b ON (il.C_BPartner_ID=b.C_BPartner_ID),"
+ " M_Warehouse w, C_BPartner_Location sl "
@@ -162,8 +157,6 @@ public class Tax
IsTaxExempt = rs.getString (4);
shipFromC_Location_ID = rs.getInt (5);
shipToC_Location_ID = rs.getInt (6);
- C_BPartner_ID = rs.getInt( 7 ); // @Trifon
- C_BP_Group_ID = rs.getInt( 8 ); // @Trifon
found = true;
}
DB.close(rs, pstmt);
@@ -207,9 +200,7 @@ public class Tax
+ ", shipToC_Location_ID=" + shipToC_Location_ID);
return get (ctx, C_TaxCategory_ID, IsSOTrx,
shipDate, shipFromC_Location_ID, shipToC_Location_ID,
- billDate, billFromC_Location_ID, billToC_Location_ID // @Trifon
- , -1, -1 // @Trifon; mProductCategoryId, mProductId
- , C_BP_Group_ID, C_BPartner_ID); // @Trifon
+ billDate, billFromC_Location_ID, billToC_Location_ID);
} // getCharge
@@ -249,9 +240,6 @@ public class Tax
int shipToC_Location_ID = 0;
int billFromC_Location_ID = 0;
int billToC_Location_ID = 0;
- int M_Product_Category_ID = 0; // @Trifon
- int cBPGroupId = 0; // @Trifon
- int cBpartnerId = 0; // @Trifon
String IsTaxExempt = null;
PreparedStatement pstmt = null;
@@ -261,8 +249,6 @@ public class Tax
// Get all at once
String sql = "SELECT p.C_TaxCategory_ID, o.C_Location_ID, il.C_Location_ID, b.IsTaxExempt,"
+ " w.C_Location_ID, sl.C_Location_ID "
- + " , p.M_Product_Category_ID " // #7 @Trifon
- + " , b.C_BPartner_ID, b.C_BP_Group_ID " // #8, #9 @Trifon
+ "FROM M_Product p, AD_OrgInfo o,"
+ " C_BPartner_Location il INNER JOIN C_BPartner b ON (il.C_BPartner_ID=b.C_BPartner_ID),"
+ " M_Warehouse w, C_BPartner_Location sl "
@@ -287,10 +273,6 @@ public class Tax
IsTaxExempt = rs.getString(4);
shipFromC_Location_ID = rs.getInt(5);
shipToC_Location_ID = rs.getInt(6);
- M_Product_Category_ID = rs.getInt( X_M_Product.COLUMNNAME_M_Product_Category_ID ); // @Trifon
- cBpartnerId = rs.getInt( X_C_BPartner.COLUMNNAME_C_BPartner_ID ); // @Trifon
- cBPGroupId = rs.getInt( X_C_BPartner.COLUMNNAME_C_BP_Group_ID ); // @Trifon
-
found = true;
}
DB.close(rs, pstmt);
@@ -318,9 +300,7 @@ public class Tax
+ ", shipToC_Location_ID=" + shipToC_Location_ID);
return get(ctx, C_TaxCategory_ID, IsSOTrx,
shipDate, shipFromC_Location_ID, shipToC_Location_ID,
- billDate, billFromC_Location_ID, billToC_Location_ID
- , M_Product_Category_ID, M_Product_ID // @Trifon
- , cBPGroupId, cBpartnerId); // @Trifon
+ billDate, billFromC_Location_ID, billToC_Location_ID);
}
// ----------------------------------------------------------------
@@ -328,9 +308,7 @@ public class Tax
// Detail for error isolation
// M_Product_ID -> C_TaxCategory_ID
- sql = "SELECT C_TaxCategory_ID "
- + ", M_Product_Category_ID " // #2 @Trifon
- + " FROM M_Product "
+ sql = "SELECT C_TaxCategory_ID FROM M_Product "
+ "WHERE M_Product_ID=?";
variable = "M_Product_ID";
pstmt = DB.prepareStatement(sql, null);
@@ -340,7 +318,6 @@ public class Tax
if (rs.next())
{
C_TaxCategory_ID = rs.getInt(1);
- M_Product_Category_ID = rs.getInt( 2 ); // @Trifon
found = true;
}
DB.close(rs, pstmt);
@@ -475,9 +452,7 @@ public class Tax
return get (ctx, C_TaxCategory_ID, IsSOTrx,
shipDate, shipFromC_Location_ID, shipToC_Location_ID,
- billDate, billFromC_Location_ID, billToC_Location_ID
- , M_Product_Category_ID, M_Product_ID // @Trifon
- , cBPGroupId, cBpartnerId); // @Trifon
+ billDate, billFromC_Location_ID, billToC_Location_ID);
} // getProduct
/**
@@ -541,9 +516,7 @@ public class Tax
protected static int get (Properties ctx,
int C_TaxCategory_ID, boolean IsSOTrx,
Timestamp shipDate, int shipFromC_Locction_ID, int shipToC_Location_ID,
- Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID
- , int mProductCategoryId, int mProductId // @Trifon
- , int cBPGroupId, int cBpartnerId) // @Trifon
+ Timestamp billDate, int billFromC_Location_ID, int billToC_Location_ID)
{
// C_TaxCategory contains CommodityCode
@@ -551,7 +524,7 @@ public class Tax
if (CLogMgt.isLevelFine())
{
- log.info("get(Detail) - Tax Category=" + C_TaxCategory_ID
+ log.info("get(Detail) - Category=" + C_TaxCategory_ID
+ ", SOTrx=" + IsSOTrx);
log.config("get(Detail) - BillFrom=" + billFromC_Location_ID
+ ", BillTo=" + billToC_Location_ID + ", BillDate=" + billDate);
@@ -586,14 +559,7 @@ public class Tax
log.finest("To Region - " + (tax.getTo_Region_ID() == lTo.getC_Region_ID()
|| tax.getTo_Region_ID() == 0));
log.finest("Date valid - " + (!tax.getValidFrom().after(billDate)));
- log.finest("Product Category - " + (tax.getM_Product_Category_ID() == mProductCategoryId
- || tax.getM_Product_Category_ID() == 0));
- log.finest("Product - " + (tax.getM_Product_ID() == mProductId
- || tax.getM_Product_ID() == 0));
- log.finest("Business Partner Group - " + (tax.getC_BP_Group_ID() == cBPGroupId
- || tax.getC_BP_Group_ID() == 0));
- log.finest("Business Partner - " + (tax.getC_BPartner_ID() == cBpartnerId
- || tax.getC_BPartner_ID() == 0));
+
// From Country
if ((tax.getC_Country_ID() == lFrom.getC_Country_ID()
|| tax.getC_Country_ID() == 0)
@@ -608,18 +574,6 @@ public class Tax
|| tax.getTo_Region_ID() == 0)
// Date
&& !tax.getValidFrom().after(billDate)
- // Product Category @Trifon
- && (tax.getM_Product_Category_ID() == mProductCategoryId
- || tax.getM_Product_Category_ID() == 0)
- // Product @Trifon
- && (tax.getM_Product_ID() == mProductId
- || tax.getM_Product_ID() == 0)
- // Business Partner Group @Trifon
- && (tax.getC_BP_Group_ID() == cBPGroupId
- || tax.getC_BP_Group_ID() == 0)
- // Business Partner @Trifon
- && (tax.getC_BPartner_ID() == cBpartnerId
- || tax.getC_BPartner_ID() == 0)
)
{
if (!tax.isPostal())
diff --git a/base/src/org/compiere/model/X_C_Tax.java b/base/src/org/compiere/model/X_C_Tax.java
index 32c9555afd..5edc40267c 100644
--- a/base/src/org/compiere/model/X_C_Tax.java
+++ b/base/src/org/compiere/model/X_C_Tax.java
@@ -124,84 +124,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent
return ii.intValue();
}
- public I_C_BPartner getC_BPartner() throws Exception
- {
- Class> clazz = MTable.getClass(I_C_BPartner.Table_Name);
- I_C_BPartner result = null;
- try {
- Constructor> constructor = null;
- constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
- result = (I_C_BPartner)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BPartner_ID()), get_TrxName()});
- } catch (Exception e) {
- log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
- log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
- throw e;
- }
- return result;
- }
-
- /** Set Business Partner .
- @param C_BPartner_ID
- Identifies a Business Partner
- */
- public void setC_BPartner_ID (int C_BPartner_ID)
- {
- if (C_BPartner_ID < 1)
- set_Value (COLUMNNAME_C_BPartner_ID, null);
- else
- set_Value (COLUMNNAME_C_BPartner_ID, Integer.valueOf(C_BPartner_ID));
- }
-
- /** Get Business Partner .
- @return Identifies a Business Partner
- */
- public int getC_BPartner_ID ()
- {
- Integer ii = (Integer)get_Value(COLUMNNAME_C_BPartner_ID);
- if (ii == null)
- return 0;
- return ii.intValue();
- }
-
- public I_C_BP_Group getC_BP_Group() throws Exception
- {
- Class> clazz = MTable.getClass(I_C_BP_Group.Table_Name);
- I_C_BP_Group result = null;
- try {
- Constructor> constructor = null;
- constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
- result = (I_C_BP_Group)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_BP_Group_ID()), get_TrxName()});
- } catch (Exception e) {
- log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
- log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
- throw e;
- }
- return result;
- }
-
- /** Set Business Partner Group.
- @param C_BP_Group_ID
- Business Partner Group
- */
- public void setC_BP_Group_ID (int C_BP_Group_ID)
- {
- if (C_BP_Group_ID < 1)
- set_Value (COLUMNNAME_C_BP_Group_ID, null);
- else
- set_Value (COLUMNNAME_C_BP_Group_ID, Integer.valueOf(C_BP_Group_ID));
- }
-
- /** Get Business Partner Group.
- @return Business Partner Group
- */
- public int getC_BP_Group_ID ()
- {
- Integer ii = (Integer)get_Value(COLUMNNAME_C_BP_Group_ID);
- if (ii == null)
- return 0;
- return ii.intValue();
- }
-
/** C_Country_ID AD_Reference_ID=156 */
public static final int C_COUNTRY_ID_AD_Reference_ID=156;
/** Set Country.
@@ -449,84 +371,6 @@ public class X_C_Tax extends PO implements I_C_Tax, I_Persistent
return false;
}
- public I_M_Product_Category getM_Product_Category() throws Exception
- {
- Class> clazz = MTable.getClass(I_M_Product_Category.Table_Name);
- I_M_Product_Category result = null;
- try {
- Constructor> constructor = null;
- constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
- result = (I_M_Product_Category)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_Category_ID()), get_TrxName()});
- } catch (Exception e) {
- log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
- log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
- throw e;
- }
- return result;
- }
-
- /** Set Product Category.
- @param M_Product_Category_ID
- Category of a Product
- */
- public void setM_Product_Category_ID (int M_Product_Category_ID)
- {
- if (M_Product_Category_ID < 1)
- set_Value (COLUMNNAME_M_Product_Category_ID, null);
- else
- set_Value (COLUMNNAME_M_Product_Category_ID, Integer.valueOf(M_Product_Category_ID));
- }
-
- /** Get Product Category.
- @return Category of a Product
- */
- public int getM_Product_Category_ID ()
- {
- Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_Category_ID);
- if (ii == null)
- return 0;
- return ii.intValue();
- }
-
- public I_M_Product getM_Product() throws Exception
- {
- Class> clazz = MTable.getClass(I_M_Product.Table_Name);
- I_M_Product result = null;
- try {
- Constructor> constructor = null;
- constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
- result = (I_M_Product)constructor.newInstance(new Object[] {getCtx(), new Integer(getM_Product_ID()), get_TrxName()});
- } catch (Exception e) {
- log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
- log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
- throw e;
- }
- return result;
- }
-
- /** Set Product.
- @param M_Product_ID
- Product, Service, Item
- */
- public void setM_Product_ID (int M_Product_ID)
- {
- if (M_Product_ID < 1)
- set_Value (COLUMNNAME_M_Product_ID, null);
- else
- set_Value (COLUMNNAME_M_Product_ID, Integer.valueOf(M_Product_ID));
- }
-
- /** Get Product.
- @return Product, Service, Item
- */
- public int getM_Product_ID ()
- {
- Integer ii = (Integer)get_Value(COLUMNNAME_M_Product_ID);
- if (ii == null)
- return 0;
- return ii.intValue();
- }
-
/** Set Name.
@param Name
Alphanumeric identifier of the entity
diff --git a/migration/352a-trunk/326_FR2311165_Tax-rate-extension.sql b/migration/352a-trunk/326_FR2311165_Tax-rate-extension.sql
deleted file mode 100644
index 2e4d223d3a..0000000000
--- a/migration/352a-trunk/326_FR2311165_Tax-rate-extension.sql
+++ /dev/null
@@ -1,130 +0,0 @@
--- Nov 18, 2008 10:06:28 PM EET
--- [ 2074600 ] Housekeeping - Process to delete historic information
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56465,453,0,19,261,'M_Product_Category_ID',TO_DATE('2008-11-18 22:06:25','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product','U',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product Category',0,TO_DATE('2008-11-18 22:06:25','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:06:29 PM EET
--- [ 2074600 ] Housekeeping - Process to delete historic information
-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=56465 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:06:32 PM EET
--- [ 2074600 ] Housekeeping - Process to delete historic information
-ALTER TABLE C_Tax ADD M_Product_Category_ID NUMBER(10)
-;
-
--- Nov 18, 2008 10:20:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56466,454,0,19,261,'M_Product_ID',TO_DATE('2008-11-18 22:20:39','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','U',10,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product',0,TO_DATE('2008-11-18 22:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:20:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56466 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:20:44 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD M_Product_ID NUMBER(10)
-;
-
--- Nov 18, 2008 10:21:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56467,1383,0,19,261,'C_BP_Group_ID',TO_DATE('2008-11-18 22:21:39','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group','U',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner Group',0,TO_DATE('2008-11-18 22:21:39','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:21:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56467 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:21:47 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD C_BP_Group_ID NUMBER(10)
-;
-
--- Nov 18, 2008 10:22:42 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56468,187,0,19,261,'C_BPartner_ID',TO_DATE('2008-11-18 22:22:40','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','U',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner ',0,TO_DATE('2008-11-18 22:22:40','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:22:42 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56468 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:22:45 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD C_BPartner_ID NUMBER(10)
-;
-
--- Nov 18, 2008 10:27:10 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56468,56481,0,174,TO_DATE('2008-11-18 22:27:09','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'U','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_DATE('2008-11-18 22:27:09','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:10 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56481 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:11 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56467,56482,0,174,TO_DATE('2008-11-18 22:27:10','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group',10,'U','The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','Y','N','N','N','N','N','Business Partner Group',TO_DATE('2008-11-18 22:27:10','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56482 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56466,56483,0,174,TO_DATE('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item',10,'U','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_DATE('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56483 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:13 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56465,56484,0,174,TO_DATE('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product',10,'U','Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','Y','N','N','N','N','N','Product Category',TO_DATE('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:13 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56484 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56482
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56481
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56484
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56483
-;
-
--- Nov 18, 2008 10:29:55 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-18 22:29:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56481
-;
-
--- Nov 18, 2008 10:30:00 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-11-18 22:30:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56483
-;
-
diff --git a/migration/352a-trunk/postgresql/326_FR2311165_Tax-rate-extension.sql b/migration/352a-trunk/postgresql/326_FR2311165_Tax-rate-extension.sql
deleted file mode 100644
index 298e99710b..0000000000
--- a/migration/352a-trunk/postgresql/326_FR2311165_Tax-rate-extension.sql
+++ /dev/null
@@ -1,130 +0,0 @@
--- Nov 18, 2008 10:06:28 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56465,453,0,19,261,'M_Product_Category_ID',TO_TIMESTAMP('2008-11-18 22:06:25','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product','U',10,'Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product Category',0,TO_TIMESTAMP('2008-11-18 22:06:25','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:06:29 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56465 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:06:32 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD COLUMN M_Product_Category_ID NUMERIC(10)
-;
-
--- Nov 18, 2008 10:20:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56466,454,0,19,261,'M_Product_ID',TO_TIMESTAMP('2008-11-18 22:20:39','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','U',10,'Identifies an item which is either purchased or sold in this organization.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product',0,TO_TIMESTAMP('2008-11-18 22:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:20:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56466 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:20:44 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD COLUMN M_Product_ID NUMERIC(10)
-;
-
--- Nov 18, 2008 10:21:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56467,1383,0,19,261,'C_BP_Group_ID',TO_TIMESTAMP('2008-11-18 22:21:39','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group','U',10,'The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner Group',0,TO_TIMESTAMP('2008-11-18 22:21:39','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:21:40 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56467 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:21:47 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD COLUMN C_BP_Group_ID NUMERIC(10)
-;
-
--- Nov 18, 2008 10:22:42 PM EET
--- [ 2311165 ] Tax rate Extension
-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,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56468,187,0,19,261,'C_BPartner_ID',TO_TIMESTAMP('2008-11-18 22:22:40','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','U',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner ',0,TO_TIMESTAMP('2008-11-18 22:22:40','YYYY-MM-DD HH24:MI:SS'),100,0)
-;
-
--- Nov 18, 2008 10:22:42 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56468 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
-;
-
--- Nov 18, 2008 10:22:45 PM EET
--- [ 2311165 ] Tax rate Extension
-ALTER TABLE C_Tax ADD COLUMN C_BPartner_ID NUMERIC(10)
-;
-
--- Nov 18, 2008 10:27:10 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56468,56481,0,174,TO_TIMESTAMP('2008-11-18 22:27:09','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner',10,'U','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','N','N','Business Partner ',TO_TIMESTAMP('2008-11-18 22:27:09','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:10 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56481 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56467,56482,0,174,TO_TIMESTAMP('2008-11-18 22:27:10','YYYY-MM-DD HH24:MI:SS'),100,'Business Partner Group',10,'U','The Business Partner Group provides a method of defining defaults to be used for individual Business Partners.','Y','Y','Y','N','N','N','N','N','Business Partner Group',TO_TIMESTAMP('2008-11-18 22:27:10','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56482 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56466,56483,0,174,TO_TIMESTAMP('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item',10,'U','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','N','N','Product',TO_TIMESTAMP('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:12 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56483 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:13 PM EET
--- [ 2311165 ] Tax rate Extension
-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,56465,56484,0,174,TO_TIMESTAMP('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100,'Category of a Product',10,'U','Identifies the category which this product belongs to. Product categories are used for pricing and selection.','Y','Y','Y','N','N','N','N','N','Product Category',TO_TIMESTAMP('2008-11-18 22:27:12','YYYY-MM-DD HH24:MI:SS'),100)
-;
-
--- Nov 18, 2008 10:27:13 PM EET
--- [ 2311165 ] Tax rate Extension
-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=56484 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56482
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56481
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56484
-;
-
--- Nov 18, 2008 10:27:29 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56483
-;
-
--- Nov 18, 2008 10:29:55 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-18 22:29:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56481
-;
-
--- Nov 18, 2008 10:30:00 PM EET
--- [ 2311165 ] Tax rate Extension
-UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-11-18 22:30:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56483
-;
-