Working with general journals

When we open a general journal, we can start making transactions. Let's discuss the possibilities.

Working with general journals

The most important fields of a general journal are the Posting Date and the Document No. The total of amounts for each combination of these fields should always be in balance. In other words, all journal lines for any particular combination of Posting Date and Document No. should always add up to zero.

There are different account types we can post to. When we post directly to a G/L Account, it is clear what will happen; a new G/L Entry will be created for that amount. When we choose another Account Type, the sub administrations will start to work. For example, when we choose Customer, a Customer Ledger Entry will be created as well as a G/L Entry. Which G/L account is used is determined by the posting group, which we will discuss later in this chapter.

Here, we also see the Gen. Posting Type, General Business and Product Posting groups and VAT Business and Product Posting groups come back. These are inherited from the G/L Account we discussed earlier, but you can choose a different one if you want.

The VAT options determine the VAT calculation that is done automatically. A VAT entry is created with the VAT amount and additional G/L Entries are created.

There are two ways of balancing a general ledger. We can create two lines with the same debit and credit amount or we can use the balance fields.

Let's see some of this in an example. We have made a purchase somewhere at an irregular vendor. All we have is a small cash receipt with the amount and the VAT, which we want to bring into our company.

The amount is 440 including 10 percent VAT, so we want to create the following transaction:

Cost

VAT

Current account

400,00

40,00

440,00

The transaction can also be seen in the following screenshot:

Working with general journals

We can see that Microsoft Dynamics NAV calculates the VAT Amount and by populating the balance account, we only need one line, which is always in balance.

When we Navigate this transaction, we see that we have three G/L Entries and one VAT Entry.

Working with general journals

Opening the G/L Entries shows the correct amounts.

Working with general journals

In another example, we'll create a customer payment via the bank journal.

A bank journal is a general journal with a specific page ID. This allows the application to have a different user interface based on the same business logic. A specific feature of a bank journal is the possibility to easily apply payments to invoices.

Entry application

The bank journal does not directly post to a G/L Account but uses other account types. In this case, the Account Type is Customer and the Balance Account Type is Bank Account. Instead of a list with G/L Accounts, the Account No. field now refers to the Customers and the Balance Account No. fields refer to the Bank Account. The latter is automatically populated from the Journal Batch definition.

We'll use the Apply Entries feature to determine which invoice this payment applies to. If we did not do this, the system would not know which invoice is paid.

Another option would be to automatically apply entries, but when a customer decides to skip a payment, the system might get confused, so it is highly recommended to apply entries manually.

When we post this journal and navigate the entries, we see that all necessary sub administrations are updated:

Entry application

In the previous section, we talked about using customer numbers and bank account numbers as an account number in the general journal. The system can then figure out what G/L Account numbers to use. But how does that work?

This is done using the various posting group matrices. Most application parts that post to the general ledger have their own posting group table. There are two types of posting groups: single layer and matrix layer.

The single layer has direct G/L Account columns and the matrix layer has an additional setup table:

Single layer

Matrix layer

Customer posting group

Vendor posting group

Inventory posting group

Job posting group

Bank account posting group

FA posting group

Gen. business posting group

Gen. product posting group

VAT business posting group

VAT product posting group

Inventory posting setup

Let's have a look at Customer Posting Groups:

Posting groups

We see three different codes with their own accounts. So where is this code used? Let's open Customer Card:

Posting groups

On the Invoicing tab, we see the customer posting group. So this is what determines the customer G/L Accounts.

We also see other posting groups on Customer Card. There is a Gen. Bus. Posting Group and a VAT Bus. Posting Group.

In our list, they are matrix layers. So they don't directly point to a G/L Account. When we open Gen. Bus. Posting Group, we see this:

Posting groups

Just a simple table connecting it to a Default VAT Business Posting Group. To see where the G/L Accounts are defined, we need to go to the General Posting Setup.

Posting groups

Here we can see that, when combined with a Gen. Prod. Posting Group, the G/L Accounts can be determined. So where does the Gen. Prod. Posting Group come from? To find out, we need to go to Item Card:

Posting groups

Here we can see the same tab, Invoicing, with the product posting groups.

Our journey ends here, as we can see the last matrix posting group, Inventory. When we open this setup, we see that it is determined by the combination of Inventory Posting Group and Location Code:

Posting groups

Apart from the general ledger and sub administrations, Microsoft Dynamics NAV allows a third level of posting. An unlimited number of dimensions can be attached to every posting and used to cross-analyze the system.

Dimensions originated from the old project code and department code functionality, allowing you to consolidate or differentiate costs and profits. The dimensions are determined via a filtering mechanism. Every master data record can have dimension definitions.

Let's look at the sample dimension codes and values:

Dimensions

The Dimension Code Area has several Dimension Values. Here, you can also have total records, just as in the general ledger.

When more than one master data record has the same dimension code with different values, it is able to set priorities. It is also possible to block combination of dimensions to be posted.

Dimensions are a powerful tool for analyzing data and structuring the system to avoid incorrect entries. However, it requires a lot of time and special skills to determine these combinations and maintain the setup.

We'll see more of dimensions as we discuss the reporting possibilities.

Microsoft Dynamics NAV allows budgeting as well. We can create our own budgeting codes. A budgeting code can be a year, or a department, or just some budget we want to try and throw away later.

Budgeting can be done on G/L Accounts but also on any dimension.

The decision of budgeting periods is very important. If you want to compare monthly budgets with real figures, it does not make sense to create a yearly budget. Most companies use monthly budgets. It is also most likely that we want to create budgets for income statement accounts, not for balance sheets.

Budgeting

Importing and exporting budgets to Excel is a very important feature. Here, we can easily copy and paste and, for example, automatically have the same values each month.

While most companies have accounting periods from January 1 to December 31 divided into months, there can be exceptions to this.

This is supported by Microsoft Dynamics NAV and set up in Accounting Periods:

Accounting periods

We are completely free to set up our own desired posting periods as long as there is a date algorithm.

Accounting periods

A posting period should also be closed when appropriate. When closing a posting period, all Income Statement G/L Accounts are set to zero and the profit/loss is posted to a balance account.

Accounting periods

When we run this batch, a general journal is populated with the postings. It is not recommended to make changes here.

Besides having the possibility of the extra reporting currency, every transaction in Microsoft Dynamics NAV can have its own currency. The transaction is transformed into Local Currency (LCY) with the current currency exchange rates.

Handling currency is simple, as long as the exchange rates do not change. After that, it can get complex. The exchange rate can change as often as you want but with a maximum of one per day. Before you consider implementing a daily change of exchange rates, you should look at the consequences.

When you change the currency exchange rate, everything in the system gets adjusted, which can lead to a huge number of transactions in your system. Changing the currency exchange rate requires the following two steps:

Consolidation means taking (part of) the general ledger of two or more companies together in one consolidated company. To handle consolidation in Microsoft Dynamics NAV, first the consolidation accounts have to be populated in the G/L Accounts. These consolidation accounts have to be valid accounts in the consolidation company.

A consolidation company is a "dummy" company in the database that just exists for consolidation purposes. The consolidation company has a business unit for each consolidated company.

The data can be exported out of the database via an XML or TXT format.

Consolidation

The data is imported via the Business Unit list in the consolidation company.

Consolidation

The other option is to import it from within the database with the Import Database function.

Most companies can issue VAT statements to get back the VAT they paid to vendors and pay the VAT they've received from customers. This is done in the VAT statement. This is a straightforward list where we can filter on the VAT entries.

VAT statement

Every country has its own VAT statement and many countries have localizations in this application area.

Some companies do bookkeeping because it is mandatory and do very little with the generated information, but there is a lot you can do with the information the system creates.

In bigger companies, using analysis tools is often the only way to get a clear view on the company's assets.

Financial management has a single general ledger setup table, which is important as many of these setup fields will determine how the core of Microsoft Dynamics NAV behaves.

The setup

We will discuss the setup options to find out what they do and to explore the possibilities of creating a flexible setup for an application: