Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055876
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSminoralways2024-07-01 13:022024-09-02 15:52
ReportergorkaionView Statuspublic 
Assigned ToTriage Omni OMS 
PriorityhighResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055876: Tax calculation in the WebPOS distrubute the adjustment amount on different lines

DescriptionSometimes, the tax engine needs to perform an adjustment on the lines if "Document based" tax calculation is used, in order to ensure that line amount match with the calculated taxes.

Currently the line adjusted is the one with highest rounding amount in the opposite direction. However if the required adjustment amount is for more than 1 cent the adjustment should be spread on different lines.

For example if the adjustment amount is of 0.02 the 2 lines with highest rounded amount shall be adjusted with 1 cent each.
Steps To ReproduceEnsure that the tax calculation base is at document level.
Create a ticket with 10 lines of 0.01 eur each.
POS calculates a tax of 0.00EUR on each line.
At header level the total is 0.10EUR with 0.02EUR tax.

To adjust those 0.02 cents if chooses one of the lines and changes the tax amount to 0.02. These makes the line net amount to be -0.01.

The negative line net amount causes some integrations to fail.
Proposed SolutionInstead of adjusting one line the tax engine should have adjusted 2 lines leaving the line net amount of those to 0Eur which is accepted by the integration.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0046071 closedranjith_qualiantech_com Tax calculation in the WebPOS should adjust the tax line with the greatest rounded difference 

-  Notes
(0166570)
frank_gonzalez (developer)
2024-07-02 08:56

Jir: https://openbravo.atlassian.net/browse/RM-15092 [^]

- Issue History
Date Modified Username Field Change
2024-07-01 13:02 gorkaion New Issue
2024-07-01 13:02 gorkaion Assigned To => Retail
2024-07-01 13:02 gorkaion Triggers an Emergency Pack => No
2024-07-01 13:02 gorkaion Issue generated from 0046071
2024-07-01 13:02 gorkaion Relationship added related to 0046071
2024-07-01 13:21 marvintm Assigned To Retail => Triage Omni OMS
2024-07-02 08:56 frank_gonzalez Note Added: 0166570
2024-07-16 16:07 aferraz Type defect => design defect
2024-09-02 15:52 dmitry_mezentsev Severity major => minor
2024-09-02 15:52 dmitry_mezentsev Type design defect => defect


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker