[ ax2012 ] audit trail

very useful feature to track who is create this voucher

audit_trail

Advertisements

[ ax2012 ] write file

TextIo textIo;
#File

textIo = new TextIo(@"C:\Nott\test.txt", #IO_WRITE);
textIo.write(strFmt("%1 %2 %3",!purchTable.ChangeRequestRequired, !this.doesHistoryExist(), PurchTableHistory::find(purchTable.PurchId, DateTimeUtil::maxValue()).DocumentState != VersioningDocumentState::Confirmed));
textIo.write("Line 2");

[ ax2012 ] data not sent from temporary table

Problem :

– preview report in visual studio is OK

– RDP is not called if the report is called from Ax

– There is an error in

Event viewer > Application > Microsoft Dynamics Ax

The description for Event ID 180 from source Microsoft Dynamics AX cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Microsoft Dynamics AX Business Connector Session 3.
RPC exception 1722 in Ping occurred in session 29 ,process: Ax32.exe ,thread: 3908

Root cause : The Business Connector does not point to the correct server.

See Ax client configuration, configuration target : business connector, and make sure the server is the correct server

client_configuraion

ref : https://community.dynamics.com/ax/f/33/t/126458.aspx