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

newActivity aktionen hinzugefügt

parent 2113ee1f
No related branches found
No related tags found
No related merge requests found
Showing
with 57 additions and 5 deletions
......@@ -2,8 +2,5 @@ import("system.vars");
import("system.result");
import("Keyword_lib");
var histMedium;
histMedium = vars.get("$field.CATEGORY");
if (histMedium){
result.string(vars.get("$field.SUBJECT") + " (" + LegacyKeywordUtils.getViewValue("ACTIVITY.CATEGORY", histMedium) + ")");
}
\ No newline at end of file
var histMedium = vars.get("$field.CATEGORY");
result.string(vars.get("$field.SUBJECT") + (histMedium ? " (" + LegacyKeywordUtils.getViewValue("ACTIVITY.CATEGORY", histMedium) + ")" : ""));
......@@ -259,6 +259,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<fieldType>ACTION</fieldType>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/Contract_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>NEON:HISTORY</iconId>
</entityActionField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("Activity_lib");
ActivityUtils.createNewActivity(vars.getString("$field.CONTRACTID"));
\ No newline at end of file
......@@ -388,6 +388,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<fieldType>ACTION</fieldType>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/Offer_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>NEON:HISTORY</iconId>
</entityActionField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("Activity_lib");
ActivityUtils.createNewActivity(vars.getString("$field.OFFERID"));
\ No newline at end of file
......@@ -378,6 +378,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<fieldType>ACTION</fieldType>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/Order_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>NEON:HISTORY</iconId>
</entityActionField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("Activity_lib");
ActivityUtils.createNewActivity(vars.getString("$field.SALESORDERID"));
\ No newline at end of file
......@@ -310,6 +310,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<fieldType>ACTION</fieldType>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/Product_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>NEON:HISTORY</iconId>
</entityActionField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("Activity_lib");
ActivityUtils.createNewActivity(vars.getString("$field.PRODUCTID"));
\ No newline at end of file
......@@ -387,6 +387,13 @@
</entityParameter>
</children>
</entityConsumer>
<entityActionField>
<name>newActivity</name>
<fieldType>ACTION</fieldType>
<title>New activity</title>
<onActionProcess>%aditoprj%/entity/Salesproject_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
<iconId>NEON:HISTORY</iconId>
</entityActionField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.vars");
import("Activity_lib");
ActivityUtils.createNewActivity(vars.getString("$field.SALESPROJECTID"));
\ No newline at end of file
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