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

Sum of quantity field without declaring it a flow field.

$
0
0
Sir,

I've created a field named 'Quantity Available' in MR Subform page which will sum up all the quantityes available in the 'Quantity' field of the Item Ledger Entry table.I didn't declare the field as a flowfield. I wrote the following code in MR Subform page:

Quantity Available - OnValidate()

RecILE.SETCURRENTKEY(RecILE."Location Code");

RecILE.CALCSUMS(RecILE.Quantity);

But still doesn't get the required result. What should I do?

Thank You,

NAV2016 CU 07

$
0
0
Hello all

I decided to write a small blog post if someone else is upgrading their NAV 2016 from CU 03 to CU07

After updating the client and service files I started the Development client, converted the database to new version, and tried to start the NAV service with Administration tool.
The service did not start, and event viewer was populated with this error:
Server instance: NAV2016
The service MicrosoftDynamicsNavServer$NAV2016 failed to start. This could be caused by a configuration error. Detailed error information: System.MissingMethodException: Method not found: 'Microsoft.Dynamics.Nav.Types.TenantPollLimits Microsoft.Dynamics.Nav.Types.ServerUserSettings.get_TenantDetectionMaxRetryCount()'.
   at Microsoft.Dynamics.Nav.Runtime.NavTenantCollection..ctor(Action`1 onApplicationMounted, NavAppGroupUpdater groupUpdater)
   at Microsoft.Dynamics.Nav.Runtime.NavEnvironment..ctor(Boolean standaloneInstance)
   at Microsoft.Dynamics.Nav.Runtime.NavEnvironment.get_Instance()
   at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.SetNavEnviroment(String commandLineServiceInstanceName, ServerUserSettings settings)
   at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.Start(String commandLineServiceInstanceName).

I pondered this for an hour, fiddling with the CustomSettings.config files a lot. I came to conclusion that this is something I cannot find an answer to, so I contacted Microsoft Support. We found quickly out that the problem was caused by old version of NavSip.dll file in folder C:\Windows\SysWOW64
Updating the dll from install dvd folder NAV.9.0.45834.FI.DVD\ServiceTier\System64Folder fixed the problem, and I was able to start the services. Thank you Abdelrahman for quick and professional help!

After successful service start, next step is to synchronize schemas. This did not work, I got an error dictating that there is something wrong with some fields.
The following SQL error was unexpected: Invalid column name 'Session Unique ID'.
Statement(s) could not be prepared.

I spent some time studying the tables and found out that development environment had added a new field "Session Unique ID" to two tables, Active Session and Session Event.
I fixed this by adding the columns via Management studio, with type uniqueidentifier. This fixed the problem, and I could synchronize the schema and compile all objects successfully.

I learned later that this can be fixed an easier way as well; simply running the Development environment as an administrator when converting the database to new client version.

So far the last problem is that running an object from Development environment causes the RTC client to crash. This is also fixed by running the Development Environment as an admin.

Hopefully this is all.. happy updating everyone!

EDIT 2016-05-13. If you update CU7 to development server, you have to update same client version to all customer deployments as well.
Changes in Session Event and Active Session tables cause older client versions to crash in login with error:
The Following SQL error was unexpected: Cannot insert the value NULL into column 'Session Unique ID', table 'NAV2016.Session Event'; column does not allow nulls. INSERT fails.
The statement has been terminated.

This happens if you or someone else updates either of these tables to production.

UrpoK

Number series codeunit TryGetNextno from XMLport error.

Same data in 'No.' field in Production BOM page.

$
0
0
Hello,

In 'Production BOM' page within the Lines fasttab whenever I entered a type 'Item' & a 'No.' which was already there it'll take it again. But it shouldn't be like this. The 'No.' field must not take the same numbers in subsequent entries.I test this by creating another primary key as 'No.' but it doesn't helped me.

Can anyone suggest me how should I proceed??

Thank You,

Inventory Pick in Starter Pack - NAV 2016

$
0
0
Hi Guys,

i have a question about Inventory Pick functionality in NAV 2016,

In my test environment (Cronus Company) i have location with only Require Pick,

but if i want to use this warehouse in for example Sales Order and want to create Inventory Pick then i get the message:

"You do not have the following permissions on TableData Warehouse Shipment Line: Read"

I know that the license is not with Extended pack and not Developer,

i use license only with Starter Pack,

Thank's for your answers.

Regards,
James

Error in Upgradation to Nav 2016

$
0
0
I am getting a following error while upgrading to nav 2016 while compilation/Sync schema

Invalid column name session unique id


NAV 2016 - Object of type CodeUnit with ID XXX could not be found

$
0
0
Hi,
I have a strange problem with a new NAV 2016 (CU6). If I try run own codeunit like CU 50000 with code MESSAGE('Hello'); I get always RTC message "Object of type CodeUnit with ID 50000 could not be found". Of course DEV licence for 2016.

I tried:
- restart RTC
- recompile all objects - some fails with not used addons (unknow variables for older version of dot net dll)
- sync with validate all
- restart server instance
- build server aplication objects
- renumber this CU
- export CU to fob, remove and import back
(Various combinations of this)

Event log at server or workstation nothing, just error message

It a little crazy/ghostly

First time a same CU worked.

Any ideas ??
Thx!

XML Port

$
0
0
we have 100 field in xml port that related to my table, now I want to update only three fields by xml port but in xml port we have 100 fields .is it possible and how ?

Sales Order - planned by a production order - extra quantity was produced, how to update the SO?

$
0
0
Using NAV2016, we have a sales order with an item tracked item.
Use the planning button to create a production order for 200lbs.
This creates the reservation against the sales line & production order.
Change the output from 200 to 210 (this is a food item and the quantity will never match, it will always be off by 1-5%).
Post the output, this updates the sales line's reservation with the lot number.

At this point (or earlier), is there a way to update the sales order, and the reservation, to 210 lbs? Other than manually of course.

It would not be difficult to write code to do this - but wondering if there is anything in base NAV to update the reservations at any time in the process.

The same issue would exist if only 196lbs was produced.

Thanks for any info.

Error: Dotnet variable has not been instantiated. Attempting to call Mapinfo

$
0
0
Hi All,

I am attempting to upload table 15 G/L Account via the web client and am getting the error shown in the attached image:

I've never seen the error before and therefore have no idea what to do, can anyone shed any light?

Appreciate it!

Thanks

Action Items on Request Page - Reports

$
0
0
Hello.
I want to create an Action Item (button) on the Request Page on a report.
Is it possible? So far it does not work (see pictures).

Just like old days in Classic when adding a button on the Requestform.

Connect to ssl web services

$
0
0
Hi everybody!!!

I have a ssl web service running correctly, except with an error in chrome because i use an autosigned certificarte, make it with makecert utitlity.

When I am trying to consume Web Services in my Dot Net application I am facing the error below.

"The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel."

Thanks!!!!

Parallel scheduling

$
0
0
If for example two jobs are scheduled at the same time or with overlap. Are scheduled jobs executed in separate threads or are they executed one at the time in serie? With STARTSESSION available all jobs in job queue could be executed in parallell, but I assume jobs still are processed in a serie like in NAV2009 ?

Regards Fredrik

NAV2015 - Webservices on Azure - Local VT100/ADCS

$
0
0
Hi,

I'm in the middle of my first NAV2015 implementation at a customer.
The customer has decided to put database and some other services in the cloud.
Locally there is a VT100/ADCS service running and this for scanning in the warehouse.

Installation works fine, but we cannot connect to the Webservices (SOAP). We always receive an eror regarding the authentification of the connection. We received the SOAP URL from the cloud provider and adapted the config file accordingly (I have offcourse blanked out the links!):

<?xml version="1.0"?>
<configuration>
<configSections>
<section name="VT100" type="Microsoft.Dynamics.Nav.Adcs.Configuration.VT100ConfigurationSection, Microsoft.Dynamics.Nav.VT100Plugin"/>
</configSections>
<VT100>
<Warehouse>
<Endpoints>

<add name="NavWSEndpoint" url="https://<server URL>:<Port>/<Instance Name>/WS/Codeunit/ADCS" UserName="<DOMAIN>\USER" Password="Password"/>

<!-- Azure deployment example: -->
<!--<add name="NavWSEndpoint" url="https://CloudService:7047/DynamicsNAV/WS/CRONUS International Ltd/Codeunit/ADCS&quot; UserName="NavUser" Password="NavUserPassword" />-->

</Endpoints>
</Warehouse>
<Terminal listenPort="6666" listenIP="<IP Address VT100 server>" stylesheet="VT100_W2k_and_OtherClients.xsl"/>
</VT100>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
</startup>
</configuration>


When we connect we always get an authentification error in the event viewer:

Internal Error in Navision VT100Plugin

Object : Messagerprocessor
Error No : FFFFFFFF
Description : Error in the communication: La demande HTTP n'est pas autorisée avec un schéma d'authentification client 'Basic'.
L'en-tête d'authentification reçu du serveur était 'Digest qop="auth",algorithm=....

And on the terminal we get the error:

"Requeue of message failed after sequential message processor errors."

The Error message in the event viewer states clearly that the Authetification 'Basic' is not supported. This we know.
How can we put in the configuration file that it has to use another authetification type (...?)
Something like : <add key="ClientServicesCredentialType" value="Windows"/> (and this one doesn't work)

All ideas are welcome :)

Thx

XMLPort Export - modifying Node Name

$
0
0
I have an XMLPort. Before it is outputted to a file and/or stream, I want to modify some node names. Is there a trigger that gives me access to the actual XML node?

Specific use case is, I'm trying to create an XMLPort where there is a node called <action> . I've tried to set the Node Name to action (Node Type element, Source Type text), but it will not let me do that because "action" is a reserved word. (ACTION.ok, etc).


Prevent the post warehouse shipment to invoice

$
0
0
Hi All,

when we do the warehouse shipment posting , it allows us to choose "ship" and "ship and invoice". i don't want to choose one of that , i just want to ship it, for example. where can i find the code that should i mark it, or comment it,

thanks,

Why does card page retrieve 50 rows from DB and how to prevent it?

$
0
0
Hello,

In NAV 2016 RTC client I have intuitively expected that the Card page will read only the single record + its flowfields that is just displayed. However it seems that RTC client reads instead 50 records (using SELECT TOP (49) ... and OPTION(optimize FOR unknown, fast 50)). Is it possible to somehow prevent this behaviour?
Card pages may often show a lot of the information (flowfields) on it which may cost quite a lot of the SQL resources to calculate. When reading this information for 50 records when I actually need it for single record displayed on the card makes no sense to me. In my scenario this behaviour costs me almost 30 seconds in performance for EACH record. Even the argument that it reads just in case that I want to go to the next record while staying on the card page doesn't help as NAV actually re-reads fresh 50 records when I go to the next record.
In my example, that card page should be surely optimized in NAV, however if the NAV engine helped me by not reading 50 records that won't be ever used, it would be a big help as well ...

Any ideas how to suppress this behaviour? Are there any options in CustomSettings or anything else I can do easily? If this behaviour is intentional could anyone please explain to me what is the reason behind?

Thanks,
Igor

get data and push it to page

$
0
0
Hi All,

i have a case like this
i have one sales order on sales line, the sales order need to get data of another table ( item , for example ) , and the record was meant to have 4 record with different info. i need to pull that info, save it to a variable on page, and push it to a page. but seems that it only show last record information. if i do that on report, that will be easy, but can i be done on a page. i put my code on ( onaftergetrecord) , when i put ( onint ) it did not work.

can i do that on page directly like that?

thanks,

How do I encrypt csv file generated from NAV database through C/AL coding

$
0
0
I am using one report (can switch to XMLPort if needed) to export the data in csv format. The exported data should be in encrypted format which can not be read / edited by people. The data exporting is bank details which has to be decrypted while uploading to the Bank web.

NAV version : 2013
SQL version : 2012

Krishi Kalyan Cess | Indian Localization | NAV 2013 R2

$
0
0
Hi,

Does anyone implement it in NAV or receive any patch(hotfix) from Microsoft ?

Kindly reply.

Thank you.
Viewing all 10032 articles
Browse latest View live


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