Tuesday, December 14, 2010

ProdComReport_BE

4.431.123.118 is the sample number that can be used as branch number for companyinfo table branch number to generate report ProdComReport_BE.

This will return validation true : considers last two characters for validation against all other characters excluding '.'

Tuesday, November 2, 2010

Object 'FormRun' could not be created


Issue & Cause:
When opening report from Ax, if you are coming across this error, the main reson might be args are not getting passed from Form or to formfrom classes.

Solution:

Check the main method , it should be using client keyword, since args were passed from client.

Example : Public client static void main(Args _args)

Tuesday, October 26, 2010

Best Practices

Type 1: XML documentation is not well-formed

If this message is encountered first thing you shoulod do is to check opening and closing braces of tags specified on top of class methods for Parm, Remarks.

Also make sure that there is no condition written with < or >= conditions which might also be the cause as the compiler often confuses tags with greater than less than conditional operators.Example 7 > m > 12 can be written as between 7 and 12.

Type 2: Data object class SalesSalesEInvoice_CustTable is missing method existsParty.

For these type of error you can just opne the classdeclaration of the class and there will be service class make a note of it.
Then go to Tools > Development Tools > Application Integration Framework > Update Document service.
Click on option regenrate data objects and click ok which will synchrnize schema with table or class service, so if there is any inclusion or deletion of table fields it will get updated accordingly.

Friday, September 24, 2010

Bi Installation Error

Error:
AOS services WSDL port accessible

The Application object Server WSDL port muts be accessible. The connection to the WSDL port is determined using the following URI: https//:/DynamicsAX/Services/MetadataService

Resolution:

AOS is not started. Please check whether AOs is started.