Axapta 3.0 Programming
QUESTION 1
You troubleshooting for a customer running a 3-Tier environment who complaining that certain forms perform very slowly. What is the most likely problem and what should your course of action be?
The local Network interface card is too slow. Update your network card.
The Database server is overloaded. More memory is needed.
The Client memory is overloaded. Suggest local memory upgrade.
The form is set to execute on the client. Change the form to execute on the server.
Answer: D
QUESTION 2
You are debugging client server code. What must be considered before you begin?
The Debugger must be executed at the server .
You have to enable debugging on the server, for the application in question.
Debugging is not possible in 3-tier mode, only 2-tier RICH.
Debugging client server is not possible. You have to run 2-tier.
Answer: B
QUESTION 3
How can you change a 'Private' project to a 'Shared' Project?
Export the project and import it from the 'Shared' project node.
Delete the 'Private' project and re-create it in the 'Shared' node.
Drag it from the 'Private' projects node to the 'Shared' projects node.
Change the property from 'Private' to 'Shared'.
Answer: C
QUESTION 4
What is the difference between a bound control and an unbound control?
An unbound control is not related to a data source.
An unbound control is not part of a group.
An unbound control can be used outside a form.
A bound control cannot contain data.
Answer: A
QUESTION 5
When can the client connect directly to the database server?
In 2-tier mode.
In 3-tier mode with a RICH client.
In 3-tier mode with a THIN client.
Never. The application server handles all the database connectivity.
Answer: A,B
QUESTION 6
When directly integrating with Microsoft Axapta, such as posting ledger transactions, there are two main approaches; through journals or via API.in what case would a journal be the best choice?
When performance is critical.
When posting large transaction volumes.
When manual user input is desired before posting.
When specific number sequences are required for voucher numbers.
Answer: C
QUESTION 7
You have written a class that updates a range of records and have included a mechanism for detecting errors. By what means should you communicate a fatal error to the user?
Using the infolog class, either as an Info(), Warning(), CheckFailed() or Error() nstance.
Using a custom form with a string displaying the error.
Using the infolog class as an Error() instance in combination with the hrow command; such as throw Erorr(atal Erorr Messge)
Invoking a new instance of the Dialog Class, displaying your error message in the dialog.
Answer: C
QUESTION 8
What is needed in a runbase class to save and load variables in the SysLastValue table?
The pack() and unpack() methods must be implemented according to the variables that must be saved and loaded.
The saveLast() method must be implemented to save the variables in the sysLastValue table, and the getLast() method must select the sysLastValue record and extract the variables.
No action is needed because this is done automatically.
The variables must be loaded before using the runbase class and then saved afterward.
Answer: A
QUESTION 9
How can a programmer use Microsoft Axapta to track long queries with a threshhold of more than 100 milliseconds?
In the user options form, select SQL trace, check Infolog in the Long queries group, and set the Threshold to 100.
Start Navision Microsoft Axapta with the start up command ongqueries:100.
Enter the Threshhold value 100 in the System trace form located in the Database folder of the Administrator tab of Main menu.
Select the SQL monitoring checkbox in the System monitoring form and enter the value 100.
Answer: A
QUESTION 10
What is important when importing objects?
Recids.
Table ids.
Label ids.
The need to observe what is in other layers.
Answer: B,C,D
QUESTION 11
If you want to delete the entire USR-layer from Microsoft Axapta, what files should you delete from the application folder?
All Axusr*.* files and the axapd.aoi file.
All *.usr files.
The Usr.axa file and the axapd.aoi file.
Only Axusr.aoi and axusr.aot.
Answer: A
QUESTION 12
Where is the application executed when running in 2-tier mode?
On the Application server.
On the Database Server.
On the Client.
Partially on the Application Server and partially on the Database Server.
Answer: C
QUESTION 13
To document any new reports made, where should you do this?
Application Developer Documentation node of the AOT.
Application Documentation node of the AOT.
System Documentation node of AOT.
Online help.
Answer: B
QUESTION 14
When using onstructor Controlled Inheritance. what class must all inheritors extend?
The Constructor class.
The RunBase class.
It does not matter.
The Constructors Super class.
Answer: A
QUESTION 15
Where are RecIds generated?
Application
Kernel
Database
Forms
Answer: B
QUESTION 16
What Class would you use for printing Sales Quotes, Picking lists, Packing slips or invoices from within X?
SalesPrintout.
Print_SalesLetters.
SalesDocumentPrint.
SalesFormLetter.
Answer: D
QUESTION 17
Where can you find and define global methods?
From the menu tools and global methods.
It is defined under the main AOT node "Global".
It is defined in the class called "Global".
You can not define global methods.
Answer: C
QUESTION 18
Which of the following statements explains the difference between the terms HIN client and ICH client?
A THIN client does not take up as much space on the hard disk as a RICH client.
The costs for adding users on THIN clients are lower than for RICH clients.
THIN clients do not read data directly from the database.
RICH clients cache more than THIN clients.
Answer: C
QUESTION 19
What does it mean when 'forupdate' is used in a select-statement?
A record will be locked when it is updated.
When the record is not cached, it will be deleted.
The record will be updated in the database when it is selected.
All records will be locked when fetched.
Answer: D
QUESTION 20
Which of the following pieces of information is NOT shown in the ystem monitoringform?
Select calls.
Amount of inserted data.
Object server connections.
Average latency on the network.
Answer: C
QUESTION 21
A customer transaction can be open or closed. Where is this information stored?
A. In the TransOpen table.
In the open field in the CustTrans table.
In the closed field in the CustTrans table.
In the CustSettlement table.
Answer: C
QUESTION 22
Where should DLL be based?
On the server so everyone has access.
On the server to prevent client registry failure.
On the client to prevent Server registry failure.
On the Client or Server. Either is fine.
Answer: C
QUESTION 23
When can a method on a form run on the server?
In any circumstance.
When it is requested by the server.
When it is declared as a server method.
Never.
Answer: D
QUESTION 24
What system classes does Microsoft Axapta offer to help integrate external DLL functions into Microsoft Axapta?
SHELL32_DLL
KERNEL32_DLL
DLL
DLLFunction
Answer: C,D
QUESTION 25
Which of these statements will result in an updated record?
Select
where;[Tableoprations]
update;
Select forupdate
where;[Tableoprations]
update;
Select firstonly
where;[Tableoprations]
update;
Select firstfast
where;[Tableoprations]
update;
Answer: B
QUESTION 26
What happens when importing the Address form from the SYS-layer into the USR-layer when the Address form in the USR-layer has modifications?
The import deletes the form in the USR-layer.
The import is ignored.
The import overwrites the USR-layer.
The form is imported with the name opyOfAddress?
Answer: C
QUESTION 27
The Microsoft Microsoft Axapta programmer uses the cross-reference to see where the display method remainAmountMST on the ustTrans table is used in the application. The cross-reference reveals that the ustTrans form does not use it. Why might this be the case?
The cross-reference has NOT been updated for the CustTrans form.
The cross-reference has NOT been updated for the CustTrans table.
The cross-reference does NOT show use of display methods in form controls.
The cross-reference does NOT show use of display methods in general.
Answer: C
QUESTION 28
When using onstructor Controlled Inheritance where should the Main method sit?
There must be a Main method on each inheriting class (sub class). They each call the Constructor-method on the Super Class.
There can only be one Main method and it must sit on the Constructor (Super class).
There must be a Main method on both the Constructor and each of the inheriting classes.
When using onstructor Controlled Inheritance there is no need for a Main method.
Answer: B
QUESTION 29
In order to obtain the best 3-tier performance, it is appropriate always to:
Place all database accessing code in classes.
Only access data directly by calling stored procedures.
Use as few System calls as possible.
Concentrate database accessing code in tables.
Answer: D
QUESTION 30
What is the difference between RunBase and RunBaseBatch?
RunBase is a system class and RunBaseBatch is not.
RunBase classes CANNOT be run in a batch.
RunBaseBatch CANNOT run journals.
RunBase CANNOT prompt for user input.
Answer: B
QUESTION 31
What field types can NOT be used as indexes?
Booleans
Reals
Memo
Enums
Answer: C
QUESTION 32
When is it appropriate to define table relations directly on tables instead of using the extended data types?
When one field in a table relates to one field in another table.
When multiple fields in a table defines one relation to multiple fields in another table.
When one field in a table relates to multiple fields in another table.
Never, relations should always be set up on the extended data types.
Answer: B
QUESTION 33
How should you change the label of an existing system field?
By modifying the existing label in the SYS label file.
By copying the object into a higher layer and then creating a new label in the SYP layer file.
By creating a new label in a new label file.
It can not be done.
Answer: C
QUESTION 34
What Foundation class could you use for holding a list of structured and formatted values such as: FirstName (str 30), LastName (str 30), PhoneNumber (integer)
Array
List
Struct
Container
Answer: C
QUESTION 35
Which of the following are areas where IntelliMorph will help you?
Automatically adding fields in field group on forms and report, when added on table field group.
All forms are designed by IntelliMorph by default.
Changing security or configuration will change the look of the forms and reports.
Automatically suggest method names in the editor.
Answer: A,B,C
QUESTION 36
Your Naming Convention is a three-letter prefix. Your Extended Data Types all contain this prefix. When dragging and dropping those on to a table, the full name, including the prefix, gets copied over. In what situations should you retain that prefix?
Never. Always take off the prefix for fields. They are referencing the correct Extended Data Type anyway.
Always.
When adding new fields to existing tables. It is advantageous to see where those new fields belong.
When creating new fields in new tables. The more visibly belong together that way.
Answer: C
QUESTION 37
When is it appropriate to define table relations directly on tables instead of using the extended data types?
When one field in a table relates to one field in another table.
When multiple fields in a table defines one relation to multiple fields in another table.
When one field in a table relates to multiple fields in another table.
D. Never, relations should always be set up on the extended data types.
Answer: B
QUESTION 38
Where can you find and define global methods?
From the menu tools and global methods.
It is defined under the main AOT node "Global".
It is defined in the class called "Global".
You can not define global methods.
Answer: C
QUESTION 39
What Class would you use for printing Purchase Quotes, Picking lists, Packing slips or invoices from within X++?
PurchPrintOut.
Print_PurchLetters.
PurchFormLetter.
PurchDocumentPrint.
Answer: C
QUESTION 40
What Class would you use for printing Sales Quotes, Picking lists, Packing slips or invoices from within X++?
SalesPrintout.
Print_SalesLetters.
SalesDocumentPrint.
SalesFormLetter.
Answer: D
QUESTION 41
When you're importing projects where there is more than one programmer, what should you consider?
Nothing else - Microsoft Axapta will handle any conflict.
Check for conflicts before the import, then let Microsoft Axapta handle any object conflicts.
Check for conflicts before importing. If any conflicts are found, import in another layer and manually resolve conflicting objects.
Use the upgrade tool under the Tools menu and import projects.
Answer: A
QUESTION 42
Where is the appropriate place to put code that executes only when a record gets deleted?
The Form.DataSource.ValidateDelete() method.
The Table.Delete() method.
The Table.DoDelete() method.
The Form.DataSource.DoDelete() method.
Answer: B
QUESTION 43
How does Microsoft Axapta support database replication?
Through standard database replication techniques.
Microsoft Axapta does not support replication.
Replication is only possible on Microsoft-SQL.
Replication is only possible on Oracle.
Answer: B
QUESTION 44
What happens when importing the Address form from the SYS-layer into the USR-layer when the Address form in the USR-layer has modifications?
The import deletes the form in the USR-layer.
The import is ignored.
The import overwrites the USR-layer.
The form is imported with the name opyOfAddress.
Answer: C
QUESTION 45
The purpose of the 'Dynamic' property on the fields node on a DataSource in a query is to determine whether the query should:
Work on all fields or on a subset of fields.
Work on all fields or on aggregate fields.
Work on all fields used in the query or on all fields.
Work on all fields used in indexes or on all fields.
Answer: A
QUESTION 46
A class runOn property is set to alledFrom . How can an instance method be enabled to run on a server?
Call it from some code running on the server.
Set the method to server (using the modifier in the method declaration).
Instantiate its class on the server.
Make the method static.
Answer: C
QUESTION 47
What is the needed access level on a menu item used to control?
The level of access needed in the underlying table in order for the menu item to appear.
The level of access needed in the specified security key for the menu item to appear.
The level of access the user will gain to the underlying table.
The level of access the user will gain to the underlying form.
Answer: B
QUESTION 48
Which of the following are areas where IntelliMorph will help you?
Automatically adding fields in field group on forms and report, when added on table field group.
All forms are designed by IntelliMorph by default.
Changing security or configuration will change the look of the forms and reports.
Automatically suggest method names in the editor.
Answer: A,B,C
QUESTION 49
The Microsoft Microsoft Axapta programmer uses the cross-reference to see where the display method remainAmountMST on the ustTrans table is used in the application. The cross-reference reveals that the ustTrans?form does not use it. Why might this be the case?
The cross-reference has NOT been updated for the CustTrans form.
The cross-reference has NOT been updated for the CustTrans table.
The cross-reference does NOT show use of display methods in form controls.
The cross-reference does NOT show use of display methods in general.
Answer: C
QUESTION 50
What is the difference between RunBase and RunBaseBatch?
RunBase is a system class and RunBaseBatch is not.
RunBase classes CANNOT be run in a batch.
RunBaseBatch CANNOT run journals.
RunBase CANNOT prompt for user input.
Answer: B
QUESTION 51
You need to temporarily hold five to ten records during the execution of a class . What is the recommended way of doing this?
Using a temporary table.
Using a record sorted list.
Using a container.
Using a formatted array.
Answer: C
QUESTION 52
When should you use a map as a datasource for a form, instead of tables?
When populating two (or more) different tables from one form simultaneously.
Never.
Whenever possible.
When using Web Forms.
Answer: B
QUESTION 53
What is the recommended way of retrieving the amount (number) of customers that have customer transactions in the system?
Select count(accountNum) from CustTable EXISTS JOIN CustTrans where CustTrans.AccountNum==CustTable.AccountNum; Info(strfmt("1"CustTable.AccountNum));
While select CustTable{Select custTrans Where custTrans.accountNum == CustTable.AccountNum;If(custTrans){I++}}Info(strfmt("%1",i));
Info(strfmt("%1", Select count(select * from CustTrans where CustTable.AccountNum==CustTable.AccountNum)From Custable));
While select * from custTable{Select firstOnly custTrans Where CustTrans.AccountNum==CustTable.AccountNum;If (custTrans){I++}}Info(strfmt("1"CustTable.AccountNum);
Answer: A
QUESTION 54
How can you create form-specific user help in Microsoft Axapta?
By creating a new document of type Help page in the AOT and then reference this page, from the form Help text property.
By creating a new Web document and then referencing this document from the form fields Help property.
Bringing up the help form, by pressing the F1 key, enables you to edit the help content for the form.
A new AOT object under Application Developer Documentation must be created and then referenced from the tables Help property.
Answer: C
QUESTION 55
When displaying the customer name on a customer transactions report and a customer transactions form, where is the BEST place to add the display method?
On CustTable table.
On CustTrans form.
On CustTrans table.
On CustTrans report.
Answer: C
QUESTION 56
You are writing a class that needs user approval to proceed. What is the best way of obtaining that input?
Use the Box Class.
Use the Infolog class.
Use the Dialog class.
Use a custom designed form, called via its Menu Item.
Answer: A
QUESTION 57
Where is the application executed when running in 2-tier mode?
On the Application server.
On the Database Server.
On the Client.
Partially on the Application Server and partially on the Database Server.
Answer: C
QUESTION 58
What methods from the included tables, are automatically exposed by a Map?
All the methods from all included tables.
Only the table methods mapped directly on the 'Methods' node of the Map.
All table methods that have not been overridden by the Map methods.
None.
Answer: D
QUESTION 59
What can be an advantage when executing an object through a Menu Item?
The check of security rights.
The ability to pass the Args-class to the object.
A Menu Item can be dragged and dropped directly into the code.
The Menu Item performs a runtime error detection on the object.
Answer: A,B
QUESTION 60
If the DLL you are using demands GUI interaction, where MUST it be based?
On the Server to facilitate direct application access.
On both Client AND Server.
Either, it does not matter.
On the Client.
Answer: D
QUESTION 61
How many patch layers are there in Microsoft Axapta?
One per layer.
Only one - the SYP layer.
One, only system layers have a patch layer.
Two, one for the system and one for the global solution layer.
Answer: A
QUESTION 62
In what situation is it an advantage to create a query as an AOT-object as opposed to creating it in X++ code?
Always. It keeps the coding to a minimum.
When the same query is used by several different objects.
Never. Coding it provides maximum control over the query.
When the query is relatively simple and has only a few datasources.
Answer: B
QUESTION 63
What property is NOT inherited when extending a data type?
Alignment
Relations
Array elements
Label
Answer: C
QUESTION 64
Where are RecIds generated?
Application
Kernel
Database
Forms
Answer: B
QUESTION 65
What property is NOT inherited when extending a data type?
Alignment
Relations
Array elements
Label
Answer: C
QUESTION 66
The Microsoft Microsoft Axapta programmer uses the cross-reference to see where the display method remainAmountMST on the ustTrans?table is used in the application. The cross-reference reveals that the qustTrans form does not use it. Why might this be the case?
The cross-reference has NOT been updated for the CustTrans form.
The cross-reference has NOT been updated for the CustTrans table.
The cross-reference does NOT show use of display methods in form controls.
The cross-reference does NOT show use of display methods in general.
Answer: C
QUESTION 67
What action is needed to effect a programming change to the query used by a datasource?
The executeQuery() method on the data source must be called.
The refresh() method on the data source must be called.
The init() method and the executeQuery() on the data source must be called.
No action is needed because this is done automatically.
Answer: A
QUESTION 68
What is the sequence of events, when deleting a record on a form?
DataSource.Delete -< DataSource.ValidateDelete ->Table.ValidateDelete -> Table.Delete
DataSource.Delete -> Table.Delete
DataSource.Delete -> Table.ValidateDelete -> Table.DoDelete
DataSource.Delete -> DataSource.ValidateDelete -> DataSource.DoDelete -> Table.Delete
Answer: A
QUESTION 69
What does it mean when 'forupdate' is used in a select-statement?
A record will be locked when it is updated.
When the record is not cached, it will be deleted.
The record will be updated in the database when it is selected.
All records will be locked when fetched.
Answer: D
QUESTION 70
In a display method on a table, the Name of a customer is being returned. Which of the following statements will return the information correctly?
Return (select firstonly custTable where custTable.AccountNum == this Account)Name;
CustTable CT;Select firstonly CT where CT.AccountNum ==
this Custaccount;Return CT.Name
C.CustTable CT;whileselect CT where CT.AccountNum == this Custaccoun{Return CT.Name;}
D.Select from CustTable where CustTable.AccountNum == Custaccoun;Return Cust table.Name;
Answer: A,B
QUESTION 71
What happens when two datasources are at the same level in a query?
The system cannot handle data sources on the same level in a query.
The data are retrieved depending on the relations between the two data sources.
The data are retrieved sequentially, and the records are taken from one data source after the other.
If the elation property is set to es on the lower data source, it is joined together as normal.
Answer: C
QUESTION 72
What is the difference between a bound control and an unbound control?
An unbound control is not related to a data source.
An unbound control is not part of a group.
An unbound control can be used outside a form.
A bound control cannot contain data.
Answer: A
QUESTION 73
Where should DLL be based?
On the server so everyone has access.
On the server to prevent client registry failure.
On the client to prevent Server registry failure.
On the Client or Server. Either is fine.
Answer: C
QUESTION 74
In what situation is it an advantage to create a query as an AOT-object as opposed to creating it in X code?
Always. It keeps the coding to a minimum.
When the same query is used by several different objects.
Never. Coding it provides maximum control over the query.
D. When the query is relatively simple and has only a few datasources.
Answer: B
QUESTION 75
When you're importing projects where there is more than one programmer, what should you consider?
Nothing else - Microsoft Axapta will handle any conflict.
Check for conflicts before the import, then let Microsoft Axapta handle any object conflicts.
Check for conflicts before importing. If any conflicts are found, import in another layer and manually resolve conflicting objects.
Use the upgrade tool under the Tools menu and import projects.
Answer: A
QUESTION 76
What Class would you use for printing Sales Quotes, Picking lists, Packing slips or invoices from within X?
SalesPrintout.
Print_SalesLetters.
SalesDocumentPrint.
SalesFormLetter.
Answer: D
QUESTION 77
What is the function of the following statement? table.setTmpData(Common)
It makes the cursor 'table' point to the same records as the cursor for 'Common' points to.
It temporarily sets the table object as a temporary table.
It permanently sets table object as temporary.
It sets the common object as temporary.
Answer: A
QUESTION 78
What can be an advantage when executing an object through a Menu Item?
The check of security rights.
The ability to pass the Args-class to the object.
A Menu Item can be dragged and dropped directly into the code.
The Menu Item performs a runtime error detection on the object.
Answer: A,B
QUESTION 79
You are troubleshooting for a customer running a 3-Tier environment who complaining that certain forms perform very slowly. What is the most likely problem and what should your course of action be?
The local Network interface card is too slow. Update your network card.
The Database server is overloaded. More memory is needed.
The Client memory is overloaded. Suggest local memory upgrade.
The form is set to execute on the client. Change the form to execute on the server.
Answer: D
QUESTION 80
How does Microsoft Axapta support ActiveX controls?
ActiveX controls are visual elements and are supported as form controls.
ActiveX controls are supported across all Microsoft Axapta objects.
ActiveX controls are visual elements and are supported on forms and reports.
ActiveX objects are supported in Microsoft Axapta classes only.
Answer: A
QUESTION 81
Which two of the following does Microsoft Axapta take into account when determining which fields will be shown on a form?
User groups of which the user is a member.
The required access level on the menu item starting the form.
The security setup.
The configuration keys on the field groups.
Answer: A,C
QUESTION 82
What is the difference between RunBase and RunBaseBatch?
RunBase is a system class and RunBaseBatch is not.
RunBase classes CANNOT be run in a batch.
RunBaseBatch CANNOT run journals.
RunBase CANNOT prompt for user input.
Answer: B
QUESTION 83
You are troubleshooting for a customer running a 3-Tier environment who complaining that certain forms perform very slowly. What is the most likely problem and what should your course of action be?
The local Network interface card is too slow. Update your network card.
The Database server is overloaded. More memory is needed.
The Client memory is overloaded. Suggest local memory upgrade.
The form is set to execute on the client. Change the form to execute on the server.
Answer: D
QUESTION 84
What action is needed to effect a programming change to the query used by a datasource?
The executeQuery() method on the data source must be called.
The refresh() method on the data source must be called.
The init() method and the executeQuery() on the data source must be called.
No action is needed because this is done automatically.
Answer: A
QUESTION 85
What is the standard ArrayLength value of a new extended data type?
0
1
2
4
Answer: B
QUESTION 86
What step should be completed after importing class objects?
Recompile.
Synchronize.
Observe best practices.
No additional steps are needed.
Answer: A
QUESTION 87
How can the StringSize property of a new extended data type, which is inherited from ustAccount be changed?
The StringSize of extended data types CANNOT be changed.
Change the StringSize on ustAccount
Change the StringSize on the new extended data type.
Change the StringSize on the top-level parent of the ustAccount.
Answer: D
QUESTION 88
What Foundation class could you use for holding a list of structured and formatted values such as: FirstName (str 30), LastName (str 30), PhoneNumber (integer)
Array
List
Struct
Container
Answer: C
QUESTION 89
Using a query, you want to join the CustTable and CustTrans to see only the customers that have transactions plus all of the transactions. Which join type should be used?
Exist
Inner
Outer
NotExist
Answer: B
QUESTION 90
You are writing a class where you need the user to select a customer for further processing. What is the recommended way of doing this?
Create a new form, using CustTable as the datasource. Put the AccountNum field on the form and code the lookup-method on the form to return the selected value using this: performDataBaseLookup()
Use the following syntax: CustAccount = CustTable.FieldLookup(AccountNum) in the class.
Access the Customer form through the MenuItem, using this syntax: CustAccount = MenuItem(CustTable).LookupField(AccountNum)
Invoke a new instance of the Dialog-class, and use the Extended Data Type ustAccount for DialogField to obtain the correct lookup, using the following syntax: DialogField DialogCustAccount= dialog.addField(typeid(CustAccount)),"ustomer Account")
Answer: D
QUESTION 91
What is the difference between a static method and an instance method?
A static method can be called without a declared object.
A static method can only be called once.
A static method does not support user dialogs.
Static methods are always used to construct objects.
Answer: A
QUESTION 92
When is a recId generated?
When creating a record.
When deleting a record.
When saving a record .
When changing a record.
Answer: C
QUESTION 93
When using index (not using hint) in a select statement without group by order by in what sequence
Random.
In the order specified by the index.
Sorted by the first field in the record.
By RecId.
Answer: B
QUESTION 94
Which of the following is true regarding accessing a member variable in a class?
An accessor method in the class must be written.
It is accessed directly by using the instance name and the member name.
A static method is used to retrieve it.
The accessor class is used to retrieve it.
Answer: A
QUESTION 95
Which of these statements will result in an updated record?
A.Select
where;[Tableoprations]
update; B.Select forupdate
where;[Tableoprations]
update; C.select firstonly
where;[Tableoprations]
update; D.select firstfast
where;[Tableoprations]
update;
Answer: B
QUESTION 96
When can a method on a form run on the server?
In any circumstance.
When it is requested by the server.
When it is declared as a server method.
Never.
Answer: D
QUESTION 97
What is the difference between a static method and an instance method?
A static method can be called without a declared object.
A static method can only be called once.
A static method does not support user dialogs.
Static methods are always used to construct objects.
Answer: A
QUESTION 98
What system classes does Microsoft Axapta offer to help integrate external DLL functions into Microsoft Axapta?
SHELL32_DLL
KERNEL32_DLL
DLL
DLLFunction
Answer: C,D
QUESTION 99
What is important when overriding the method Fetch() and not calling super()?
Call print() with every record to be printed.
Call run().
Call send() with every record to be printed.
Call fetchRecord() with the Query in the report.
Answer: C
QUESTION 100
What should be considered when importing table objects?
A.Be aware of changed table id;data may be lost.
Not all fields will be imported due to fielded conflict.
Tables cannot have more than 50 fields.
Observe table security rights.
Answer: A
QUESTION 101
What is the most significant reason behind Microsoft Axapta ability to easily scale its number of What is the most significant reason behind Microsoft Axapta ability to easily scale its number of concurrent users?
Microsoft Axapta Open Source Code Microsoft Axapta Open Source Code
Microsoft Axapta Configuration Key system Microsoft Axapta Configuration Key system
Microsoft Axapta Layer structure Microsoft Axapta Layer structure
Microsoft Axapta AOS technology Microsoft Axapta AOS technology
Answer: D
QUESTION 102
You are writing a class that needs user approval to proceed. What is the best way of obtaining that input?
Use the Box Class.
Use the Infolog class.
Use the Dialog class.
Use a custom designed form, called via its Menu Item.
Answer: A
QUESTION 103
When executing the following select statement, where is the value of "BALANCE" stored?
selectsum(balance) from custTable where custTable.blocked == DebcreBlocked::NO;
Microsoft Axapta creates a new variable on the fly for storing the result of the select statement. The new variable is referenced as "Balance".
Microsoft Axapta stores the value in a temporary sum field on the table. The result can be referenced by 'CustTable.Sum(balance)'.
The result of the select statement is stored in the "Balance" field and can be reference by CustTable.Balance.
The result of the select statement is NOT stored. A new variable must be manually created for storing the result.Variable =
Answer: C
QUESTION 104
What is the difference between a recId and an Id?
The recId can be of all data types, while Ids cannot.
The recId is always a string, while the Id can be of all data types.
The reuse of unused recIds is possible, while Ids cannot be reused.
The kernel generates the recId, while the Id is generated by the application.
Answer: D
QUESTION 105
You are in a situation where you could retrieve the same dataset through either a select statement or a query. What should be the determining factor?
Data volume. A select statement is preferable where large volumes of data are processed.
Personal preference. It does not matter which way you get the data, as long as you get the right data.
Tier-model. If you are running in 3-tier, Queries work faster than Selects.
User input. If you need user interaction regarding the data you need processed, a query is the preferable way
Answer: D
QUESTION 106
What method should you use for validating a field, populated by the user on form, before jumping to the next form field?
DataSource.ValidateField()
DataSource.ValidateInsert()
Table.validateField()
Table.ValidateInsert()
Answer: C
QUESTION 107
What is the purpose of the Configuration Key system?
A. To allow users different access rights to different parts of the system.
To allow enabling or disabling of application objects entirely.
To replace the old Feature Key system.
To enable direct interaction with the Microsoft Windows security system.
Answer: B,C
QUESTION 108
When creating a report that prints several sales orders with lines and wanting a page break each time the order number changes, where will the code be written?
Override the method Send().
Override the method Prompt().
Override the method Print().
Override the method Next() in the Query.
Answer: A
QUESTION 109
How is a method on a table map called?