SambaPOS Forum

English Boards => V3 Development => Topic started by: QMcKay on April 05, 2013, 02:52:59 pm

Title: Crash when settling tickets containing Tax mappings
Post by: QMcKay on April 05, 2013, 02:52:59 pm
Crash when settling tickets containing products that have Tax mappings.  If products have no tax mapping, or a tax mapping of 0%, then all is ok - no crash.

V3.03
Title: Re: Crash when settling tickets containing Tax mappings
Post by: emre on April 05, 2013, 03:55:41 pm
Can you send me a db backup?
emre@sambapos.org
Title: Re: Crash when settling tickets containing Tax mappings
Post by: QMcKay on April 06, 2013, 07:17:04 am
I found the problem.  It was incorrect Transaction Type in 2 of my 3 Tax Templates.  I have 3 taxes:

T0:   0% Sales Transaction
T12: 12% Payment Transaction
T15: 15% Payment Transaction

I corrected T12 and T15 to use Sales Transaction, and no more crash:

T0:   0% Sales Transaction
T12: 12% Sales Transaction
T15: 15% Sales Transaction

But you might want to add a check/catch for this...

Thanks,
Q