Author Topic: Crash when settling tickets containing Tax mappings  (Read 10669 times)

QMcKay

  • Newbie
  • *
  • Posts: 35
  • Sip some Coffee or Wine at JavaVine!
    • JavaVine Cafe & Wine Bar
Crash when settling tickets containing Tax mappings
« 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
SambaPOS3 since 2013-10
SambaPOS 3.0.31
SQL Express 2008 R2 x64
Windows 7 SP1 x64

emre

  • SambaPOS Developer
  • Samba Team
  • Hero Member
  • *****
  • Posts: 1564
Re: Crash when settling tickets containing Tax mappings
« Reply #1 on: April 05, 2013, 03:55:41 pm »
Can you send me a db backup?
emre@sambapos.org

QMcKay

  • Newbie
  • *
  • Posts: 35
  • Sip some Coffee or Wine at JavaVine!
    • JavaVine Cafe & Wine Bar
Re: Crash when settling tickets containing Tax mappings
« Reply #2 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
SambaPOS3 since 2013-10
SambaPOS 3.0.31
SQL Express 2008 R2 x64
Windows 7 SP1 x64