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

RTC UI: vertical fasttabs

$
0
0
What do you think about the contradiction between:
- Hardware came with other screen sizes: screens do not have the 4:3 aspect ratio anymore, but came with horizontally wide screens.
- Software (especially Dynamics NAV RTC) came with other screen sizes: they did not put the tabs horizontally, one next to each other, but vertically based fasttabs, and fields are put in two colums max, with very wide fields.
Result is: there is not much visible on the screens, especially input screens (order intake, item specifications, ...), master detail screens, ...
This contradiction leads to pages where end users do not feel comfortable width, in my opinion. Take e.g. the order entry page. Header is almost filled up with customer and order header fields, while there is very small part left for the order lines. Or take e.g. a master detail page for an item where (ok, customisation) some sub-tables are also shown on some fasttabs. There is no place available to show all these information. End users do have to click very often to get the information they need to take decisions, to plan, ..
And yes, there is a possibility to promote some fields to the fasttab itself, but even then, in my opinion, and also of my customers, it does not seem very practical.
The solution: why not providing pages where tabs can still be placed vertically (ok, without promoted fields, but that's the choice to make). Something for NAV 2020 ?

Ribbon on NAV 2016 web client too wide

$
0
0
client running NAV 2016 web client in unpdated google chrome browser

The ribbon for the contact list page is too wide so the action buttons can't be seen. (see screenshot)

Not sure where this configuration would lie?

7vrlrjfq1n1t.png

Reading a XML File, what am I doing wrong?

$
0
0
Hi,
I need to call a web service and read the XML.
I can call the web service, receive the reply but when I try to read the values, for example put the values on a message, I always get the error “A DotNet variable has not been instantiated. Attempting to call System.Xml.XmlNode.Value in CodeUnit CallSLBWS: GetSIPUsers”

This is my code

PROCEDURE GetSIPUsers@1000000001();
VAR
I@1000000021 : Integer;
XMLRequestDoc@1000000001 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlDocument";
XMLResponseDoc@1000000002 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlDocument";
XMLProsInstr@1000000003 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlProcessingInstruction";
XMLElement1@1000000006 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlElement";
XMLElement2@1000000005 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlElement";
XMLElement3@1000000004 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlElement";
HttpWebRequest@1000000024 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.HttpWebRequest";
URL@1000000025 : Text;
MemoryStream@1000000026 : DotNet "'mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.IO.MemoryStream";
HttpWebResponse@1000000027 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.WebResponse";
HttpWebException@1000000030 : DotNet "'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Net.WebException";
CaminhoXML@1000000031 : Text;
XMLNodeResponse@1000000033 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
XMLNodeList@1000000032 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNodeList";
FileName@1000000035 : Text;
PurchSetup@1000000036 : Record 312;
Codes@1000000028 : Record 50008;
XMLNodeID@1000000000 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
XMLNodeUserName@1000000009 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
XMLNodeFullName@1000000010 : DotNet "'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.System.Xml.XmlNode";
ID@1000000011 : Integer;
BEGIN

PurchSetup.GET;
PurchSetup.TESTFIELD("SIP URL");

XMLRequestDoc := XMLRequestDoc.XmlDocument;
XMLResponseDoc := XMLResponseDoc.XmlDocument;
XMLProsInstr := XMLRequestDoc.CreateProcessingInstruction('xml','version="1.0" encoding="utf-8"');
XMLRequestDoc.AppendChild(XMLProsInstr);

XMLElement1 := XMLRequestDoc.CreateElement('soap','Envelope','http://schemas.xmlsoap.org/soap/envelope/');
XMLElement1.SetAttribute('xmlns:xsi','http://www.w3.org/2001/XMLSchema-instance');
XMLElement1.SetAttribute('xmlns:xsd','http://www.w3.org/2001/XMLSchema');

XMLElement2 := XMLRequestDoc.CreateElement('soap','Body', 'http://schemas.xmlsoap.org/soap/envelope/');

XMLElement3 := XMLRequestDoc.CreateElement('ListaUtilizadores');
XMLElement3.SetAttribute('xmlns',STRSUBSTNO('http://www.slbenfica.pt/'));

XMLElement2.AppendChild(XMLElement3);
XMLElement1.AppendChild(XMLElement2);
XMLRequestDoc.AppendChild(XMLElement1);

FileName := 'GetUsers_' + FORMAT(CURRENTDATETIME,0, '<Year4><Month,2><Day,2>_<Hours24,2><Minutes,2><Seconds,2>') + '_' + DELSTR(USERID, 1, STRLEN('BENFICA/'));

//XMLRequestDoc.Save(PurchSetup."SIP WS Logs" + FileName + '_Request.xml');

/////////////////////////
HttpWebRequest := HttpWebRequest.Create(PurchSetup."SIP URL");
HttpWebRequest.Timeout := 30000;
// HttpWebRequest.UseDefaultCredentials(TRUE)
HttpWebRequest.Method := 'POST';
HttpWebRequest.ContentType := 'text/xml; charset=utf-8';
HttpWebRequest.Accept := 'text/xml';
//HttpWebRequest.Headers.Add('SOAPAction','LoadTransaction');
MemoryStream := HttpWebRequest.GetRequestStream;
XMLRequestDoc.Save(MemoryStream);
MemoryStream.Flush;
MemoryStream.Close;

HttpWebResponse := HttpWebRequest.GetResponse;
MemoryStream := HttpWebResponse.GetResponseStream;
XMLResponseDoc := XMLResponseDoc.XmlDocument;
XMLResponseDoc.Load(MemoryStream);
MemoryStream.Flush;
MemoryStream.Close;

//XMLResponseDoc.Save(PurchSetup."SIP WS Logs" + FileName + '_Response.xml');


XMLNodeList := XMLResponseDoc.GetElementsByTagName('Utilizador');
FOR I := 0 TO XMLNodeList.Count - 1 DO BEGIN
XMLNodeID := XMLNodeList.Item(I).SelectSingleNode('Id/text()');
XMLNodeUserName := XMLNodeList.Item(I).SelectSingleNode('Username/text()');
XMLNodeFullName := XMLNodeList.Item(I).SelectSingleNode('FullName/text()');

MESSAGE('%1 - %2 - %3', FORMAT(XMLNodeID.Value), FORMAT(XMLNodeUserName.Value), FORMAT(XMLNodeFullName.Value));
END;
END;


Below is the XML file that I get

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
<soap:Body>
<ListaUtilizadoresResponse xmlns="http://www.slbenfica.pt/"&gt;
<ListaUtilizadoresResult>
<Utilizador>
<Id>2</Id>
<Username>admin</Username>
<FullName>Administrador </FullName>
</Utilizador>
<Utilizador>
<Id>193</Id>
<Username>argomes</Username>
<FullName>Alberto Rafael Gomes</FullName>
</Utilizador>
</ListaUtilizadoresResult>
</ListaUtilizadoresResponse>
</soap:Body>
</soap:Envelope>


Any sugestion?
thanks in advance,
NS

NAV Webservice in different language / date format

$
0
0
Hi,

I have implemented a Codeunit webservice in NAV2009 and passing a date as an argument to a method. I would like to have influence in what format the date is handled and i was assuming that the dutch language module could help me out. But that seems not the case.

I have changed the regional settings for the user that runs the NAV Server + Nav Server Webservice. but still same error.
The error i get:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  <soap:Body>
    <soap:Fault>
      <faultcode xmlns:q0="urn:microsoft-dynamics-schemas/error">q0:Microsoft.Dynamics.Nav.Types.Exceptions.NavCSideException</faultcode>
      <faultstring xml:lang="en-US">'13-11-2014' is not a valid date.</faultstring>
      <detail>
        <string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">'13-11-2014' is not a valid date.</string>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Is there a way that i can set the culture information like webservice in IIS can have?
<globalization culture="nl-NL" uiCulture="nl-NL"/>

ANy other ideas how to fix this thing?

RDLC multiple labels

$
0
0
Hi All,

I hope some1 can help with this:

vvpzeyva98lj.png

I´m trying to do something like in the image. But the results I get by adding a second column in RDLC are far from that

2vzgmk6223qm.png


It just fills column on the left first, then go to the right column.

Any ideas?

thanks a lot! ;)

EDIT:

At the end I solved like:
pb0xj2jdmzhb.png



so you had to create a table, put a rectangle on it, work it all you need and set the margins as you see in the properties so it fits half of the paper each label so you get like:
1- 3
2 -4

File access error from dotnet assembly

$
0
0
Hi
I am using PDFsharp library to merge some PDF's.
Preliminary with server and client on my Win7 development machine.
But when trying to read or write to files a get this error on the PdfReader.Open statement, indicating PDFsharp is not allowed to do file access.
Any suggestion on how to set permissions will be appreciated.

InputFileName := FileManager.ServerTempFileName('pdf');
TempBLOB.Blob := Attachments."Embedded File";
FileManager.BLOBExportToServerFile(TempBLOB, InputFileName);
InputDocument:= PdfReader.Open(InputFileName, PdfDocumentOpenMode.Import);

FOR Count := 0 TO InputDocument.Pages.Count - 1 DO
BEGIN
Page := InputDocument.Pages.Item(Count);
OutputDocument.AddPage(Page);
END;

Error:
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.

Can anyone tell me the difference between Accounting Period Tables 50 and 10560

$
0
0
Can anyone tell me the difference between Table 50 "Accounting Period" and Table 10560 "Accounting Period GB"

Any advice appreciated.

How to Customize the Links FactBox?

$
0
0
I would like to reorder the columns on the Link FactBox. Clicking on the 'Harry Potter' sign only shows Open and Remove, but nothing like Customize ....

Am I wanting something impossible?

Customer card fails to open in the RTC (2013)

$
0
0
If I attempt to open the customer card in the RTC, I get the following error message:
"Function ID 1000000001 was called. The object with ID 50000 does not have a member with that ID." which then result in the customer card automatically closing.

Any clues as to what this exactly means and how I can resolve this issue?

Nav Service (2013 R2) Not Visible When Restart Server

$
0
0
Hi all,
I have a problem on NAV 2013 R2 installation on a Customer.
When the server that hosting NAV Service are restarted, the STN service are not visible when I try to active a debug session. I solve the problem with manual restart of service.
Can someone give help to solve the problem?
Thank so much.
Gianp.

NAV 2013R2 Webclient: How to open all windows in "maximized mode"

$
0
0
Hello,

my customer uses the webclient and want's to open all Windows in "maximized mode". For Example: Open Customer Page from the Customer List.
Is that possible?

Item approval NAV 2017

$
0
0
I was just trying to implement the item approval with the expectation that I won't be able to enter the item in an purchase or sale line as long the item has not been approoved. NAV did create an approval but the item has not been blocked in the purchase/sales line in any way.

What I did yet is to specify in the workflow setup as a restricted record - if it does get restricted do I not know, because I don't know how the result is supposed to look like. How could I block it?

ui9nfd56isyr.jpg

8vb3zr20tt1d.jpg

NAV Webclient IIS Rewrite/Redirect http://host to http://host/dynamicsNAV90/Webclient

$
0
0
i have changed the binding to port 80 for the Dynamics NAV webclient , but now i just get the default.htm's message: "is is the default page for the site container for the web site of the Microsoft Dynamics NAV Web Server Components" page.

how can i redirect it to go straight to DynamicsNAV90/Webclient?

I have tried using the url rewrite and http redirect in IIS but i cannot get it to work. Any help would be greatly appreciated!

Error while consuming Web Services

$
0
0
Hi everyone,

We are trying to consume a web service for nav 2009, However, we are unable to pass the client login credentials into in. Since we are integrating it with a mobile device, Seems like we are supposed to give DotNet code for it. Can someone please help out on what code must be given for it or perhaps at least show a similar piece of code? So that we could recreate it. Thanks in Advance.

Mathan.

TableSync 'move' fails

$
0
0
In an updated 2013 (to 2016) database I'm having issues with a table sync upgrade. I've copied the original table to a new temporary table. Removed all code and variables from the new table. All fields are the same and so is the PK (even ran a text compare to confirm).

By my upgrade CU is throwing this error:
Sync-NAVTenant : When the TableSynchSetup.Mode::Move mode is used in an upgrade codeunit for synchronizing a table, the structure of the upgrad
e table must match the original table. The fields and the primary key of the upgrade table must match those in the original table.
The following errors must be fixed:
The definition of the upgrade table 'UPG-Extended Text Line' must match the definition of the old table 'Extended Text Line'.
Upgrade table 'UPG-Extended Text Line' cannot have fields which have a different design in the original table 'Extended Text Line': 'Text'.
At line:1 char:1
[TableSyncSetup] TableSyncSetup(VAR TableSynchSetup : Record "Table Synch. Setup")
DataUpgradeMgt.SetTableSyncSetup(DATABASE::"Extended Text Line",70500,TableSynchSetup.Mode::Move);

Any suggestions?

NAV 2016 micr line alignment and spacing

$
0
0
One client is going live within a week and we cannot get the micr line to a place the bank likes.

They are sending some kind of spec sheet (attached)btifbo12u8fs.png

They reference the separating characters being out of place and say they should begin at certain positions.

In Visual Studio Report Designer we don't have those positions or anything to use as a reference.

Has anyone else had issues with this or know of a solution to align this?

The RDLC in the clients older NAV database is correct but for some reason it's awry in the new one.

4+ hours later still making tiny micro adjustments to the check, now the report itself is printing off an extra page.

I'm printing off a check from NAV2016 and holding it up to the light behind a check from NAV 2009 just trying to match them. I don't know a better way..



UPDATE:

printing from NAV the report is scaling weird and skewing the micr line.

saving to pdf and printing from that lines up correctly.

As far as I can tell the report properties within NAV when printing respects the RDLC properties unless something is changed from the dialog.

Now we're troubleshooting the printer itself and other printers. Any insight on micr alignment would be appreciated.

Thousand separator on RDLC report (NAV2016)

$
0
0
Hello,

I'm having a problem with the format of decimals on my report. The format of the decimal I want to print is "12.456,78", always with 2 decimals and a separator for thousands and decimals.
On a page this is displayed correctly, but on a report this is displayed as "12 456,78" (space as thousand separator).
This is the expression of the field on the report: =format(cdec(Code.GetData(8,10)), "#,##0.00")
The language of the report is set to =User!Language
I have checked the regional settings of the client, this is OK. Printing in NAV2009 is with this expression gives the required result.
The version of NAV is 9.0.45834.0 (which is CU16 I think), I design the report in VS Community 2015.

Does anyone have an idea how I can get this correct.

Kind regards,
Andy

xp5ztsbanjkt.png
wokr8nrttcv9.png

Autoincrement key log primary key doesn't work

$
0
0
Hi everyone,

I have a challenging problem to solve...
I'm trying to log the value of the primary key of any table when a new record is inserted ... it all works well but not with tables that have the autoincrement pk... the reason is that the database insert trigger ( codeunit 1) is fired before the insertion so Nav does not know the value of the pk that will be calculated by sql... this means I'm always logging a pk of zero which is not correct... so any ideas on how to solve this and be able to log the correct pk of any table in Nav with an autoincrement? I cannot operate on single table events it must be generic for any table in NAV..

Hope someone has got the solution I don't have!

Cheers!!!

How to know when/what to ship?

$
0
0
Hi Guys,

Does anyone have a good process for how to know what to ship and when? I am imagining some kind of list with all the future deliveries listed according to delivery date. The shipping staff can then select the ones they want to ship and somehow created warehouse shipments from them... But this is just my thought - I really don't know how to do this easily...

Thanks. :)

EDI for Sales Orders

$
0
0
Hi Guys,

In our company we are spending a LOT of time entering Sales Orders and thought it would be great if our customers could just send their orders to us electronically. The problem is that all these customers will send in different formats and therefore we are looking for some kind of solution that can handle incoming sales orders in many different formats.

Any ideas / Suggestions?

Thanks :)
Viewing all 10032 articles
Browse latest View live


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