Skip to main content
Microsoft Dynamics GP forum

Setting QUANTITY on existing PO line doesn't count sales order commitments - eConnect

editSubscribe (0) ShareShare
Posted on by 115

When I set the QUANTITY property of taPoLine_ItemsTaPoLine for an existing purchase order line whose stock is committed to a sales order, the quantity uncommitted value is updated to the new value of QUANTITY, meaning the stock on the purchase order is both committed and uncommitted.

Take the following example:

A purchase order is raised for 100 of ITEM1. The stock is committed to a sales order. All 100 of the stock goes to the QTYCMTBASE field.

We receive an update for the purchase order and need to update the line to the new quantity value of 110. The QTYCMTBASE field stays at 100, but the QTYUNCMTBASE field is set to the new value of 110.

There are no QTYUNCMTBASE or QTYCMTBASE properties in taPoLine_ItemsTaPoLine. What am I supposed to do to ensure the uncommitted quantity is not set in this situation?

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans