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

Forum Post: How to show the item cost(purchase cost of raw material) in bin content?

$
0
0
Dear Experts, Is there any possibility to show the cost value in bin content. I want to flow the cost amount(purchase price ) in bin content. Please suggest me.

Forum Post: RE: covering fob to text file + split and vice versa

$
0
0
mibuso.com/.../nav-object-splitter-v3.0.0.0

Forum Post: RE: How do we delete/clear purchase orders received but not invoiced?

$
0
0
aggread with Robertas about the standard process . As you mention "Previous year" so i want to highlited few more part for your consideration. Hope accounting period and Inventory period havent closed and Inventory value havent finalize yet. regards.

Forum Post: RE: Export purchase lines to text

$
0
0
Not so clear the question... you have to compose the string that you are passing to WRITETEXT with the values you want to have in the file. I suppose the data is in your PurchaseLine record you're looping.

Forum Post: RE: How to show the item cost(purchase cost of raw material) in bin content?

$
0
0
Hi, the way warehouse module is built in NAV, the costs are separated from the warehouse movements/bins (for a reason). That means, if your costing is not Average or Standard (when all 'pieces' of the same item have the same cost), when moving the item to different bin system will not track what exact cost is moving with this item. So the answer is - not possible in standard NAV. With a bit of customization it is possible ONLY if the costing is Average/Standard, or you have serial number tracking on warehouse as well as on item ledger. Robertas

Forum Post: RE: Export purchase lines to text

$
0
0
I want to create a text file in this case with 4 purch lines with fields item no, date, qty, price ('9525200001 22-08-18 0 1,1'); I don't know how to dinf how many loops I have, that depends of the amount of purch lines (in this case are 4). So I will need 4 lines in my txt file like this "'9525200001 22-08-18 0 1,1' with information contain in the purchase line

Forum Post: RE: How to show the item cost(purchase cost of raw material) in bin content?

$
0
0
thank you sir. Please close this thread.

Forum Post: RE: Export purchase lines to text

$
0
0
I think you need to filter the Purchase Lines for every order, isn't it? Do you need a file for every Purchase Order? PurchaseLine.SETRANGE("Document Type",PurchaseLine."Document Type"::Order); PurchaseLine.SETRANGE("Document No.",'XXX'); //Where XXX is your order number (PurchaseHeader."No.") IF PurchaseLine.FINDSET THEN REPEAT counter := counter+1; MyOutStream.WRITETEXT(PurchaseLine."No." + FORMAT(PurchaseLine."Order Date") + FORMAT(PurchaseLine."Unit Cost") + FORMAT(PurchaseLine.Quantity); MyOutStream.WRITETEXT(); // This command is to move to next line UNTIL PurchaseLine.Next = 0; The WRITETEXT string should be formatted as your needs.

Forum Post: RE: Export purchase lines to text

$
0
0
I will try this code, the separation is with TAB

Forum Post: RE: Export purchase lines to text

$
0
0
varTab := 9; (char) txtTab := format(varTab); (text) And then in my writing to the file: File.Write(Field1 + txtTab + field2 + txtTab + Field3 ...); i will try this example

Forum Post: RE: Word opens on preview

$
0
0
Hi, as Subhashis said, if your report is created in Word and in the system it is configured to use Word layout, system will always open Word for the preview. There are multiple areas in NAV where you can set the default layout, depending on what kind of 'report' you're running. Check 'Report Layout Selection' first, then Document Layout for customers, if that is a customer specific report. Robertas

Forum Post: RE: How to transfer User options from codeunit to the global function of a table via c/al code

$
0
0
Hi, when you call codeunit (fCustomFunction.RUN), it only calls the the 'Run' trigger in the codeunit, but not your actual function 'fCustomFunction'. You have to make the function as 'global', and call fCustomFunction.fCustomFunction(Rec); Hope that makes sense Robertas

Forum Post: NAV Performance Issues - Physical/Virtual Server

$
0
0
My Company and I are working on the implementation of a water billing system with Microsoft Dynamics NAV 2013 R2 . The main processes in this system are: • Invoice generation (which is using standard NAV function to generate invoices in group) • Posting invoices (standard NAV posting). In the architectural point of view the system is based on a virtual machine on Windows Server 2012 R2 with Microsoft SQL Server 2014 Enterprise Edition. We made the following configurations in the virtual machine: 1. RAM was configured from dynamic RAM to static 128 GB RAM. 2. All 3 VHDX of the Virtual Machine were converted from dynamic to fixed size. 3. The VCPU was converted from 6 VCPU to 24 VCPU. We have also made configurations in SQL Server for increasing the performance (indexing, compressing, etc). After testing this environment in terms of performance, the results we received were not performant. NAV took too long to generate the invoices. These results are compared to another server we have in disposal. This other server is physical. The difference in terms of performance between these two servers is quite significant, 3 or more times better in the physical server. We are trying to figure out if there are any restrictions from the Dynamics NAV 2013 R2 side regarding the virtual machine environment. And is there any solution/workaround that we can use in order to have a similar performance as the physical server? In terms of hardware specifications, SQL Configurations, NAV Administration everything is the same between the virtual and physical server. The Virtual machine was chosen as an easier solution regarding the maintenance of the servers in the future (CPU, RAM, etc.). I would really appreciate your opinion.

Forum Post: RE: Export purchase lines to text

$
0
0
So now I have this, TXT - OnAction() // LACPOS001 varTab:=9; txtTab:=FORMAT(varTab); Serverfilename := FileManagement.ServerTempFileName('txt'); ClientFilePath := 'C:\Catia\teste.txt'; MyFile.CREATE(Serverfilename); MyFile.CREATEOUTSTREAM(MyOutStream); PurchaseLine.SETRANGE("Document Type",PurchaseLine."Document Type"::Order); PurchaseLine.SETRANGE("Document No.", PurchaseHeader."No."); MESSAGE('numero documento %1,',PurchaseHeader."No."); MESSAGE('encontrou ? %1,',PurchaseLine.FINDSET); IF PurchaseLine.FINDSET THEN REPEAT counter := counter+1; MyOutStream.WRITETEXT(PurchaseLine."No." + txtTab + FORMAT(PurchaseLine."Data Tabela") + txtTab + FORMAT(PurchaseLine.PVP) + txtTab + FORMAT(PurchaseLine.Quantity)); MyOutStream.WRITETEXT(); // This command is to move to next line UNTIL PurchaseLine.NEXT = 0; MyFile.CLOSE;// To end the writing and write out to the file. FileManagement.DownloadToFile(Serverfilename,ClientFilePath); But is not writing. I think I'm not getting right the "Document No". Because in my messages i can't find any records.

Forum Post: RE: Consume External web service in NAV

$
0
0
Hi! For example: PROCEDURE SendRequest@1000000001(); VAR HttpMgt@1000000001 : Codeunit 1297; BEGIN HttpMgt.CheckUrl(' https://someurl '); HttpMgt.Initialize(' https://someurl '); HttpMgt.SetMethod('POST'); HttpMgt.AddHeader('Authorization', 'Basic ' + '123412341234'); HttpMgt.AddBodyAsText(' ' + Request + ' '); HttpMgt.CreateInstream(IStream); HttpMgt.GetResponseStream(IStream); END;

Forum Post: RE: How to transfer User options from codeunit to the global function of a table via c/al code

$
0
0
Thank you very much Robertas, this really helped me.

Forum Post: RE: Consume External web service in NAV

Forum Post: RE: Convert a json object to an Array list Using Rest

$
0
0
Thanks Andrey for the Info you provided. Yes I'm using Newtonsoft JSON dll. I'll try your solution and let you know.. Do you know what DotNet objects you used for JsonLineObject, JsonMainObject. , JsonArray ? Thanks again

Forum Post: RE: NAV Performance Issues - Physical/Virtual Server

$
0
0
in both cases SQL are in the same machine? same to AD?

Forum Post: RE: NAV Performance Issues - Physical/Virtual Server

$
0
0
Yes they are on the same machine in both cases.
Viewing all 64865 articles
Browse latest View live


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