Skip to main content

Progress Indicator vs window - Microsoft Dynamics NAV

..nice old “but actual” post about NAV progress indicator !
progre
Example
Progress indicator based on Item DataItem
Create a report with Item as the dataitem.  
Put the code below in the prescribed triggers. 
Define the variables, Run the report  
The TotalCount will adjust per the filters you enter on the report so the 
progression bar is always on time.

Variables
Name         DataType
Window       Dialog  
TotalCount   Integer  
Counter      Integer  
  
Item - OnPreDataItem()
  Window.OPEN('Processing: @1@@@@@@@@@@@@@@@');
  TotalCount := COUNT;

Item - OnAfterGetRecord()
  Counter := Counter + 1;
  Window.UPDATE(1,ROUND(Counter / TotalCount * 10000, 1));
   
Item - OnPostDataItem()
  Window.CLOSE;

How-to use Dialog Box with Progress Indicator
Try using a dialog box, but instead of using (ex. '#1######') you use 
(ex. @1@@@@@@@@@@@@@). The "@" sign signifies that you want to use 
progress bar indicator.

Source http://groups.yahoo.com/group/Navision-Knowledge-Village/

Sharing the knowledge on Navision > Visit www.frappr.com/navision for navison friends 
http://groups.yahoo.com/group/Navision-Knowledge-Village/

based on this question :
"When running a long processing report, I usually open a window & 
update it with the entry no I am processing. Instead of using this, is 
there a function that can create a progress indicator type bar instead 
with a % done (for example, like the one you see when importing a file)?

Comments

Popular posts from this blog

Quick Fix Visual Studio displaying NAV Report Layout as XML

I got this issue with Visual Studio 2015 Enterprise Edition.  Every time I open a Dynamics NAV report layout in Visual Studio, RDLC is rendered as XML file instead of visual layout with all the fields and tool boxes.  How the report layout looks:  FIX : In order to fix the issue you need to install  "Microsoft SQL Server Data Tools" .  To install "Microsoft SQL Server Data Tools" you need to go to  Control Panel   ->  Programs and Features  - >  Microsoft Visual Studio <Edition>  -> Change Or you can re run the installation setup.  From the features list, enable "Microsoft SQL Server Data Tools" option and proceed.  Once the installation is completed you are good to go. This time report layout will open in correct design layout.  Hope this helps you to resolve the issue. happy designing.  Please provide your feedback with a comment.  Thank you and Regards, +256775120005 Kairo Okello Dan ERP Solutions Consultant

The Difference Between Microsoft Dynamics NAV and AX

The Difference Between Microsoft Dynamics NAV and AX Microsoft Dynamics offers a variety of ERP solutions. You might say there is a solution for every purpose and every industry. Two of the offerings,  Dynamics NAV  and  Dynamics AX (now part of  Dynamics 365 ) share some of the same features so you might wonder: ‘what are the differences and which is right for my organization?’ Both ERP solutions are highly customizable, available in and adaptable to many languages and currencies used around the world. The two solutions can also be employed in a central location or across diverse satellite locations and are designed to grow as a business grows. Their industry-specific functionality can assure compliance with local and regional requirements. In short, both solutions could rightly be described as comprehensive and well equipped to manage complex requirements of supply chain and inventory. So, what is the difference? Is one better than the other for your particular organiz

How to install a Microsoft Dynamics NAV cumulative update

How to install a Microsoft Dynamics NAV 2018 cumulative update Introduction This article describes how to install a cumulative update for Microsoft Dynamics NAV 2018. You have to recompile all objects after you install a cumulative update. A cumulative update is a cumulative set of files that includes all hotfixes and regulatory features that have been released for Microsoft Dynamics NAV 2018. A cumulative update includes files that are separated into the following folders: APPLICATION DVD See  Upgrading the Data to Microsoft Dynamics NAV 2018  for details. How to install the cumulative update files APPLICATION The APPLICATION folder includes the following files: AccumulatedChangeLog.<Locale>.<Build No.>.txt Changelog.<Locale>.<Build No.>.txt CUObjects.<Locale>.<Build No.>.fob Objects.<Locale>.Objects.<Locale>.<Build No.>.txt To install the application files, follow these