Set up posting definitions

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Posting definitions are used to define ledger line entries that are generated when a match exists between an originating transaction and the match criteria that you specify.

If you’re in the public sector and use general budget reservations, see also Set up general budget reservation rules and reservation types (Public sector).


General budget reservations are available only if the Public Sector configuration key is selected and if Microsoft Dynamics AX 2012 R3 Cumulative Update 8 is installed with the following hotfix: KB3047235

After you create posting definitions, you need to assign them to transaction types by using the Transaction posting definitions form. Transaction posting definitions specify transaction attributes, such as item codes for purchase orders or account codes for vendor invoices. They also identify which posting definitions to use with a specific transaction type. For more information, see Assign posting definitions to transaction posting types.


  • To use posting definitions for budget register entries, make the following selections:

    • In the General ledger parameters form, on the Accounting rules FastTab, select the Enable budget appropriation check box.

    • In the Budget parameters form, select a budget journal.

  • If the Public Sector configuration key is selected, do the following to use posting definitions for year-end closing and opening in the general ledger:

    • In the General ledger parameters form, on the Fiscal year close FastTab, select the Create closing transactions during transfer check box.

    • In the Main accounts - chart of accounts: %1 form, create a closing account.

Create posting definitions

  1. Click General ledger > Setup > Posting > Posting definitions.

  2. Click New to create a posting definition.

  3. Enter a name and description for the posting definition. You can enter additional details on the Memo FastTab.

  4. Select the module that the posting definition applies to.

  5. Specify the effective and expiration dates.


    To modify an existing posting definition, click New version and enter new effective and expiration dates. You can modify or add match criteria and generated entries.

  6. On the Entries FastTab, under Match criteria, click Add, and then select an account structure. In the Match account number field, enter the account segments that must be in the originating transaction.


    To match any value, leave the Match account number field blank. For example, 11005-BLANK-BLANK will match any account that starts with 11005.

  7. Optional: If you have multiple lines of match criteria, in the Priority field, enter a number to indicate the order in which the match criteria should be processed. Lines that have a priority of 1 are processed first.

  8. Under Generated entries, click Add, and select an account structure. In the Generated account number field, enter the account segments for which a ledger line will be generated when there is a match.


    To inherit any value, leave the Generated account number field blank.

  9. In the Generated debit/credit field, select Same if the generated entry is the same as the originating one. Select Balancing to balance the generated and originating entries.


    To generate closing entries for the public sector, select Balancing. The first account that you enter will automatically be the offset (balancing) account, even if you select Same.

  10. Optional: To link to an existing posting definition, click the Linked definitions FastTab and then click Add. Linked posting definitions must be associated with the same module.

    The Linked definitions FastTab is displayed only if the current posting definition is not linked to another posting definition. If it is already linked to another definition, the Used as link in FastTab is displayed.

  11. Optional: To test the posting definition, click Test. A test lets you enter sample transaction data and then view the system-generated ledger lines that will result when the posting definition is used.

See also

About posting definitions

Examples: Posting definitions

Posting definitions (form)

Assign posting definitions to transaction posting types

Transaction posting definitions (form)

Set up general budget reservation rules and reservation types (Public sector)