Skip to content
Snippets Groups Projects
Commit 54372015 authored by Markus Escher's avatar Markus Escher
Browse files

change ORGID to RELATIONID

parent b1c8190c
No related branches found
No related tags found
No related merge requests found
Showing
with 93 additions and 93 deletions
......@@ -44,7 +44,6 @@
<entityField>
<name>ORGID</name>
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Org_entity/entityfields/orgid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>ORG_USER_EDIT</name>
......@@ -84,6 +83,7 @@
<entityField>
<name>RELATIONID</name>
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Org_entity/entityfields/relationid/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>STATUS</name>
......
import("system.util");
import("system.vars");
import("system.result");
import("system.neon");
if(vars.get("$sys.operatingstate") == neon.OPERATINGSTATE_NEW)
result.string(util.getNewUUID());
\ No newline at end of file
result.string(vars.get("$field.ORGID"));
\ No newline at end of file
......@@ -2,7 +2,7 @@
<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="t.feldmann" id="efc66d2-a20d-49e0-a24c-afab6095d1cb">
<insert tableName="ORG">
<column name="ORGID" value="328b8a8b-c053-447a-bc69-17965b6a60ae"/>
<column name="ORGID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-06-13T09:03:43"/>
<column name="NAME" value="Gfk AG"/>
......@@ -13,7 +13,7 @@
<column name="RELATIONID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-06-13T09:03:43"/>
<column name="ORG_ID" value="328b8a8b-c053-447a-bc69-17965b6a60ae"/>
<column name="ORG_ID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
......@@ -189,7 +189,7 @@
<delete tableName="ORG">
<where>ORGID = ?</where>
<whereParams>
<param value="328b8a8b-c053-447a-bc69-17965b6a60ae" />
<param value="b219b58a-f120-42d8-9a64-0b176501eac7" />
</whereParams>
</delete>
</rollback>
......
<?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="t.feldmann" id="efc66d2-a20d-49e0-a24c-afab6095d1cb">
<insert tableName="ORG">
<column name="ORGID" value="eda61ea6-35ed-4a92-a93c-6118fc67d533"/>
<column name="NAME" value="International Kältetechnik AG&#10;"/>
<column name="CUSTOMERCODE" value="00000004"/>
<column name="DATE_NEW" valueDate="2018-09-14T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="eda61ea6-35ed-4a92-a93c-6118fc67d533"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-14T03:03:43"/>
<column name="ORG_ID" value="eda61ea6-35ed-4a92-a93c-6118fc67d533"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
</changeSet>
</databaseChangeLog>
<?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="t.feldmann" id="efc66d2-a20d-49e0-a24c-afab6095d1cb">
<insert tableName="ORG">
<column name="ORGID" value="e83c45e0-c30b-436e-b445-00a8b58383b0"/>
<column name="NAME" value="Lichtenstein Document Solutions GmbH&#10;"/>
<column name="CUSTOMERCODE" value="00000003"/>
<column name="DATE_NEW" valueDate="2018-09-13T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="e83c45e0-c30b-436e-b445-00a8b58383b0"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-13T03:03:43"/>
<column name="ORG_ID" value="e83c45e0-c30b-436e-b445-00a8b58383b0"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
</changeSet>
</databaseChangeLog>
<?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.goderbauer" id="ded084f6-174d-49a9-a829-f49590c1cc85">
<insert tableName="ORG">
<column name="ORGID" value="e5a0bbdb-6cc4-4889-97ab-dc5143fbeac2"/>
<column name="NAME" value="MNF Versicherung"/>
<column name="CUSTOMERCODE" value="00000002"/>
<column name="DATE_NEW" valueDate="2018-09-12T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="e6da1393-f46b-41a4-826b-2c7d22de2246"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-12T03:03:43"/>
<column name="ORG_ID" value="e5a0bbdb-6cc4-4889-97ab-dc5143fbeac2"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
<insert tableName="ORG">
<column name="ORGID" value="d140e41d-9f56-4e74-9aac-f048e10bcea2"/>
<column name="NAME" value="Lichtenstein Document Solutions GmbH&#10;"/>
<column name="CUSTOMERCODE" value="00000003"/>
<column name="DATE_NEW" valueDate="2018-09-13T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="e83c45e0-c30b-436e-b445-00a8b58383b0"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-13T03:03:43"/>
<column name="ORG_ID" value="d140e41d-9f56-4e74-9aac-f048e10bcea2"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
<insert tableName="ORG">
<column name="ORGID" value="d6a328ba-cb1f-4676-aa08-41762153876a"/>
<column name="NAME" value="International Kältetechnik AG&#10;"/>
<column name="CUSTOMERCODE" value="00000004"/>
<column name="DATE_NEW" valueDate="2018-09-14T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="eda61ea6-35ed-4a92-a93c-6118fc67d533"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-14T03:03:43"/>
<column name="ORG_ID" value="d6a328ba-cb1f-4676-aa08-41762153876a"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
<insert tableName="ORG">
<column name="ORGID" value="d9a4c4e4-fd34-4256-921d-dd681d862b42"/>
<column name="NAME" value="Pichelmaier Financial AG&#13;&#10;"/>
<column name="CUSTOMERCODE" value="00000005"/>
<column name="DATE_NEW" valueDate="2018-09-15T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="fd082db5-be43-4219-a705-588f9c06e59b"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-15T03:03:43"/>
<column name="ORG_ID" value="d9a4c4e4-fd34-4256-921d-dd681d862b42"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
<insert tableName="ORG">
<column name="ORGID" value="f7310676-b0c6-412d-917f-3b21ad80d610"/>
<column name="NAME" value="Sieber Kältetechnik&#10;"/>
......
<?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="t.feldmann" id="efc66d2-a20d-49e0-a24c-afab6095d1cb">
<insert tableName="ORG">
<column name="ORGID" value="e6da1393-f46b-41a4-826b-2c7d22de2246"/>
<column name="NAME" value="MNF Versicherung"/>
<column name="CUSTOMERCODE" value="00000002"/>
<column name="DATE_NEW" valueDate="2018-09-12T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="e6da1393-f46b-41a4-826b-2c7d22de2246"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-12T03:03:43"/>
<column name="ORG_ID" value="e6da1393-f46b-41a4-826b-2c7d22de2246"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
</changeSet>
</databaseChangeLog>
<?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="t.feldmann" id="efc66d2-a20d-49e0-a24c-afab6095d1cb">
<insert tableName="ORG">
<column name="ORGID" value="fd082db5-be43-4219-a705-588f9c06e59b"/>
<column name="NAME" value="Pichelmaier Financial AG&#13;&#10;"/>
<column name="CUSTOMERCODE" value="00000005"/>
<column name="DATE_NEW" valueDate="2018-09-15T03:03:43"/>
<column name="USER_NEW" value="admin"/>
</insert>
<insert tableName="RELATION">
<column name="RELATIONID" value="fd082db5-be43-4219-a705-588f9c06e59b"/>
<column name="USER_NEW" value="admin"/>
<column name="DATE_NEW" valueDate="2018-09-15T03:03:43"/>
<column name="ORG_ID" value="fd082db5-be43-4219-a705-588f9c06e59b"/>
<column name="LANGUAGE" value="de-DE"/>
<column name="STATUS" valueNumeric="1"/>
</insert>
</changeSet>
</databaseChangeLog>
......@@ -17,7 +17,7 @@
<column name="LANGUAGE" value="de-DE"/>
<column name="RELATIONID" value="73d72702-e7f5-11e8-9f32-f2801f1b9fd1"/>
<column name="PERS_ID" value="73d72202-e7f5-11e8-9f32-f2801f1b9fd1"/>
<column name="ORG_ID" value="0"/>
<column name="ORG_ID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="DATE_NEW" valueDate="2018-07-02T00:00:00"/>
<column name="USER_NEW" value="admin"/>
<column name="STATUS" valueNumeric="1"/>
......
......@@ -17,7 +17,7 @@
<column name="LANGUAGE" value="de-DE"/>
<column name="RELATIONID" value="a2e084e2-d68a-4f1e-a1bb-f8d46ad6293d"/>
<column name="PERS_ID" value="efc45d11-a40d-59e0-a24c-afcb6095d2cb"/>
<column name="ORG_ID" value="0"/>
<column name="ORG_ID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="DATE_NEW" valueDate="2018-07-02T00:00:00"/>
<column name="USER_NEW" value="admin"/>
<column name="STATUS" valueNumeric="1"/>
......
......@@ -17,7 +17,7 @@
<column name="LANGUAGE" value="de-DE"/>
<column name="RELATIONID" value="56e084e2-d68a-4f1e-a1bb-f8d46ad6293d"/>
<column name="PERS_ID" value="ef345d11-a40d-59e0-a24c-afcb6095d2cb"/>
<column name="ORG_ID" value="328b8a8b-c053-447a-bc69-17965b6a60ae"/>
<column name="ORG_ID" value="b219b58a-f120-42d8-9a64-0b176501eac7"/>
<column name="DATE_NEW" valueDate="2018-07-02T00:00:00"/>
<column name="USER_NEW" value="admin"/>
<column name="STATUS" valueNumeric="1"/>
......
......@@ -24,41 +24,22 @@
<include file="struct/create_countryinfo.xml"/>
<include file="data/example_org/ORG_privat.xml"/>
<include file="data/example_org/ORG_gfk.xml"/>
<include file="data/example_org/ORG_mnf.xml"/>
<include file="data/example_org/ORG_lichtenstein.xml"/>
<include file="data/example_org/ORG_kaeltetechnik.xml"/>
<include file="data/example_org/ORG_pichelmaier.xml"/>
<include file="data/example_pers/PERS_pfiffig.xml"/>
<include file="data/example_pers/PERS_sommer.xml"/>
<include file="data/example_pers/PERS_muller.xml"/>
<include file="data/example_pers/PERS_leicht.xml"/>
<include file="data/example_pers/PERS_kanzler.xml"/>
<include file="data/example_pers/PERS_gruener.xml"/>
<include file="data/example_pers/PERS_schmitt.xml"/>
<include file="data/example_pers/PERS_carolin.xml"/>
<include file="data/example_pers/PERS_braun.xml"/>
<include file="data/example_pers/PERS_saubermann.xml"/>
<include file="data/example_pers/PERS_rieber.xml"/>
<include file="data/example_pers/PERS_robert_sommer.xml"/>
<include file="data/example_pers/PERS_vogel.xml"/>
<include file="data/example_pers/PERS_haller.xml"/>
<include file="data/example_pers/PERS_petersen.xml"/>
<include file="data/example_pers/PERS_hausler.xml"/>
<include file="data/example_pers/PERS_hinterecker.xml"/>
<include file="data/example_pers/PERS_stone.xml"/>
<include file="data/example_pers/PERS_miller.xml"/>
<include file="data/example_pers/PERS_grenzer.xml"/>
<include file="data/example_pers/PERS_reisecker.xml"/>
<include file="data/example_pers/PERS_hugenmaier.xml"/>
<include file="data/example_pers/PERS_kormann.xml"/>
<include file="data/example_pers/PERS_thaler.xml"/>
<include file="data/example_pers/PERS_traum.xml"/>
<include file="data/example_pers/PERS_hamann.xml"/>
<include file="data/example_pers/PERS_walter.xml"/>
<include file="data/example_pers/PERS_andre.xml"/>
<include file="data/example_contract/CONTRACT_42154311.xml"/>
<include file="data/example_contract/CONTRACT_42154312.xml"/>
<include file="data/example_contract/CONTRACT_42154313.xml"/>
<include file="data/example_contract/CONTRACT_42154314.xml"/>
<include file="data/example_contract/CONTRACT_42154315.xml"/>
<include file="data/example_product/PRODUCT_42154311.xml"/>
<include file="data/example_org/ORG_mass.xml"/>
<include file="data/example_product/PRODUCT_42154311.xml"/>
<include file="data/example_salesproject/SALESPROJECT_gfk.xml"/>
<include file="data/example_salesproject/SALESPROJECT_jkl.xml"/>
<include file="data/example_history/example_history_gfk.xml"/>
......
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