<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 22:21:56 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-563] Cannot delete PO Line if other PO Line on the same order is linked to an invoice line</title>
                <link>https://folio-org.atlassian.net/browse/MODORDERS-563</link>
                <project id="10143" key="MODORDERS">mod-orders</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt; Originally reported in Iris, reproduced in Iris Bugfest and in Snapshot on 2021-08-12.&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 in to &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;/li&gt;
	&lt;li&gt;Go to Settings/Orders/Purchase order lines limit&lt;/li&gt;
	&lt;li&gt;Change the limit from 1 to 2 or more, and Save&lt;/li&gt;
	&lt;li&gt;Go to the Orders app&lt;/li&gt;
	&lt;li&gt;Create a new order&lt;/li&gt;
	&lt;li&gt;Create PO Line 1&lt;/li&gt;
	&lt;li&gt;Create PO Line 2&lt;/li&gt;
	&lt;li&gt;Open the PO&lt;/li&gt;
	&lt;li&gt;In Invoices, create an Invoice and link it to PO Line A&lt;/li&gt;
	&lt;li&gt;In Orders, try to delete PO Line B&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;  &lt;br/&gt;
PO Line B is successfully deleted. &lt;img class=&quot;emoticon&quot; src=&quot;/images/icons/emoticons/check.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Actual Results:&lt;/b&gt;   &lt;br/&gt;
PO Line B fails to delete, with the following errors:&lt;br/&gt;
&quot;Error while deleting PO Line&quot;&lt;br/&gt;
&quot;This order or order line is linked to Invoice number(s) and can not be deleted&quot;&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;46002_thumb&quot; href=&quot;/rest/api/3/attachment/content/46002&quot; title=&quot;image-2021-08-12-17-52-24-070.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;46002&quot; file-preview-title=&quot;image-2021-08-12-17-52-24-070.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/46002?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/46002&quot; filename=&quot;image-2021-08-12-17-52-24-070.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/46002&quot; data-attachment-name=&quot;image-2021-08-12-17-52-24-070.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;198a8314-4523-45f2-a064-462a58c7a67e&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;

&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-quote&quot;&gt;&quot;errors&quot;&lt;/span&gt; : [ {
    &lt;span class=&quot;code-quote&quot;&gt;&quot;message&quot;&lt;/span&gt; : &lt;span class=&quot;code-quote&quot;&gt;&quot;This order or order line is linked to Invoice number(s) and can not be deleted&quot;&lt;/span&gt;,
    &lt;span class=&quot;code-quote&quot;&gt;&quot;code&quot;&lt;/span&gt; : &lt;span class=&quot;code-quote&quot;&gt;&quot;orderRelatesToInvoice&quot;&lt;/span&gt;,
    &lt;span class=&quot;code-quote&quot;&gt;&quot;parameters&quot;&lt;/span&gt; : [ ]
  } ],
  &lt;span class=&quot;code-quote&quot;&gt;&quot;total_records&quot;&lt;/span&gt; : 1
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;&lt;b&gt;Additional Information:&lt;/b&gt;&lt;br/&gt;
I get the same error when trying to delete either PO Line, even though, as far as I can tell, only one of them is actually linked to the Invoice line.&lt;/p&gt;

&lt;p&gt;URL: &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;&lt;b&gt;Interested parties:&lt;/b&gt;  &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A04e6a696-31fc-4eb7-ba03-b3bb97374090&quot; class=&quot;user-hover&quot; rel=&quot;712020:04e6a696-31fc-4eb7-ba03-b3bb97374090&quot; data-account-id=&quot;712020:04e6a696-31fc-4eb7-ba03-b3bb97374090&quot; accountid=&quot;712020:04e6a696-31fc-4eb7-ba03-b3bb97374090&quot; rel=&quot;noreferrer&quot;&gt;Ben Taylor&lt;/a&gt;&lt;/p&gt;</description>
                <environment></environment>
        <key id="59835">MODORDERS-563</key>
            <summary>Cannot delete PO Line if other PO Line on the same order is linked to an invoice line</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                            <parent id="10311">UXPROD-1141</parent>
                                    <priority id="10002" iconUrl="https://dev.folio.org/assets/jira-priority/jira-p3.svg">P3</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="5af5e627525ba96b58654f12">Ann-Marie Breaux</assignee>
                                                                <reporter accountid="5afc1ced2083b15a0bd3e494">Lisa Sj&#246;gren</reporter>
                                    <labels>
                            <label>communitycontrib</label>
                    </labels>
                <created>Thu, 12 Aug 2021 15:59:30 +0000</created>
                <updated>Tue, 9 Nov 2021 16:16:28 +0000</updated>
                            <resolved>Tue, 14 Sep 2021 09:23:44 +0000</resolved>
                                                    <fixVersion>12.1.3</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="141610" author="5afc1ced2083b15a0bd3e494" created="Thu, 12 Aug 2021 16:39:48 +0000"  >&lt;p&gt;ping &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;&lt;/p&gt;</comment>
                                                            <comment id="141611" author="557058:2f7b6349-450b-419a-ba54-c181f51383ad" created="Thu, 12 Aug 2021 17:04:49 +0000"  >&lt;p&gt;Also reproduced in bugfest-juniper&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;45992_thumb&quot; href=&quot;/rest/api/3/attachment/content/45992&quot; title=&quot;Screen Shot 2021-08-12 at 11.04.19 AM.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;45992&quot; file-preview-title=&quot;Screen Shot 2021-08-12 at 11.04.19 AM.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45992?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45992&quot; filename=&quot;Screen Shot 2021-08-12 at 11.04.19 AM.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/45992&quot; data-attachment-name=&quot;Screen Shot 2021-08-12 at 11.04.19 AM.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;5a2b9207-e728-4f75-b708-b254c92b0ed5&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="141612" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:57:29 +0000"  >&lt;p&gt;Verified on&#160;&#160;testing .&#160; Screenshots attached with Steps in atachments&lt;/p&gt;</comment>
                                                            <comment id="141613" author="5af5e627525ba96b58654f12" created="Tue, 14 Sep 2021 09:23:35 +0000"  >&lt;p&gt;Tested on folio-snapshot, and all looks fine. Thanks for fixing it, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A26cd7462-20d6-4e0a-9df3-a8ad4f3af238&quot; class=&quot;user-hover&quot; rel=&quot;712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238&quot; data-account-id=&quot;712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238&quot; accountid=&quot;712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238&quot; rel=&quot;noreferrer&quot;&gt;Aleksandr Oleinik&lt;/a&gt;!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10008">
                    <name>Defines</name>
                                            <outwardlinks description="defines">
                                        <issuelink>
            <issuekey id="12145">UXPROD-3061</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="59777">MODORDERS-609</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="45991" name="MODORDERS-563.postman_collection.json" size="2133" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 09:15:44 +0000"/>
                            <attachment id="45992" name="Screen Shot 2021-08-12 at 11.04.19 AM.png" size="239565" author="557058:2f7b6349-450b-419a-ba54-c181f51383ad" created="Thu, 12 Aug 2021 17:04:44 +0000"/>
                            <attachment id="45993" name="Step 1 - Order 10000 has 3 order lines -1.jpg" size="230118" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 11:39:10 +0000"/>
                            <attachment id="45994" name="Step 1 - Order 10000 has 3 order lines via postman .jpg" size="157624" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:49:24 +0000"/>
                            <attachment id="45995" name="Step 2 - Time 1 order line linked to invoice .jpg" size="216997" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:49:24 +0000"/>
                            <attachment id="45996" name="Step 3 - Try to delete not linked poLine Time 2 .jpg" size="222014" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:49:24 +0000"/>
                            <attachment id="45997" name="Step 3 - Try to delete not linked poLine to Time 3-1.jpg" size="79200" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 11:39:10 +0000"/>
                            <attachment id="45998" name="Step 4 - Succesfully deleted Time 2 .jpg" size="264374" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:49:24 +0000"/>
                            <attachment id="45999" name="Step 5 - Try to delete linked poLine to invoice .jpg" size="129835" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 08:49:24 +0000"/>
                            <attachment id="46000" name="When delete linked and not linked poLine to invoice.png" size="377282" author="712020:26cd7462-20d6-4e0a-9df3-a8ad4f3af238" created="Mon, 13 Sep 2021 10:13:10 +0000"/>
                            <attachment id="46001" name="cannot-delete-pol-if-other-pol-has-invoice_folio-snapshot.dev.folio.org.har" size="1784708" author="5afc1ced2083b15a0bd3e494" created="Thu, 12 Aug 2021 15:59:27 +0000"/>
                            <attachment id="46002" name="image-2021-08-12-17-52-24-070.png" size="274763" author="5afc1ced2083b15a0bd3e494" created="Thu, 12 Aug 2021 15:52:59 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                        <customfield id="customfield_10107" key="com.atlassian.jira.plugin.system.customfieldtypes:multiselect">
                        <customfieldname>Affected Institution</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10403"><![CDATA[MI State University/Library of Michigan]]></customfieldvalue>
    <customfieldvalue key="10417"><![CDATA[Trinity College]]></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_10014" key="com.pyxis.greenhopper.jira:gh-epic-link">
                        <customfieldname>Epic Link</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue key="$xmlutils.escape($text)">Create, close, cancel, Purchase Orders</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_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i036jb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10046" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Release</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10046"><![CDATA[R3 2021]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="375">ACQ Sprint 123</customfieldvalue>
    <customfieldvalue id="347">ACQ Sprint 122</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10044" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10108" key="com.atlassian.jira.plugin.system.customfieldtypes:userpicker">
                        <customfieldname>Tester Assignee</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>557058:2f7b6349-450b-419a-ba54-c181f51383ad</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 12 Aug 2021 17:04:49 +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>