Discussing new and innovative ways to integrate WPF and .Net into Dynamics AX<o:p></o:p>
· This scenario definitely warrants the need for a fix from Microsoft or perhaps a more flexible mechanism within AIF to pull-and-push data from-and-into MS Dynamics AX that doesn’t rely on a rebuilds of CIL.
· The class requires code-access-security and as a result needs to be set to run on “Server” only. The “true” setting on the “SysEntryPointAttribute” will perform authorisation checks on the calling user for all tables accessed by the dynamic code.
· Theoretically, the “xpp.execute()” method will return an “anytype”, however, on experimentation with this, I found it very problematic. It was far safer to return a string and then cast it to the desired type.
· If you enable “logging” on the integration port, you can track all the scripts passing between systems. This helps identify problems and audits data exchanges. The context of the “caller” will be used as the UserId that appears in the AIF tracking log.
Other Microsoft Sites
I'm a Customer
I'm a Partner
Follow Microsoft Dynamics