Notifications
Announcements
No record found.
Hi experts,
i have just a simple question
How to notify timesheet Approver with Email dynamics nav 2013 R2
pls how can i do that ??
*This post is locked for comments
You can do this with codeunit 397 or 400 depending on your requirement.
Please refer below links, hope you can get a idea,
www.dynamics101.com/.../sending-customized-emails-dynamics-nav
community.dynamics.com/.../143837.aspx
At the time of approval you can call the codeunit 397 and create the mail using Outlook or 400 for SMTP .
hi,
automatically or manually?
you can use CU 397 Mail (Outlook Mail ...) or CU 400 Smtp (no Outlook).
Hi Jonathan,
I actually want this Automatically,
I mean when a timesheet is created, I want a Email is automatically sent to the approver.
that's my problem
Refer this article
saurav-nav.blogspot.com/.../send-mail-with-attachment-from-navision.html
This article has all the necessary coding you need to know about setting up a mail.
the time sheets are created by the (processingonly) report 950 "Create Time Sheets". You'll need to do some changes. Add your code to the OnPostReport-Trigger using the CU 400, e.g.:
smtpMail.CreateMessage(SenderName,SenderAddress,Recipients,Subject,Body,HtmlFormatted);
smtpMail.Send;
Hi,
10'x for your help
But i don't know where should i add those lignes of code ?
Do you have development experience related to Dynamics NAV?
If not I think you should start from the bottom and you need any help related to that please do revert us back.
About the coding, as Jonathan explained in his post timesheets are created using a process only report and that report ID is 950 (Create Time Sheets).
In that report after the report is processed (OnPostReport()) you need write your functionality with the use of codeunit 400.
you need to start the Nav Development Environment. There you can change the Nav objects. But, you need a developer license to change objects, add code, fields, ... If you do not have that kind of license, you should contact a Nav Partner in your region.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.