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

Merge conflict menusuite as extension

$
0
0
I have menusuite as exte sion and when made a change on top of it but as part of other extension i get conflict error. My question is how to share the objects in 2 extensions? Remember this is customised object i am talking A about which is part of already installed extension. Thanks

Problem with the OutStream in the VAT information under SII

$
0
0
Hi everyone,

I am testing the last version of the patch with the objects created by microsoft for the VAT information under SII in a NAV2013R2. When trying to create a request, I see this error at this point:
b3234t2yf4zc.png
"Interrupt in error message:
The WRITE element isn't allowed for a text without a maximun length"

wgqh6turvsi3.png

I haven't touched anything in the code, and it works perfectly for example, in NAV2017, with the same code.
Any hint? Can it have anything to do with the installed Cumulative Update?

Thank you very much

[NAV ClickOnce] The program could not create a connection to the server

$
0
0
Hi Experts,

I have a NAV 2015 ClickOnce environment with Multi tenants setup in Azure server. This was working fine and I able to create NAV ClickOnce Client login with NavUserPassword authentication. But recently there a domain change and now I am unable to login to any NAV tenant using NAV ClickOnce.

Now when I do a ClickOnce deployment, required files are get copied to the client mechine and installation happen. After that authentication screens comes and when I entered the correct user name and password it gives error "The program could not create a connection to the server".

cd4utb9jzu09.png

I already adjust existing powershell scripts with the new domain, which use to configure ClickOnce deployment environment.

Any idea which could be went wrong after this domain change?

Thanks you in advance.

best regards,
Yasith

Cursor needs to move down ,when trying to move cursor by a mouse click

$
0
0
Hi

We have a scenario.
When User selects a record in Line and with immediate he moves cursor again to next line(New Line)by means of Mouse Click,Surprisingly the cursor moves to first line instead of cursor focus in the new line.

We have tried known option of Quick entry, but it works with Enter Key and TAB, but not with Mouse Click.

Could any one suggest how we make the cursor blink in New Line by a Mouse Click.

Issue with Multiple Mail Attachments

$
0
0
Hi

I have been playing around with the Email routines in NAV, specifically the Mail codeunit 397 and trying to send multiple attachments by Outlook.

However, what seems to be a simple modification is being anything but!

I have added a function which is based on the standard CreateAndSendMessage function, but accepts an Array of AttachFilenames. This then calls the standard AttachFile function in a loop. See below.
LOCAL CreateAndSendMessageMultipleAttachments(ToAddresses : Text;CcAddresses : Text;BccAddresses : Text;Subject : Text;Body : Text;AttachFilenames : ARRAY [4] OF Text;ShowNewMailDialogOnSend : Boolean;RunModal : Boolean) : Boolean
// -001
Initialize;

CreateMessage(ToAddresses,CcAddresses,BccAddresses,Subject,Body,ShowNewMailDialogOnSend,RunModal);

FOR Loop := 1 TO 4 DO
  IF AttachFilenames[Loop] <> '' THEN
    AttachFile(AttachFilenames[Loop]);

EXIT(Send);
// +001

AttachFile(Filename : Text)
Initialize;

IF Filename <> '' THEN
  OutlookMessageHelper.AttachmentFileNames.Add(Filename);

However when attaching the second file NAV or Outlook seem to get it's knickers in a twist and comes up with the following error.

Microsoft Outlook is not available.

Do you want to continue to edit the e-mail?


I haven't been able to resolve this so thought I'd see if anyone had any clues. We are using NAV 2016 and Outlook 2013.

I have this working via SMTP but also need to have it working via Outlook.

Thanks in advance.

Chris

Import SEPA Bank Statement file with multiple Stmt

$
0
0
Hi all,
I am currently facing an issue regarding the import of bank statements based on the SEPA format camt.053.
The customer in charge recieves multiple bank statements from its eBanking portal all combinded in just one xml file. Thus, the file received contains multiple Stmt elements.
The SEPA CAMT setup and configuration has been applied from the DE demo company CRONUS AG. Through the processing codeunits, there's a check routine within CU 1262 which throws an error if the statement file contains mutiple statements:
[b]CheckMultipleStatements(PostingExch : Record "Posting Exch.";StatementIdPathFilter : Text)[/b]
  IF HasPostExchFieldValue(PostExchFieldDetails,PostingExch."Entry No.",StatementIdPathFilter) THEN BEGIN
    StmtCount := 1;
    WHILE PostExchFieldDetails.READ DO
      StmtCount += 1;
  END;

  IF StmtCount > 1 THEN
    ERROR(MultipleStmtErr);

The import with files containing only one single Stmt element just works fine as expected.

Has anyone out there already experienced similar issues with importing multiple bank statements combined in one file ? I would be interested in how this had been resolved. For instance, could we force the bank to provide individual bank statement files - or do we have to adjust NAV's processing CUs ?

Many thanks in advance
Andrew T.

VSCode: Could not publish the package to the server

$
0
0
Hi all,
I've just started my first steps with development in vscode, but currently facing a problem with the deployment I can't get around.

I have a NAV 2018 instance available on a local server
I've installed vscode and the AL Language Extension, Version 0.12.15355
I've created the HelloWorld demo project from the AL!GO template
I was able to download symbols from my local server instance so the compiler does resolve references and does not show any compile errors anymore.

But when I finally try to deploy the demo extension to my local server using F5 or Ctrl+F5, I receive the following error:
"Error: File h:\Work\ALProjects\TestATO001\MyCompany_TestATO001_1.0.0.0.app does not exist".

Run Build Task (Ctrl+Shift+B) returns the message "No build Task to run found."
I assume there's a piece missing in my build and deployment procedure but I cannot locate the issue.

Any hints what's missing here ?

Many thanks in advance
AndrewT


My launch.json file:
{
"version": "0.2.0",
"configurations": [
{
"type": "al",
"request": "launch",
"name": "NAV 2018 BASELINE",
"server": "http://MyLocalAPPServer",
"port": 9002,
"serverInstance": "EMEA-BASELINE-110-DE",
"tenant": "default",
"authentication": "Windows",
"startupObjectId": 22
}
]
}

My app.json file:
{
"id": "ba7bf685-bd53-442f-bf0e-3290ef57dd7e",
"name": "TestATO001",
"publisher": "MyCompany",
"brief": "",
"description": "",
"version": "1.0.0.0",
"compatibilityId": "1.0.0.0",
"privacyStatement": "",
"EULA": "",
"help": "",
"url": "",
"logo": "",
"capabilities": [],
"dependencies": [],
"screenshots": [],
"platform": "11.0.0.0",
"application": "11.0.0.0",
"idRange": {
"from": 50100,
"to": 50149
}
}

Report - Save Settings - Editiablity

$
0
0
Hi All,

I am looking at using the "Save Settings" option for reports to generate "repeatable" routines for the users.

To give you some context, I am dealing with the "Phys. Inventory Journal", and my requirement is specifically around report Object 790 (Calculate Inventory). We have a large number of different ways users need to run this, depending on the location and material type they are counting. I have saved each of the configurations, and they are available in the drop down on the request page.

The issue is that the "Posting Date" is saved within the settings, and as soon as you select the saved settings, all options change to read only / non editable. Running the calculation with the wrong date is obviously not of any use.

The work around for the users is to run the "Calculate inventory" with the saved settings, then rerun it with "Last Used Settings" and then edit the posting date. Obviously this is not ideal, especially with the queries returning large data sets.

Can anyone point me in the direction of how to set the fields on the request page to editable after the saved settings have been selected?

Thanks

Jordan

Sharing a custom field Extension Package

$
0
0
Hello,

I have an extension package installed in the customer database. In that extension there changes to the standard table (added some fields). Extension works fine and all good. But now I want to create another extension where I have a custom page which is accessing the same table and also accessing same custom field on the standard table. what base objects I use? Do I need to have that table as well? Will it be completely new one or should include that field? I have tried both and it wouldnt work. There must be possibility of sharing the fields are part of the extension , should they not? thanks.

Scope of CRM in NAV 2016

$
0
0
Dear Sir,

What are the scopes of CRM in NAV 2016 ?


Thanks,
navuser1

Check the Company of a session

$
0
0
Hi
I know we have active sessions table in NAV. Is there any way to detect the company opened in that current session?

Basically adding a company name field on the active sessions page is the goal here.

Any pointers are appreciated :smile:

Thanks

Nav 2017 Database locks backport to Nav 2016

$
0
0
Hi All,

I know we have database locks page/table in nav 2017. I was wondering if we can create a SQL view in nav 2016 to achieve the same result. I will then link this view to a table in 2016.

So far i have created this
SELECT

OBJECT_NAME(p.OBJECT_ID) AS TableName,

resource_type, resource_description, request_session_id

FROM sys.dm_tran_locks l

JOIN sys.partitions p ON l.resource_associated_entity_id = p.hobt_id


rgmy6o6p4mac.png


But NAV is also providing NAV object name , ID etc as well. How would i add those to my view? Goal is to have the exact same result as we get in NAV table in 2017

Error on opening Report Layout (SQL Report) in Dynamics NAV 2015

$
0
0
Hello,

I have enabled the Use Report Builder option from Tools > Options.

When opening the Report Layout from from View > Layout menu, I get the following error:

lh5vvdt0a3bl.jpg

Not sure on the reason.

Thanks in advance.

How to compare passwords!?

$
0
0
Hey everyone I am trying to write a webservice for a simple login into the nav system using an external user
(assuming permissions are set up properly of course)

I wrote a code unit that I will be using as a WS and I am hung up on the password portion of the authentication
login(username : Text;password : Text) Token : Text
UserT.SETCURRENTKEY("User Name");
UserT.SETFILTER("User Name", username);
IF UserT.FINDFIRST THEN BEGIN
  IF UserPropertyT.GET(UserT."User Security ID") THEN BEGIN
         { WHAT DO I PUT HERE ?? }
         if Encrypt(password) = UserPropertyT.Password
  END;
END;

Encrypt(password: Text) ePassword : Text
{ herpity derpity }



I have looked for the function SETUSERPASSWORD to see how the passwords are created (which encryption is used). I have no interest in how to decrypt them but I am interested in the encryption.

Best way to authenticate is to take their entered password, encrypt it and compare it to the stored password.

anyone help? any guidance?

Print Comment on Sales Invoice

$
0
0
I have taken a checkbox print comment. When i click on it then i need to see the comments for the item in the invoice.As i followed the standard report 10074 but i cant able to see the comments can any one help me regarding this situation
Thanks in Advance...

Dynamics NAV Universal App barcode scanner

$
0
0
Hi there guys

Does any one have experience with infrared barcode scanners in Universal App. I have a Honeywell device with windows embedded 8.1. This device have demo application for scanning barcodes. But the barcode does not working in Dynamics NAV ... The demo application does not work in background so I can't to use barcode scanner when application is minimized. Is there any way to "wakeup" barcode scanner in Universal app.

Please for help

Best regards

update a text field through option string.

$
0
0
I have two field one is a option and other is text, as user will select any option string the same string should be updated in text field automatically.

Dynamics Nav report to Google Sheet

$
0
0
Hi Everyone,

Just to know if Dynamics Nav 2013 and up version can Generate Report and Send to Google Docs? Please advice how it works.

Thanks for assistance

:smiley:

NAV 2018 web client

$
0
0
Having issues with NAV 2018 webclient installation, the issue is the setup says it has been installed but in IIS I do not see the site link and also in wwwroot folder I do not see the NAV webclient folder, although help server is installed ok. All the web components and prereqs been installed ok as well.

Has something been changed for NAV 2018 webclient? I never had this issue before. Help will be appreciated.

NAV 2018 Installation - Setup.EXE quits with no errors or warnings

$
0
0
Hi All,

I am trying to install NAV 2018 on Windows 2016 Standard server. The trouble is that when I click Setup.exe from the root of the downloaded image file, it asks for elevated permissions, and granted that, it quits immediately with no errors or warnings. There is nothing left in Event Log either

I am trying to install NAV using my account, which is a member of local Administrator group, but it is not a member of Domain Admins or such.

Any clue please?

Slawek

Viewing all 10032 articles
Browse latest View live


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