Skip to content

Commit

Permalink
Dropped wrong column
Browse files Browse the repository at this point in the history
  • Loading branch information
TheBestPessimist committed Jun 5, 2019
1 parent c44fa41 commit 3abc505
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 39 deletions.
Expand Up @@ -98,31 +98,27 @@ public interface I_C_Invoice_Rejection_Detail
public static final String COLUMNNAME_C_Invoice_ID = "C_Invoice_ID";

/**
* Set Sektion.
* Set Zurückweisungsdetail.
*
* <br>Type: Search
* <br>Mandatory: false
* <br>Type: ID
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public void setC_Invoice_Org_ID (int C_Invoice_Org_ID);
public void setC_Invoice_Rejection_Detail_ID (int C_Invoice_Rejection_Detail_ID);

/**
* Get Sektion.
* Get Zurückweisungsdetail.
*
* <br>Type: Search
* <br>Mandatory: false
* <br>Type: ID
* <br>Mandatory: true
* <br>Virtual Column: false
*/
public int getC_Invoice_Org_ID();

public org.compiere.model.I_AD_Org getC_Invoice_Org();

public void setC_Invoice_Org(org.compiere.model.I_AD_Org C_Invoice_Org);
public int getC_Invoice_Rejection_Detail_ID();

/** Column definition for C_Invoice_Org_ID */
public static final org.adempiere.model.ModelColumn<I_C_Invoice_Rejection_Detail, org.compiere.model.I_AD_Org> COLUMN_C_Invoice_Org_ID = new org.adempiere.model.ModelColumn<I_C_Invoice_Rejection_Detail, org.compiere.model.I_AD_Org>(I_C_Invoice_Rejection_Detail.class, "C_Invoice_Org_ID", org.compiere.model.I_AD_Org.class);
/** Column name C_Invoice_Org_ID */
public static final String COLUMNNAME_C_Invoice_Org_ID = "C_Invoice_Org_ID";
/** Column definition for C_Invoice_Rejection_Detail_ID */
public static final org.adempiere.model.ModelColumn<I_C_Invoice_Rejection_Detail, Object> COLUMN_C_Invoice_Rejection_Detail_ID = new org.adempiere.model.ModelColumn<I_C_Invoice_Rejection_Detail, Object>(I_C_Invoice_Rejection_Detail.class, "C_Invoice_Rejection_Detail_ID", null);
/** Column name C_Invoice_Rejection_Detail_ID */
public static final String COLUMNNAME_C_Invoice_Rejection_Detail_ID = "C_Invoice_Rejection_Detail_ID";

/**
* Set Klient/in.
Expand Down
Expand Up @@ -14,14 +14,15 @@ public class X_C_Invoice_Rejection_Detail extends org.compiere.model.PO implemen
/**
*
*/
private static final long serialVersionUID = 1872957668L;
private static final long serialVersionUID = 1520787047L;

/** Standard Constructor */
public X_C_Invoice_Rejection_Detail (Properties ctx, int C_Invoice_Rejection_Detail_ID, String trxName)
{
super (ctx, C_Invoice_Rejection_Detail_ID, trxName);
/** if (C_Invoice_Rejection_Detail_ID == 0)
{
setC_Invoice_Rejection_Detail_ID (0);
setIsDone (false); // N
} */
}
Expand Down Expand Up @@ -78,35 +79,23 @@ public int getC_Invoice_ID ()
return ii.intValue();
}

/** Set Zurückweisungsdetail.
@param C_Invoice_Rejection_Detail_ID Zurückweisungsdetail */
@Override
public org.compiere.model.I_AD_Org getC_Invoice_Org() throws RuntimeException
public void setC_Invoice_Rejection_Detail_ID (int C_Invoice_Rejection_Detail_ID)
{
return get_ValueAsPO(COLUMNNAME_C_Invoice_Org_ID, org.compiere.model.I_AD_Org.class);
}

@Override
public void setC_Invoice_Org(org.compiere.model.I_AD_Org C_Invoice_Org)
{
set_ValueFromPO(COLUMNNAME_C_Invoice_Org_ID, org.compiere.model.I_AD_Org.class, C_Invoice_Org);
}

/** Set Sektion.
@param C_Invoice_Org_ID Sektion */
@Override
public void setC_Invoice_Org_ID (int C_Invoice_Org_ID)
{
if (C_Invoice_Org_ID < 1)
set_Value (COLUMNNAME_C_Invoice_Org_ID, null);
if (C_Invoice_Rejection_Detail_ID < 1)
set_ValueNoCheck (COLUMNNAME_C_Invoice_Rejection_Detail_ID, null);
else
set_Value (COLUMNNAME_C_Invoice_Org_ID, Integer.valueOf(C_Invoice_Org_ID));
set_ValueNoCheck (COLUMNNAME_C_Invoice_Rejection_Detail_ID, Integer.valueOf(C_Invoice_Rejection_Detail_ID));
}

/** Get Sektion.
@return Sektion */
/** Get Zurückweisungsdetail.
@return Zurückweisungsdetail */
@Override
public int getC_Invoice_Org_ID ()
public int getC_Invoice_Rejection_Detail_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_C_Invoice_Org_ID);
Integer ii = (Integer)get_Value(COLUMNNAME_C_Invoice_Rejection_Detail_ID);
if (ii == null)
return 0;
return ii.intValue();
Expand Down
@@ -0,0 +1,65 @@
-- 2019-06-05T11:41:46.436
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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,568166,576783,0,13,541365,'C_Invoice_Rejection_Detail_ID',TO_TIMESTAMP('2019-06-05 11:41:46','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Zurückweisungsdetail',0,TO_TIMESTAMP('2019-06-05 11:41:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;

-- 2019-06-05T11:41:46.442
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=568166 AND NOT EXISTS (SELECT 1 FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
;

-- 2019-06-05T11:41:46.496
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_Column_Translation_From_AD_Element(576783)
;

-- 2019-06-05T11:47:09.140
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,ColumnDisplayLength,Created,CreatedBy,DisplayLength,EntityType,IncludedTabHeight,IsActive,IsDisplayed,IsDisplayedGrid,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SeqNoGrid,SortNo,SpanX,SpanY,Updated,UpdatedBy) VALUES (0,568166,581207,0,541791,0,TO_TIMESTAMP('2019-06-05 11:47:08','YYYY-MM-DD HH24:MI:SS'),100,0,'D',0,'Y','Y','Y','N','N','N','N','N','Zurückweisungsdetail',170,170,0,1,1,TO_TIMESTAMP('2019-06-05 11:47:08','YYYY-MM-DD HH24:MI:SS'),100)
;

-- 2019-06-05T11:47:09.144
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
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=581207 AND NOT EXISTS (SELECT 1 FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
;

-- 2019-06-05T11:47:09.157
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select update_FieldTranslation_From_AD_Name_Element(576783)
;

-- 2019-06-05T11:47:09.162
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Element_Link WHERE AD_Field_ID=581207
;

-- 2019-06-05T11:47:09.164
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
/* DDL */ select AD_Element_Link_Create_Missing_Field(581207)
;

-- 2019-06-05T11:47:37.342
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Element_Link WHERE AD_Field_ID=580886
;

-- 2019-06-05T11:47:37.344
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Field_Trl WHERE AD_Field_ID=580886
;

-- 2019-06-05T11:47:37.358
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Field WHERE AD_Field_ID=580886
;

-- 2019-06-05T11:47:45.005
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=568162
;

-- 2019-06-05T11:47:45.011
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
DELETE FROM AD_Column WHERE AD_Column_ID=568162
;

0 comments on commit 3abc505

Please sign in to comment.