Page 1 of 1

Tax Rate Bug

PostPosted: Fri Sep 14, 2018 12:07 pm
by SBarnes
Hi Mike,

There is a bug in the tax rate calls, all of them I suspect but I only fixed the Get.

Code: Select all
AppHost.Routes.Add(typeof(TaxRateGETRequest), "/TaxRates/{TaxID}", "GET", "Retrieves a tax rate.", "");


should actually be

Code: Select all
AppHost.Routes.Add(typeof(TaxRateGETRequest), "/TaxRates/{RecID}", "GET", "Retrieves a tax rate.", "");


as the property on the Request object is RecID and not TaxID and so you get a message about invalid property because the reflection fails.

Re: Tax Rate Bug  Topic is solved

PostPosted: Fri Sep 14, 2018 12:35 pm
by Mike.Sheen
Thanks Stuart - I've logged this as DEV-6878.

Mike