Page 1 of 1

Tax Rate from BAS Code

PostPosted: Sat Sep 03, 2022 2:10 pm
by SBarnes
Is there a simple way to get the tax rate object or at least the id from the bas code without resorting to actually calling to the database with SQL or using ORM Lite, I looked at the entity object but it doesn't have a read from method for it?

Re: Tax Rate from BAS Code  Topic is solved

PostPosted: Mon Sep 05, 2022 10:52 am
by Mike.Sheen
SBarnes wrote:Is there a simple way to get the tax rate object or at least the id from the bas code without resorting to actually calling to the database with SQL or using ORM Lite, I looked at the entity object but it doesn't have a read from method for it?


No. BAS codes are not necessarily a one-to-one mapping to tax rate, so there would be no guarantee that if you had a BAS code you could obtain a single tax rate from it.

Re: Tax Rate from BAS Code

PostPosted: Mon Sep 05, 2022 11:04 am
by SBarnes
Is there a collection anywhere in a namespace that reads them into memory?

Re: Tax Rate from BAS Code

PostPosted: Mon Sep 05, 2022 11:12 am
by SBarnes
Don't worry I just found it JiwaFinancials.Jiwa.JiwaApplication.JiwaTaxSystemRates.TaxRates