Our customer (AX2009) got some strange error messages while posting Transfer and Purchase Orders ( InventTrans.inventMovement has been used incorrectly. )
In order to fix this i
ve changed one simple check - but I cannot say i fully understand it - so if somebody has a clue why its written this way I`ll appreciate the hint.
Class InventUpdate , method updateDimReservePhysical
Original Code :
if (changeDimFixed & inventTransIssue.InventDimFixed != 0)
What is that binary AND doing here while comparying DimIDs - in the current case one of them was 128, and the other 262144 (or similar).
This code is the same for AX2009, AX2012 R2/R3
Thanks in advance