Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all 11285 articles
Browse latest View live

Forum Post: RE: Extension/App development in Dynamics 365 Business Central on premises

$
0
0
Hi thiyagu, I'll try to be more explicit. If you make an extensión to a single tenant on cloud you can still use object range 50000-99999; but if you work in an extensión you want to upload to appsource, you need to rename the id's in extension objects.

Forum Post: RE: Killing an external process from NAV

$
0
0
You ask to kill Adobe Reader, but instead of killing it, why don't you use a function that do not relay on opening Adobe reader? What are the intension of this code? What are you printing to PDF?

Forum Post: RE: Killing an external process from NAV

$
0
0
To be fair. Printing a PDF-file was the original intension. This is what the above solution is doing, the drawback is the running Adobe Reader application that needs to be killed. My suggestion was a powershell script or a program that looks for PDF documents in a specific folder. You are more than welcome to see if you can come up with a solution that prints a PDF-file (That was not generated by NAV) . It it has to be done from a commandline I would suggest using the free GhostScript https://www.ghostscript.com/doc/current/Use.htm

Forum Post: RE: Killing an external process from NAV

$
0
0
That's it. I receive a PDf fro ma webService, and I need to print it to a certain printer. That is solved, id it was not for the Adobe stlls open.. I'm debuging other parts of the code, and now I'm gonan try to develop a script.. And I'll also take a look to the ghostScript idea Thank you!

Forum Post: RE: Killing an external process from NAV

$
0
0
about " I am generating a PDF with this code, using the PDFSharp library " - are you sure that this library does not have method which close connection or similar? Did you check all methods?

Forum Post: RE: Killing an external process from NAV

$
0
0
I'm on it, doesn't seem to exist... I've read that it's one of the "bad things" of this libray...

Forum Post: Nav 2016: Customer Report in Native Nav showing Items and associated Sales Order

$
0
0
If a customer purchases an Item is there a report to show then this was purchased and the associated Sales Order.

Forum Post: RE: Nav 2016: Customer Report in Native Nav showing Items and associated Sales Order

$
0
0
Customer Item statistics report will show you items bought against the Sales order.

Forum Post: RE: I want to run codeunit function on the basis of users selection.

$
0
0
You need to hardcode all names (and body) of functions from this CU (you can't change it dynamically, but can select it based on parameter).

Forum Post: RE: Nav 2016: Customer Report in Native Nav showing Items and associated Sales Order

$
0
0
Is there away to show the Sales Order on this Report as well?

Forum Post: RE: Nav 2016: Customer Report in Native Nav showing Items and associated Sales Order

$
0
0
Yes, If you filter on the Document no. field in Value entry(which is nothing but the Posted sales invoice no.) you will get the Posted sales invoice no. Once you get the Posted sales invoice no. you will get the Order no. field which is nothing but the Sales order no.

Forum Post: RE: Extension Object does it consume Purchased Objects?

$
0
0
Hi Eric , Thanks for the reply. I was talking about Business Central On premise I am doing some table & page extension using object 50000..99999. so is it consider as free? Thanks

Forum Post: RE: GRN block

$
0
0
no, but that would block every transaction. I only need it for PO.

Forum Post: RE: GRN block

$
0
0
Then you need to develope a feature, you could hook into Codeunit 90 - Purch. -post and use Eventpublisher "OnBeforePostPurchaseDoc"

Comment on Using Reflection to call NAV 2009 Web Services

$
0
0
Can you please provide code about this..

Forum Post: Compilation of Assembly error

$
0
0
Below error is showing while opening my nav 2013 r2 RTC. --------------------------- Microsoft Dynamics NAV --------------------------- Compilation of assembly 'C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\assembly\Record2000000111_2018.dll' failed. This can be caused by differences between binaries in your installation or your database. Ensure that all installation components are consistent and up to date. Error details: The following internal csc.exe compiler error occurred which cannot be handled: C:\Windows\ServiceProfiles\NetworkService\Desktop> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe" /t:library /utf8output /R:"C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Ncl.dll" /R:"C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Types.dll" /R:"C:\Program Files\Microsoft Dynamics NAV\71\Service\Microsoft.Dynamics.Nav.Language.dll" /R:"C:\Windows\Microsoft.NET\Framework64\v3.0\Windows Communication Foundation\System.Runtime.Serialization.dll" /out:"C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\assembly\Record2000000111_2018.dll" /debug- /optimize+ /w:0 /optimize+ "C:\ProgramData\Microsoft\Microsoft Dynamics NAV\71\Server\MicrosoftDynamicsNavServer$FEPLLive\source\Record\Record2000000111_2018.cs" --------------------------- OK ---------------------------

Blog Post: Dynamics 365 Business central on-premise: why I can’t find my C/AL page on Search?

$
0
0
This seems to be a problem for many partners and developers that have start working with Dynamics 365 Business Central on-premise in these days and this is not actually well documented in my opinion. I think that you already know that when developing a page with the AL language extension for Dynamics 365 Business Central in the cloud, you need to set ApplicationArea and UsageCategory  properties in order to see your page in Search. If you open a Dynamics NAV 2018 page with CSIDE, you don’t have these properties available, while if you open the same page with Dynamics 365 Business Central on-premise, now you have them available: What happens now is that if you create a new page in CSIDE, set the ApplicationArea and UsageCategory properties and add that page to a Menusuite, often you can see the page in Windows Client search but not on the web client. Normally what happens is that you can see the page in web client search if you compile the Menusuite object, otherwise no. If this problem occour, you have to build the search index (the Web Client search works differently now). To do that, simply open CSIDE, connect to your Dynamics 365 Business Central on-premise database and go to Tools|Build Object Search Index : A process starts and after that you’ll have your C/AL objects in Search also in web client: This process can be also performed via Powershell with the following command: finsql.exe Command=buildobjectsearchindex, Servername=YourServer, Database=YourDatabase, Logfile=log.txt Expect (hoping so) improvements on this topic…

Forum Post: RE: Nav 2016: Customer Report in Native Nav showing Items and associated Sales Order

$
0
0
If I understood correctly you need 1 report which shows per customer - list of items (based on filters) and linked posted and non-posted sales document. If it is, you need to develop this kind of report.

Forum Post: RE: Compilation of Assembly error

$
0
0
It is not enough information to advice you something. I think you need to read something like - https://community.dynamics.com/nav/b/sauravdhyanimicrosoftdynamicsnav/archive/2014/11/30/nav-2013-amp-later-differences-between-binaries-in-your-installation-or-your-database (adn check assembly\Record2000000111_2018.dll' failed ) or forum.mibuso.com/.../error-when-running-code-unit-on-rtc

Forum Post: RE: Extension Object does it consume Purchased Objects?

$
0
0
Hi Stan. if you develop something for Business Central (by V2), you need to check 2 points: - range in your licence file (e.g. standard range for V2 objects is 50100-50149) - special range for development (released by MS) What do you want to do?
Viewing all 11285 articles
Browse latest View live