Saturday, December 10, 2016

How to solve C/Side hyperlink failed in MS Dynamics NAV 2017?

Are you also Getting the Same Error ?



This error only occurs when we have all the above or more than 1 vesions installed in our system and we have uninstalled any higher version of NAV.

Cause: -

DUE TO uninstall , System Registry might have got some error or deleted.

Solution : -

You have uninstall all the versions and then reinstall each version in ascending order, once all versions are installed , please don't uninstall any upper version. I hope this post will surely help all other NAV Developers and subscribe via email so our new post will reach you directly.

You can also use NAV Protocol Handler. To download NAV Protocol Handler Click Here.

Friday, December 9, 2016

What is System Indicator in NAV 2017 ?


System Indicator in NAV

Defination :

System Indicator is a Field in NAV Company Information Table 79 which can be used for showing any Text in RTC Client as Shown in below screenshot.








I hope you can use it for indication on your Test or Live RTC to remember on which client you are working.

How to add a field in Purchase Header and flow it in G/L Entry in NAV 2017?


To Flow a Field in NAV 2017 Purchase Header - > GL Entry


Flow is From

Purchase Header ---------------> Gen. Jnl. Line ------------------> GL Entry

In the below Eg. I had added a Narration Field on Header and Flow in To GL Entry.


Step 1. Add your Field on Purchase header , G/L ENTRY and Gen. Journal Lines table. as shown in figure also please Check all the fields added must have a same Id.













Step 2. Add your code to Gen Journal Table 81 inside Function CopyFromPurchaseHeader.






Step 3. Add your code to G/L Entry table 17 inside Function CopyFromGnlJnlLine.
Step 4.Add your Code to Codeunit 90 inside Function InsertICGnlJnlLine



Post your Purchase Order.

Your Result is shown below :-


Please Note :- This Field is Valid in NAV 2017 only due to function changes although the method is same in previous version also.

I had used Demo DB so Please be aware about your Database. I hope this will be fruitful for all my juniors in Nav. Keep in touch and subscribe via Email below so our team will intimate you once we get our next Post.

You can also Download these objects From Here :- Click Here

Wednesday, December 7, 2016

How to implement images in MS Dynamics NAV 2017?


Image for Customers and Vendors

With NAV 2017 , you can have your Customer and Vendor imges attached on thier card also you can see in NAV Web Client how attractive the feature is implemented.

To implement the same NAV has created 2 new tables Customer Picture and Vendor Picture with the use of Addin in NAV. To implement the same you to check the actions and define the pagelink as defined in NAV Demo.

So Let's Enjoy the meal. And have nice development ahead with your partners.



How to use SETTABLEVIEW Function in Navision?

SETTABLEVIEW

This is a very important function that can be used in various scenarios ccording to business requirement and dealing.

Defination :-

This function applies filters to the record for the Pages , Report or Xmlport.

Syntax :-    SETTABLEVIEW(Record)

To see more about this please Click Here.

Implementation :-

To use this function we have to create 2 variables and I am adding this function on my customer card to see the impact. 







Tuesday, December 6, 2016

Whats new in G/L Accounts of NAV 2017?

 NAV 2017 

We can adjust our chart of accounts according to differents Categories in Navision. And these categories may be further divede into another different Categories.


2 other new tabs are also defined for Consolidation and Cost Accounting , these new tabs are basically defined to consolidate te Debit and Credit account of this particular GL Account.


In The Page also we have new functionality as follows.



To get most updated news about navision kindly visit this blog regularly and subscribe by Email below so we can reach you everyday.


What is Sales Price and Purchase Price in Navision?

Sales Price & Purchase Price 

These are the price which we can define for a particular item. It can be used and categorised on different basis. We can also define prices for different Dates in a month.



How to define it :- 

We can use these prices in normal indian business scenarios where we want to give some discounts to specific Customers and Vendors as per the requirement.

To define the special prices GOTO Item and search for special prices at home and navigate ribbon.

Advantage:-

In the Sales Price we can define the Direct unit cost of items according to specific customers.

We can also create different customers and accordingly we can define the Sales Price for the items.

We Can also define Price for all Customers. 

The same can be used for Vendors but here we can only define to buy from a particular vendor.

Error while defining Sales & Purchase Price :-

Now , after defining the prices in Sales Price and Purchase Price the issue arises why the sales price is defined correctly instead the system picks up the Last Direct according to the Method defined for stock. For fast solution please check these points.

1. Quantity Field must be blank for accurate transaction of Direct Unit cost in Purchase/Sales Line.

2. Currency Field must be blank or same as in sales/purchase lines.

Starting Date and Ending Date must have a value.


Please comment if still the prices are not picking correctly. or for any other customization.


Friday, December 2, 2016

How to use Temporary Tables in Navision?

What are Temporary Tables in Navision?


Temporary Tables are basically a Temporary variable which points to table and are in use until the table is not closed from Client. This image will define it much better.

For more reference , Please click here on MSDN.

Now see the use of Temporary Tables in this code.


Result :



Thursday, December 1, 2016

What is the difference between CLEAR & RESET Functions in NAV?


What is the use of RESET & CLEAR : -

Basically when we use a want to reuse a variable we need to unapply all the filters that are previously applied on that variable, this is why we need to CLEAR or REST that variable.

If its string type we use ABC=''; IF its Integer type we use ABC=0;
OR we use CLEAR(ABC);
Now, when we are using a RECORD type variable we always use


CLEAR(ABC) or ABC.RESET;

Difference is that while using RESET it clears all the filters already applied on that variable and if any key is changed it will reset the primary also.


CLEAR is 1 more step Ahead that it will Clear all the fields individually from this recor type variable.

For reference please check :-After RESET


After Clear