Commit 30a00839 authored by Thomas Huster's avatar Thomas Huster
Browse files

[23242] add k70 to artikelstamm db and jpa model

parent 3281616d
Pipeline #22707 passed with stages
in 4 minutes and 35 seconds
......@@ -97,6 +97,9 @@ public class ArtikelstammItem extends AbstractEntityWithId
@Convert(converter = BooleanCharacterConverterSafe.class)
private boolean sl_entry;
@Convert(converter = BooleanCharacterConverterSafe.class)
private boolean k70_entry;
@Column(length = 1)
private String ikscat;
......@@ -278,6 +281,14 @@ public class ArtikelstammItem extends AbstractEntityWithId
this.sl_entry = sl_entry;
}
public boolean isK70_entry(){
return k70_entry;
}
public void setK70_entry(boolean k70_entry){
this.k70_entry = k70_entry;
}
public void setLppv(boolean lppv) {
this.lppv = lppv;
}
......
......@@ -132,5 +132,17 @@ UPDATE VERRECHNETCOPY SET LEISTG_TXT = REPLACE(LEISTG_TXT, '\n', '');
UPDATE VERRECHNETCOPY SET LEISTG_TXT = REPLACE(LEISTG_TXT, '\r', '');
]]>
</sql>
</changeSet>
</changeSet>
<changeSet author="thomas" id="manual_K70_ENTRY_ARTIKELSTAMM_CH">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="ARTIKELSTAMM_CH"
columnName="K70_ENTRY" />
</not>
</preConditions>
<addColumn tableName="ARTIKELSTAMM_CH">
<column defaultValue="0" name="K70_ENTRY" type="CHAR(1)"/>
</addColumn>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment