when creating one purchase order for a sales order, there’s an error just after click button OK in creating purchase order page: sign on Quantity and Net amount have to be the same, because of this error, i can’t create the purchase order for this sales order, any body knows why? thank you.
Hi Vicky,
Did you find a solution to this problem? I am experiencing the same thing, but with a Sales Order for a particular customer only.
It is a standard control message to stop you posting something you should not - post a screen shot of the line, but essentially you need to not enter the amount as you are (I guess)
We have seen the same error generated through AIF. Not sure why we are getting this error.
Here is the XML being passed into the salesOrder create service.
- <ns0:SalesLine class=“entity”>
ns0:ItemId2212-04500</ns0:ItemId>
ns0:LineNum1</ns0:LineNum>
ns0:SalesPrice18.86</ns0:SalesPrice>
ns0:SalesQty20.00</ns0:SalesQty>
ns0:SalesUnitSL</ns0:SalesUnit>
</ns0:SalesLine>
- <ns0:SalesLine class=“entity”>
ns0:ItemId1812-03000</ns0:ItemId>
ns0:LineNum2</ns0:LineNum>
ns0:SalesPrice19.56</ns0:SalesPrice>
ns0:SalesQty40.00</ns0:SalesQty>
ns0:SalesUnitSL</ns0:SalesUnit>
</ns0:SalesLine>
- <ns0:SalesLine class=“entity”>
ns0:ItemIdI1812-10000</ns0:ItemId>
ns0:LineNum3</ns0:LineNum>
ns0:SalesPrice41.00</ns0:SalesPrice>
ns0:SalesQty6.00</ns0:SalesQty>
ns0:SalesUnitEA</ns0:SalesUnit>
</ns0:SalesLine>
- <ns0:SalesLine class=“entity”>
ns0:ItemIdG1812-06001</ns0:ItemId>
ns0:LineNum4</ns0:LineNum>
ns0:SalesPrice67.00</ns0:SalesPrice>
ns0:SalesQty8.00</ns0:SalesQty>
ns0:SalesUnitEA</ns0:SalesUnit>
</ns0:SalesLine>
Thinking this might have something to do with unit of measure conversions or some other internal code because the XML doesn’t show any immediate issues
It will be because the net amount is negative and the quantity positive or vice versa. You can manually recreate the message by purchasing 1 at -$10
Your answer makes sense to me if I were to see a negative value in the XML I provided. Are my eyes bad and do you see a negative value??
[:D] I was not implying it was in the file, but clearly by the message by the time AIF processes the file it has transposed it in a manner calling the error. Sometimes error messages can be called incorrectly or be misleading, but not sure that is the case here - I presume it never creates the line - but can you not post it, or is this on creation?
This error occurs on sales order creation. The message is relayed in the AIF queue manager and the AIF Exception log
This happened to me today, because i input the percentage discount into the wrong discount section. Once I corrected it it was fine.