PO confirmation error

Hi All,

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

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

Thanks in Advance…

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)?

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

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

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?

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

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");
}

Hi All,
Any suggestions…?

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

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

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 ?

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

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

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