Skip to content
Snippets Groups Projects
Commit d048f48a authored by A.Voegl's avatar A.Voegl
Browse files

Keyword PossibleItemProcess

parent 180ca3e9
No related branches found
No related tags found
No related merge requests found
Showing
with 3 additions and 101 deletions
...@@ -37,7 +37,6 @@ ...@@ -37,7 +37,6 @@
<name>CATEGORY</name> <name>CATEGORY</name>
<title>Category</title> <title>Category</title>
<mandatory v="false" /> <mandatory v="false" />
<possibleItemsProcess>%aditoprj%/entity/Activity_entity/entityfields/category/possibleItemsProcess.js</possibleItemsProcess>
<groupable v="true" /> <groupable v="true" />
</entityField> </entityField>
<entityField> <entityField>
......
import("system.result");
import("Keyword_lib");
var items = LegacyKeywordUtils.getStandardArray("ACTIVITY.CATEGORY");
result.object(items);
\ No newline at end of file
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
<name>ADDR_TYPE</name> <name>ADDR_TYPE</name>
<documentation>%aditoprj%/entity/Address_entity/entityfields/addr_type/documentation.adoc</documentation> <documentation>%aditoprj%/entity/Address_entity/entityfields/addr_type/documentation.adoc</documentation>
<title>Addresstype</title> <title>Addresstype</title>
<possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/possibleItemsProcess.js</possibleItemsProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>BUILDINGNO</name> <name>BUILDINGNO</name>
......
import("system.logging");
import("system.vars");
import("system.result");
import("system.neon");
import("Keyword_lib");
import("Contact_lib");
if (vars.exists("$param.ContactType_param") && parseInt(vars.get("$param.ContactType_param"))) {
var type = parseInt(vars.get("$param.ContactType_param"));
var fields = [];
//logging.log(type)
switch (type) {
case 1:
fields = ["org"];
break;
case 2:
fields = ["person"];
case 3:
fields = ["person"];
break;
}
var resultKeywords = [];
LegacyKeywordUtils.getStandardArrayProps("ADDRESS.TYPE").forEach(function(pKeyword) {
for (let i = 0; i < fields.length; i++) {
if (pKeyword[2][fields[i]]) {
resultKeywords.push([pKeyword[0], pKeyword[1]]);
break;
}
}
});
result.object(resultKeywords);
}
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
<name>MEDIUM_ID</name> <name>MEDIUM_ID</name>
<title>Medium</title> <title>Medium</title>
<mandatory v="true" /> <mandatory v="true" />
<possibleItemsProcess>%aditoprj%/entity/Communication_entity/entityfields/medium_id/possibleItemsProcess.js</possibleItemsProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>CONTACT_ID</name> <name>CONTACT_ID</name>
......
import("system.text");
import("system.vars");
import("system.result");
import("Keyword_lib");
var items = LegacyKeywordUtils.getStandardArray("COMMUNICATION.MEDIUM");
result.object(items);
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
<entityField> <entityField>
<name>PROBABILITY</name> <name>PROBABILITY</name>
<title>Probability</title> <title>Probability</title>
<possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/probability/possibleItemsProcess.js</possibleItemsProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>CONTACT_ID</name> <name>CONTACT_ID</name>
......
import("system.result");
import("Keyword_lib");
result.object(LegacyKeywordUtils.getStandardArray("OFFER.PROBABILITY"));
\ No newline at end of file
...@@ -305,19 +305,16 @@ ...@@ -305,19 +305,16 @@
<entityField> <entityField>
<name>PRICE_POLITICS</name> <name>PRICE_POLITICS</name>
<title>Price politics</title> <title>Price politics</title>
<possibleItemsProcess>%aditoprj%/entity/Organisation_entity/entityfields/price_politics/possibleItemsProcess.js</possibleItemsProcess>
<searchable v="false" /> <searchable v="false" />
</entityField> </entityField>
<entityField> <entityField>
<name>STRENGTH</name> <name>STRENGTH</name>
<title>Strength</title> <title>Strength</title>
<possibleItemsProcess>%aditoprj%/entity/Organisation_entity/entityfields/strength/possibleItemsProcess.js</possibleItemsProcess>
<searchable v="false" /> <searchable v="false" />
</entityField> </entityField>
<entityField> <entityField>
<name>WEAKNESS</name> <name>WEAKNESS</name>
<title>Weakness</title> <title>Weakness</title>
<possibleItemsProcess>%aditoprj%/entity/Organisation_entity/entityfields/weakness/possibleItemsProcess.js</possibleItemsProcess>
<searchable v="false" /> <searchable v="false" />
</entityField> </entityField>
<entityField> <entityField>
......
import("system.result");
import("Keyword_lib");
result.object(LegacyKeywordUtils.getStandardArray("SALESPROJECT.PRICE_POLITICS"));
\ No newline at end of file
import("system.result");
import("Keyword_lib");
result.object(LegacyKeywordUtils.getStandardArray("SALESPROJECT.STRENGTH"));
\ No newline at end of file
import("system.result");
import("Keyword_lib");
result.object(LegacyKeywordUtils.getStandardArray("SALESPROJECT.WEAKNESS"));
\ No newline at end of file
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
<entityField> <entityField>
<name>ESTIMATION</name> <name>ESTIMATION</name>
<title>Estimation</title> <title>Estimation</title>
<possibleItemsProcess>%aditoprj%/entity/Salesproject_entity/entityfields/estimation/possibleItemsProcess.js</possibleItemsProcess>
<selectionMode>MULTI</selectionMode> <selectionMode>MULTI</selectionMode>
</entityField> </entityField>
<entityField> <entityField>
...@@ -49,7 +48,6 @@ ...@@ -49,7 +48,6 @@
<name>PHASE</name> <name>PHASE</name>
<title>Phase</title> <title>Phase</title>
<mandatory v="true" /> <mandatory v="true" />
<possibleItemsProcess>%aditoprj%/entity/Salesproject_entity/entityfields/phase/possibleItemsProcess.js</possibleItemsProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>PROJECTCODE</name> <name>PROJECTCODE</name>
...@@ -87,7 +85,6 @@ ...@@ -87,7 +85,6 @@
<name>STATE</name> <name>STATE</name>
<title>Status</title> <title>Status</title>
<mandatory v="true" /> <mandatory v="true" />
<possibleItemsProcess>%aditoprj%/entity/Salesproject_entity/entityfields/state/possibleItemsProcess.js</possibleItemsProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>VOLUME</name> <name>VOLUME</name>
......
import("system.result");
import("Keyword_lib");
var items;
items = LegacyKeywordUtils.getStandardArray("SALESPROJECT.ESTIMATION");
result.object(items);
\ No newline at end of file
import("system.result");
import("Keyword_lib");
result.object(LegacyKeywordUtils.getStandardArray("SALESPROJECT.PHASE"));
\ No newline at end of file
import("system.result");
import("Keyword_lib");
var items;
items = LegacyKeywordUtils.getStandardArray("SALESPROJECT.STATE");
result.object(items);
\ No newline at end of file
...@@ -38,7 +38,6 @@ ...@@ -38,7 +38,6 @@
<name>PRIORITY</name> <name>PRIORITY</name>
<title>priority</title> <title>priority</title>
<mandatory v="true" /> <mandatory v="true" />
<possibleItemsProcess>%aditoprj%/entity/Task_entity/entityfields/priority/possibleItemsProcess.js</possibleItemsProcess>
<groupable v="true" /> <groupable v="true" />
<valueProcess>%aditoprj%/entity/Task_entity/entityfields/priority/valueProcess.js</valueProcess> <valueProcess>%aditoprj%/entity/Task_entity/entityfields/priority/valueProcess.js</valueProcess>
</entityField> </entityField>
......
import("system.result");
import("Keyword_lib");
var items;
items = LegacyKeywordUtils.getStandardArray("TASK.PRIORITY");
result.object(items);
\ No newline at end of file
...@@ -43,6 +43,7 @@ ...@@ -43,6 +43,7 @@
<include relativeToChangelogFile="true" file="AddressType.xml"/> <include relativeToChangelogFile="true" file="AddressType.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectEstimation.xml"/> <include relativeToChangelogFile="true" file="SalesProjectEstimation.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectStrength.xml"/> <include relativeToChangelogFile="true" file="SalesProjectStrength.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectPhase.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectState.xml"/> <include relativeToChangelogFile="true" file="SalesProjectState.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectWeakness.xml"/> <include relativeToChangelogFile="true" file="SalesProjectWeakness.xml"/>
<include relativeToChangelogFile="true" file="SalesProjectPricePolitics.xml"/> <include relativeToChangelogFile="true" file="SalesProjectPricePolitics.xml"/>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e7a916c8-3f9a-497d-84bb-3909b15271ea"> <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="report1" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="e7a916c8-3f9a-497d-84bb-3909b15271ea">
<property name="ireport.zoom" value="1.771561000000001"/> <property name="ireport.zoom" value="1.771561000000001"/>
<property name="ireport.x" value="0"/> <property name="ireport.x" value="0"/>
<property name="ireport.y" value="113"/> <property name="ireport.y" value="0"/>
<parameter name="myAddr" class="java.lang.String"/> <parameter name="myAddr" class="java.lang.String"/>
<parameter name="Pos" class="java.lang.String"/> <parameter name="Pos" class="java.lang.String"/>
<parameter name="Artikelbezeichnung" class="java.lang.String"/> <parameter name="Artikelbezeichnung" class="java.lang.String"/>
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<parameter name="OFFERDel" class="java.lang.String"/> <parameter name="OFFERDel" class="java.lang.String"/>
<parameter name="AD_Name" class="java.lang.String"/> <parameter name="AD_Name" class="java.lang.String"/>
<parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false"> <parameter name="SUBREPORT_DIR" class="java.lang.String" isForPrompting="false">
<defaultValueExpression><![CDATA["C:\\entwicklungszweige\\0.0\\project\\xRM-Basic2019\\report\\RPTJ_OFFER\\"]]></defaultValueExpression> <defaultValueExpression><![CDATA["C:\\Users\\a.voegl\\Documents\\AditoProjects\\xRM-Basic 2019\\report\\RPTJ_OFFER\\"]]></defaultValueExpression>
</parameter> </parameter>
<parameter name="adito.datasource.subdata" class="java.lang.Object"/> <parameter name="adito.datasource.subdata" class="java.lang.Object"/>
<parameter name="SUMITEMSUM" class="java.lang.Double"/> <parameter name="SUMITEMSUM" class="java.lang.Double"/>
......
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