Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug in Ax4 - Blanket Order. Is there a Hotfix for this?

3 views
Skip to first unread message

Raman

unread,
Nov 30, 2008, 9:03:01 AM11/30/08
to
Create a blanket order of more than 1 line.
Go through the process to start creating a Release Order.
Create a Release Order with only line 1 of the blanket order(say the first
line) and use a fraction of that Quantity ordered.

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

RHellstenius

unread,
Dec 16, 2009, 9:02:02 AM12/16/09
to
I recently came to the same conclusion and what I did was to look what differ
from the new AX (AX2009).
In this version MS have rewritten the code, to validate the
releaseOrderLine.salesQty in the method: setSalesLine() (in class:
SalesAutoCreate_ReleaseOrder.

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

0 new messages