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

Protecting C/AL Code

$
0
0
Hi all,

I was wondering is there any reliable way to protect NAV code from being reused by other partners. I though extension is the answer as object disappears. But when I try to debug, I'm able to see all the code in the extension. It as easy as I created a tool to export licence file from NAV DB. So it appears the whole extension idea is useless at the beginning. Protection is zero...
I can remember I already used a "hack" tool that deletes code in compiled 2009 object, but I cannot find it. I made some tests in 2017 without a deep SQL profiler research and I was not able to delete/hide the code. So before doing any further test I want to ask if somebody already knows any reliable way to protect a C/AL code?

Modify with VS code for nav2018

$
0
0
Is it possible to modify the trigger of the current field in the current table using VS Code?
For example, rem and insert code OnValidate() trigger for Field 5 Table 18.

Multiple NAV Services On One Server - Date Format

$
0
0
Hello,

We are two NAV instances running on one server supporting two different countries. We are seeing an issue with downloads performed direct from the NAV Service where the date format is incorrect. Each of our locations has a different date format requirement. Is it possible to change the date format on an individual NAV service or is it dependant on what the server is set to? We are running NAV 2017.

Thanks

Nick

Writing to External SQL Server via DotNet - issues in Job Queue

$
0
0
Hi
I have written a small codeunit for test that delivers some data to an external SQL-server. I use the DotNet methods to write to the SQL-Server.

Test - running the function manually in Client
1. Set the Parameter "RunOnClient" = FALSE on DotNet Globals
Expect: An error as RunOnClient = FALSE
Result: Get the error ".....The Network path not found"

2. Set the Parameter "RunOnClient" = TRUE on DotNet Globals
Expect: No Error - the function works
Result: The function works and i'm writing to external SQL-server (YES!)

Test - running the function in a job Queue (the Job Queue runs via NAS service)
1. Set the Parameter "RunOnClient" = FALSE on DotNet Globals
Expect: No Error - the function works
Result: Get the error ".....The Network path not found"

2. Set the Parameter "RunOnClient" = TRUE on DotNet Globals
Expect: An error as RunOnClient = TRUE
Result: Get the error ".....Client Callback is not allowed...."

Can anyone tell me what i'm doing wrong (Job Queue - No. 1) :smile:

Best Regards
Mads Morre

NAV 2016 - Creation documents in XML format

$
0
0
Hi all, our customer is interested in creation of customer invoices in XML format. We have seen the possibility to do this through the function "send electronic document -> through document exchange service -> PEPPOL 2.1. When we try to use this function on Cronus database (CH version but also IT version, hf 46045), we have an error message:
The Doc. Exch. Service Setup is missing the secret keys or tokens. Do you want to open the Doc. Exch. Service Setup window?
We have filled in the information in the setup with the function "Set URLs to default", but confirming the setup we have another error message:
The tokens and secret keys must be filled in the Doc. Exch. Service Setup window.
How can we solve the problem?
Thank you,
Elena

Job Queues - MUST HAVE!

$
0
0
Hello :D
I would like to make a list of smart, important, fantastic uses of the Job Queue.
Lets inspire each other.
What are some of the "MUST HAVE" Job Queues in your daily arsenal?
GO GO GO!


Labelprint on decental location - app or

$
0
0
Hi,
We have setup where NAV is running on server in cloud. Clients are running remote, and webclient is up and running.
A decental warehouse, needs to print item labels.
Wanted solution is to set up a labelprinter at warehouse, and labels to printer using a app.

I see that Bartender has a solution with a webserver etc, which seems a bit overkill in this scenario.
Could a report be made, that generates PDF, which we send to Iphone/Ipad device, and just prints from there directly to network/wifi printer? I tend to think that just sending a PDF to the printer could give us problems with a Brother QL-580N termal printer with label roll.

Any good solutions to this?

Thanks :smile:

Budget Export by Accounting Period - NAV 2013

$
0
0
Our accounting periods are custom - they do not run parallel to the calendar year. Obviously when creating a budget, the Accounting Period filter is an available view. Accounting Period is also an available option when editing by G/L Balance/Budget.

Is there a 'Period Length' filter option that will allow us to export our budget to Excel by Accounting Period?

Job Queue Nav 2017 question

$
0
0
Hi guys!
Doing upgrade from 2013->2017 have a question about Job Queue.
In short -> when user (packer) finishes sales order packing - sales order put into the Job Queue to be posted.
According to the msdn:
Task scheduler "session runs by using the same user/credentials that are used when calling C/AL code."
So sales order will be posted under the packer`s credentials. And this was confirmed by tests.
And the packer have to have all the rights to post sales order.
But we dont want to give him this. In 2013 we have special service account which have posting rights.

So the questions is it possible in NAV 2017 Job Scheduler to keep the same "rights model"?
Or we have to give posting rights to the user who put order into the Job Queue and there is no way around it?

Thanks!

How to update value of Purchase Header custom field from Purchase Order (sub)Page

$
0
0
Hello everyone,

I'm quite new to this field, sorry for the newbie question. I guess the solution will be something trivial.

I Created a new, editable field in the Purchase Header table. I want to let the user set it’s value on the Purchase Order Page (P50), more precisely on the Purchase Order Subpage (P54).
ggl7tzachncw.png

I added a new control to the subpage, set its SourceExpr to "PurchHeader.MyNewField".
pwys8hphkvoz.png

However, I just can’t update its value, it remains the default 0.00 as I refresh the page (I’ve turned edit mode on). Why? How could I store the new values of this custom field?

Thank you for any help & advice.

connect To SerialPort in nav 2017

$
0
0
hi am working in dynamics 2017 version so i need to connect my scale weight and read the velue from it , hpw can do it this (RS232) thnak you

Pharmaceutical Manufacturing Operations

$
0
0
A medium size pharm manufacturing is trying to use NAV 2017 for production and inventory purposes. Do you know whether NAV 2017 is feasible to meet various regulatory / GMP requirements? I'd like to share your experience.

Permission for copy company

$
0
0
Hi,
How can I setup only allow user to copy company in Nav2016? Encounter permission error;
You not have the following permission: Create a new company.
Check through the table, but there is no table related on this. Please advise.
Thanks

Accessing a folder from a table field

$
0
0
Kindly assist, how can i accessing a folder from a table field, which datatype should i use for such field?

Tofay

Docker Nav Container stopped working - Cannot index into a null array.

$
0
0
Hi all,

When I run the following command, I end up with a Cannot index into a null array error. What's weird is that this used to work fine.

Any ideas how to resolve will be gratefully received. Command and output shown below.

Also, if anyone has an example of how to run either a Docker command or a New-NAVContainer command which connects to a SQL database on the laptop (rather than in a docker container) they could share it would be appreciated. I've tried numerous variations but don't seem to be able to get it right.



docker run -e accept_eula=Y -e clickonce=Y -e useSSL=N -e username=admin -e password=XXXXXXXXX -m 4G -P -h NAV2017RTM --name NAV2017RTM -v c:\DockerShare:c:\run\my microsoft/dynamics-nav:2017-rtm-gb

Initializing...
Starting Container
Hostname is NAV2017RTM
PublicDnsName is NAV2017RTM
Using NavUserPassword Authentication
Starting Local SQL Server
Starting Internet Information Server
Creating Self Signed Certificate
Self Signed Certificate Thumbprint 64A84AE11C9D549A6C6AE3AAFC6984E347C4C798
Modifying NAV Service Tier Config File with Instance Specific Settings
Starting NAV Service Tier
Creating Web Site
Creating NAV Web Server Instance
Creating http download site
Creating Windows user admin
Enabling SA
Creating NAV user
Creating ClickOnce Manifest
Cannot index into a null array.

Cheers

Chris

Open Page and Set Page Name

$
0
0
Hello

I have a Role Centre that has two page elements:
- "Activities" CardPart with CueGroup tiles
- "Statistics" List

The Activities and Statistics elements contain data derived from the Customer table. When the user clicks on either element, the Lookup Page is the same (to a bespoke Customer List page).

When the user clicks a tile in the Activities CardPart, it then opens the Customer List and which takes its title from the name of the Tile in the CueGroup
When the user clicks Statistics List, it then opens the Customer List which takes its title from the name of the Customer List Page

I'd like the Customer List Page title to be consistent - can I control it?

Thanks

Webservice with and temp Table

$
0
0
Hello,
I have a page, which displays the Lot Numbers (as a list) to an article. This page gets the data via a function in the page, because the page has set the property SourceTableTemporary to Yes. The SourceTable is Lot Number by Bin Buffer.
The OnOpenPage trigger calls the local function FillTable, which inserts the data.
The article number is transferred with another function (ParameterSet) and this is then used in the FillTable.
This works inside Navision perfectly!

Now I want to use this page as a web service. How can I transfer the article number so that the Lot Numbers list is created only for this article number.

Thanks,
stony

How to show page on external sites? Problem with isembedded parametr

$
0
0
Hi Everyone,

I want to show page content in iframe (without all any additional elements, ribbon, navigation etc.). I have big problem with this task beacose when i add parametr isembedded = 1 into URL, then the filters on page work incorrect.

For example when I show Mini Trial Balance (page 1393) on the external site, and when i want to get details for a position (by clicking on it), then the details page opens without filters for it.

All work good when parameter isembedded have value 0, but then i have this bar in the iframe.

w8u7hv5l2j19.png

Open/Input/Output Serial Port on Navision 2017

$
0
0
Hi~

I have a problem about open serial port on Nav 2017. I try mscomm32.ocx it can't used for nav 2017. Is there another ocx or another choice that can be used the nav new version?

Thanks a lot
Ammilan

NAV 2013 R2. Permission error when trying to debug a session

$
0
0
Hi, thanks for helping!

When we try to debug a NAV 2013 R2 session with "Tools - Debugger - Debug Session..."

We get the following error:

"You have not been granted permission to perform the current activity"

Our domain user has the SUPER role in NAV users. Any ideas?
Viewing all 10032 articles
Browse latest View live


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