Description |
*Acceptance Criteria:*
* Calculate Sales Tax based on Site Indicator/Origin Tax Rates
* Add amount to Total
How to Find Origin Tax Rates
# Search Item Specific Tax Table for Matching record (pttaxmst/agtaxmst)
## Use Tax State/Locale1/Local2 matches tank
## Item # matches Tank
## Petrolac on Closest Effective Date <= Call Requested Date (pttax_eff_rev_dt)
## Set Sales Tax Rate = pttax_sst_rt or agtax_sst_rt
# Search General Tax Table for Matching Tax Record if Item is not found in step1
## Use Tax State/Locale1/Local2
## Item # = Blank
## Petrolac on Closest Effective Date <= Call Requested Date (pttax_eff_rev_dt)
## Set Sales Tax Rate = pttax_sst_rt or agtax_sst_rt
# Calc SST
## Ag Sales Tax = Total * Sales Tax Rate / 100
## Petro Sales Tax = Total * Sales Tax Rate
|