Error when posting receive order. InvalidRemoteCallException

Applicability

This Article is only relevant for Dynamics AX 2012 installations

Problem

When posting receive orders an invalidRemoteCallException is thrown from AX.

This is caused by a knowledge Base patch from Microsoft, that executes business logic client side, and not server side

Applicable for Dynamics AX 2012 R3 with KB3063879 installed. relevant for both Windows and Android versions

Solution

Modify the InventTransWMS_Register::getDateInvent(...) method to run server-side.

After making the change, remember to generate incremental CIL.