Skip to content
Snippets Groups Projects
Commit def8a060 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

Salesproject fixes

parent c12f13dd
No related branches found
No related tags found
No related merge requests found
import("system.neon"); import("system.neon");
import("system.vars"); import("system.vars");
import("system.result"); import("system.result");
if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value")) if (vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value"))
result.string("25b0ac77-ef92-4809-802e-bb9d8782f865"); //Open result.string("483bcaeb-1e5b-4772-b54e-7d7d8aa65712"); //Open
\ No newline at end of file \ No newline at end of file
<?xml version="1.1" encoding="UTF-8" standalone="no"?> <?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd"> <databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="a.veogl" id="3e9548bd-2c3e-413f-a8b0-405d926f2790"> <changeSet author="j.hoermann" id="3e9548bd-2c3e-413f-a8b0-405d926f2790">
<insert tableName="AB_KEYWORD_ENTRY"> <insert tableName="AB_KEYWORD_ENTRY">
<column name="AB_KEYWORD_ENTRYID" value="3c734077-8677-4732-86ef-7df01d9646b3"/> <column name="AB_KEYWORD_ENTRYID" value="3c734077-8677-4732-86ef-7df01d9646b3"/>
<column name="KEYID" value="70d27a1b-7233-481d-826f-01a13a4bb0b2"/> <column name="KEYID" value="70d27a1b-7233-481d-826f-01a13a4bb0b2"/>
......
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="j.hoermann" id="cfe5294c-5f89-4527-bd1d-ebe9d0597f63">
<insert tableName="AB_KEYWORD_ENTRY">
<column name="AB_KEYWORD_ENTRYID" value="b0123a07-0d21-4365-9aa2-c8be18c56141"/>
<column name="KEYID" value="483bcaeb-1e5b-4772-b54e-7d7d8aa65712"/>
<column name="TITLE" value="Open"/>
<column name="CONTAINER" value="SalesprojectState"/>
<column name="SORTING" valueNumeric="-1"/>
<column name="ISACTIVE" valueNumeric="1"/>
<column name="ISESSENTIAL" valueNumeric="0"/>
</insert>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<column name="STATE" type="CHAR(36)"/> <column name="STATE" type="CHAR(36)"/>
</addColumn> </addColumn>
<update tableName="SALESPROJECT"> <update tableName="SALESPROJECT">
<column name="STATE" value="25b0ac77-ef92-4809-802e-bb9d8782f865"/> <column name="STATE" value="483bcaeb-1e5b-4772-b54e-7d7d8aa65712"/>
<where>STATE_OLD = 1</where> <where>STATE_OLD = 1</where>
</update> </update>
<update tableName="SALESPROJECT"> <update tableName="SALESPROJECT">
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</addColumn> </addColumn>
<update tableName="SALESPROJECT"> <update tableName="SALESPROJECT">
<column name="STATE" valueNumeric="1"/> <column name="STATE" valueNumeric="1"/>
<where>STATE_OLD = '25b0ac77-ef92-4809-802e-bb9d8782f865'</where> <where>STATE_OLD = '483bcaeb-1e5b-4772-b54e-7d7d8aa65712'</where>
</update> </update>
<update tableName="SALESPROJECT"> <update tableName="SALESPROJECT">
<column name="STATE" valueNumeric="2"/> <column name="STATE" valueNumeric="2"/>
......
...@@ -111,4 +111,5 @@ ...@@ -111,4 +111,5 @@
<include relativeToChangelogFile="true" file="AditoBasic/init_AttributeKeyword_target_group.xml"/> <include relativeToChangelogFile="true" file="AditoBasic/init_AttributeKeyword_target_group.xml"/>
<include relativeToChangelogFile="true" file="AditoBasic/insert_offer_status_keyword.xml"/> <include relativeToChangelogFile="true" file="AditoBasic/insert_offer_status_keyword.xml"/>
<include relativeToChangelogFile="true" file="AditoBasic/insert_salesproject_state_keyword.xml"/>
</databaseChangeLog> </databaseChangeLog>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment