Skip to content
Snippets Groups Projects
Commit 36e158e8 authored by Sebastian Pongratz's avatar Sebastian Pongratz :ping_pong:
Browse files

Merge branch '2021.2.2_scanServiceFix' into '2021.2.2'

Scan services fixed file links

See merge request xrm/basic!1536
parents 258069ec 690e04e4
No related branches found
No related tags found
No related merge requests found
Showing
with 11 additions and 72 deletions
import("system.result");
result.object(["Salesproject", "Salesorder"]);
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.neonFilter");
import("system.logging");
import("system.vars");
import("DocumentTemplate_lib");
import("system.neon");
var recipe = neonFilter.createEntityRecordsRecipeBuilder().uidsIncludelist([vars.get("$field.DOCUMENTTEMPLATEID")]).toString();
neon.openContextWithRecipe("DocumentTemplate", "DocumentTemplateHtmlEdit_view", recipe, neon.OPERATINGSTATE_EDIT);
import("KeywordRegistry_basic");
import("system.result");
import("system.vars");
import("DocumentTemplate_lib");
import("system.neon");
var template = DocumentTemplateUtils.getTemplate(vars.get("$field.DOCUMENTTEMPLATEID"), false);
var kind = vars.get("$field.KIND");
if (template)
{
if(template.type == DocumentTemplate.types.HTML &&
kind == $KeywordRegistry.documentTemplateType$textModular() ||
kind == $KeywordRegistry.documentTemplateType$mail())
{
result.string(neon.COMPONENTSTATE_EDITABLE);
}
}
......@@ -97,7 +97,6 @@
<title>Place of Use</title>
<consumer>ExportTemplatePlacesOfUse</consumer>
<mandatory v="true" />
<onValueChange>%aditoprj%/entity/ExportTemplateField_entity/entityfields/exporttemplateplaceofuse_id/onValueChange.js</onValueChange>
</entityField>
<entityField>
<name>placeOfUse</name>
......
= ExportTemplate_entity
Entity to store all the ExportTemplates.
Exporttemplates are used to give the user an easy way to export Data from an table.
linked via the ExportTemplateId to:
-ExportTemplateField_entity to make it possible to store multiple fields for one template
-ExportTemplatePlaceOfUse_entity to make it possible to store multiple places of usage for one template
-ExportTemplateSelection_entity entity for the selection of the template
\ No newline at end of file
......@@ -123,12 +123,10 @@
<dbRecordFieldMapping>
<name>INTEREST_ID.value</name>
<recordfield>INTERESTLINK.INTEREST_ID</recordfield>
<expression>%aditoprj%/entity/InterestLink_entity/recordcontainers/db/recordfieldmappings/interest_id.value/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>INTERESTLINKID.value</name>
<recordfield>INTERESTLINK.INTERESTLINKID</recordfield>
<expression>%aditoprj%/entity/InterestLink_entity/recordcontainers/db/recordfieldmappings/interestlinkid.value/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>STATUS.value</name>
......
import("system.result");
result.string("OFFER.NET * OFFER.DISCOUNT / 100");
import("system.vars");
import("Ticket_lib");
TicketUtils.openNewSupportticketWithLinks( [["Organisation", vars.get( "$field.CONTACTID")]]);
\ No newline at end of file
......@@ -405,7 +405,6 @@
<name>STANDARD_PHONE_COMMUNICATION</name>
<title>Phone</title>
<consumer>PhoneCommunications</consumer>
<displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/standard_phone_communication/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Person_entity/entityfields/standard_phone_communication/onValueChange.js</onValueChange>
</entityField>
<entityConsumer>
......
......@@ -693,7 +693,6 @@
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>STATUS_TILEVIEW.displayValue</name>
<expression>%aditoprj%/entity/Product_entity/recordcontainers/db/recordfieldmappings/statustileview.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ADVERTISING_TILEVIEW.value</name>
......
......@@ -32,7 +32,7 @@
<children>
<entityParameter>
<name>ObjectRowId_param</name>
<valueProcess>%aditoprj%/entity/QuickEntry_entity/entityfields/communications/children/contactid_param/valueProcess.js</valueProcess>
<valueProcess>%aditoprj%/entity/QuickEntry_entity/entityfields/communications/children/objectrowid_param/valueProcess.js</valueProcess>
</entityParameter>
<entityParameter>
<name>ObjectType_param</name>
......@@ -233,7 +233,7 @@
<documentation>%aditoprj%/entity/QuickEntry_entity/entityfields/personcontactids_param/documentation.adoc</documentation>
</entityParameter>
<entityConsumer>
<name>Service tickets</name>
<name>ServiceTickets</name>
<dependency>
<name>dependency</name>
<entityName>SupportTicket_entity</entityName>
......
import("system.result");
result.string( false);
\ No newline at end of file
result.string(false);
\ No newline at end of file
import("system.result");
result.string( true);
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$field.UID"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string( vars.get( "$param.ActionName_param"));
\ No newline at end of file
......@@ -318,7 +318,7 @@
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>userLastChange.value</name>
<expression>%aditoprj%/entity/Weblink_entity/recordcontainers/db/recordfieldmappings/userlstchange.value/expression.js</expression>
<expression>%aditoprj%/entity/Weblink_entity/recordcontainers/db/recordfieldmappings/userlastchange.value/expression.js</expression>
<isFilterable v="true" />
</dbRecordFieldMapping>
<dbRecordFieldMapping>
......
import("system.result");
import("Sql_lib");
var cond = SqlMaskingUtils.prototype.isNull("WEBLINK.USER_EDIT", "WEBLINK.USER_NEW");
var cond = new SqlMaskingUtils().isNull("WEBLINK.USER_EDIT", "WEBLINK.USER_NEW");
result.string(cond);
\ No newline at end of file
......@@ -80,7 +80,7 @@
</neonViewReference>
<neonViewReference>
<name>ad2e41fc-e1e3-4907-9d23-7f3e3c4a026b</name>
<entityField>Service tickets</entityField>
<entityField>ServiceTickets</entityField>
<view>SupportTicketMultiEdit_view</view>
</neonViewReference>
</children>
......
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