Now go back to the Blanket Order. Go the Sales lines and tab to the Quantity
tab. Observe the RemainSalesPhysical Quantity.
The application has deducted the Release Order Quantity from ALL blanket
order lines.
So, now the blanket order has the wrong RemainSalesPhysical Qauntities on
its lines.
Also, try to create another Release Order and you will see crazy inital
quantities.
-
Raman
If you don´t have access to the new version, here is the fix I made to get
this to work:
Class: SalesAutoCreate_ReleaseOrder
Method: setSalesLine()
First: outcomment the validation of salesQty, like this:
//if (!releaseOrderLine.SalesQty)
// return;
then at the bottom of this method, add the following code snippet:
if (salesLine.SalesQty)
{
this.createSalesLine();
}
You also need to change the validation of empty salesLine rows in the
endUpdate() method, so it only validates the SalesTable, like this:
// since the customization now accepts empty salesLine, this has been
altered to only throw error
// if the salesTable is missing
//if (!salesLine || !salesTable)
if (!salesTable)
{
throw Exception::Error;
}
This got the problem fixed for me in a AX 4 SP 2 version.
Hope this helps you.
Sincerely
Richard Hellstenius
Accigo AB