Sunday, December 4, 2016

Ax debugging configuration,Enable database log, Deploy Default cubes in Axapta

How to set batch job in Axapta




Microsoft Dynamics Ax debugging configuration




Rest usage data for user in dynamics Axapta



Deploy Default cubes in Dyamics Ax




Wednesday, November 30, 2016

How to get new Sales order number,Project proposal id and Transfer order number in Ax 2012


To get new Sales order number,Project proposal id and Transfer order number in Ax 2012 You can get hints from below code.


 //Get new sales Id   
 salesTable.SalesId = NumberSeq::newGetNum(SalesParameters::numRefSalesId()).num();  
 //Get new project proposal id  
 NumSeq = NumberSeq::newGetNum(NumberSeqReference::findReference(extendedTypeNum(ProjProposalId)));  
 //Get new Transfer order number  
 inventTransferTable.TransferId = InventTransferTable::numberSeq().num();  

Where parameter table is used and extended data type passed in method.

Monday, November 14, 2016

Check SSRS Report data through job in Ax 2012

If you want to Check SSRS Report data through job in Ax 2012 without executing report then you can get idea from below code.

   SalesOrderValueTmp tempTable;  
   SalesOrderValueDP dataProvider = new SalesOrderValueDP();  
   SalesOrderValueContract contract = new SalesOrderValueContract();  
   contract.parmCustAccount("Test001);  
   contract.parmNoOfBuckets(6);  
   dataProvider.parmDataContract(contract);  
   dataProvider.processReport();  
   tempTable = dataProvider.getSalesOrderValueTmp();  
   while select tempTable  
   {  
     info(strFmt("%1,%2,%3,4",tempTable.CurrencyCode,tempTable.SalesId,
     tempTable.Monthname,tempTable.CurrentMonthSum));  
   }  

In this code while look is use to get data inserted in temporary table from data provider class . Contract object is SSRS Report contract class object.

Tuesday, October 4, 2016

Microsoft MB6-890 exam Certification Ax 7 Rainier questions and answers dump sample




1. Which of the below is NOT a component of AX architecture?

10/10

Forms engine



UI interaction layer



AIF



Caches







2. In new AX architecture, AOS windows service has been  removed. True or False?



True



False







3. Number sequence fall in which part of application stack? 10/10



Application suite



Application foundation



Application platform



None of the above. It comes as a separate model which is not part of any of above.







4. Identify all the conceptual areas of AX cloud architecture.10/10



Shared Microsoft services



Microsoft Dynamics AX



Microsoft Windows Azure



Microsoft Dynamics LifeCycle Services







5. Which of the below statement is true?

10/10




If an object fails in compilation whole build fails.



If an object fails in compilation, rest of the objects in the build will still work.



If an object fails in compilation, rest of the objects in the build will work but the build can't be deployed.



If an object fails in compilation, rest of the objects in the build will work but the package can't be created with error object.



6. What are the ways to arrange AX objects in application  explorer?



By type



By model



Search




Fixed








7. Choose the correct way to synchronize a table.

10/10




Right click on table and select synchronize



In project (where table is present), choose property to synchronize on build. Then build the project.



Right click the Tables node in application explorer and select synchronize.



Tables can only be synchronized from SQL server.





8. Forms can only edited in designer window not directly in  application explorer or solution explorer. True or False?



True



False








9. Which of the following statement(s) is/are correct?

10/10




A package can contain more than one model.



A model can contain more than one project.



A package can contain more than one project.




A model can contain more than one package.




10. Which of the below can be added as resource?

10/10




Image File



Excel File



External URL



All of the above.





11. Which of the below is a best practice for labels?

10/10




Label should be created for each external text.



Label should be created for each language in which AX is published by Microsoft.



New label should be created for each version of element.



None of the above.







12. Resources are stored in a system table in database. True  or False?



True



False








13. Identify the correct statement about labels.

10/10




Labels should be kept as plain text during development and should be created at the end of all development.



Labels should be created first before start of any other development.



Label file should be created before development and all labels post Ƹnal development.



None of the above.





14. Base enumeration elements can have

10/10


Values manually assigned to them.




Values automatically assigned to them.




Values decided upon run-time.




Values based upon formula.




15. Choose the correct statement

10/10


Base enum can extend any EDT.




Base enum can extend only EDT which is of type Base enum.




An EDT of type base enum can extend any base enum.




An EDT of type base enum can extend ony base enum whose element




values are manually assigned.




16. As a best practice, value of custom element in base

0/10




enumerator should



Start from maximum integer value descending.



Start from next higher integer value avaialble



Fit into the gap in existing element value if any.



Start after a gap from existing element values.








17. Which of the below is a primitive data type

10/10




Float



EDT



GUID



Base enumerator

18. Which property in the string type EDT cannot be overridden in child EDT?

10/10

String Size



Display Length



Button Image



Change Case




19. Identify the best practice for EDTs

10/10




EDT should be created for every field in table except primitive data types.



Only create a subtype when needed.



EDTs should pass a "Was a" test.



EDTs should be created for each non-atomic entity.

















20. Which table property is used for inheritance?

10/10




TableType



Extends



TableGroup



Abstract








21. Which is NOT a value in 'Table Type' property?

10/10




Miscellaneous



Regular



InMemory



TempDB








22. A clustered index is

10/10




Used to maintain data integrity in table.



Used to decide on data storage pattern in database.



Used to define unique data fields in table.



Used to deƸne alternative key Ƹelds in table.



23. Identify the type of table relations

0/10




Fixed field relation



Normal relation



Related field Ƹxed relation



Field fixed relation









24. As a table best practice

10/10




'Created by' property should be 'Yes' for all tables..



'Created by' property should be 'Yes' for all transaction tables.



'Created by' property should be 'Yes' only for table where this information is needed for business.



'Created by' property should be 'Yes' only for parameter tables.