Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all 10069 articles
Browse latest View live

Microsoft deliveries: a case of incompetence

$
0
0
Am I the only one dreading what will happen when Microsoft unleashes their BC update regime? Judging by these examples that I've encountered in the last week or so, Microsoft is not up to the task.

You decide whether you will trust an automated upgrade procedure from a company that makes these mistakes:

1) CU's introducing errors.

I recognize the fact that fixing one error may introduce another error. But in this case, installing CU11 meant that applying ledger entries suddenly failed. This error only occurred for licenses without Intercompany functionality.

My problem with this is as follows: Microsoft demands of us to test a minimum of 80% of our extensions. I would assume that they at least adhere to this standard themselves, as testing the base application is surely more important than testing some random extension - the implication of errors is much more severe.

Applying ledger entries would most certainly be encompassed by such a test. Maybe it is, and they just forgot to test it with licenses without Intercompany functionality. I don't know. But breaking such a vital part of the system is simply not okay; it agitates the customers, makes us look like idiots, and wastes both our's and Microsoft's time.

2) CU's are not CU's.

See if you can spot the problem here:

NAV.11.0.26401.NL.CUObjects.fob:

Table 111 Sales Shipment Line 27-07-18 12:00:00 NAVW111.00.00.23572
Table 121 Purch. Rcpt. Line 27-07-18 12:00:00 NAVW111.00.00.23572
Table 247 Intrastat Setup 26-04-18 12:00:00 NAVW111.00.00.21836
Table 248 VAT Reg. No. Srv Config 22-02-18 12:00:00 NAVW111.00.00.20783

NAV.11.0.26401.W1.CUObjects.fob:

Table 111 Sales Shipment Line 28-06-18 12:00:00 NAVW111.00.00.23019
Table 121 Purch. Rcpt. Line 28-06-18 12:00:00 NAVW111.00.00.23019
Table 247 Intrastat Setup 22-02-18 12:00:00 NAVW111.00.00.20783
Table 248 VAT Reg. No. Srv Config 26-01-18 12:00:00 NAVW111.00.00.20348

Excuse my French, but what the hell is up with that? This list (which is by no means complete) took me less than 5 minutes to compile. I expect Microsoft to be in possession of technology that would enable them to reach the same conclusion: applying a CU really just applies a random set of objects. You might think you've upgraded a customer to CU11 by installing the CU11 package, but nothing could be farther from the truth.

With BC, Microsoft wants to apply CU's automatically as they become available. Right now, that strategy is severely compromising both us and our customers because of the horrible quality of deliveries from Microsoft.

Dear Microsoft: we're supposed to be friends, but you're drifting away.

How to modify default reports from BC-OncloudVersion ?

Object Metadata locked by another user... who?

$
0
0
Hi all,

i've a problem. When i try to import or recompile some object on a specific DB (NAV 2015) i've this error:

ubr9xrod6zoc.png

I'm alone here (there isn't other nav developers) so there is no user can lock me, so... how can i understand what happened? I would not stop and start every services...

Thankyou

NAV2016 - Report is printed or saved as pdf ?

$
0
0
Dear all,

I have a Report, that uses a logo.. everything works fine, but now I have the request to hide the Logo when the Report is printed, but show it when the Repost is saved as pdf using the Option "Save as pdf" from the Request Page.

How can I do this ? Any Possibility to set a Variable at Request Page, depending which Option is chosen (or Button is pressed) ?

Thank you

Webservice Print Problem

$
0
0
I have a C # program which makes bookings in Navision (via web service). Everything works very well.
This program is used by about 30 computers. These bookings will also print a label. And sometimes I have problems with that. The code for this print is the following:

CLEAR(WarehouseEntry);
PDFFilename := "3TierMgtm".ServerTempFileName('pdf');
WarehouseEntry.RESET;

WarehouseEntry.SETRANGE("Lot No.",Chargennr);
IF WarehouseEntry.FINDFIRST THEN BEGIN
REPORT.SAVEASPDF(50084, PDFFilename, WarehouseEntry);

Path := PDFFilename;
GetPathFilename(Path, FileN);

CLEAR(PrinterSelection);
IF PrinterSelection.GET(USERID, 50084) THEN;

Printing.PrintPDFFoxitReader(Path + FileN, PrinterSelection."Printer Name");
END;

And PrintPDFFoxitReader-Function

PrintPDFPDFtoPrinter(FileName : Text[250];Printer : Text[100])

PDFtoPrinter := 'C:\PDFtoPrinter\PDFtoPrinter.exe';
StartProcess(PDFtoPrinter,STRSUBSTNO('"%1" "%2"',FileName,Printer));

StartProcess(FileName : Text[250];Arguments : Text[250])
Process := Process.Process();
ProcessInfo := ProcessInfo.ProcessStartInfo(FileName,Arguments);
//ERROR('%1 %2',FileName,Arguments);
Process.StartInfo := ProcessInfo;
Process.Start();



This works partially without problems for several weeks, but suddenly nothing works. Say nothing is printed but the bookings are working. The problem can also occur several times a day. There are several PDFViewer processes on the tier server when this problem occurs. You can not finish these Processes. And even a restart of the Navision service does not solve the problem. I always have to restart the server to make it work again.

Do you have an idea how I could solve it or how do you print via web service?
I'm currently using PDFtoPrinter, but had the same problem with FoxitReader. Use Navision 17 with CU12.

Thank you very much
stony

User Permission SET SUPER CANNOT WRITE in TABLE GLEntry

$
0
0
Hello Good day.

The user I used is SUPER and still cannot write in GL Entry table. Please see attached Photo

byjkgtbihc79.png


Anyone knows how to resolve this ?

Sync-NAVTenant got Errors.

$
0
0
Hi experts,
I'm trying to upgrade from NAV2018 to Business Central used by Powershell scripts, but have funny errors.

9vmh15ihktqe.png

This is running in my local machine.

Configuring Dynamics 365 Business Central with Azure

$
0
0
Hi,

We have our own cloud environment. We have installed CU 02 Dynamics 365 Business Central Web client on our cloud environment and it is configured with public IP. User is able to access Dynamics 365 Business Central Web client from outside (example from home). As we know, with Dynamics 365 Business Central on Azure, it can be integrated to Power BI and Office 365.
Is there any way to achieve this with our local cloud environment by configuring with azure account.
Or
Is it must for Customer to opt for microsoft azure in order to achieve office 365 integration features (like quote to invoice) and power bi features (like when we create power bi report, that can be seen in Business Central) ?

Thanks and Regards
Ajay

Purchase Order and Purchase Invoice Crashing

$
0
0
Good day, Sirs

I'm having this problem that every time I enter a Buy From Vendor No. in Purch. Order and Purch. Inv, the said module will crash. when I use the debugger, it shows me an error in QUERY 1854 which is not in my object list in development environment. I already Asked some people here in mibuso, they said that it's from SalesAndInventoryForecast.app

the thing I do to resolve this problem is to uninstall the Sales and Inventory Forecast in Extension Management in NAV and installed it again and re run the DynamicsNAV110 service. I thought I solve the problem but eventually it came back.

Any one knows where the exact error in this one ? or where the SalesAndInventoryForecast.app is triggered?

dw0l4gogn12b.png

Outlook Addin Integration with Dynamics 365 BC On premise Issue

$
0
0
Hi,

I have installed CU 02 Dynamics 365 BC On Premise on my laptop.

While installing BC, I choose developer mode ->customize and selected all the options to install outlook addin.

I have configured NavUserPasswrod authentication and I am able to open web client and windows client with NavUserPassword.

I opened Outlook -> Click on Add-ins -> Click on Settings -> I click on Connections tab.

While selecting Company Name, I am getting the below error in Screen shot1.

I went to see Event Viewer, it gave me some Distributed COM error as shown in Screen Shot2. I opened RegEdit and given the necessary permissions to those but still I am not able to select the company and getting the same error.

Even though I have given necessary permissions to those CLSID, same error is coming in event viewer.

Please advise whether I am missing any steps.

Screen Shot1
a6spyjveydf6.jpg

Screen Shot2
4yrddiemjthk.jpg

Thanks and Regards
Ajay

Word Layout for Email Body

$
0
0
Hello, I've been trying to put together some code to send a custom report via email. This email is a "Debit Notification" sent from a custom function to notify customers, so I could not use the built-in email functions. The client requested the format be Word. I used pointers from this blog post on how to do it: https://saurav-nav.blogspot.com/2017/08/microsoft-dynamics-nav-2017-email-from_21.html

My understanding is that the Word Layout is a BLOB that must first be saved as HTML format via REPORT.SAVEASHTML, and then used as the body for the E-mail. I created a function below to generate the HTML, given the record, the Layout Code and the Report ID:

LOCAL GenerateEmailBody(DocumentVariant : Variant;ReportID : Integer;VAR BodyFilePath : Text;LayoutCode : Code[20])
BodyFilePath := COPYSTR(FileManagement.ServerTempFileName('html'),1,250);
ReportLayoutSelection.SetTempLayoutSelected(LayoutCode);
REPORT.SAVEASHTML(ReportID, BodyFilePath, DocumentVariant);
ReportLayoutSelection.SetTempLayoutSelected('');

However, I'm getting an error "An invalid field or attribute has been specified for the 'Format' property", and it occurs when REPORT.SAVEASHTML is called. Am I doing this right, or is there another way to send Word Layouts as bodies in email?

Add All Reports On RTC Page.

$
0
0
Hello Everyone,

I have to add all reports on RTC page.
the exact requirement is, in have to create one activity button called "All Reports".
when the user clicks on it, on the right side I have to display all reports.
the same thing is working on department activity button but not on all report.
the desired output image is attached herewith.
any suggestion will be highly appreciated.
2bjq88hdkzdr.jpg


Node.js application use NAV data

$
0
0
Hi, how can node.js use Nav(NAV17) data. I have a C# application and this use Webservice (Codeunits and Pages). I read and write to Navision about the webservice.
Can I do this with node.js also. Has anyone an example.

Best Regards,
stony

Subpage Editable

$
0
0
Hello,
I would like to switch a subpage editable with a button on the mainpage.
Have already deposited a variable in the property and this works even if I have the command

SubpageEditable: = TRUE

in the trigger OnAfterGetRecord.

But if I do this in Trigger OnAction, then it does not work.
SubpageEditable: = TRUE;
CurrPage.UPDATE;

How could I solve this.

thanks
stony

Filter this value on list (alt+f3)

$
0
0
Someone has problems experienced problem with feature "filter to this value" (ALT+F3) that does not update the "Quick Filter" field accordingly on last CU of NAV?
I'm working with NAV 2017 CU6 and recently installed CU22 and found this problem that should have been resolved on CU 09 (hotfix 221919).
I don't know why but it seems that this behavior is present also in a clean demo installation of last CU of NAV 2018 e Business Central

Any suggestion?

NAV 2018 - Consolidation - How to maintain the Average, Closing Exchange rates?

$
0
0
Within NAV 2018, we want to consolidate multiple companies -with different currencies. All GL accounts are properly setup in the subsidiaries, with their specific consolidate GL account, and the respective "Consolidation translation Method" (Average, Closing or Historical exchange rate).
Within the consolidation, Business Units has been setup.
I am wondering where to maintain an overview of the exchange rate per month per currency, of the Average & Closing Rate used, to prepare the consolidated results.

Looking forward to your suggestions,

Vendor List and Trial Balance Report

$
0
0
Hi,

I just took over application manager role and tasked to enhance the existing user roles & permissions.

One of the significant issues in NAV2016 is any user who granted with PR/PO creation and Vendor read is able to view the company trial balance. The way to get to the trial balance is at Vendor List -> click on the number of Balance (LCY) in Vendor Statistics factboxes -> select any record in Vendor Ledger Entries and choose Navigate -> click on the No of Entries for G/L Entry line -> General Ledger Entries will appear. Click on G/L Account No. to show pulldown list and choose Advanced -> at Select - G/L Account List window, credit & debit amounts already shown together with Trial Balance report button ready to choose to produce.

I did a test by removing the Read Permission from one permission set for PO/PR creation. It works for Vendor List which navigation stopped after Vendor Ledger Entries but any PO cannot be posted for quantity receive with error message "You do not have the following permission on Tabledata G/L Entry: Read".

I wonder whether anyone out there also facing this problem. Anyone help is much appreciated.

Many thanks in advance.

NAV2016 PR/PR Permissions and Trial Balance Report

$
0
0
Hi,

I just took over application manager role and tasked to enhance the existing user roles & permissions.

One of the significant issues in NAV2016 is any user who granted with PR/PO creation and Vendor read is able to view the company trial balance. The way to get to the trial balance is at Vendor List -> click on the number of Balance (LCY) in Vendor Statistics factboxes -> select any record in Vendor Ledger Entries and choose Navigate -> click on the No of Entries for G/L Entry line -> General Ledger Entries will appear. Click on G/L Account No. to show pulldown list and choose Advanced -> at Select - G/L Account List window, credit & debit amounts already shown together with Trial Balance report button ready to choose to produce.

I did a test by removing the Read Permission from one permission set for PO/PR creation. It works for Vendor List which navigation stopped after Vendor Ledger Entries but any PO cannot be posted for quantity receive with error message "You do not have the following permission on Tabledata G/L Entry: Read".

I wonder whether anyone out there also facing this problem. Anyone help is much appreciated.

Many thanks in advance.

How to set 3 decimals in GST Component% under GST Set up?

$
0
0
We are using NAV 2016 CU30 Indian version. We are working with Jewellery industry. For stones and diamonds GST % has been set to 0.25% which is IGST and for CGST and SGST it is 0.125% But NAV is not allowing 3 decimals for SGST & CGST in GST Component% field under GST Set up. I have also downloded latest CU38 and checked. It seems microsoft has not changed/released or do not know whether they will release. I have set the decimals in properties of GST Set up table but when an invoice is posted, in Detailed GST Ledger Entry NAV stores CGST & SGST as 0.13% which varies the amount. Can anyone suggest what to be done on this issue.!

Thanks

Unable to compare operands of type NavInteger with NavCode on one user

$
0
0
I get error "Unable to compare operands of type NavInteger with NavCode. Page must close" only on one user, on custom page/table I created. Interesting is that I can start page on server, with user's credentials. On other workstations I get same error.
Other users can access same page without problems.
I tried to recompile table/page, restart service but no effect. Table has 2 code fields and several flowfields with lookup. There is no mismatch in data types in connected tables.
Viewing all 10069 articles
Browse latest View live


Latest Images