Quantcast
Channel: NAV/Navision Classic Client — mibuso.com
Viewing all 2425 articles
Browse latest View live

Inventory Costing

$
0
0
my client has an requirement like

For example, we have an item that costs $5 with 5 on hand and when we run the inventory valuation report on 2/28/2016 it shows $25.

The cost goes up to $7 on 5/1/2016, we have 10 on hand, and when we run the report on 5/31/2016 it shows $70.

However, if we run the report on 5/31/16 using the 2/28/2016 date filter, it shows $35 instead of the $25 when we ran it on 2/28/2016. Which appears to be the 5 that we had on hand on 2/28/2016 multiplied by the new cost that took place on 5/1/2016. Is this because we have our items set up as Standard in the costing method?

Is it possible to run the reports and get the same results, no matter which day we run the report? If we had to change the costing method, is there a quick way to change them all?

Cannot Rename a Record

$
0
0
We are using NAV 2009 SP1.

We have a blank customer and we have transactions too. Now we want to rename a record. There is no code behind RENAME trigger except "Last Modified Date".
I am getting an error.

You cannot rename a record because the old value for the following field is ''.
Field: No.
Table:Customer

How do we rename the record from blank to something else?

Any suggestions?

Editable No in table and Yes on Form unexpected behaviour

$
0
0
Hi to all, can someone explain me the behavior of flag Editable in table and form ?
I have configured a table with Editable = No on a field and I have Editable = Yes on a Form field that point to the same field.

I suppose that the field wasn't editable but I was able to save the new value.

If I set Editable = No on a table field can a Form override this setting ?

Thank you for your feedback.

Best regards
Fabrizio

Web Service communication and Events

$
0
0
Hi All,

Currently, I'm using Navision 2009 Classic and would like to integrated with hardware which is only provide Web Service (SOAP via HTTP) to do integration. How to do communication 2 ways between Navision and the hardware via Web Service? How to create events in Navision to receive event from the Web Service?

NAV Client and Service Tier Crash using Events - system.reflection.ambiguousmatchexception

$
0
0
Hi,

I wanted to use an event from a page e.g. OnOpenPage

Of course, there is a standard one built into NAV but it only returns the “Rec” variable and I wanted to set some global variable in the base code which I can’t pass as a parameter with the in-built published event (it would be useful if you could get sight of the publishers global variables here but you can’t as far as I can see?)

So I thought I would be “clever” and publish my own event from the OnOpenPage trigger section with the parameter I wanted i.e an additional publisher to the in-built publisher from the same section.

NAV definitely “does not like this” and crashes the client and the service tier – although the compiler accepts it.

The windows event log gives a clue … talks about events and "Ambiguous match found"

So basically - don't try this at home!

ADCS and miniforms documentation

$
0
0
Hello

I am looking for documentation about Automated Data Capture System (for handheld devices) and miniforms (needed for ADCS). The only thing I can find is some general information about ADCS and miniforms. What I really need is documentation about how to write codeunits behind miniforms, etc. Any clue where to find that?

Thnx in advance!

Jan

NAV ODBC Driver

$
0
0
Has any body used ODBC driver for NAV 2009. I am trying to set it up first in ODBC Data Source Administrator in Windows. I got the ODBC driver installed but when I am trying to setup the 'database name' box is greyed out no matter what I do.
After setting it up , how many ways I can use this?

Code Logic help

$
0
0
Hi
I have a piece of code which I don't understand fully.
  recSO.COPYFILTERS("Record 1");
  SETRANGE("Order No","Order No");
  FIND('+');
  SETRANGE("Order No");
  "Record 1".COPYFILTERS(recSO);

What does it do? I mean, what happens when you clear the filter after a FIND('+') ?

NAV 2009r2 classic compatibility with Office 2016

$
0
0
I have a question from an IT company for a mutual customer. They want to deploy Windows 10 and Office 2016 on a new round of workstations, but the customer still runs NAV 2009r2 classic. Of course they want to know if NAV 2009r2 will work with Excel 2016. I can't say without doing some testing, but wondered if anyone has had any experience with that combination?
Thanks!

Question about report behavior

$
0
0
Hi to all, I need some help to identify a problem running a report. We have only one user that, trying to open a report faces a strange behavior, the client always tries to Count the lines with something similar to an infinite loop (once reached the finish the line count seems to start again).
Trying the same operation from other Navision client the problem does not appear and the report runs well.

I've supposed we could remove the PersonalizationStore.xml (perhaps a client configuration that create the problem) but, with my surprise, on %AppData%\Microsoft there isn't any folder called Microsoft Dynamics NAV\ and of course no PersonalizationStore.xml file.

Can someone suggest me a way to investigate the problem in deep ?

Thank you in advance for your help.

Best regards

Fabrizio

failure codeunit 21

$
0
0
Hello experts!

I have a question about an error that I get often about the posting date; NAV 2009 SP1, spanish date format dd/mm/yy

Allow posting from: 01/05/16
Allow ponting to: 30/06/16

Purchase Invoice, posting date 09/05/16

that invoice is impossible to post because of this error

Codeunti 21
CheckAllowedPostingDate(ItemJnlLine : Record "Item Journal Line")
WITH ItemJnlLine DO BEGIN
:
:
IF ("Posting Date" < AllowPostingFrom) OR ("Posting Date" > AllowPostingTo) THEN
Break on error FIELDERROR("Posting Date"
END;

I think it's a failure of NAV and I need to solve :smile: thank you for your help!

Saving DateTime as integer no longer works

$
0
0
As of today, we have a problem with the datetime as integer. It still fits in a variable, but when we try to use this in an integer table, we get the following error:

Integer Number '1000026000' does not exist.

Up until sept. 6, 2012 it all works, but from sept. 7, onward it errors out with the corresponding integer value.
Has anyone else encountered this and found a solution?

Citrix session issue

$
0
0
Hi, All,

We connect NAV5.0 through Citrix. There is an issue for few weeks. The session doesn't exit from Citrix server when user log off from Navision. We can see many instances of fin.exe running on Citrix server for one user. It causes the no. of user reaches the license limit. We have to manully delete fin.exe on Citrix server. It must be related to some changes for Citrix but the Citrix team has no idea what change causes this issue. Does anyone face the same issue before? Appreciate if you can help.

Job Queue Entry stays in progress

$
0
0
We are using a codeunit in the classic client of NAV5 SP1 which scans a folder for files. When a file is found it is read and checked for a specific content. Then the file is moved to another folder.
When running the codeunit manual everything works fine.
When using an open client to run the codeunit through a timer form everything works fine too.
When running the codeunit through the Job Queue the entry stays in progress. The Job Queue Log Entry gives no error message.

I hope somebody can give me a hint.
Thanks in advance.

How to open all files (eg *.xml) in batch in a folder ???

$
0
0
Hi ALL,

I have an question about open files in Navision. I have a Codeunit which used to import XMLport.
TestFile.OPEN('C:\Output\PO1.xml');
TestFile.CREATEINSTREAM(TestStream);
XMLPORT.IMPORT(50003,TestStream);

Besides PO1.xml, there are also other xml eg PO2.xml, PO3.xml, etc in the Output folder. And what I want to do is to import all *.xml files in the Output folder to Navision, but I don't know exactly how many xml files will be in the folder and the file names of each files. I want to make this codeunit to be able to open and read all the xml file in the Output folder so that I can put this Codeunit in the Job Scheduler and let it run regularly.

Does anyone have some ideas?

Use TableFilter field in SETVIEW

$
0
0
Hi,

I've created a new table with rules to apply on the Customer table.

The new table includes a field of data type TableFilter which I have named Customer Filter. As a property I have set the field to link to TableIDExpr 18 (the customer table).

If I run the table and set a Customer Filter value of: Customer: No.=01000000...02000000
Then run a code in a codeunit:

myCustomerNo := 01000100;

r_Customer.GET(myCustomerNo);
r_Customer.SETVIEW(FORMAT(r_MyNewTable."Customer Filter"));
//IF a customer exists, I will alter some values for that customer..

An error occurs which sais: You cannot enter 'Customer: No.=01000000...02000000' in TableView.

Is it possible to use the tablefilter field to apply a filter to a record??

Format date to MM/dd/yy

$
0
0
I am modifying a report in NAV 2009 report writer to be used in RTC. I am trying to format the date in the page header to look like 01/01/16 and it is not working for me. The field contains the following value: =code.GetData(8,3). I put MM/dd/yy in the Format property, but it is not working. It does work in reports that use =ReportItems!... Can someone help me with this? Thanks!

NAvision 5.00 W1 grid problem

$
0
0
Hi, my client has a Navision 5.00 W1 install on SQL. Recently all their client pc's have been suffering a weird grid problem.

Go into a Sales Order and go to the Sales Order Line. When you click (or hover the mouse) over an empty cell in the first empty row the mouse switches into column splitter mode. This can't be overcome with any amount of clicking, or navigating with the keyboard.

I am sorry that this is not the greatest bug report ever, it is rather difficult to explain.

I should say that there are no mods and this same issue existing in all other grids, including for example, general journal.

Any ideas?

Chris

[NAV 2016] ReportViewer Problem

$
0
0
Hi experts,

For whatever reason, ReportViewer always reselects the "First page" button continuously, making it basically impossible to adjust zoom via the menu bar, or printing to Excel/PDF/Word.
It's not just happening on my machine.

Even in my Demo Database this problem occurs.

Is this a known bug? Is there any way to fix that?
I already tried reinstalling ReportViewer using the msi from CU3 - didn't do the trick.

Glad for any advice on this matter.

Regards, Wisa

Linked Object Read Only failure across 2 server - MSDTC

$
0
0
Hi,

I have 2 servers - NAVDEV and SRVSQL both running SQL Server 2012.

Both servers have MSDTC on, firewall exceptions enabled, and no authentication required for incoming requests.

I have a linked table object in my navision db on NAVDEV, what uses a view to access a table in a db from SRVSQL.

From Mgt studio on NAVDEV, I can update the view in NAVDEV, which in turns updates the table in SRVSQL.

From Dynamics NAV 2013 R2, I can run the table object , and view the data, but I cannot update it, as I get an error around MSDTC on server NAVDEV was unavailable.

The same error occurs when accessing the object via code ( FINDSET fails with the same error). I have tried my service tier as administrator too, so it doesnt seem to be service permissions.

I dont actually need to update the data, but merely read it.

My object has LinkedInTransaction = No, but i have tried Yes as well.

Any idea's as to what I can try ?

Thanks,
Steve
Viewing all 2425 articles
Browse latest View live