Quantcast
Channel: Microsoft Dynamics NAV
Viewing all 65770 articles
Browse latest View live

Forum Post: RE: Mail 397 - using Newmessage but being able to select a user profile

$
0
0
hi, ok, right. CU 397 uses the .net assembly Microsoft.Dynamics.Nav.Integration.Office. there is no possibility to set/change the sender address for creating a mail message with the classes delivered by that assembly. the Microsoft.Dynamics.Nav.Integration.Office.dll references (internally) the assembly  Microsoft.Office.Interop.Outlook. using that assembly you can create a mail message and set the sender mail address. the variables: -------------------------------- olApp DotNet Microsoft.Office.Interop.Outlook.ApplicationClass.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' olMailItem DotNet Microsoft.Office.Interop.Outlook.MailItem.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' olItemType DotNet Microsoft.Office.Interop.Outlook.OlItemType.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' olAccountList DotNet Microsoft.Office.Interop.Outlook.Accounts.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' olAccount DotNet Microsoft.Office.Interop.Outlook.Account.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' olAttachmentType DotNet Microsoft.Office.Interop.Outlook.OlAttachmentType.'Microsoft.Office.Interop.Outlook, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' fileName Text senderMailAddress Text idx Integer the code: -------------------------- // here select the sender Address from table company information, // fields Email, "Email 2". senderMailAddress := 'sender@test.com'; olApp := olApp.ApplicationClass; olMailItem := olApp.CreateItem(olItemType.olMailItem); // find the selected outlook profile and set it as sender mailAddress olAccountList := olApp.Session.Accounts; idx := 1; REPEAT  olAccount := olAccountList.Item(idx);  IF LOWERCASE(olAccount.SmtpAddress) = LOWERCASE(senderMailAddress) THEN    olMailItem.SendUsingAccount := olAccount;  idx += 1; UNTIL idx olAccountList.Count; olMailItem.Subject := 'subject text'; olMailItem."To" := 'receiver@test.com'; olMailItem.Body := 'This is the message.'; fileName := 'c:\temp\test.docx'; olMailItem.Attachments.Add(fileName,olAttachmentType.olByValue,1,fileName); olMailItem.Display(TRUE);

Forum Post: RE: How to handle Warranty Parts?

$
0
0
Hi Jonathan, Do you get the broken components back from the customer? Or are you shipping the new parts and the broken ones stay with the customer as well?

Forum Post: RE: Mail 397 - using Newmessage but being able to select a user profile

$
0
0
Thank you Jonathan. I think that will do it.  'will try this strategy! :)

Forum Post: RE: Outlook Interface with Nav 2013 client not working when using NewMessage

$
0
0
Hi Jonathan....I made sure Outlook 32-bit is installed.  I also see the Microsoft.dynamics.nav.integration.office dll is in the addins folder (it's in office subfolder) of 'role tailored client' folder in c:/program files (86).  .net framework version installed is 4.5.  But it still doesn't work.  None of the workstations with only Nav client installed works.  It only works in the pcs where I have Nav server and Nav client installed.  Any other ideas/pointers?

Forum Post: RE: How to handle Warranty Parts?

$
0
0
Hi Corina, Sometimes we get the broken components back from the customer. However, most of time, we don't. Thanks, Jonathan

Forum Post: M-Connect connector for Magento

$
0
0
Hello, I heard that M-Connector is an open source connector that works as a bridge between Magento (Ecommerce) and NAV. Have some been used or implemented before? If some one does, what site can I download it?

Forum Post: RE: Outlook Interface with Nav 2013 client not working when using NewMessage

$
0
0
hi, have you set the variable property runonclient to yes?

Forum Post: RE: M-Connect connector for Magento

$
0
0
I'm not sure if M-Connect is open source, I don't think so. Try asking Malibu Commerce: www.malibucommerce.com/.../m-connect Good luck!

Forum Post: RE: M-Connect connector for Magento

$
0
0
hi, here you will get a demo: www.webshop4dynamics.com

Forum Post: RE: Outlook Interface with Nav 2013 client not working when using NewMessage

$
0
0
Thanks Jonathan! You're the best! I can't wait to try this.  I couldn't set the runonclient when using the 397 codeunit.  But perhaps this will work.  I need this anyway so I can change the sender address! Thank you thank you!!!!

Forum Post: RE: Outlook Interface with Nav 2013 client not working when using NewMessage

$
0
0
hi, My pleasure! :-) runonclient property is only available for dotnet variables (little mistake ;-) ) as i wrote before: The Mail.NewMessage function also works, but the Outlook Client needs to be started before calling that function on the workstation (is a little strange, but works. have tested it.)

Blog Post: Let's clean up NAV #1 - URL and SAVEASHTML

$
0
0
As Mark started to set the pace , I am following up on this with my list of small enhancements that could easily be picked up in the next release. Let's clean up NAV from obsolete remnants. I just call this post #1 even though I am totally unaware how many more will follow. So here we go: 'Houston' ... uhhh ... 'Vedbeak' let's get rid of the obsolete report property URL and function SAVEASHTML . For those who agree, give your vote here .

Forum Post: RE: Error when i try to configure the connection to SQL Instance (NAV 2013 R2)

$
0
0
Hellow Jonathan, I'm installing NAV from scratch, i will need your assistance, I would like to configure NAV SQL server to connect to a remote SQL Server NAV SQL Server: 172.19.11.78 SQL Server: 172.19.11.77 But i dont find the parametre that can i identify the target server I have this error when i try to configure the connection to a remote SQL Server instance Link: zupimages.net/viewer.php Best regards Guiga Hafedh

Forum Post: RE: How to populate a new field(package tracking No) from T7320(warehouse shipment header) to T7322(posted warehouse shipment header)?

$
0
0
Hi Jonathan, Thanks for your reply. Unfortunately, I have tried before to post my inquiry on this site with a lookup field, but it was not working.

Forum Post: RE: How to notify timesheet Approver with Email dynamics nav 2013 R2

$
0
0
Hi, 10'x for your help But i don't know where should i add those lignes of code ?

Forum Post: RE: Error when i try to configure the connection to SQL Instance (NAV 2013 R2)

$
0
0
hi, run setup using the custom option. there you can set the sql server ip/name and instance. best follow www.youtube.com/watch

Forum Post: RE: How to notify timesheet Approver with Email dynamics nav 2013 R2

$
0
0
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.

Forum Post: RE: How to notify timesheet Approver with Email dynamics nav 2013 R2

$
0
0
hi, 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.

Forum Post: RE: How to populate a new field(package tracking No) from T7320(warehouse shipment header) to T7322(posted warehouse shipment header)?

$
0
0
You can use the option Mohana given.  Create the field in the T7320 and T7322 and i n the codeunit  5763 ( Whse.-Post Shipment) you can write your code in the  CreatePostedShptHeader() function right after the  PostedWhseShptHeader."External Document No." := WhseShptHeader."External Document No."; Before the Insert statement you need to put your coding. PostedWhseShptHeader."Your Field 01" := WhseShptHeader."Your Field 01"; This should work properly. 

Forum Post: RE: Maximum number of languages in one database

$
0
0
There is no limit in the number of languages that yon can have. (At least it is not mention in any document NAV has published)
Viewing all 65770 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>