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

improve campaigncost

parent 888a1589
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.2" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.2">
<name>CampaignCost_entitiy</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<afterOperatingState>%aditoprj%/entity/CampaignCost_entitiy/afterOperatingState.js</afterOperatingState>
<recordContainer>db</recordContainer>
<entityFields>
<entityProvider>
......
import("system.neon");
import("system.vars");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW)
{
neon.refreshAll();
}
\ No newline at end of file
......@@ -7,5 +7,5 @@ if (vars.exists("$field.CAMPAIGNSTEP_ID") && vars.get("$field.CAMPAIGNSTEP_ID"))
}
else
{
result.string("Campaign");
result.string("");
}
\ No newline at end of file
......@@ -4,8 +4,4 @@ import("system.vars");
if (vars.exists("$field.CAMPAIGNSTEP_ID") && vars.get("$field.CAMPAIGNSTEP_ID"))
{
result.string(vars.get("$field.CAMPAIGNSTEP_ID"));
}
else
{
result.string(vars.get("$field.CAMPAIGN_ID"));
}
\ No newline at end of file
......@@ -14,5 +14,9 @@
<name>34fefde3-d3cf-4a64-92e2-fe1150c286eb</name>
<view>CampaignCostEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>01137074-b129-42bc-86b7-82afc356923b</name>
<view>CampaignStepCostFilter_view</view>
</neonViewReference>
</references>
</neonContext>
......@@ -12,9 +12,6 @@
<treeTableViewTemplate>
<name>CostTreeTable</name>
<favoriteActionGroup1>alter</favoriteActionGroup1>
<defaultGroupFields>
<element>CAMPAIGNSTEP_ID</element>
</defaultGroupFields>
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
......
<?xml version="1.0" encoding="UTF-8"?>
<neonView xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/neonView/1.1.1">
<name>CampaignStepCostFilter_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<filterable v="true" />
<layout>
<boxLayout>
<name>layout</name>
</boxLayout>
</layout>
<children>
<treeTableViewTemplate>
<name>CostTreeTable</name>
<favoriteActionGroup1>alter</favoriteActionGroup1>
<defaultGroupFields>
<element>CAMPAIGNSTEP_ID</element>
</defaultGroupFields>
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
<name>457caff8-0403-425f-839c-62e5d05fe3a1</name>
<entityField>CATEGORY</entityField>
</neonTableColumn>
<neonTableColumn>
<name>f8c6439c-9536-477b-af19-26719902e12e</name>
<entityField>netPerParticipant</entityField>
</neonTableColumn>
<neonTableColumn>
<name>8239e81b-d69c-4ea9-b55d-83e79d1693cf</name>
<entityField>countParticipants</entityField>
</neonTableColumn>
<neonTableColumn>
<name>2adbd887-f1df-43ff-bde9-12c8273af7a9</name>
<entityField>NET</entityField>
</neonTableColumn>
</columns>
</treeTableViewTemplate>
</children>
</neonView>
......@@ -25,9 +25,9 @@
<view>CampaignStepAnalysis_view</view>
</neonViewReference>
<neonViewReference>
<name>b17669a6-7ddf-428a-983c-df18a2f7a738</name>
<name>c3810063-9fdd-4f11-b742-ce311cbb183e</name>
<entityField>CampaignStepCosts</entityField>
<view>CampaignCostFilter_view</view>
<view>CampaignStepCostFilter_view</view>
</neonViewReference>
</children>
</neonView>
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