Skip to content
Snippets Groups Projects
Commit 377e04cc authored by Daniel Tran's avatar Daniel Tran
Browse files

[Projekt: xRM-ContactManagement][TicketNr.: 1084172][Email_entity übergibt an...

[Projekt: xRM-ContactManagement][TicketNr.: 1084172][Email_entity übergibt an Dokuvorlagen Field anstatt Parameter]
- Changed return value to $param.DocumentTemplateTypeClassification_param, to get the
    right doc-templates displayed.
- Renamed param in function, to so more meaningful.
parent 74b6614c
No related branches found
No related tags found
No related merge requests found
import("system.vars");
import("system.result");
result.string(vars.get("$field.documenttemplatetypeclassification"));
\ No newline at end of file
result.string(vars.get("$param.DocumentTemplateTypeClassification_param"));
\ No newline at end of file
......@@ -92,10 +92,10 @@ EmailWritingUtils.openMailTemplate = function (pToRecipients, pSenderContactId,
* @param {String} pEmailFilename optional file name of the email.
* @param {String} [pAdditionalPlaceholders] additional placeholders for the email
* @param {Array[]} [pUpdateStatements] an array with update statements which will be executed after email is downloaded/sent.
* @param {String} pDocumentTemplateType The document template type (single or serial - <b><u><i>use keyword!</i></u></b>).
* @param {String} pDocumentTemplateTypeClassification The document template type classification.
*/
EmailWritingUtils.openNewMail = function (pToContactId, pToEmailAddress, pComingFrom, pAttachmentArray, pNotificationMsg, pEmailFilename,
pAdditionalPlaceholders, pUpdateStatements, pDocumentTemplateType)
pAdditionalPlaceholders, pUpdateStatements, pDocumentTemplateTypeClassification)
{
var params = {
"ContactId_param" : pToContactId,
......@@ -105,7 +105,7 @@ EmailWritingUtils.openNewMail = function (pToContactId, pToEmailAddress, pComing
"EmailFilename" : pEmailFilename,
"AdditionalPlaceholders_param" : JSON.stringify(pAdditionalPlaceholders),
"UpdateStatements_param" : JSON.stringify(pUpdateStatements),
"DocumentTemplateTypeClassification_param" : pDocumentTemplateType
"DocumentTemplateTypeClassification_param" : pDocumentTemplateTypeClassification
};
if (pToEmailAddress)
......
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