Personalized Community is here!
Quickly customize your community to find the content you seek.
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
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | All 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