I came up with odd problem.
We've made a customisation for one of our customers which basically calls report which lines up some data and exports it to a ascii file.
Problem is that it works on the classic side of Navision but not in RTC.
If its called in RTC client, it starts making the file but says its already open and finishes the file 0KB (0 kilo bytes).
As I noted this works in classic version user has roles for creating,editing and viewing the object and all objects that is included on for the report and also the file path should have all rights for creating the file.
Also both clients and the servers are on same computer.
Is there something that I should add when calling report with action so it wont hold up the file and end it as 0KB?
K.S.
0
Answers
If client server, your file will be created in Service server.
You have to close the file first and download to client machine,..
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
As I said on first post client and servers are on same place. The client connects to the server with rdp connection.
when I call create file should I close it before opening and writing on it?
now the function process is like this:
CREATE the file
OPEN the file
WRITE loops
CLOSE
and this way it works on the classic client. Both clients and SQL and Navision server are on same computer.
Both of the file exporting reports should be just process only on this.
mm thanks for the tip, I'm gonna test that right away
\:D/
First one the problem was that I had OPEN after CREATE with the file function.
Second one the problem was with CREATETOTALS, this did now work with RTC client.
Both works fine now \:D/