Class Merge

  • Direct Known Subclasses:
    WMerge

    public class Merge
    extends Object
    • Field Detail

      • m_WindowNo

        public int m_WindowNo
        Window No
      • m_totalCount

        public int m_totalCount
        Total Count
      • log

        public static final CLogger log
        Logger
      • AD_ORG_ID

        public static String AD_ORG_ID
      • C_BPARTNER_ID

        public static String C_BPARTNER_ID
      • AD_USER_ID

        public static String AD_USER_ID
      • M_PRODUCT_ID

        public static String M_PRODUCT_ID
      • s_delete_Org

        public static String[] s_delete_Org
        Tables to delete (not update) for AD_Org
      • s_delete_User

        public static String[] s_delete_User
        Tables to delete (not update) for AD_User
      • s_delete_BPartner

        public static String[] s_delete_BPartner
        Tables to delete (not update) for C_BPartner
      • s_delete_Product

        public static String[] s_delete_Product
        Tables to delete (not update) for M_Product
      • m_columnName

        public String[] m_columnName
      • m_deleteTables

        public String[] m_deleteTables
    • Constructor Detail

      • Merge

        public Merge()
    • Method Detail

      • updateDeleteTable

        public void updateDeleteTable​(String columnName)
      • merge

        public boolean merge​(String ColumnName,
                             int from_ID,
                             int to_ID)
        Merge.
        Parameters:
        ColumnName - column
        from_ID - from
        to_ID - to
        Returns:
        true if merged
      • mergeTable

        public int mergeTable​(String TableName,
                              String ColumnName,
                              int from_ID,
                              int to_ID)
        Merge Table
        Parameters:
        TableName - table
        ColumnName - column
        from_ID - from
        to_ID - to
        Returns:
        -1 for error or number of changes
      • postMerge

        public void postMerge​(String ColumnName,
                              int to_ID)
        Post Merge
        Parameters:
        ColumnName - column name
        to_ID - ID