# PO confirmation error

**URL:** <https://www.dynamicsuser.net/t/po-confirmation-error/64910>\
**Category:** Technical Forum\
**Created:** [January 23, 2018, 11:13am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910 "2018-01-23T11:13:14Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 23, 2018, 11:13am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/1 "2018-01-23T11:13:14Z")

</div>

Hi All,

I am getting the below errror when i am trying to confirm the Purchase order and when trying to view distributions…

 ![DUG.jpg](https://us1.discourse-cdn.com/flex023/uploads/dugusers/original/2X/0/02d9976ddeeb5616e840f95323ac9367c20e671f.jpeg)

Can any one please help me to solve this issue…?

Thanks in Advance…

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [January 23, 2018, 11:32am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/2 "2018-01-23T11:32:27Z")

</div>

What changes you have made on the purchase order line and what is the status of the purchase order line that you modified (partially invoiced)?

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 23, 2018, 1:01pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/3 "2018-01-23T13:01:36Z")

</div>

Hi Kranthi,  
The status of all PO lines is open order…I have invoiced only some quantities in the PO lines…

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [January 23, 2018, 1:14pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/4 "2018-01-23T13:14:08Z")

</div>

Modifying some of the field on partial or fully invoiced line is not allowed.  
For the list of the fields, have a look at \Classes\PurchLineType\checkInvoiceConstaints

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 23, 2018, 1:27pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/5 "2018-01-23T13:27:23Z")

</div>

I don’t need to modify anything kranthi…I just want to confirm the PO again to receive the item(Qty)…  
Why I couldn’t able to confirm again?

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 23, 2018, 1:28pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/6 "2018-01-23T13:28:18Z")

</div>

Thanks for ur reply… I will check \Classes\PurchLineType\checkInvoiceConstaints

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 24, 2018, 4:43am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/7 "2018-01-24T04:43:40Z")

</div>

The debugger is not hitting in this(checkInvoiceConstaints) method…insert method of MarkupTrans is called and throws error in following line …

if (this.isEditingBlockedByVendorInvoice())  
{  
throw error("@SYS327634");  
}

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 24, 2018, 5:06am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/8 "2018-01-24T05:06:46Z")

</div>

Hi All,  
Any suggestions…?

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 24, 2018, 5:33am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/9 "2018-01-24T05:33:21Z")

</div>

How can I fix this issue? It is an intercompany PO.

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [January 24, 2018, 6:51am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/10 "2018-01-24T06:51:00Z")

</div>

Have you tried to debug and see why the markupTrans is being updated/deleted/inserted?

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 24, 2018, 1:40pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/11 "2018-01-24T13:40:40Z")

</div>

I have debugged and found for the first two lines in PurchLine table isinvoicematched value is true. Could you please tell me whether it is correctly updated or not ? or It should be set to ‘no’ for my scenario ?

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [January 24, 2018, 1:44pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/12 "2018-01-24T13:44:52Z")

</div>

If the lines are partial or fully invoiced then isinvoicematched will be set to true.

---

<div class="post-metadata">

**Author:** ![SarathKumar](https://avatars.discourse-cdn.com/v4/letter/s/bbe5ce/32.png) [@SarathKumar](https://www.dynamicsuser.net/u/SarathKumar)\
**Post date:** [January 24, 2018, 2:07pm UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/13 "2018-01-24T14:07:39Z")

</div>

Okay. If i have received only 5 qty out of 10 then how can i receive the remaining ?

---

<div class="post-metadata">

**Author:** ![kranthi](https://avatars.discourse-cdn.com/v4/letter/k/e480ec/32.png) [@kranthi](https://www.dynamicsuser.net/u/kranthi)\
**Post date:** [January 25, 2018, 6:41am UTC](https://www.dynamicsuser.net/t/po-confirmation-error/64910/14 "2018-01-25T06:41:46Z")

</div>

Is that a different question? (as we are talking about the invoice here.)
