Hi,
I’ve got a perplexing problem. Not sure if this issue has always been around, or whether it is new to NAV 2015 (currently on version 8.0.40262.0).
The problem is this: I have a blanket purchase order that I created some time ago and on it are 2 things: 1 inventory item for qty 10 and one Charge (Item) for qty 1. Some time last year I used the “Make Order” button to create a PO for qty 5 of the item and qty 1 of the Charge (Item) leaving qty 5 of the item outstanding. This PO has been since received and fully invoiced. Now due to a weird situation with the vendor I want to ‘cancel’ the rest of the blanket order. Okay, it doesn’t let me because I have outstanding quantity (5 still haven’t been ordered). Easy fix right? Just reopen the order, change qty on the item to 5 (The same as the qty already received and invoiced), and then delete the order! Wrong, this does not work. I get the below error message:
Microsoft Dynamics NAV
Qty. Assigned must be equal to ‘1’ in Purchase Line: Document Type=Blanket Order, Document No.=1005, Line No.=20000. Current value is ‘0’.
OK
I’ve done some digging and debugging and as the error states, “Qty. Assigned” field for the item charge line in the “Purchase Line” table (39) is indeed 0. So is the “Qty. to Assign” field. These fields are flowfields linked to the “Item Charge Assignment (Purch)” table which in my database is completely empty … so there is nothing to sum to get an amount for this field.
Question is: how do I fix this? Is this something new to 2015 that didn’t get migrated properly? i.e. if I were to create a new blanket order would this all be handled properly? Or is this a bug? All I want to do is delete the outstanding blanket order (in fact there are 2 of them like this that I have the same problem). Can I just add a fake entry to the “Item Charge Assignment (Purch)” table so that this test passes and then delete those lines? Should I not be using Charge (Item)s on my blanket orders?
Thanks in advance for the help!