I use AX 2009. I would like to delete physical reservation from SalesLine. I use below code but it doesn’t remove transaction. After executed it transaction with physical reservation still exist. Why?
I also faced the same issue. All i missed is the trans id is not updated in the sales line and unreserve is not happening. just use the below code and check the conditions given below :
Here, if it was not still unreserving, just debug and see whether qty is in -ve or +ve . also kindly check that the trans id is matching with the respective sales line with the Invent trans dimid and sales line dim id…