Tuesday 9 June 2015

NAV 2013 , NAV 2015 Security System Permissions

Navision 2013 allows every user / developer who have access to Development Environment can change and upload the license to the server.

It Seems to be the System Permissions are not working properly, if you have removed the System Permissions also for that user / developer still able to change / upload the license
 
for the same refer the below
 
It is one of the Security hole in NAV 2013,2015 .

Thursday 23 April 2015

COPYLINKS + The requested record cannot be located.

Error Message:
---------------------------
Microsoft Dynamics NAV Development Environment
---------------------------
The requested record cannot be located.
---------------------------
OK  
---------------------------

Scenario  :

Create Sales Order with Notes(Notify should be Yes), now the user have notification when clicking on the notes the Order Page will open
 
Post the Order completely , user will receive two notifications one for the shipment and other for the Invoice, if we click on notes now we will receive the error because the links have been copied from Order to shipment & Invoice but the url in the Record Links points to Order which was deleted



Solution:
We need to update the URL and descriptions of these Notifications in the Sales Post Code unit using below and call this function after Copy links.(the below function is only for Sales Invoice)

CustomCopLinks(TableId : Integer)

OldRecRef.OPEN(TableId);
OldRecRef.GETTABLE(SalesInvHeader);
OldRecLink.SETRANGE("Record ID",OldRecRef.RECORDID);
IF OldRecLink.FINDFIRST THEN BEGIN
  OldRecLink.URL1 := GETURL(CLIENTTYPE::Windows,COMPANYNAME,OBJECTTYPE::Page,132,SalesInvHeader);
  OldRecLink.Description := 'Posted Sales Invoice' + ' - ' + SalesInvHeader."No." + ' . ' + SalesInvHeader."Sell-to Customer Name";
END;
OldRecLink.MODIFY;
OldRecRef.CLOSE;
 

Best Regards

Rajasekhar.Y