dynamics-nav-2016

How to generate pdf report automatically in Dynamics NAV

假装没事ソ 提交于 2020-01-06 15:30:33
问题 I have designed a report and i would like to save each report in pdf into a specifi folder. How do i achieve this using a codeunit or report? Number:=50050; CustBill.RESET; IF CustBill.FIND('-') THEN tofile := DELCHR(CustBill."Customer No." + FORMAT(CustBill.Date),'=','/\:.,') + '.pdf'; Filename := 'D:\Bills\'+'tofile'; REPORT.SAVEASPDF(Number, Filename,Runrpt) 回答1: This statement IF CustBill.FIND('-') THEN if used without begin and end only related to the single next line of code. In your

How to Delete records using Odata Dynamics NAV 2017 web services

为君一笑 提交于 2019-12-08 00:08:31
问题 I was developed a php application that connects to Microsoft Dynamics NAV 2017 OData Web Services, I can read (GET), and create (POST) with no problems,but for delete I receive the error 405, Microsoft say that it is possible to delete : https://msdn.microsoft.com/es-es/library/dd355398(v=nav.90).aspx https://msdn.microsoft.com/en-us/library/dn182582(v=nav.90).aspx I check the page in Dynamics NAV that have a correct property InsertAllowed, ModifyAllowed, or DeleteAllowed, is set to Yes, and

How to Delete records using Odata Dynamics NAV 2017 web services

随声附和 提交于 2019-12-06 04:18:58
I was developed a php application that connects to Microsoft Dynamics NAV 2017 OData Web Services, I can read (GET), and create (POST) with no problems,but for delete I receive the error 405, Microsoft say that it is possible to delete : https://msdn.microsoft.com/es-es/library/dd355398(v=nav.90).aspx https://msdn.microsoft.com/en-us/library/dn182582(v=nav.90).aspx I check the page in Dynamics NAV that have a correct property InsertAllowed, ModifyAllowed, or DeleteAllowed, is set to Yes, and I have permissions to delete After try with postman recevie the same error: Can someone help me? Thanks