<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Fri Feb 09 00:41:34 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[MODORDERS-991] Rounding for the total estimated price of the order line does not work after the rollover</title>
                <link>https://folio-org.atlassian.net/browse/MODORDERS-991</link>
                <project id="10143" key="MODORDERS">mod-orders</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;It was identified that after the rollover, for order lines with a currency different from the tenant&apos;s own, the total estimated price was calculated without rounding.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;Log into snapshot environment&lt;/li&gt;
	&lt;li&gt;Open Settings -&amp;gt; Tenant -&amp;gt; Language and Localization -&amp;gt; Change primary currency to NZD&lt;/li&gt;
	&lt;li&gt;Create FYA2024 and FYA2025&lt;/li&gt;
	&lt;li&gt;Create Ledger connected to the FYA2024&lt;/li&gt;
	&lt;li&gt;Create Fund connected to the ledger from #3&lt;/li&gt;
	&lt;li&gt;Create Ongoing order with reEncumber flag true&lt;/li&gt;
	&lt;li&gt;Create POL with physical unit price = 315.5, fund distribution -&amp;gt; fund = fund from #5&lt;/li&gt;
	&lt;li&gt;Open order from #6&lt;/li&gt;
	&lt;li&gt;Open Ledger from #4 and go to Rollover action&lt;/li&gt;
	&lt;li&gt;Run rollover with current settings:  &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;/rest/api/3/attachment/content/45512&quot; height=&quot;186&quot; width=&quot;634&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li&gt;Open network console and move to POL from #7&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt; poLineEstimatedPrice displays with correct rounding (two characters).&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Actual Results:&lt;/b&gt; poLineEstimatedPrice displays with incorrect rounding:&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;/rest/api/3/attachment/content/45514&quot; height=&quot;294&quot; width=&quot;462&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Additional Information:&lt;/b&gt;&lt;br/&gt;
Reported by Massey University&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Approach:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Need to add rounding to the &lt;a href=&quot;https://github.com/folio-org/mod-orders/blob/master/src/main/java/org/folio/service/orders/OrderRolloverService.java#L379&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;current line&lt;/a&gt; :&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
&lt;span class=&quot;code-keyword&quot;&gt;return&lt;/span&gt; Money.of(totalInitialAmountEncumbered, holder.getPoLine().getCost().getCurrency())
  .with(holder.getCurrencyConversion())
  .with(Monetary.getDefaultRounding()); &lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="60018">MODORDERS-991</key>
            <summary>Rounding for the total estimated price of the order line does not work after the rollover</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10001" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p2.svg">P2</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10003">Done</resolution>
                                                        <assignee accountid="557058:2f7b6349-450b-419a-ba54-c181f51383ad">Dennis Bridges</assignee>
                                                                <reporter accountid="712020:d30dbfc5-d6c1-452e-8e79-872c8acd995b">Khamidulla Abdulkhakimov</reporter>
                                    <labels>
                            <label>known-issue-orchid</label>
                            <label>known-issue-poppy</label>
                    </labels>
                <created>Wed, 10 Jan 2024 11:21:42 +0000</created>
                <updated>Fri, 2 Feb 2024 21:58:37 +0000</updated>
                            <resolved>Fri, 2 Feb 2024 21:58:37 +0000</resolved>
                                                    <fixVersion>12.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="140949" author="712020:d30dbfc5-d6c1-452e-8e79-872c8acd995b" created="Fri, 26 Jan 2024 09:50:50 +0000"  >&lt;p&gt;Tested locally. Rounding was applied correctly. Moving to QA&lt;/p&gt;</comment>
                                                            <comment id="140951" author="712020:e2367a36-2153-496f-96c4-c2d864c9599e" created="Tue, 30 Jan 2024 10:46:32 +0000"  >&lt;p&gt;Tested on &lt;a href=&quot;https://folio-snapshot.dev.folio.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-snapshot.dev.folio.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Works as expected, please see the attached screencast&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?name=jreimers&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;Joe Reimers&lt;/a&gt; could you please review? Thank you&lt;/p&gt;</comment>
                                                            <comment id="140953" author="641dab67f1b529dfa98e0fbf" created="Wed, 31 Jan 2024 09:08:01 +0000"  >&lt;p&gt;Tested&#160; on &lt;a href=&quot;https://folio-testing-sprint-fs09000000.ci.folio.org/&quot; class=&quot;external-link&quot; rel=&quot;nofollow noreferrer&quot;&gt;https://folio-testing-sprint-fs09000000.ci.folio.org/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Works as expected&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;45509_thumb&quot; href=&quot;/rest/api/3/attachment/content/45509&quot; title=&quot;2024-01-31_13h55_20.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;45509&quot; file-preview-title=&quot;2024-01-31_13h55_20.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45509?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45509&quot; filename=&quot;2024-01-31_13h55_20.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45509&quot; data-attachment-name=&quot;2024-01-31_13h55_20.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;3e19a584-ae91-4185-a321-79a87917a291&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                                                            <comment id="140955" author="63c9984bbfdb647eb1da556a" created="Thu, 1 Feb 2024 15:27:09 +0000"  >&lt;p&gt;It appears to look good, but &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A2f7b6349-450b-419a-ba54-c181f51383ad&quot; class=&quot;user-hover&quot; rel=&quot;557058:2f7b6349-450b-419a-ba54-c181f51383ad&quot; data-account-id=&quot;557058:2f7b6349-450b-419a-ba54-c181f51383ad&quot; accountid=&quot;557058:2f7b6349-450b-419a-ba54-c181f51383ad&quot; rel=&quot;noreferrer&quot;&gt;Dennis Bridges&lt;/a&gt;, could you please confirm?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="20938">FAT-11553</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="45509" name="2024-01-31_13h55_20.png" size="170961" author="641dab67f1b529dfa98e0fbf" created="Wed, 31 Jan 2024 09:07:36 +0000"/>
                            <attachment id="45510" name="C436766.mp4" size="3458554" author="712020:e2367a36-2153-496f-96c4-c2d864c9599e" created="Tue, 30 Jan 2024 10:45:47 +0000"/>
                            <attachment id="45512" name="image-2024-01-10-16-40-17-606.png" size="57280" author="712020:d30dbfc5-d6c1-452e-8e79-872c8acd995b" created="Wed, 10 Jan 2024 11:40:23 +0000"/>
                            <attachment id="45514" name="image-2024-01-10-16-43-42-992.png" size="67590" author="712020:d30dbfc5-d6c1-452e-8e79-872c8acd995b" created="Wed, 10 Jan 2024 11:43:48 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10107" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Affected Institution</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10388"><![CDATA[!!!ALL!!!]]></customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10057" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Development Team</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10185"><![CDATA[Thunderjet]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10063" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>PO Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10045" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Potential Workaround</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Round total estimated price for POL manually using DB or API call</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10106" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>RCA Group</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10367"><![CDATA[TBD]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|hzx49i:dv8zc9g3ewanqzyy0cfpyxnzz1zw84xi</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10046" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Release</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10079"><![CDATA[Quesnelia (R1 2024)]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="202">ACQ Sprint 183</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 30 Jan 2024 10:46:32 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>