Including tax in total sale price.

Posted by Frank Computer on Stack Overflow See other posts from Stack Overflow or by Frank Computer
Published on 2010-06-13T07:16:11Z Indexed on 2010/06/13 7:22 UTC
Read the original article Hit count: 263

Filed under:

INFORMIX-SQL 7.3 Perform Screen:

Suppose I have a customer who wants to pay a $100 (7% tax included), what logic can I use so that when the cashier clerk enters $100 in the tax included sale amount, it will calculate the sale price and tax so that it adds up to $100.

I have the folllowing 3 field tags in my perform screen:

sprice = transaction.sale_price; stax = transaction.sale_tax; stotal = transaction.sale_total;

after editadd of transaction.sale_price

? ? ?

© Stack Overflow or respective owner

Related posts about informix