Skip to main content

AX 7 Certification MB6-890 Dumps Sample Question for Describe x++,Exception handling



1. Which of the following code editor come with Dynamics  AX by default in latest version?



MorphX IDE



Visual studio IDE



Borland IDE



All of the above








2. 'Intellisense' is

10/10




obsolete is current version of AX



available in current version of AX



available but not backward compatible.



available but not recommended. It will be no longer supported in next version.





 3. Which of the following is not a primitive data type in AX? 10/10



AnyType



GUID



DayOfWeek



UTCDateTime







 4. Arrays are obsolete in current version of Dynamics AX. 10/10 True or False



True



False








5. Which one is NOT a keyword in AX?

10/10




case



var



using



index







 6. Which of the following is correct about variables in AX? 10/10



Inline variable declaration is not supported.



Inline variable declaration is supported upto the point that no value is assigned to any of variable in the method.



Inline variable declaration is supported but a value has to be assigned at the declaration itself.



Inline variable declaration is supported without any of the above conditions.



 7. What will be the output of the expression? 22*1+5/1*!0



132



27



0



Division by zero exception will be thrown












X++ control statements




8. Which of the below are looping statement in AX?

10/10


While




Do...While




Do....For




For




9. Which is NOT a conditional statement in AX?

10/10




If



Whether



Else



Else If

















10. Inner methods

10/10


are allowed in AX.




are not allowed in AX.




are allowed but only inside non-static methods.




are allowed but only inside static methods.




11. Choose the correct statement.

10/10


Inline variable assignment is allowed.




Inline variable assignment is allowed except for arrays.




Inline variable assignment is allowed except for variable type




'AnyType' and 'var'.




Inline variable assignment is not allowed.




12. A built-in function can be used in AX

10/10


by applying scope resolution operator to global class




directly by tying function name in code




by instantiating an object of global class and then by this object.




Declare global class in class declaration.




Classes



13. Which are the key methods of a class

10/10




ClassDeclaration



Instance methods



Static methods



All of the above.





14. An inherited class

10/10




can override parent class methods.



has to override parent class methods



can't override parent class methods.



can add new methods but can't touch original parent class methods.








15. During initialization of a parent class

10/10




it is required to defne exact last level child class for the instance.



It is required to defne next level child class for the instance.



no need to defne child class.



It is not possible to create instance of parent class directly. It have to be done via child class instance.







16. The difference between a class and runnable class is/are 10/10



Runnable class can be directly run as 'Startup object' from VS.



Runnable class must have main method.



Runnable class must have Ƹnalize method



Runnalbe class can't be instantiated directly.




17. Protected variable

10/10




will be accessed only by parent class



will be accessed by parent and child classes



will be accessed by parent, child and third party classes.



None of the above.




Data manipulation





18. Which of the following joins can be used in select statement

10/10


Left outer



Right outer



exist



None of the above








19. Select statement fetches one record at a time. True or

10/10


False?






True



False





20. Next statement is used to

10/10


Get the value of next field in the record




Get the value of next selected record from select statement




Get the value of next table involved in the select statement.




None of the above.




21. ttslevel

10/10




is a background counter which system keeps to track the current transaction locking level



is increased on ttsbeging statement



in decrased on ttscommit statement



All of the above.








22. Which keyword is required to update the data?

10/10




 frstOnly



 frstFast



forUpdate



 frst 10







Exception handling


23. Which of the below is NOT an exception type in AX?

10/10




info



ccerror



dderror



CLRError








24. In case of nested try...catch blocks, if an exception is thrown

10/10



The nearest catch statement is executed




The last (fartest) catch statement is executed




The nearest catch statement is executed except if the code is under



transnational(tts) control.




The last catch satement in the same method is executed.




25. Which of the below is NOT a keyword?

10/10




Try



Retry



Catch



Recatch







26. Finally block is executed

10/10




only if exception is thrown and after catch statement



only if exception not thrown



Only if exception is thrown and before catch statement



Always, irrespective of exception






Popular posts from this blog

Code to get customer Primary Address in Ax 2012

Below Code to get customer Primary Address in Ax 2012. CustTable custTable_P; DirPartyTable dirPartyTable_P; DirPartyLocation dirPartyLocation_P; DirPartyLocationRole dirPartyLocationRole_P; LogisticsLocation logisticsLocation_P; LogisticsLocationRole logisticsLocationRole_P; LogisticsPostalAddress logisticsPostalAddress_P; LogisticsPostalAddress primaryAddress_P; while select custTable_P where custTable_P.AccountNum =='ED_01029' join dirPartyTable_P where dirPartyTable_P.RecId == custTable_P.Party join dirPartyLocation_P where dirPartyLocation_P.Party == custTable_P.Party && dirPartyLocation_P.IsPrimary==NoYes::Yes join dirPartyLocationRole_P where dirPartyLocationRole_P.PartyLocation == dirPartyLocation_P.RecId join logisticsLocationRole_P where logisticsLocationRole_P.RecId == dirPartyLocationRole...

Table lists which can have large number of records in Ax 2012

If you are facing database or application performance issue then you can check these tables that may have large number of records. ECORESPRODUCTVARIANTDIMENSIONVALUE INVENTBATCH ECORESPRODUCTMASTERDIMENSIONVALUE ECORESPRODUCTMASTERDIMENSIONVALUE ECORESPRODUCT ECORESPRODUCTTRANSLATION ECORESPRODUCT ECORESPRODUCTVARIANTDIMENSIONVALUE INVENTDIMCOMBINATION ECORESRELEASESESSIONPRODUCT ECORESRELEASEPRODUCTLEGALENTITY INVENTSUMLOGTTS INVENTCOSTLISTPARM GENERALJOURNALACCOUNTENTRY GENERALJOURNALACCOUNTENTRYZAKAT_SA SMMTRANSLOG LEDGERENTRYJOURNALIZING DIMENSIONFOCUSBALANCE MARKUPTRANS INVENTTRANSPOSTING INVENTREPORTDIMHISTORY SALESPARMLINE SOURCEDOCUMENTLINE INVENTTRANS TRANSACTIONLOG INVENTTRANSORIGIN INVENTSETTLEMENT SALESPARMSUBTABLE SALESPARMTABLE SOURCEDOCUMENTHEADER SALESPARMUPDATE SQLSYNCINFO GENERALJOURNALENTRY SUBLEDGERVOUCHERGENERALJOURNALENTRY CUSTSETTLEMENT SMMACTIVITYPARENTLINKTABLE INVENTSUMDATETRANS LEDGERTRANSSTATEMENTTMP DIMENSIONFOCUSLE...

Code to get Invoice settlement data for customer in ax 2012

This is simple Code to get Invoice settlement amount data for customer payment in ax 2012. This data is after posting of data. select sum(SettleAmountCur) from custSettlement where custSettlement.TransRecId == custtrans.RecId If you want get settlement amount before posting than you can refer spectrans table.The table SpecTrans contains all the transactions marked for settlement for payment journal. while select spectrans join custtransopen join custtrans where spectrans.SpecCompany == ledgerjournaltrans.DataAreaId && spectrans.SpecTableId == ledgerjournaltrans.TableId && spectrans.SpecRecId == ledgerjournaltrans.RecId && spectrans.RefCompany == custtranssopen.DataAreaId && spectrans.RefTableId == custtranssopen.TableId && spectrans.RefRecId == custtranssopen.RecId && custtransopen.RefRecId == custtrans.RecId && custtransopen.AccountNum == custtrans.AccountNum { info...