Skip to:
Test case in demo.globalqss.com
FIRST TEST CASE
Log into GardenWorld Admin role
Open Payment and Receipt window
Add a new payment
Change currency to EUR
Check Override Currency Conversion Rate
Fill Payment Amount with 100
Fill Converted Amount with 90
ERROR: Rate is not recalculated
This is because the CalloutPayment.amounts doesn't calculate for new payments if the fields BP and Invoice are empty
Fill Rate with 100
Fill the Business Partner
Save
ERROR: The record is saved with wrong data
Complete
ERROR: The posting is wrong
SECOND TEST CASE
Add another Payment
Fill Business Partner
Fill Converted Amount with 90 (here Rate is correctly recalculated to 0.9)
Change Payment Amount to 120 (Converted Amount recalculated to 108)
Change Converted Amount to 95 ( Rate recalculated to 0.791667)
Change Payment Amount to 1000
ERROR: Converted Amount is not recalculated
This is because there is a strange validation at line 603 checking if the previous PayAmt is equal to Converted*Rate
Test case in demo.globalqss.com
FIRST TEST CASE
Log into GardenWorld Admin role
Open Payment and Receipt window
Add a new payment
Change currency to EUR
Check Override Currency Conversion Rate
Fill Payment Amount with 100
Fill Converted Amount with 90
ERROR: Rate is not recalculated
This is because the CalloutPayment.amounts doesn't calculate for new payments if the fields BP and Invoice are empty
Fill Rate with 100
Fill the Business Partner
Save
ERROR: The record is saved with wrong data
Complete
ERROR: The posting is wrong
SECOND TEST CASE
Add another Payment
Fill Business Partner
Change currency to EUR
Check Override Currency Conversion Rate
Fill Payment Amount with 100
Fill Converted Amount with 90 (here Rate is correctly recalculated to 0.9)
Change Payment Amount to 120 (Converted Amount recalculated to 108)
Change Converted Amount to 95 ( Rate recalculated to 0.791667)
Change Payment Amount to 1000
ERROR: Converted Amount is not recalculated
This is because there is a strange validation at line 603 checking if the previous PayAmt is equal to Converted*Rate