Breaking news from around the world
Get the Bing + MSN extension
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
Hello, i am sending customer statement from customer card when select email from request page in statement report it sent to customer without any error.
My point is i want to change the subject of the email when sending the statement to customer. where to change the subject ?
You need to check the logic in the codeunit 8800 TryEmailReport function/ Email Report and change the Subject based on the Report No.
Suresh sir i tried a lot can you please tell me where to make change in codeunite 8800 i want just print in the subject "Customer Statement ". instead of company name and customer name.
What is subject you are currently getting when you send it ?
Suresh sir currently i am getting company name and customer name.
CRONUS - Arif
In the GetEmailSubject funciton in the codeunit 260, in the below line based on the ReportUsage change the Subject.
IF PostedDocNo = '' THEN
Subject := COPYSTR(
yes Suresh sir you are right i have tried this before but when i changed the above line of code then it will get the same subject for sales order and order confirmation because this also not include in posted document.
i just want to change the subject only for when sending statement to customer from customer card.
You need to check the report usage and do it only for the customer statement.
Suresh yes you are right its work with report selection :) below is the code in which i made change
IF ReportUsage = ReportSelections.Usage::"C.Statement" THEN BEGIN Subject:= 'Customer Statement'; END ELSEIF PostedDocNo = '' THEN Subject := COPYSTR( STRSUBSTNO(EmailSubjectPluralCapTxt,CompanyInformation.Name,EmailDocumentName),1,MAXSTRLEN(Subject))ELSE Subject := COPYSTR( STRSUBSTNO(EmailSubjectCapTxt,CompanyInformation.Name,EmailDocumentName,PostedDocNo),1,MAXSTRLEN(Subject));
Business Applications communities