HDTN-335170 - Tax Code setup with Calculation Method = Unit considers Rate currency as Functional Currency

Issue No: AR-20552
Created 3/12/2024 9:19:52 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-335170 - Tax Code setup with Calculation Method = Unit considers Rate currency as Functional Currency|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-335170]   + *STEPS* +   # Go to Sales A/R > Activities > Invoices. # Filter the reported Invoice. # Verify the Tax Details.   _NOTE : To create the same transaction as reported, create a Purchase Contract > Inbound Load Shipment > Lotted Inventory Receipt > Sale Contract > Allocation > Picked Lots > Outbound Load Shipment > Invoice._     + *ISSUES* +   The issue can be viewed and replayed in Douque 99 build 22.15.0306.1640     Tax Code setup with Calculation Method = Unit must consider Transaction Currency. Otherwise, it won't be possible to apply a tax unit rate for a country (such as Netherland, Switzerland, etc.) specific tax rate. Douque's functional currency will be USD where tax will be reported in EUR.   !pastedImage_4_17_2024__11_43_47_869.png|height=711,width=800!     !./Export/CRM/3f978588-224f-4250-acfd-437107d8d6ba.png|width=578!   The Tax Amount in this example should be EUR 1588. Current function does compute the tax amount to be in USD and converts to EUR by applying the exchange rate.   However, it must be noted that the tax rate of 0.20 per kg is stipulated in EUR, not in USD.   !pastedImage_4_16_2024__11_49_28_995.png|height=555,width=1095!   !./Export/CRM/2495cdd6-0b3c-4f2d-aa25-e73022874a11.png!   + *ACCEPTANCE* +   Tax Rate should follow the transaction currency and should not be converted.   | |net weight|tax rate|Tax amount|Currency| |Foreign tax amount| 7,940.00|0.2| 1,588.00|EUR| |Conversion of EUR to USD | | |1.08549| | |Functional tax amount| | | 1,723.76|USD|