Skip to content
Snippets Groups Projects
Commit a72cbac9 authored by Pascal Neub's avatar Pascal Neub Committed by Benjamin Ulrich
Browse files

2021.0 1075641 checklistfix

parent 7077c967
No related branches found
No related tags found
No related merge requests found
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.6.xsd">
<changeSet author="p.neub" id="79f72a80-0830-4185-a9cd-bb51b3d0c432">
<update tableName="AB_KEYWORD_ENTRY">
<column name="TITLE" value="${SALESPROJECT_PROSPECT}"/>
<where>AB_KEYWORD_ENTRYID = ?</where>
<whereParams>
<param value="8aa5d8bb-b412-4c88-b27a-a26d89881bf3"/>
</whereParams>
</update>
<update tableName="AB_KEYWORD_ENTRY">
<column name="TITLE" value="${SALESPROJECT_LEAD}"/>
<where>AB_KEYWORD_ENTRYID = ?</where>
<whereParams>
<param value="98f46a57-a27d-4394-990a-c13513bbea3b"/>
</whereParams>
</update>
<update tableName="AB_KEYWORD_ENTRY">
<column name="TITLE" value="${SALESPROJECT_CONTACT}"/>
<where>AB_KEYWORD_ENTRYID = ?</where>
<whereParams>
<param value="bc24b535-a226-47a3-b43d-bd739f8c9237"/>
</whereParams>
</update>
</changeSet>
</databaseChangeLog>
\ No newline at end of file
......@@ -7,4 +7,5 @@
<include relativeToChangelogFile="true" file="update_salesproject.xml"/>
<include relativeToChangelogFile="true" file="update_keyword.xml"/>
<include relativeToChangelogFile="true" file="update_ab_attributeusage_salesprojectorigin.xml"/>
<include relativeToChangelogFile="true" file="change_phase_translation.xml"/>
</databaseChangeLog>
\ No newline at end of file
......@@ -62,7 +62,7 @@
<column name="DATE_EDIT"/>
<column name="USER_EDIT"/>
<column name="CHECKLISTENTRYID" value="2dc42fbb-4e0b-498f-8032-0c5451bea157"/>
<column name="TITLE" value="salesprojectTeamRoles"/>
<column name="TITLE" value="salesprojectRoleProjectteam"/>
<column name="USER_NEW" value="Admin"/>
<column name="DATE_NEW"/>
</insert>
......
......@@ -8412,6 +8412,15 @@
<entry>
<key>On site</key>
</entry>
<entry>
<key>${SALESPROJECT_PROSPECT}</key>
</entry>
<entry>
<key>${SALESPROJECT_LEAD}</key>
</entry>
<entry>
<key>${SALESPROJECT_CONTACT}</key>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
<sqlModels>
......
......@@ -10917,6 +10917,18 @@ Bitte Datumseingabe prüfen</value>
<key>There already exists a %0 price with the same type of pricelist, quantity and currency in the defined range.</key>
<value>Es gibt bereits einen %0 Preis mit der selben Preisliste, Menge und Einheit im festgeleten Bereich.</value>
</entry>
<entry>
<key>${SALESPROJECT_PROSPECT}</key>
<value>Prospect</value>
</entry>
<entry>
<key>${SALESPROJECT_LEAD}</key>
<value>Lead</value>
</entry>
<entry>
<key>${SALESPROJECT_CONTACT}</key>
<value>Contact</value>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
......@@ -8421,6 +8421,18 @@
<entry>
<key>Vacation</key>
</entry>
<entry>
<key>${SALESPROJECT_PROSPECT}</key>
<value>Prospect</value>
</entry>
<entry>
<key>${SALESPROJECT_LEAD}</key>
<value>Lead</value>
</entry>
<entry>
<key>${SALESPROJECT_CONTACT}</key>
<value>Contact</value>
</entry>
</keyValueMap>
<font name="Dialog" style="0" size="11" />
</language>
import("Attribute_lib");
import("Keyword_lib");
import("system.logging");
import("system.eMath");
import("system.datetime");
import("system.translate");
......@@ -422,6 +421,7 @@ $ChecklistEntryRegistry.salesprojectRoleProjectteam = function(){
var memberRows = $ChecklistEntryRegistry._getRows(null, "Member_entity", ["MEMBERROLE"], [["EnableMSTeams_param", spRows[0]["MST_TEAM_ID"]],
["ObjectRowId_param", spRows[0]["SALESPROJECTID"]]], "WithDistrictResponsibles");
var roles = ["MEMROLEINITIATOR", "MEMROLEDECISIONMAKER", "MEMROLEADVISE", "MEMROLEUSER", "MEMROLEEXSALEMANAG"];
for (let i = 0; i < memberRows.length; i++)
{
var role = memberRows[i]["MEMBERROLE"];
......@@ -497,8 +497,7 @@ $ChecklistEntryRegistry.salesprojectFirstCustConv = function(){
], SqlBuilder.IN());
var activityCount = newSelect("count(*)").from("ACTIVITYLINK")
.where("ACTIVITYLINK.ACTIVITY_ID", activitiesSubSql, SqlBuilder.IN())
.and("ACTIVITYLINK.OBJECT_TYPE", ["Person", "PrivatePerson"], SqlBuilder.IN());
.where("ACTIVITYLINK.ACTIVITY_ID", activitiesSubSql, SqlBuilder.IN());
return parseInt(activityCount.cell()) > 0;
}
};
......
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