Quantcast
Channel: Microsoft Business Solutions online community
Viewing all 14259 articles
Browse latest View live

How to calculate Sales from 'Item Ledger Entry' table

$
0
0
Hello,

Could somebody clarify how to calculate Sales starting from the 'Item Ledger Table' to e.g. provide proper Sales Amounts and Qty per Customer and Item for a period.
I could see that criteria could be as 'Entry Type' = 'Sale'. Would it be enough or I'd need to add e.g. the 'Source Type' = 'Customer'. How about the 'Document Type' as 'Sales Shipment', 'Sales Invoice', 'Sales Return', etc. - if it should be added too or a one criteria as 'Entry Type' = 'Sale' with SUM('Sales Amount (Actual)') could be enough and it would include everything needed as 'Sales Credit Memos', etc., to calculate Sales.

The Columns to link to other tables seems as should not be a problem as to Item it would be 'Item No.', 'Source No.' - Customer, 'Document No.' - 'Sales Invoice No.'

I would go with 'Sales Invoice Header' and '... Line' and 'Sales Cr. Memo Header' and '... Line' to get Sales but requirements are to go through 'Item Ledger Entries'.

Thanks

NAV 2009 R2 Classic Client post inform by API + JSON

$
0
0
Hi,

I am using NAV 2009 R2 classic client, would like to do an API post function to put PO Header and PO Line information to 3rd parties by using API + JSON. May I know how to do it? And how to get the response message from 3rd parties and showing success or error message to user / log into a table for user to check the transmission result.

Thanks!

Error message in NAV Web Client

$
0
0
Hi everybody,
Sometimes when opening a page in the NAV Web Client we get the following error message:
"Server file access by C/AL functions is disabled. Contact your system administrator".
I checked the setup in the administration NAV tool for each server (there are 4 servers for the web client) and the option is checked as you can see in the follow print screen.
0w99aaszfyio.png

Note: the connection of the clients to the server is established via a load balancer

Thanks in advance,
Michael

I am getting the following error when i am trying to process a Assembly item on a sales order

$
0
0
'you do not have the following permissions on table warehouse shipment line execute' This occurs when i select the post function. I am using NAV 2018 starter pack. I have check my warehouse, and inventory setting.

From Node.js connect to Navison with Webservice

$
0
0
Hello, does anyone of you have an example of how to access Nav from Node.js using a web service. Would need the connection to the pages (with filter) and to the codeunits.

thanks stony

How to avail 50% GST on purchase in NAV

$
0
0
Hello Experts,
Can anyone please advise me how to avail 50% GST in NAV for all the service purchase.
Like:
If suppose I have taken service from Registered vendor and he charged me 1180 inclusive 18%. and I have paid accordingly to the vendor.
now while doing to claim setoff I need to claim only 90, instead of 180.
please advise the setup process in NAV.

Thanks in Advance.

The remote certificate is invalid according to the validation procedure

$
0
0
The customer created a new test server. We installed Dynamics NAV2017 CU28.10.0.28682 version that connects to the existing test database.
We are using a webservice to send files to external party "HL". First we try to establish a connection by using HttpWebRequest with the HTTPS url of HL and with an Ocp-Apim-Subscription-Key in the header.
The connection failed with error ''The remote certificate is invalid according to the validation procedure".
When we do this with Postman, the connection is succesfully established.
So what is going wrong?

How to add a Api Web Service

$
0
0
In NAV2018 we have standard Api Web Service supporting REST and Json.
I want to add my own webservice using a customized page.
Anyone know of any how to do this?

Open up sales lines into full screen when in sales order?

$
0
0
What is the shortcut to open up the sales lines into its own screen?
using 2016 and you can only see 2/3 lines when entering products on a sales order, which is really annoying when entering 10-15 items.

Docker Pull NAV Version Question

$
0
0
Hi All,

This used to work fine for versions 2018 and below. I go to Help --> About, and I get the Version no. and I can find the cumulative update no. and I can find out the docker manifest to pull. E.g. to pull NAV2018-CU8, the docker command would be -->

New-NavContainer -accept_eula -containerName "NAV2018-CU8" -auth NavUserPassword -doNotExportObjectsToText -imageName "microsoft/dynamics-nav:2018-cu8" -shortcuts Desktop -includeCSide -licenseFile c:\temp\DEV2018.flf -updatehosts -ACCEPT_OUTDATED

But with the BC releases, I can't seem to get it to pull the version that I want.

According to "https://hub.docker.com/_/microsoft-businesscentral-onprem", you can specify the build no.

So the version I want to pull is 13.0.31719, but I Can't seem to pull this version. I have tried the commands below:

New-NavContainer -accept_eula -containerName 'NAVBCCSIDE2' -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/onprem:13.0.31719.0" -shortcuts Desktop -includeCSide -includeAL -licenseFile c:\temp\DEV2018.flf -updatehosts

New-NavContainer -accept_eula -containerName 'NAVBCCSIDE2' -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/onprem:13.0.31809.0" -shortcuts Desktop -includeCSide -includeAL -licenseFile c:\temp\DEV2018.flf -updatehosts

New-NavContainer -accept_eula -containerName 'NAVBCCSIDE2' -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/onprem:cu7" -shortcuts Desktop -includeCSide -includeAL -licenseFile c:\temp\DEV2018.flf -updatehosts

New-NavContainer -accept_eula -containerName 'NAVBCCSIDE2' -auth NavUserPassword -imageName "mcr.microsoft.com/businesscentral/onprem:cu7-w1" -shortcuts Desktop -includeCSide -includeAL -licenseFile c:\temp\DEV2018.flf -updatehosts

How do you pull a specific version from docker?

Jordi


Error: You do not have permission to create table

$
0
0
I have tried to create table with different IDs of different range of numbers but this error has occurred again and again:

"You do not have permission to create table
Contact your system administrator to have your permissions changed"


Does anybody have the idea how can I solve it?

AL extension version for Visual Studio Code cannot be used with the specified server.

$
0
0
Hi all,

maybe someone have an idea what can be reason for the error receiving when try to connect BC15 (Sandbox on local Docker).

"...
[2020-02-17 16:15:34.32] Publishing AL application using launch configuration 'Your own server'.
[2020-02-17 16:15:34.89] Targeting server 'http://172.22.160.178' and server instance 'BC'.
[2020-02-17 16:15:34.89] Using Windows authentication.
[2020-02-17 16:15:34.91] Sending request to http://172.22.160.178:7049/BC/dev/metadata
[2020-02-17 16:15:35.41] Error: This AL extension version for Visual Studio Code cannot be used with the specified server.
Please update the AL extension from the Visual Studio Code marketplace.

Additional information:
Server details
- Runtime: 4.2
- Web API: 4.0
- Debugger: 3.0

AL extension details
- Supported runtimes: 1.0, 2.0, 2.1, 2.2, 2.3, 2.4, 3.0, 3.1, 3.2, 4.0
- Supported Web API: 1.0, 2.0, 3.0, 4.0
- Supported debuggers: 1.0, 2.0, 3.0
…"


qbabuawm4lys.png


I've tried to update AL extension (there is nothing found to update) and I can't find 4.2 version, only 4.0 is allowed for me to select in "app.json".

Thanks!

Tip: add "button" to Report Request Page

$
0
0
Make a text constant with the name of the "button". Add a new field to the Request Page. SourceExpression is this text constant. Name and Caption empty, as in '', empty string, two apostrophes. Write your code into the OnDrillDown trigger. It will make the SourceExpression appear much like a hyperlink, the user clicks it, the code is ran.

Confirmed in NAV2016. Not sure about Business Central / AL.

Example use case: autofilling some fields/filters.

How to limit the item display in drop down list by user

$
0
0
I want to control the items in drop down list by user. for example: in Item Journal (Draw)-Apply Page, we use a Gen. Bus. Posting Group column(Drop Down List) . I want hidden some items by user.

Is there any way to do this?

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?

Business Central AL , disable Factobox Calculation

$
0
0
Hi all, everytime I Open a customer it's a pain it's very slow, I already disable facboxes but keep calculation those fields. exist any way to stop that calculation behind ?

Thank you,

Object of type Query with ID # could not be found.

$
0
0
Hi!

I'am trying to publish 7 Queries (Object ID 70540-70546) of type API but I get the following error message as soon as the client opens up.

0tiu9frww8xp.png

The strange thing is that it is Query number two it complains about, deleting that one and publishing just ends up with an error for the next query. help with a solution or thoughts about what may be wrong would be much appreciated.

JlT

Web client Vs Windows client

$
0
0
Under what circumstances would you recommend a user to use a web client other than a windows client?

Generate Empty Row

$
0
0
Hi, i'm building a report with Sales Invoice Header as a parent dataset and Sales Invoice Line as child dataset.
I want the report to generate 10 rows before page break.

1st. If the records per document no in sales line is less than 10 records, for example only 6 records, then it will generate 4 empty rows.
2nd. If the records per document no in sales line is more than 10 records, for example only 14 records, then it will show first 10 records then the remaining 4 is on next page.

How to generate empty sales line records for first case ? I heard some people suggest using integer however i never used it. Can someone explain to me using this example ? Thanks

Upload Files from NAV 2018 to AWS S3 Bucket

$
0
0
Hi,

Can you please help to know the possible ways to upload file(*.CSV) on AWS bucket s3??

Please help me

Thanks so much
Viewing all 14259 articles
Browse latest View live


Latest Images

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