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

TDS Calculation Problem

$
0
0
Dear All,

I am using MS Dynamics 2016 CU43 and find a issue when I have created a Purchase Invoice for foreign vendor my TDS is not calculating correct figure.

In TDS Setup I have given 20% rate of TDS % and 4% rate of eShess % and 2% rate of SHE Cess %. In General Ledger setup TDS rounding is 1.00.

I have given Currency Code : Pound (Rate is 91.92)

When I am doing Preview posting TDS Amount is wrong calculate. Please help.


i06h963ptub5.png

czex1jzqhemj.png
1fmgdiwhjwld.png
ncxnzvzwoof3.png
lajtt3e9e7w7.png




Regards,


Integer table position in report?

$
0
0
in report how position of integer table affects report
in sales invoice report 206 we add integer table after sales invoice header why we not put it on the top of data set and what would be it's effect
thank you

Stockkeeping Unit within Branch

$
0
0
Hi Experts,

I was trying to create and stock-keeping unit between the branch, the system (NAV-2016 IN) is throwing an error. below is the case.
Stockkeeping created for - Location From "A" TO location "B", but vice-versa created from Location "B" to Location "A", then the system (NAV 2016 IN) is not allowing the same.

Kindly advise ASAP.

Thanks

Analysis View/Account Schedule

$
0
0
hey nav people,
can somebody explain to me please what is the difference between these two? also when are you using account schedule and when analysis view.TIA

API differences between Nav 2018 and Business Central

$
0
0
Hello, i'm trying to determine if API's work the same in Business Central on premise as they did in Nav 2018, particularly the sales side, what I found so far leads me to believe they do, but I was wondering if anyone can confirm or refute this?
Thank you.

Encoding of UTF-8 vs UTF8-BOM

$
0
0
We have just gone live with NAV 2016 and we are creating a bunch of xml files using DotNet XMLDoc (XMLDoc := XMLDoc.XmlDocument;). Then I am using the XMLDocMgt codeunit to add nodes etc... In the end I am calling XMLDoc.Save to save the document which then is ftp'd to our website.

The problem is that these files encode in UTF-8-BOM not UTF-8. My declaration for all of these files is: <?xml version="1.0" encoding="UTF-8"?>. Turns out UTF-8-BOM doesn't work so well with our website. How can I force this to be UTF-8 and why is it choosing UTF-8-BOM?

One fix might be to change the encoding after the fact but not sure how to do that yet.

Ambigouos call when using json

$
0
0
For a solution I have "borrowed" heavily from kaufmann on how to extract values from json.
For the modifications inside NAV (11.0.21441) everything has worked like a charm. Now the customer wants to upgrade, and we want to go full on extensions this time. However now the code is failing due to an ambigouos call when when using for instance DateTime. Does anybody know how I can restructure the code so that is could work again in 14.0.32615?


procedure GetValueAsDateTime(JObject: DotNet MyJObject; PropertyName: Text) ReturnValue: DateTime
var
DotNetDateTime: DotNet MyDateTime; //Defined in the dotnet.al file
CultureInfo: DotNet MyCultureInfo; //Not really neccesary here, but kept since it is in the original code
begin
DotNetDateTime := JObject.GetValue(PropertyName).ToObject(GETDOTNETTYPE(DotNetDateTime));
ReturnValue := DotNetDateTime;
end;


For the various other places in the code where it says DotNetBoolean.Parse(JObject.GetValue(PropertyName).ToString); it works fine, but for the .ToObject I am now getting an error "The call is ambiguous between the following methods or properties: 'ToObject(DotNet "Newtonsoft.Json.JsonSerializer")' and 'ToObject(DotNet "System.Type")'AL(AL0196)"
I can propably get it to work using the ToString, and then evaluating it. But I would prefer to get the correct type straight away. Please advice.

Client sessions returns error "the connection to the server is no longer responding"

$
0
0
This is occurring with a job is running on the job schedular at around the same time that a back up is running on the SQL server. Is there a timeout setting that can be adjusted to allow for a possible slow response when the backup is running.

Deserialize Json as an array/list of results

$
0
0
Hi,

I am trying to call a Rest web service, which returns response in the form of a json

"Result": [
{"id":"1", "firstname":"xyz"},
{"id":"2", "firstname":"abc"}
]

I have created a dotnet dll and imported it into navision.
I use the ApiResult := JsonConvert.DeserializeObject(Json,GETDOTNETTYPE(ApiResult)); to deserialize the Json where ApiResult is set to the rootObject.

How can I store the result in an array or list and access it in C/AL?

Export Customers as a CSV file using Codeunit or Report

$
0
0
Hi All,

I want to export customers as a CSV file using Jobqueue.

Can you please provide me a piece of advice, whether i am creating code unit or report to run a jobqueue.

If it's possible through codeunit or report, please suggest me some piece of code to export a CSV file.

Thanks in advance,
Jacob.A

Need to know the correct use of //AP & ASP

$
0
0
Sorry if this is not the right place for this, first time asking on here.

We currently have a client with the request of having a UCC on every inner pack item on an order. The only way we know to do this is to //cpp every item creating many packages. What we've been doing afterwards is opening the packages and selecting manual shipment on the package page to prevent API call outs for a tracking number from the carrier and then creating a master package to add them to by using //ASP to add all of these packages into one. Is there a correct way to do this that would not require someone to //cpp every item to obtain a UCC instead of doing that then re-opening packages and adding to a master afterwards?

Running on Nav 2016 with lanham e-ship

Developers: Looking for advice

$
0
0
Thought this might turn into a really interesting thread. Here's my question:

If someone who is relatively tech-savvy, but has no formal development experience, wanted to get into NAV development, what would you recommend they do for 1st/2nd/3rd steps? I have my own ideas, but I'm not a developer, so I'm interested to hear what the pros think.

Any ideas are welcome and appreciated!

Has anyone done a succesful BC online implementation?

$
0
0
Has anyone done a +20 user Business Central online implementation that went well? I'm very concerned about going down the online path due to the lack of control with the technology and inability to modify source code.

No. Of Copies report?

$
0
0
i want to implement no of copies as original,duplicate,triplicate,extra copy, i have seen standered report 206 for reference but i unable to understand how to implement in my report can anyone tell me how to implement ?

untill now what i understand is use integer table and write code on pre,onafter trigger
what i don't under stand is how this reflect/design ssrs report layout to get multiple copies.how to design layout?

how does Posting preview populate

$
0
0
Hi Does anyone here knows how does the
G/L Row in Posting Preview of Cash Receipt Journal Populate?

rwv53hi97wd0.png

thanks's in Advance,
I'm using Dynamics NAV 2018 BTW.

Average Cost Unit Calc

$
0
0
Hi all,

I would like to get some help understanding this case.

I have a product that the unit cost method is average, and it's around 0,20€. We had made a buy that is not invoiced yet(image1) and the cost raised.
j5jrm68tlvqz.jpg



Then i realised that that purchase as also charges associated. I extracted all the movements to excel, sort by valudation date, and then sum the cost amount+ cost expected, also sum that cost acumulated and divided by the quantity acumulated.

wr6guhytttub.jpg


As you can see the GCQ19/01838 is the purchase receipt not invoiced and the GCQ19/01849 are the charges associated to the purchase receipt.

And it inflates the cost.



What i've done in a test DB i invoiced the purchase receipt and the price went right, and i guess it made the adjustements to the sales.
er6tp7m2sj52.jpg



But we have a problem here. We can only invoice when the document from the supplier arrives. But there are sales going on.

How can i fix this? Or at least for the user/director see and understands that the price will get right after it get invoiced.

How can i explain this? Or maybe a trick in code to fix this?

If is it possible to get all column name on the page object

$
0
0
Hi buddies:

If is it possible to get all column name on the page object?

About / site history

$
0
0
https://mibuso.com/about

>In july 2002, the domain "mibuso.com" was registered: MIcrosoft BUsiness SOlutions -> MIBUSO. The site got a new name, a new layout and new features. On 21 October 2002, I made the switch.

That is an amazing coincidence. I was hired on 21 or around that date anyway Oct 2002 for my first job at a NAV Partner. Pretty much straight out of college. First as Junior Sales, but I was terrible at that, so I transitioned into consulting because my managers noticed the sales demo PPTs I was making show a good understanding of the functionality, which made up for my, well, lack of salesman-level social skills.

We started our first implementation project half a year later. 3.6 was just out so we used that, although we were trained on 3.1, unfortunately noticed too late how buggy and half-baked 3.6 was. (3.7 was really a godsend.) So I took my problems here to mibuso and got really good answers. I think my first project would have failed otherwise.

Business Central - Doubt with the combination with c/al

$
0
0
Hello everyone,

I have custom code in C/AL, and i am developming a extension with al (Visual Code). But, the custom code, for example, a custom field, don´t appear in visual code.


Is it not possible to access the custom code from an extension?

Thank you.

Event Id : 20010. The date is not valid.

$
0
0
Hi All,

I have created a Jobqueue. And try to run this through NAS.

But if I am trying this I got the below warning in Event viewer log as

Event Id : 20010. The date is not valid.

Can you please help me to resolve this issue.

Thanks in advance,
Jacob.A

Viewing all 14248 articles
Browse latest View live


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