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

Post request with parameters

$
0
0
Hello,

I have a problem to send a post request with parameters - this is my code :
WebServiceURL := 'https://...';
Request := Request.Create(WebServiceURL);
Request.Method := 'POST';
Request.KeepAlive := TRUE;
Request.Timeout := 30000;
Request.Accept('application/json');
Request.ContentType('multipart/form-data');
postString := 'param1=123&param2=456';
Request.ContentLength := STRLEN(postString); 
StreamWriter := StreamWriter.StreamWriter(Request.GetRequestStream);
StreamWriter.Write(postString);
StreamWriter.Close;

I get a 500 error (see picture) so I don't know anything about why its rejected
But if there is something that seems to be wrong to you, please help !

Bye

Question in Dump file look not correct

$
0
0
Dear everyone, I've been spending some times on answering this question,
I found it out in DUMP file :

You create a Seminar Charge table with a Type field and a No. field.
You need to ensure that lookups always go to the GIL Account table, the Resource table, or the
Item table based on a respective type of GIL, Resource, or Item.
What should you do?
A. Only create an OptionString property on the Type field with the G/L Account, Resource, and Item values.
B. On the Type field, use the TableRelation property with a link to the No. field.
C. Create an OptionString property on the Type field with the G/L Account, Resource, and Item values. Then, on the No. field, use the TableRelation property with a link to the Type field.
D. Add code to the Type - OnLookup trigger on the Seminar Charge List page to run a GIL Account, Resource, or Item-List page.

Answer is : A

But I think the correct Answer is C,

What you think ? any idea ?

how to get line data with marked entirs of header?

$
0
0
hi experts,
I want data of sales invoice line as per marked entries in header i have boolean field on header

GST Distribution in India

$
0
0
Hi,
Any one has idea how GST distribution works in India, any good link to know the flow of it, as via GST document there is no flow clarity.

Job Queue with Task Scheduler and User ID

$
0
0
Hello,

I am facing problems in NAV 2018 with the Task Scheduler that runs Job Queues.

When a new NAV session is opened, all Job Queues are rescheduled by the codeunit Job Queue User Handler (function RescheduleJobQueueEntriesOnCompanyOpen).

My troubles come from the fact that these tasks will be executed on behalf of the current User ID.
So, a Job Queue will always run with the permission of the last logged in user instead of the User ID on the Job Queue Entry.

Have you already faced this problem? Is there a workaround?

Thank you in advance for your help.

any help reguarding this issue-experts

$
0
0
requirement: create text file in which all sale invoice show line by line. which are having Boolean field checked for that create custom page with sales invoice header sourcetable. create action on click of that we get text file.
for that sales header data take as fields and sales line data take as variable and store field which are required on onaftergetrecord fetch sales line data
7025dqbdcucr.png
d09ie9g0ibyr.png
6s0aymeai9ac.png

Making Tax Digital for Dynamics NAV 2013

$
0
0
It's along shot but has anyone added the MTD functionality to NAV 2013? I've seen the list of objects and tried in hope to import from a cumulative update of NAV.8 but NAV won't allow importing from the later version - it was in hope.

I'd think importing the TXT objects would hit a snag with object ranges.

Column/Field Level Security-NAV2016

$
0
0
We need to select certain fields, in various tables, to be unavailable for reporting, but available for posting. Also, the security needs to extend beyond NAV to add-ons and other solutions which access the data. We've done this internally in NAV by programming, but the need has grown. It's a requirement of the CEO and NAV doesn't do that is not an option.

For example, the user needs to be able to post to the G/L, but not view the Ledger Entries. Changing security to Indirect does not work. And the list goes on. We are looking at Row Security and possible adding some fields to the tables impacted to make the solution easier to maintain, but they will still be able to see what they can see.

Any help of suggestions would be helpful.

Thank you

Can we block sales order creation for one Particular user ID but he should be able to do invoice.

$
0
0
Hi

We are trying to block sales order creation for one particular user it just be a view able page for the user. But when we try to block that permission the User is unable to create sales invoice as well.. As it is interlinked with Sales Header page.. need your suggestion or help on this please.

Find the records that are modified recently

$
0
0
Hi all,

I am performing an Asynchronous integration of third party system with business central.I have written a code unit that is exposed as web service which will be used by the 3rd party system
i am syncing the following entities:

1. Product with Product variants and product identifiers
2. Sales order header with sales line.
3. sales shipment header with sales shipment line
4. sales invoice header with sales invoice line.

In my scenario i have multiple jobs which executes multiple time in a day that find the set of record which are changed after the given date-time. Then sync only the records which were changed.

Now the problem i am facing is that in business central most of the tables doesn't have modified date time field, which can be used to filter the records that are modified recently.

Can anyone tell me how i can filter the records from any table that are modified recently?

Note :

One of the possible solution is to extend each table add a new field modified date-time. Extend the onmodify() trigger and set the current date-time on it.
But my client doesn't prefer to extend all of these tables just for a very basic field.

The other solution i have identified is to use the change log feature.But i believe this will slow down the system due to large numbers of records.



Thanks.

Zuhad Mahmood

how to repeat header row of tablix table on each page in report?

$
0
0
hi experts i want to fix table heading fixed on each page of report tried things:
9vu9jlgxpjwy.png

How to import the sales/purchase lines to the Sales/purchase order page using code unit/Xmlport

$
0
0
Want to import the Item number,Quantity,Unit Price in the Purchase line in purchase order page

Currency Exchange Rate Service - Remote Certificate is invalid according to the validation procedure

$
0
0
Hello all,
I hope you can help me. I try set up the automatically Exchange Rate Service of Navision ( am running NAV2018 CU19). But when I try to enter the Service URL (that is also entered by default in the Cronus Company) https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml I always get the error message "The remote certificate is invalid according to the Validation procedure".
Has anyone an idea how I can fix this?

6mvfljprrsdg.png

vqhwe6jsdjbx.jpg

Thank you very much for your help!!

Kind regards,
Christoph

New WebServer Instance 2017 error

$
0
0
Hi,
I have a problem adding a new webserver instance. I am using the powershell command,

(PS C:\WINDOWS\system32> New-NAVWebServerInstance -WebServerInstance DynamicsNAVTEST –Server TEST –ServerInstance DynamicsNAV100TEST -ClientServicesCredentialType Windows)

but I am getting the following error:

New-NAVWebServerInstance : ClientServicesCredentialType 'Windows' is not compatible with Web Client authentication mode in use: 'Windows'

In Dynamics NAV Administration in General Tab I have already selected 'Windows' as my Credential Type. Also in config file ClientUserSettings.config and in web.config (in C:\inetpub\wwwroot) the credential type is set to Windows
( <add key="ClientServicesCredentialType" value="Windows"/>).

I am running out of ideas what to do. Did anyone of you face the same problem?
I will appreciate any tips!

How do we show multiple price on LS retail POS ?.

$
0
0
Hi,

I am having one requirement where i want allow to Cashier to select price from selection.
for example - Item A have 3 price different price $5 $10 $15.
If user select item A then POS should ask for which price you want to select.
How can i achieve this scenario in Nav 2017.

Please share your ideas.
Thank you.

Upgrade to 365

$
0
0
Hello people. I will beworking on an upgrade from 2013r2 to 365 and 2015 to 365. Main question is: do i need to go to 2018 before that or not?

Payment Reconciliation Journal for Credits

$
0
0
Hi All,

We are trying to post negative quantities (refunds) through the Payment Reconciliation Journal. What I find is that Refunds don't get reconciled against the Open bank account ledger entry. This means that when we open a Bank Acc. Reconciliation after posting the journal the refund ledger entry is still open.

Why do debits (-) not post and reconcile via this journal? Is this a bug or intended functionality.

Thank you.

Linked Bank account Feature- Business central - France

$
0
0
Hi,

I have seen that the linked bank account features exist for the Canada and US.
I need the same features for Bank of France.
does exist this features for France ?

Business central on premise, lastest image working with docker.

thanks you

NAV BC SOAP Navuserpassword Error 216 HTTP 500

$
0
0
Hi! I have a strange problem and i can't find a solution for it.
I have created a service for SOAP access. Configured with NavUserPassword and SSL.
In a web browser i type in the soap address https://nav.url.com:1111/NAVService/WS/Services. Enter username and Webservice key and login.
It shows all available endpoints. Works like a charm. Then i press F5 or reload the page or go to a codeunit or another endpoint and i get an HTTP 500 internal error. If i wait for a minute or so it works again. So the error is intermittent but it fails every time that i reload the page. The problem happens in different web browsers and from different computers.
If i change to authentication type Windows or Username it works fine all the time.

In Event viewer i get the following error 216 :

Server instance: NAVinstance
Tenant ID:
User:
Type: System.ObjectDisposedException
Message: Message is closed.
StackTrace:
at System.ServiceModel.Channels.ContentOnlyMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.WebServiceAuthorizationManager.CheckAccessCore(OperationContext operationContext)
Source: System.ServiceModel
HResult: -2146232798
StackTrace:
at System.ServiceModel.Channels.ContentOnlyMessage.get_Properties()
at Microsoft.Dynamics.Nav.Service.WebServiceAuthorizationManager.CheckAccessCore(OperationContext operationContext)


Has anyone come across this problem or a clue on what the issue could be?

Report Layout Illegal characters in path error in NAV2016

$
0
0
Dear All,

When I try to open the report layout by clicking Tools -> Layout from developer environment, I am getting error as follows.

It is not possible to edit the layout with the report designer.

Detailed description: Illegal characters in path.

If anyone know how to resolve this , please let me know.

Thanks in advance.

Regards,
chandru.
Viewing all 10032 articles
Browse latest View live