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

Simple Array question in AL

$
0
0
I am not able to use a Text array as a Field on a Page. Why does it not work? Is it maybe not supportet on AL?
Not in one object i get it to work..

z3nzzplkhm17.png


Error: [AL] The name 'Values' does not exist in the current context

How i Can Solve this error Could not initialize Microsoft SQL Server 2012 Report Builder 3.0: Illega

$
0
0
i try to upgrade reports in 2013 but this error show ''Could not initialize Microsoft SQL Server 2012 Report Builder 3.0: Illegal characters in path. Verify that Report Builder 3.0 is installed correctly.'' after click upgrade reports.

How to display a 0 value on a Nav Report via Visual Studio for hidden Field.

$
0
0
Good Day all. I wanted to ask how best I can display the value 0, for a Remaining Amount field that I added in Visual Studio for a Nav Report.

Basically the Remaining Amount field should display output in two ways.
1. Remaining Amount Values that are equal to 0. And
2. Remaining Amount Values that are not equal to zero.

For the first condition I want to be able to append a 0 to the Remaining Amount column if the value of the Remaining Amount is equal to 0. I added this Expression in the visibility of the textbox for the field as this:
=(Fields!RemainAmt_DtldCustLedgEntries.Value = 0). And it returns a blank column, but I want it to return 0 instead.

The second Condition was fairly easy, had no issues with this one because this expression worked just fine:
Expression in the visibility of the textbox for the field as this:
=(Fields!RemainAmt_DtldCustLedgEntries.Value = 0).kr6l9bij014w.png

How to use upgrade codeunits?

$
0
0
Hi,

Upgrade codeunits are a relatively new concept for me, and I am in need of some help :-)

Let's say:
I have a table with the following structure:

1 Primary Key Code(10)
2 DescriptionText30 Text(30)
3 DescriptionText50 Text(50)

Now I want to change field 3 from Text(50) to Code(50). This would be a destructive change in NAV 2017 CU1 and forcing that change would result in the loss of the data contained in that field.

Can I solve this problem with an upgrade codeunit? How do I do that, exactly?

Thanks for your help.

Extension not publishing nav2018

$
0
0
We get an error when republishing an extension after structure changes! In Nav we can’t install and get errors that tables already exists. Sync-navapp clean doesn’t do the tric. How can we reset the database?

Store must be open for this operation from Excel Buffer (NAV 2016 CU 26)

$
0
0
Dear All,

The following error message occurs during Export to Excel Report. The report is build on Excel Buffer Table.
A call to Microsoft.Dynamics.Nav.OpenXml.Spreadsheet.Workbook Writer.Dispose failed with this message: Store must be open for this operation

As recomended, I have changed the values in OperationTimeout, MaxUploadSize (In Server Level) & MaxNoOfXMLRecordsToSend (In client Level), though it's showing the same error message.

What is the solution ?
Kindly reply.

Thanks,
navuser1

D365 BC - Codeunit 1

$
0
0
Hi all,

in this version CU1 has gone. Does anyone know where the functions have moved to ? I'm interested in finding the new home for ApplicationVersion().

Thanks in Advance

Addin with React.js

$
0
0
we would like to solve several requests by means of an addin (shift planning, utilization of the production etc.). Since this is a lot of UI design we want to use React.js.
Does anyone have experience and beautiful would be an example.

Thank you very much
stony

Write value on next line with same Item No.

$
0
0
hi guys,

I just want to ask again,
if it's possible to write value next to 2nd line with the same Item no.
to make this questioni more meaningful

see attached image.
blxsula7qijm.png

in my warehouse pick.
if i typed in the Serial Column,
with the Action Type of Take

it should be write in the Action Type Place also.

Interaction log delivery status for Email failure

$
0
0
Hi,
One of our customers has requested to log the email sent success/failure on their interaction logs, however, after searching around, it seems that for emailed interactions, the delivery status will be blank (?).

Is there any way to create a feedback to populate the status as "Error" in case of the email being sent to an invalid recipient or being bounced back?

Thanks and regards

OnEditExcel Publisher

$
0
0
Hi everybody,

is someone knows what is the goal of the publisher "OnEditExcel" in the codeunit 1 and how to use it ?

Thanks,
Michael

SFTP with Renci.SshNet in NAV and constructor - NAV 2018 Cu8

$
0
0
Hi,

I need to implement SFTP in NAV so I decided to use Renci.SshNet .Net dll.
So far so good I can access the Renci.SshNet in NAV, but I cannot call any of the constructors. :-(
For example I need to create a variable ConnectionInfo.'Renci.SshNet with a hostname username and pass.
If I call the function like this
ConnInfo := ConnInfo(HostName ,'demo',passauthen);
or this
ConnInfo(HostName ,'demo',passauthen);
I am getting following error message.
ConnInfo is not a function, and only functions can be called with '(....'.

I can do this though
ConnInfo := ConnInfo;
but then I have no way of assigning the parameters e.g. hostname username and pass.
There are functions/properties for example ConnInfo.Host;
but they only return the parameter and they do not allow me to set it
[string Host :=] ConnInfo.Host()

What I do not understand if I go to "CAL Symbol Menu" and select the variable ConnInfo with option "Past Arguments"
I get this
[ConnectionInfo ConnectionInfo :=] ConnInfo.ConnectionInfo(string host, string username, AuthenticationMethod[] authenticationMethods)
But if I try to do this in the CAL editor I get the above error message.
Also the tool tip shows that the variable ConnInfo
has no parameters?!?!?
See screen shot
xyitfw9mqq8d.jpg

I tried to set the variable "RunOnClient" but this made no difference.
Is this a restriction in NAV or am I missing something.

Thanks for your help.

The VAT Amount Line does not exist. Error observed while posting Import invoice.

$
0
0
The VAT Amount Line does not exist. Identification fields and values: VAT Identifier='',VAT Calculation Type='Normal VAT',Tax Group Code='',Use Tax='No',Positive='Yes'

Kindly suggest on the above error as it was encountered while posting Import Invoice.

Error while click on standard reports in NAV 2018 AU CU9

$
0
0
Deal All,

Recently we have migrated one DB from NAV 2013R2 to NAV 2018. After migration everything works fine but having strange issue for random users for random standard reports (Ex.: Detail Trail Balance, Trial Balance etc..). when user clicks on reports, below error occur. However, from server it's works fine.

9b0a8q9y8l7e.jpg

Error is also not consistent. sometimes user able to open and sometimes not. Also some users can able to access reports and some users can not.

I have tried below activities but could not get success:
1) Un-Install and Install NAV 2018 Client again
2) Update OS in users Machine & check .Net framework
3) Compiled all objects and build server application Objects
4) Delete user personalization and Delete User metadata
5) There was no customization in reports even though i have imported all reports from Cronus Database.
6) Give users to super permission

Below is the details i have found in Event Viewer (from Server):
Server instance: DynamicsNAV110_MCST
Category: Runtime
ClientSessionId: {13a1bbde-963c-4aad-b35a-c3013b03c012}
ClientActivityId: {8d01766e-c998-4109-8664-051810cdf56e}
ServerSessionUniqueId: {0eb8c1c9-e65b-44bc-898f-9a07acf39142}
ServerActivityId: {04442db1-9a71-49dc-8018-ef5a4856ee6b}
EventTime: ‎2018‎-‎11‎-‎26T05:48:53.839538400Z
Message (NavSerializationException): Exception: NavSerializationException
The assembly or type cannot be deserialized, Assembly: Microsoft.Dynamics.Nav.Types, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Type; Microsoft.Dynamics.Nav.Types.NavFilterGroup
ExceptionStackTrace:
at Microsoft.Dynamics.Nav.Service.ServiceCall.GetClientReturnValue(Action invokeCallback)
at Microsoft.Dynamics.Nav.Service.NSClientCallback.FormRunModal(NavForm form, NavFormRuntimeParameters parameters)
at Microsoft.Dynamics.Nav.Runtime.NavForm.RunModal(NavRecord record, Int32 fieldNo)
at Microsoft.Dynamics.Nav.Runtime.NavReport.InternalRunRequestPage()
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReportInternal(NavRecord record, Boolean displayResult)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean runReportModal, NavRecord record, IList`1 reportTextualFilters, RunMode mode)
at Microsoft.Dynamics.Nav.Runtime.NavReport.RunReport(Int32 reportId, Nullable`1 requestWindow, Nullable`1 systemPrinter, Boolean isRunningAsModal, NavRecord record, IList`1 textualFilters, RunMode runMode)
at Microsoft.Dynamics.Nav.Runtime.NavReport.Run(Int32 reportId)
at Microsoft.Dynamics.Nav.Service.NSService.RunReport(ApplicationMethodRequest applicationMethodRequest)
at SyncInvokeRunReport(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.RunInTransactionCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.TransientErrorRetryCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.<>c__DisplayClass25_1.<Combine>b__1(NSServiceBase serviceInstance, Object[] inputs, Object[]& outputs)
at Microsoft.Dynamics.Nav.Service.ServiceOperationInvoker.ErrorMappingCombinator(ServiceOperation innerOperation, NSServiceBase serviceInstance, MethodBase syncMethod, Object[] inputs, Object[]& outputs)

ProcessId: 5272
Tag: 00000HC
ThreadId: 9
CounterInformation:

Kindly help me to solve it.

Regards,
Ravi Shah

NAV2018 RTC - How can i get recordset from SQL fulltext Search stored procedure?

$
0
0
Hi, in NAV2009 i get a Recordset from SQL fullsearch to NAV using ADO and Automations, now in NAV 2018 it seems i must use DotNet Vars, now i try use this example : https://www.erpsoftwareblog.com/2014/07/ado-net-integration-in-dynamics-nav-2013-how-well-does-nav-2013-handle-large-datasets-part-2/ and i have problem reproduce that, in the function GetENum it is necessary DotNet SubTypes System.Enum and System.Convert, but i can't find the Assembly where this are in? Perhaps it exists other example or way for realise my purpose, what i would do ist ca,, a stored procedure in Sql, and get back a data collection in a temp table. sorry for my bad english, and i hope you can understand my question/problem , thanks.

Help-Server - Field Help Explanation

$
0
0
hi,

is there any possibilty to get a field-Help when pressing "F1" on the RTC-Client NAV 2017. I always get only "How-To"-Explanations.

Is there something missing in configuration setup or any help files to copy?

Thanks.

Workflow in NAV 2016 doesn't send email notification???

$
0
0
Hi guys.
I have just started to explore "new" functionality of workflows in NAV 2016.
I have created few workflows from templates, I have set up notifications for "Approval" and "New Record" to be sent on email, I have defined emails for users for approval and added a response in workflow for notifications to be sent.
I recieve notification in notification entries but as hard as I try, neither of defined users recieve it via email.
Does anyone know why?
P.S. SMTP setup is alright, test emails go through nicely.
THANKS!

How to Merge cells in Excel while extracting report from navision using Excel Buffer...

dotnet list usage

$
0
0
Hi,
I tried to use a dll ( .Net class type, for WebReference) of a webservice on a codeunit. One of the variable of the main class is a list<t> object ( lets say it has the name WSData.Details and it has the type List<Detail> ) . And I have another class to define vairables in Detail class. My question is how can I add this Detail variable to the WSData.Details list? . Nav don't allow me to use WSData.Details.Add(Detail) .

And I tried to use

Type := GETDOTNETTYPE(WSData.Details);
DList := Activator.CreateInstance(Type);

But on this attempt it gives the error:
GetDotNetType() does not support the type Microsoft.Dynamics.Nav.Runtime.NavDotNet

How should I procede?

Item with linked Items

$
0
0
Is there any functionality to create linked Items order lines for an Item.
Item A requires Items A, B and C to be ordered at the same time.
Viewing all 10032 articles
Browse latest View live


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