Display encumbered value on POL for orders made in currency other than system currency

Description

Overview: Currency setting on order record is currently ignored. When changing the currency setting for POL in cost accordion it should ensure that we are capturing cost and fund distribution information in that currency so the backend can convert it to the default currency when making an encumbrance.

Acceptance criteria:
Given the user selects a currency other than the default currency
When saving the POL
Then Cost information is shown in the correct format with the currency symbol (Including the Fund distribution amount)

Given the user selects a currency other than the default currency
When saving the POL
Then Initial encumbrance value is shown in the correct format in the fund distribution table

Given the user selects a currency other than the default currency
When saving the POL
Then Current encumbrance value is shown in the correct format in the fund distribution table

Given the user selects a currency other than the default currency
When saving the POL
Then expended value is shown in the correct format in the fund distribution table This will be done in a different story as it should not come from the encumbrance

Environment

None

Potential Workaround

None

Attachments

1

Checklist

hide

TestRail: Results

Activity

Show:

Dennis Bridges February 5, 2020 at 10:01 PM

Only thing missing here is the actual conversion of the money which will be handled in the backend.

Mikita Siadykh February 3, 2020 at 11:02 AM


tested on snapshot env, please review

Dennis Bridges January 29, 2020 at 3:59 PM

If it will automatically display on the invoice that is probably valuable. However, the users have not given use cases that will require it. So if it will not appear automatically we don't need to worry about it. thx!

Mikita Siadykh January 29, 2020 at 2:09 PM


one more question, will we have encumbrances in invoice or invoice line fund distribution?
I'm asking because we use common component for fund distributions and encumbrance info will be loaded for invoice automatically (but if it's required and BE will create it for invoice instances)

Dennis Bridges January 27, 2020 at 5:12 PM

Thanks
1) We should use transaction currency as the encumbrance should be in the system default currency that all budgets are in.
2) This is referring to the transaction amount from the encumbrance. Not the 'initial encumbrance amount'. It is the initial value less the awaiting payment and expended, basically. Which gives us the amount that is still encumbered at that point in time. If the encumbrance is 'released' then this value will be 0.

Done

Details

Assignee

Reporter

Tester Assignee

Priority

Story Points

Sprint

Development Team

Thunderjet

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created December 13, 2019 at 4:58 PM
Updated March 4, 2020 at 4:06 PM
Resolved February 5, 2020 at 10:01 PM
TestRail: Cases
TestRail: Runs