How to Enter Data in Fields

There are many general functions that help you enter data in a quick and easy way. The general functions for entering data are described in this article.

The examples in this article use the demonstration data.

Mandatory Fields

When you enter data on pages, certain fields are marked with a red asterisk. The red asterisk means that the field must be filled to complete a certain process that uses the field, such as posting a transaction that uses the value in the field.

Even though the field contains a red asterisk, you are not forced to fill the field before you continue to other fields or close the page. The red asterisk only serves as a reminder that you will be blocked from completing a certain process.

Finding Data As You Type

When you start to type characters in a field, a drop-down list is displayed and shows possible field values. The list changes as you type more characters, and you can select the correct value when it is displayed.

Many fields have a down arrow button that you can choose. You choose the arrow to get a list of data that is available to enter in the field. The button has two functions depending on the type of field:

Entering Quantities by Calculation

When entering numbers into quantity fields, such as the Quantity field on an item journal line, you can enter the formula instead of the sum quantity.

Examples

Entering Negative Numbers

You can enter negative numbers in two ways. The number -20.5 can be entered as:

Entering Dates and Times

You can enter dates and times in all the fields that are specifically assigned to dates (date fields). You can enter dates with or without separators.

NOTE

How you enter dates and times depends on your Region settings. For more information, see Changing Basic Settings.

Entering Dates

In a date field you can enter two, four, six, or eight digits:

Code Result
t This is today's date (the system date for the computer).
w This is the work date that is setup in the application. To change the work date, see Changing Basic Settings. You may want to use a work date if you have many transactions with a date other than today's date.

Entering Times

When you enter times, you can insert any separator sign that you want between the units, but it is not required. You do not have to write minutes, seconds, or AM/PM.

The following table lists the various ways in which times can be entered and how they are interpreted.

Entry Interpretation
5 05:00:00
5:30 05:30:00
0530 05:30:00
5:30:5 05:30:05
053005 05:30:05
5:30:5,50 05:30:05.5
053005050 05:30:05.05

You must enter two digits for each unit of time if you do not enter a separator.

Entering Datetimes

When you enter datetimes you must enter a space between the date and the time.

The following table lists the various ways in which you can enter datetimes and how they are interpreted.

Entry Interpretation
131202 132455 13-12-02 13:24:55
1-12-02 10 01-12-02 10:00:00
1.12.02 5 01-12-02 05:00:00
1.12.02 01-12-02 00:00:00
11 12 11-current month-current year 12:00:00
1112 12 11-12-current year 12:00:00
t or today today's date 00:00:00
t time today's date actual time
t 10:30 today's date 10:30:00
t 3:3:3 today's date 03:03:03
w or workdate the working date 00:00:00
m or Monday Monday of the current week 00:00:00
tu or Tuesday Tuesday of the current week 00:00:00
we or Wednesday Wednesday of the current week 00:00:00
th or Thursday Thursday of the current week 00:00:00
f or Friday Friday of the current week 00:00:00
s or Saturday Saturday of the current week 00:00:00
su or Sunday Sunday of the current week 00:00:00
tu 10:30 Tuesday of the current week 10:30:00
tu 3:3:3 Tuesday of the current week 03:03:03

Entering Duration

You enter a duration as a number followed by its unit of measure.

Here are some examples.

Duration Unit of measure**
2h 2 hrs
6h 30 m 6 hrs 30 mins
6.5h 6 hrs 30 mins
90m 1 hr 30 mins
2d 6h 30m 2 days 6 hrs 30 mins
2d 6h 30m 56s 600ms 2 days 6 hrs 30 mins 56 secs 600 msecs

You can also enter a number and it is automatically converted to a duration. The number you enter is converted according to the default unit of measure that has been specified for the duration field.

To see what unit of measure is being used in a duration field, enter a number and see which unit of measure it is converted to.

The number 5 is converted to 5 hrs, if the unit of measure is hours.

Using Date Formulas

A date formula is a short, abbreviated combination of letters and numbers that specifies how to calculate dates. You can enter date formulas in various date calculation fields and in recurring frequency fields in recurring journals.

NOTE

In all data formula fields, one day is automatically included to cover today as the day when the period starts. Accordingly, if you enter 1W, for example, then the period is actually eight days because today is included. To specify a period of seven days (one true week) including the period starting date, then you must enter 6D or 1W-1D.

Here are some examples of how date formulas can be used:

C Current
D Day(s)
W Week(s)
M Month(s)
Q Quarter(s)
Y Year(s)

You can construct a date formula in three ways.

The following example shows how current plus a time unit.

CW Current week
CM Current month

The following example shows how a number and a time unit. A number cannot be larger than 9999.

10D 10 days from today
2W 2 weeks from today

The following example shows how a time unit and a number.

D10 The next 10th day of a month
WD4 The next 4th day of a week (Thursday)

The following example shows how you can combine these three forms as needed.

CM+10D Current month + 10 days

The following example shows how you can use a minus sign to indicate a date in the past.

-1Y 1 year ago from today

See Also

Searching, Filtering, and Sorting Data
Working with Dynamics NAV



© 2017 Microsoft. All rights reserved.