private void createSequence(MTable table, String trxName) {
   if (!table.isView()) {
     if (!MSequence.createTableSequence(getCtx(), table.getTableName(), trxName)) {
       throw new AdempiereException(
           "Can not create Native Sequence for table " + table.getTableName());
     } else {
       this.addLog("Create Native Sequence for : " + table.getTableName());
     }
   }
 }