Question
can please someone help me with this NAV Programming Assign a value of 25 to a variable called total What data type do you use
can please someone help me with this NAV Programming
Assign a value of 25 to a variable called total
What data type do you use to store an employees birthday?
DateTime
Date
Text
Code
What data type do you use to store an employees name?
Code
Decimal
LongText
Text
What data type do you use to store an employees salary?
Decimal
Integer
Code
Text
What data type do you use to record whether an employee is tax-exempt?
Integer
Char
Boolean
Code
Explain what would happen if a variable of type text is assigned to
'Welcome ' + 'to Hawaii'
3 + 5
Explain what would happen in the following code. CodeA and CodeB are of data type code and TextA is of data type text.
CodeA := 'HELLO THERE';
TextA := 'How Are You? ';
CodeB := CodeA + '. ' + TextA;
Which of the following are not relational operators?
<
MOD
IN
OR
=
What is TODAY in C/AL language? What does it do?
The following code is a good example for understanding data types. Take a look at the following code and address the questions:
The following variables are created:
1.Name DataType Length
LoopNo Integer
YesOrNo Boolean
Amount Decimal
When Was It Date
What Time Time
Description Text 30
Code Number Code 10
Color Option
Note: For datatype Option OptionString values need to be provided. Here they are Red,Orange,Yellow,Green.
What message does each of these lines show when the code is executed?
Code Example
MESSAGE('The value of %1 is %2','LoopNo',LoopNo);
MESSAGE('The value of %1 is %2','YesOrNo',YesOrNo);
MESSAGE('The value of %1 is %2','Amount',Amount);
MESSAGE('The value of %1 is %2','When Was It',"When Was It");
MESSAGE('The value of %1 is %2','What Time',"What Time");
MESSAGE('The value of %1 is %2','Description',Description);
MESSAGE('The value of %1 is %2','Code Number',"Code Number");
MESSAGE('The value of %1 is %2','Color',Color);
Understand the DATE2DMY function. Write a code that displays the month of the WORKDATE
True of False
C/AL code must be indented properly to work.
When a CONFIRM function is used, a user response is required.
Documentation can be added in-line to C/AL code
WORKDATE value can be set to a different value from the system date
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started