Documente Academic
Documente Profesional
Documente Cultură
Prepared for
Microsoft Corporation
Wednesday, 24 September 2008
Version .1 Draft
Prepared by
Fred Viidul
MBS Consultant
Fred.Viidul@microsoft.com
Contributors
[Document Contributors]
Prepared for Microsoft Corporation
The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication and is
subject to change at any time without notice to you. This document and its contents are provided AS IS without warranty of any kind, and should not be
interpreted as an offer or commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented. MICROSOFT
MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT.
The descriptions of other companies’ products in this document, if any, are provided only as a convenience to you. Any such references should not be
considered an endorsement or support by Microsoft. Microsoft cannot guarantee their accuracy, and the products may change over time. Also, the
descriptions are intended as brief highlights to aid understanding, rather than as thorough coverage. For authoritative descriptions of these products, please
consult their respective manufacturers.
This deliverable is provided AS IS without warranty of any kind and MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, OR OTHERWISE.
Microsoft and Windows are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
The names of actual companies and products mentioned herein may be the trademarks of their respective owners.
Page ii
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Change Record
Date Author Version Change reference
Reviewers
Name Version approved Position Date
Page iii
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Table of Contents
1 Executive Summary .................................................................................................................... 1
Business need for the project ........................................................................................................... 1
Documentation approach ................................................................................................................. 1
Documentation areas ....................................................................................................................... 1
2 Introduction ................................................................................................................................. 2
2.1 Data structure description principles ...................................................................................... 2
2.2 Dynamics AX overall data structure information ..................................................................... 2
2.2.1 Currencies ........................................................................................................................ 2
2.2.2 Table naming .................................................................................................................... 2
2.2.3 Data area ID ..................................................................................................................... 4
2.2.4 Rec ID and Rec version .................................................................................................... 4
2.2.5 Indexes ............................................................................................................................. 4
2.2.6 Base enumerations ........................................................................................................... 4
2.2.7 Extended data types ......................................................................................................... 4
2.2.8 Dimensions ....................................................................................................................... 4
2.2.9 Relations ........................................................................................................................... 4
2.2.10 Delete actions ............................................................................................................... 4
2.2.11 Field groups .................................................................................................................. 4
2.2.12 Methods ........................................................................................................................ 4
2.2.13 Automatic fields............................................................................................................. 4
2.2.14 Views ............................................................................................................................ 4
2.2.15 Table maps ................................................................................................................... 4
2.2.16 Transaction tables relation schema............................................................................... 4
Page v
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Page vi
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
1 EXECUTIVE SUMMARY
Goal of the current document is to describe main Dynamics AX data tables for the experts who are
not Dynamics AX professionals and want to get data form AX tables for further analyses and
reporting purposes.
Documentation approach
To achieve documentation goals, about describing data model for third party application usage,
each functional Dynamics AX module should next documentation topics to be covered:
1. Main tables relational structure for each documented module
2. Main tables key aggregate data columns description
3. Main tables dimension columns description and filtering suggestions
4. Hints and suggestions how to build and use most common queries in particular business
functionality area
Documentation areas
Document covers next functional areas in Dynamics AX (ordered by general interest towards this
module data):
1. General ledger and Tax
2. Banking
3. Accounts receivables
4. Accounts payables
5. Inventory management
6. Production
7. Project
Page 1
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
2 INTRODUCTION
2.2.1 Currencies
There are three different currency calcilations in AX environment, transaction currency, company
currency and secondary currency.
Transaction currency is currency what is used in relevant transaction (invoice currency, general
ledger transaction currency etc.) Currency code (field named usually CurrencyCode) and rate for
that currency are usually stored in the same table than currency amount.
Company Currency is defined in company information table (CompanyInfo). All transactions are
converted to the company currency accordingly to the currency rate defined in the transaction.
Amount fields meant for company currency are usually ending with capital characters “MST”.
Secondary currency adds possibility to keeb accounting transactions in two different accounting
currencies. This can be used if local company is part of bigger corporation and local and corporate
accounting currencies are different. Secondary currency is also widely used in European countries
who have their own currency, but due to the joining euro zone accounting should be done in two
currencies. Amount fields meant for secondary currency are usually ending with “MSTSecond”.
Page 2
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
DEL_* Tables what are not used in the current version, but
are still maintained for version upgrade purposes
Page 3
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
2.2.5 Indexes
Detailed information about indexes can be found in database
2.2.8 Dimensions
X
2.2.9 Relations
X
2.2.12 Methods
X
2.2.14 Views
X
and most of the data fielas are explained. Some areas are not presented in this overview table, but
they have separate section below (Production, Project Budgeting, Fixed Assets Budgets, Ledger
Budgets etc.)
Figure 1
Page 5
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
The core part of an ERP system is general ledger (GL), and at the center of general ledger is the
table where all ledger transactions are recorded in cumulative manner. In Dynamics AX, the table
where ledger transactions are stored is called “LedgerTrans”. The following chapter will describe
the key tables storing data regarding general ledger transactions.. It also describes different
dimensions that can be used for analytical purposes.
The table structure around GL transaction tables is shown in diagram 1. Next, we will look at these
tables and content inside of these tables.
Diagram 1 shows three tables that are dimension type tables (LedgerTable, LedgerTableInterval
and Dimensions) and three other tables that are fact tables (LedgerTrans, LedgerBalancesTrans,
LedgerbalancesDimTrans). LedgerTable is register for financial accounting ledger accounts and
LedgerTableInterval is the setup table where the grouping of different LedgerTable accounts are
described. The Dimensions is the table where additional attributes of the transactions for analytical
purposes are recorded (dimensions in AX are cross system attributes for designed analyses, not
only related with General Ledger functionality). As mentioned earlier, the LedgerTrans table is the
central table where all ledger transactions are stored. The tables LedgerBalancesTrans,
LedgerbalancesDimTrans consist of aggregated data based on data found in LedgerTrans. In
diagram 1, there ale also two views, LedgerBalances and LedgerBalancesDim, that are inturn
aggregated data from tables LedgerBalancesTrans and LedgerbalancesDimTrans.
Table descriptions in more detail:
Page 6
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Figure 2
3.1.1 LedgerTable
LedgerTable describes the chart of accounts. Most of the fields in this table are table are dedicated to general
ledger setup and transaction control. This table can be used as a dimensions table for the LedgerTrans,
LedgerTrans aggregation tables (LedgerBalancesTrans, LedgerbalancesDimTrans), and it can be used as an
aggregated view for ledger balances (LedgerBalancesTrans, LedgerbalancesDimTrans).
AccountNum CHAR(20) Unique identifier of accounts in the current table. It represents the
account number in the chart of accounts. Sometimes suggested
structure of this code is defined by local law. Based on the value of
this field, financial statements like a balance sheet and a profit and
loss statement are created.
The format of the AccountNum value usually represents the logical
structure of the company balance and profit and loss statement
(accounts starting with 1 are assets while accounts starting with 2
are liabilities etc.)
AccountName CHAR(60) The long name of the account. It can be used as additional
attribute or display name for the dimension.
AccountPIType INTEGER Field that describes the type of the account. This field is an
Page 7
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.1.2 Dimensions
This table contains analytical dimension values that are used in different transaction tables in the AX modules.
AX default dimensions are department (marketing, financials, production etc.), cost centres (production line no
1, Building x etc.), Projects (project1, project2 etc.). By default in AX there are these three dimensions
available. If needed, additional dimensions can be created to company data model. Dimension foreign key
fields in transaction and setup tables are named as following:
st
1 dimension – DIMENSION
Page 8
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
DimensionCode INTEGER Numeric value that describes the dimension sequence to what
dimension value is related:
Value 0 means that Dimension.Num = LedgerTable.Dimension
Value 1 means that Dimension.Num = LedgerTable.Dimension2_
Value 2 means that Dimension.Num = LedgerTable.Dimension3_
Etc.
This relation model is common in AX where dimensions are used
Closed INTEGER Yes / No type field where Yes indicates, that dimension is closed
and cannot be used in transactions.
Possible values are:
SQL AX value
value
0 No
1 Yes
3.1.3 LedgerTableInterval
A Table that is related to the LedgerTable lines where AccountPIType is 9 or 10. This table can be used for
dimension hierarchy design for ledger account number grouping purposes
AccountTableID INTEGER Table ID of the relevant table, for the intervals that are described.
Page 9
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
AccountRecId INTEGER Part of the table’s primary key that refers to the specific row in the
LedgerAccounts table
RecId INTEGER Unique row identifier in the table. RecId is part of the primary key
3.1.4 LedgerTrans
Central table in general ledger where all financial transactions are posted. Transactions in this table can be
created directly using GL journals or indirectly through other AX modules. This table can have (depending on
setup) the most detailed level of information regarding financial transactions. If no transaction level information
is needed, then it is more reasonable to use already aggregated data from views generated from the
LedgerTrans (LedgerBalancesTrans, LedgerbalancesDimTrans)
RecId INTEGER Unique row identifier in table and the primary key
Voucher CHAR(20) Ledger transaction identifier. Several number series are applied
to this identifier as AX creates GL transactions from various
locations. Sometimes the first or last few digits in the voucher
number remain the same by identifying the process that created
the transaction. For example AP006723, where “AP” stands for
account payables and is the identifying process in AX. In some
cases where such rules are used, these prefixes or suffixes can
also be used for analytical purposes.
Page 10
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL Value AX value
1 Transfer
2 Sales
3 Purch
4 Invent
5 Production
6 Project
7 Interest
8 Cust
9 ExchAdjustment
10 SummedUp
11 Payroll
12 FixedAssets
13 CollectionLetter
14 Vend
15 Payment
16 Tax
17 Bank
18 Conversion
19 BillOfExchange
20 PromissoryNote
21 Cost
22 Work
23 Fee
24 Settlement
Dimension CHAR(10) Analytical Dimension no. 1 value (see also table “Dimensions”
description)
Dimension2_ CHAR(10) Analytical Dimension no. 2 value (see also table “Dimensions”
description)
Dimension3_ CHAR(10) Analytical Dimension no. 3 value (see also table “Dimensions”
description)
DocumentDate DATE Date of the document. The document can have a different date
than the transaction (for example invoice date and invoice
posting date)
JournalNum CHAR(10) AX transactions are prepared in journals and then posted by the
system where also GL transactions are created. This field refers
to the specific journal in the module where the current
transaction is prepared and posted.
Page 11
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
JournalizeSeqNum INTEGER This field identifies the sequence order of the transaction
belonging to the journal described in field “JournalizeNo”
SQL AX value
value
0 None
1 ExchRateGain
2 ExchRateLoss
3 InterCompany
4 Tax
5 VATRoundOff
6 Allocation
7 InvestmentDuty
8 Liquidity
9 MSTDiffSecond
10 ErrorAccount
11 MSTDiff
12 YearResult
13 Closing
14 LedgerJournal
15 CashDiscount
16 ConsolidateDiffBalance
17 PaymentFee
18 TaxReport
19 TransferOpeningClosing
20 Bank
21 ConversionProfit
22 ConversionLoss
23 TaxWithhold
31 CustBalance
32 CustRevenue
33 CustInterest
34 CustCashDisc
35 CustCollectionLetterFee
Page 12
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
36 CustInterestFee
37 CustInvoiceDisc
38 CustPayment
39 CustReimbursement
40 CustSettlement
41 VendBalance
42 VendPurchLedger
43 VendOffsetAccount
44 VendInterest
45 VendCashDisc
46 VendPayment
47 VendInvoiceDisc
48 VendSettlement
51 SalesRevenue
52 SalesConsump
53 SalesDisc
54 SalesCash
55 SalesFreight
56 SalesFee
57 SalesPostage
58 SalesRoundOff
59 SalesPackingSlip
60 SalesOffsetAccountPackingSlip
61 SalesIssue
62 SalesCommission
63 SalesOffsetAccountCommission
64 SalesPckSlipRevenue
65 SalesPckSlipRevenueOffsetAccount
206 SalesPackingslipTax
71 PurchConsump
72 PurchDisc
73 PurchCash
74 PurchFreight
75 PurchFee
76 PurchPostage
77 PurchOffsetAccount
78 PurchaseInvoiceRoundOff
79 PurchMarkupFreight
80 PurchMarkupCustoms
81 PurchMarkupInsurance
82 PurchPckSlp
83 PurchOffsetAccountPckSlp
84 PurchReceipt
Page 13
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
85 PurchStdProfit
86 PurchStdLoss
87 PurchStdOffsetAccount
201 PurchCharge
202 PurchStockVariation
205 PurchPckSlpPurchase
203 PurchPckSlpPurchaseOffsetAccount
204 PurchPckSlpTax
91 InventReceipt
92 InventIssue
93 InventProfit
94 InventLoss
95 InventStdProfit
96 InventStdLoss
105 ProdReportFinished
106 ProdReportFinishedOffsetAccount
107 ProdIssue
108 ProdIssueOffsetAccount
109 ProdReceipt
110 ProdReceiptOffsetAccount
111 ProdPicklistOffsetAccount
112 ProdPicklist
113 ProdWIPValuation
114 ProdWIPIssue
115 ProdWrkCtrIssue
116 ProdScrap
117 ProdWrkCtrIssueOffsetAccount
118 ProdScrapOffsetAccount
121 ProjCost
122 ProjPayrollAllocation
123 ProjWIPCostvalue
124 ProjOffsetAccountItem
125 ProjStatusAccountItem
126 ProjTurnover
127 ProjOnAccount
128 ProjSalesvalue
129 ProjSalesvalueOffset
130 ProjAccruedTurnoverProd
131 ProjWIPProduction
132 ProJAccruedTurnoverProfit
133 ProjWIPProfit
134 ProjNeverLedger
135 ProjAccruedCost
Page 14
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
136 ProjWIPCost
137 ProjAccruedRevenueOnAccount
138 ProjWIPInvoicedOnAccount
139 ProjNoLedger
207 ProjAccruedRevenueSubscription
208 ProjWIPSubscription
141 PayrollDebitAccount
142 PayrollCreditAccount
161 FixedAssetsDebit
162 FixedAssetsCredit
163 CACLedgerJournalNoOff
24 ConsolidateDiffProfitLoss
Correct INTEGER Yes / No type field where information is stored if the current
transaction is a correction transaction.
Yes indicates, that transaction is correction type transaction and
debit and credit amounts are accounted with negative signs, not
to influence credit / and debit turnover. Correction type
transactions are eliminating previously made transactions, that
need to be cancelled (for example invoice crediting routine).
Values in SQL table are:
SQL AX value
value
0 No
1 Yes
Crediting INTEGER Yes / No type field where information is stored if the current line
is credit part of transaction. As transaction types (debit or credit)
can not be identified just by negative or positive amount the
special field for this purpose is defined.
Values in SQL table are:
Page 15
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
EuroTriangulation INTEGER Transactions what are related with triangular sales and
purchase schema, related with inventory transactions
between European Union member states. These transactions
are used for special Tax reporting.
Page 16
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
posting functionality
3.1.5 LedgerBalancesTrans
Table contains aggregated data from the LedgerTrans table. Debit and credit transactions from the
LedgerTrans.AmountMST and LedgerTrans.AmountMSTSecond fields are stored in different fields separating
the debit and credit turnover. Also, separation is made for different posting layer transactions based on the
field LedgerTrans OperationsTax. So from one field storing transaction amount (like AmountMST), six different
fields are created, where subsets of that field total amount are stored.
The aggregation level in the table is not best for the reporting. Due to performance considerations a new field
was added to the table primary key “LedgerBalancesVariant”. This field reduces the locking problem inside the
AX data structure, but on the other hand the table needs some further aggregation in order to be optimal for
reporting (see p. 3.1.7). Table aggregation is done by five primary keys.
PeriodCode INTEGER Enumerated value with three possible values. It indicates the
accounting period type that applies to the current aggregation.
Values are following:
LedgerBalancesVariant INTEGER Special field used to reduce the locking problem that slows
Page 17
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Page 18
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.1.6 LedgerBalancesDimTrans
Basically similar aggregation table as described in p. 3.1.5, but also all analytical dimension combinations are
added to the aggregations calculations.
Table contains aggregated data from table LedgerTrans. Debit and credit transactions from fields
LedgerTrans.AmountMST and LedgerTrans.AmountMSTSecond are stored in different fields separating the
debit and credit turnover. Also separation is made for different posting layer transactions based on the field
LedgerTrans OperationsTax. So from one field storing transaction amount (like AmountMST), six different
fieldd are created, where subsets of that field total amount are stored.
Aggregation level in that table is not best for the reporting. Due to the performance considerations new field
has been added to the table primary key “LedgerBalancesVariant”. This field reduces locking problem inside
AX data structure, but on the other hand table needs some further aggregation in order to be optimal for
reporting (see p. 3.1.8). Table aggregation is done by six primary keys (including all analytical dimension
combinations).
PeriodCode INTEGER Enumerated value with three possible choice shows what
accounting period type applies to the current aggregation.
Values are following:
LedgerBalancesVariant INTEGER Special field created to the table to reduce locking problem what
slowed down AX posting procedures. Field gets random number
from 0 to 19 generated based on user session id. It reduces
probability by 20 times that one user needs to wait for another
user while update has been carried through in the relevant line.
In AX version 2.5 there was no this mechanism and it caused
performance problems due to the SQL locking. For analyses
purposes this field should be ignored while aggregating data.
For that reason special views are created where this field is
excluded.
SystemGeneratedUltimo INTEGER Transactions what are generated by systematic job in AX. One
example can be opening balances lines, what are created during
year end procedures.
Page 19
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.1.7 LedgerBalances
LedgerBalanceTrans is view created on top of table LedgerBalancesTrans table. Purpose of that view is to
eliminate field LedgerBalanceTrans .LedgerBalancesVariant from analyses view. This field is created for
performance acceleration.
It is advised, that for analyses purposes view “LedgerBalances“ is used instead of table “LedgerBalanceTrans”
Page 20
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.1.8 LedgerBalancesDim
LedgerBalanceTrans is view created on top of table LedgerBalancesTrans table. Purpose of that view is to
eliminate field LedgerBalanceTrans .LedgerBalancesVariant from analyses view. This field is created for
performance acceleration.
It is advised, that for analyses purposes view “LedgerBalances“ is used instead of table “LedgerBalanceTrans”
Page 21
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Page 22
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.3.1 TaxTable
Central register for tax calculation codes. Table contains tax calculation principles and several fields for different
analysis and reporting codes.
All fields having names starting with “RepField…” are meant for tax analyses purposes. AX has special logics when
creating tax analysis reports on top of these reporting codes. At the same time by knowing purpose of the fields in
TaxTrans table and using reporting code combination tax reporting solutions can be created using third party products.
TaxCode CHAR 10 Unique identifier of the sales tax code that is easily identifiable.
The sales tax code identifies a tax that is connected with a sale,
Page 23
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
TaxPeriod DATE Code identifying in which the selected sales tax, represented by
the sales tax code, is calculated and paid. The settlement period
(stored in table TaxPeriodHead) includes the terms of payment
and the tax authority.
(TaxTable.TaxPeriod = TaxPeriodHead.Taxperiod)
TaxAccountGroup CHAR 10 Ledger posting group for the selected sales tax code. The value
in this field defines the general ledger accounts to which sales
tax amounts for the sales tax code are automatically posted.
TaxCurrencyCode CHAR 3 Currency in which the sales tax is calculated. If the original
transaction is in another currency, the tax is converted
automatically.
TaxRoundoff REAL The lowest unit for which sales taxes are calculated for the
selected sales tax code.
If taxes should be rounded off to a unit that is 1/100 of the
currency of the tax, the value 0.01 should be defined.
NegativeTax INTEGER Checkbox is selected if negative tax percentage for the sales tax
code is allowed.
0 No Not allowed
1 Yes Allowed
TaxCountryRegionType INTEGER Country/region type that controls item receipts and statistics.
SQL AX value
value
0 Domestic
Page 24
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
1 EU
2 EFTA
3 Third Country/
Region
NotEUSalesList INTEGER This check box is checked to exclude the selected sales tax
code from the EU sales list.
RepFieldBaseIncoming CHAR 10 Field in the sales tax report that contains taxable purchases
RepFieldBaseOutgoing CHAR 10 Field in the sales tax report that contains taxable sales
RepFieldBaseUseTax CHAR 10 Field in the sales tax report that contains taxable import
RepFieldTaxFreeBuy CHAR 10 Field in the sales tax report that contains tax-free purchases
RepFieldTaxFreeSales CHAR 10 Field in the sales tax report that contains tax-free sales
RepFieldUseTaxOffset CHAR 10 Field in the sales tax report that contains the transaction that
offsets the use-tax
RepFieldUseTax CHAR 10 Field in the sales tax report that contains use-tax
RepFieldTaxIncoming CHAR 10 Field in the sales tax report that contains sales tax receivables
RepFieldTaxOutgoing CHAR 10 Field in the sales tax report that contains sales tax payable
RepFieldBaseUseTaxOffset CHAR 10 Field in the sales tax report that contains offset taxable import
RepFieldTaxIncomingCreditNote CHAR 10 Field number used to report sales tax on purchase credit notes.
RepFieldBaseOutgoingCreditNote CHAR 10 Field number used to report taxable sales credit notes
RepFieldTaxOutgoingCreditNote CHAR 10 Field number used to report sales tax on sales credit notes.
RepFieldBaseIncomingCreditNote CHAR 10 Field number used to report taxable purchase credit notes
RepFieldUseTaxOffsetCreditNote CHAR 10 Field number used to report offset sales tax on import credit
notes.
RepFieldUseTaxCreditNote CHAR 10 Field number used to report sales tax on import credit notes.
RepFieldBaseUseTaxCredirnote CHAR 10 Field number used to report taxable import credit notes.
RepFieldTaxFreeSalesCreditNote CHAR 10 Field number used to report tax exempt sales credit notes.
RepFieldTaxFreeBuyCreditNote CHAR 10 Field number used to report tax exempt purchase credit notes.
RepFieldBaseUseTaxOffsetCreditNote CHAR 10 Field number used to report offset taxable import credit notes.
Page 25
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.3.2 TaxReportCollection
This table contains different tax reporting codes what can be specified in TaxTable, described in chapter 3.3.1.
All field from TaxTable starting with RepField*** are referring to table TaxReportCollection
TaxReportField INTEGER Reporting code in numeric format to be linked with different tax
codes in TaxTable reporting fields. Part of table primary key
3.3.3 TaxTrans
Central register for sales tax transactions. Table contains all tax transactions generated by AX system. By filtering and
summing different data from this table all kind of sales tax reports can be created.
Voucher CHAR(20) The voucher number from the original posted transaction. This
is usually generated automatically from a number sequence.
Voucher number in TaxTrans is the same as Voucher number in
LedgerTrans table.
TransDate DATE The date that the transaction was posted. This date determines
the settlement period of tax transactions and the date that the
accrual of interest, if any, begins.
Source INTEGER The source module of the sales tax transaction. This is set
automatically at posting.
3 SalesInvoice
4 PurchInvoice
Page 26
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
invoice posting
TaxCode CHAR(10) Sales tax code from TaxTable to identify what tax is calculated
AccountNum CHAR(20) The ledger account that the selected sales tax transaction is
posted to, usually as part of a summary transaction that is
posted for the entire voucher. The account is determined by the
setup of the ledger posting group of the sales tax code at the
time of posting.
TaxBaseAmount NUMERIC(28;12) The amount in the default currency (company currency) of the
tax base. If the tax base was originally posted in a different
currency, the amount in this field is converted using the
appropriate exchange rate in the Exchange rates form
TaxBaseQty NUMERIC(28;12) The quantity of units that the posted sales tax transaction is
calculated on. For example, packaging duty could be a sales tax
that is calculated on the basis of quantity.
TaxAmount NUMERIC(28;12) The sales tax in the default currency (company currency). If
necessary, the amount is converted using the exchange rates in
the Exchange rates form.
TaxAutoGenerated INTEGER If the check box is selected, the sales tax transaction is an
automatic sales tax transaction that is calculated. If the check
box is cleared, the sales tax transaction is posted manually.
For example when during sales or purchase process tax amount
have been changed manually this field value is “0”. Also
transactions created by periodical tax payment job are marked
as “0”.
Page 27
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Page 28
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
TaxInCostPrice NUMERIC(28;12) The sales tax amount that is a use tax and is posted as an
expense in the default (company) currency. Use taxes are
typically sales taxes that cannot be refunded and are added to
the company's expenses.
ExemptTax INTEGER Field what shows if current transaction is tax exempt or not.
TaxPeriod CHAR(10) The sales tax settlement period code that is posted on the
selected sales tax transaction
CurrencyCode CHAR(3) The currency code of the sales tax code (field TaxCode) that is
posted on the sales tax transaction.
SourceBaseAmountCur NUMERIC(28;12) The base amount for the tax calculation in the original currency
for the transaction. This is specified in Voucher currency.
TaxBaseAmountCur NUMERIC(28;12) The amount of the tax base in the sales tax code currency. If the
sales tax code currency is not the default currency code, the
amount is converted before the taxes are paid.
SourceTaxAmountCur NUMERIC(28;12) The sales tax amount in the original currency for the transaction.
If the currency code in the Voucher currency field is not the
default code, the amount is converted to the default currency
before sales taxes are paid.
TaxAmountCur CHAR(3) The amount of the sales tax in the sales tax code currency. If
the sales tax code currency is not the default currency code, the
amount is converted before the taxes are paid.
TaxOffsetAccountUseTax NUMERIC(28;12) The ledger account that the payable use tax amount is posted to
for the selected sales transaction (Use tax - Tax liability came
along with purchase).
ChargeAccount CHAR(20) The ledger account that use tax as an expense has been posted
to.
SourceCurrencyCode CHAR(3) The currency code used for the voucher journal.
Page 29
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Dimensions.DimensionCode = 1
SourceRegulateAmountCur NUMERIC(28;12) The adjusted sales tax amount in the original currency for the
transaction. For example the field is filled if user changes
manually sales tax amount before posting purchase invoice.
Fields TaxAmount and TaxAmountCur are containing already
changed amount. Field BaseTaxAmountCur reflects original
calculation without the change.
TaxInCostPriceRegulated NUMERIC(28;12) The sales tax amount that is a use tax, is manually adjusted
during entry, and is posted as an expense. Use taxes are
typically sales taxes that cannot be refunded and are added to
the company's expenses.
TaxInCostPriceMST NUMERIC(28;12) The sales tax amount that is a use tax and is posted as an
expense in the default (company) currency. Use taxes are
typically sales taxes that cannot be refunded and are added to
the company's expenses.
TaxInCostPriceCur NUMERIC(28;12) The sales tax amount that is a use tax and is posted as an
expense in the tax code currency. Use taxes are typically sales
taxes that cannot be refunded and are added to the company's
expenses.
EUROTriangulation INTEGER If the check box is selected, the sales tax transaction is included
in an exchange rate triangulation.
0 No No EURO triangulation
InvestmentTaxCur NUMERIC(28;12) The investment tax amount in the sales tax code currency. If the
sales tax code currency is not the default currency code, the
amount is converted before the taxes are paid.
InvestmentTaxMST NUMERIC(28;12) The investment tax amount in the default (company) currency. If
necessary, the amount is converted using the exchange rates in
Exchange rates form.
SourceInvestmentTaxCur NUMERIC(28;12) The investment tax in the original voucher currency. If the
currency code is not the default currency code, the amount is
converted before the taxes are paid.
SourceInvestmentTaxCurRegulated NUMERIC(28;12) The investment tax amount after correction. If the currency code
is not the default currency code, the amount is converted before
the taxes are paid.
OperationAccount CHAR(20) The ledger account that the posted sales tax transaction is
posted to at settlement.
Page 30
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
TaxItemGroup CHAR(10) The item sales tax group that is posted on the selected sales tax
transaction. Relation to the table TaxItemGroupHeading, see
chapter 3.2 for the details.
TaxGroup CHAR(10) The sales tax group that is posted on the selected sales tax
transaction. Relation to the table TaxGroupHeading, see
chapter 3.2 for the details.
ExemptCode CHAR(10) The code for justification of sales tax exemption that can be
printed, for example, on invoices.
SourceBaseAmountCurRegulated CHAR(10) The adjusted tax base amount in the original voucher currency.
3.3.4 TaxReportVoucher
This table contains different tax reporting codes what can be specified in TaxTable, described in chapter 3.3.1.
All field from TaxTable starting with RepField*** are referring to table TaxReportCollection
TaxPeriod CHAR(10) Displays the settlement period code for the period definition for
the settlement taken from the Sales tax settlement periods table
TaxReportPeriod. Part of primary key.
TransDate DATE Date when the sales tax settlement was posted. Part of primary
key.
RecId DOUBLE Unique record identifier, created by system. Part of primary key.
TaxRepVersion INTEGER Displays the settlement version that is specified when you update
the settlement. This tells you whether the settlement included in
the four following categories:
Voucher CHAR(20) Displays the voucher number for the settlement update. This
number is retrieved automatically from the number sequence
FromDate DATE Displays the first date in the interval for this settlement period
Page 31
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
ToDate DATE Displays the last date in the interval for this settlement period
Corrections INTEGER Sales tax corrections from previous periods, posted with the sales
tax settlement
0 No No correction transaction
3.3.5 Dimensions
TaxTrans table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
3.3.6 LedgerTable
TaxTrans table has relation to the Ledger accounts table by using account number AccountNum field. Please see
ledger accounts table description in p. 3.1.1
3.3.7 LedgerTrans
TaxTrans table has relation to the ledger transactions table LedgerTrans by using voucher number Voucher and
TaxRefId fields. Please see ledger accounts table description in p. 3.1.4
Page 32
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
information about different versions version of general ledger budgets. Also budget hierarchy can
be defined in this table.
Budgeting transactions can be created automatically from other Dynamics AX modules:
- Master Planning: Forecastmodel, ForecastPurch and ForecastSales are tables that have
relation with LedgerBudget table in case budgeting transactions are created automatically from
master planning module.
- Project: ProjTransBudget table has relation with LedgerBudget table in case budgeting
transactions are created automatically from the master planning module.
- Fixed Assets: AssetTable and AssetBookTable have relation with LedgerBudget table in case
budgeting transactions are created automatically from the fixed assets module.
LedgerTable and Dimensions table are main parameter tables for ledger budgeting data models, as
budget is created by ledger accounts and dimensions.
Figure 5
3.4.1 LedgerBudget
Table contains data about ledger budget reporting lines as well as ledger budget setup lines. In ledger budget
setup lines it can be defined by what logics reporting lines are created. For example monthly expense for
100EUR for next 6 month – outcome is 7 new lines totally: 6 reporting lines, created automatically after
manual setup line creation and setup line itself. Reporting lines and setup lines are separated by value in field
Report
AccountNum CHAR(20) Ledger account number from LedgerTable. Account nom is one
key field in the table as general ledger budgeting is based on
table of accounts.
StartDate DATE Date from which the budget amount will be in effect.
Page 33
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
EndDate DATE Last date of the posting period for this periodic transaction. Used
in setup lines.
FreqCode INTEGER Time interval unit in budget setup lines for creating budget
reporting lines
Active INTEGER Marked if the amount should be included in the current budget. By
default, the field is marked as active when a budget line is
created.
0 No Inactive
1 Yes Active
Comment CHAR(60) Comment on the budget transaction. By default, the name of the
ledger account is proposed.
Qty REAL Specification quantity, if any, for the budgeted amount. This field
can be used when budgeting is needed in some other units than
money.
0 No Not stopped
1 Yes Stopped
Key CHAR(10) Period allocation key for allocating the budget for different
periods. Used in setup type lines
ExpandId INTEGER Field is filled in report type budget lines, containing RecId number
referring to setup line what created the report transaction.
Report INTEGER Field is defining if the record is setup type budget line or
reporting type budget line.
Cov INTEGER Wether to include the current budget transaction in cash flow
forecast calculations in the General ledger
CovStatus INTEGER Status of cash flow forecast for the current transaction.
Freq INTEGER Number of time units (days, months, years) jumped per
transaction.
Respectively, 1 and months (FreqCode) for forecasts allocated
per month.
Respectively, 3 and months (FreqCode) for forecasts allocated
per quarter.
TaxGroup CHAR(10) The sales tax group for specification of sales tax on the current
budget transaction.
ModelNum CHAR(10) The budget model number. As one account number can have
several budget versions then different budget model codes can be
Page 35
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
ForecastModelId CHAR(10) Ledger budget functionality has relation with the master planning
module. Forecasts from that module can be transferred to ledger
budget. Current field is reference to the forecast model code used
to create forecasts in master planning module.
Relation: LedgerBudget. ForecastModelId =
ForecastModel.Modelid
AssetId CHAR(20) Ledger budget functionality has relation with the fixed assets
functionality. Fixed asset budget lines from that module can be
transferred to ledger budget. Current field is reference to the
asset ID used to identify asset transactions in the asset module.
Relation: LedgerBudget. AssetId = AssetBudget.AssetId
AssteTransType INTEGER Field identifying what type asset transaction created current
budget line. For detailed list describing possible values in that
field please see field description for AssetTrans.###
ProjTransId CHAR(20) Ledger budget functionality has relation with the project module.
Project forecast lines from that module can be transferred to
ledger budget. Current field is reference to the project ID used to
identify project transactions in the project module.
Relation: LedgerBudget. ProjTransId = ProjTransBudget.TransId
InventTableId INTEGER Field is used if transactions are created automatically from master
planning table. Field identifies wether transaction is based on
sales or purchase forecast.
Page 36
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
InventRecId INTEGER Field is used if transactions are created automatically from master
planning table. Value is unique ID referring to the certain record in
purchase or sales forecast table lines.
3.4.2 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
3.4.3 LedgerTable
LedgerBudget table has relation to the Ledger accounts table by using account number (AccountNum field). Please
see ledger accounts table description in p. 3.1.1
3.4.4 BudgetModel
This table contains list of the budgeting models what can be used in LedgerBudget table. BudgetModel table
has two types of transaction types: main model and submodel. Only main models can be created manually
and only main models can be selected to the budget lines in LedgerBudget table. Submodel lines are
describing hierarchy relations between main models.
ModelId CHAR(10) A unique identifier for the budget model. Part of primary key.
SubModelId CHAR(10) This field has meaning if the row type is submodel. The field
shows what submodel(s) belongs to the main model.
If the budget model is Main type, the SubModelId field has the
same value as ModelId field
The field is part of primary key.
Blocked INTEGER Check box to block the budget model and all associated ledger
budgets for modification. When the budgets that are based on the
budget model are approved, selecting this check box prevents
changes to the budgets
Page 37
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.4.5 ForecastModel
Table contains list of the forecasting models what can be used in master planning module. As a result forecast
lines are created in to the ForecastPurch and ForecastSales tables. ForecastModel table has two types of
transaction types: main model and submodel. Only main models can be created manually and only main
models can be selected to the forecast lines while creating sales or purchase forecasts. Submodel lines are
describing hierarchy relations between main models.
ModelId CHAR(10) A unique identifier for the forecast model. Part of primary key.
SubModelId CHAR(10) This field has meaning if the row type is submodel. The field
shows what submodel(s) belongs to the main model.
If the budget model is Main type, the SubModelId field has the
same value as ModelId field
The field is part of primary key.
Blocked INTEGER Check box to block the forecast model and all associated
forecasts for modification. When the forecasts that are based on
the forecast model are approved, selecting this check box
prevents changes to the forecasts
3.4.6 ForecastPurch
Table contains purchase forecast reporting and setup lines. Table role is similar with LedgerBudget table just
planning is made by item purchase and vendors instead of chart of accounts and dimensions. Please see
detailed overview regarding this table in chapter ###
ExpandId INTEGER Forecast report row relation to the setup row. Part of primary key.
Page 38
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.4.7 ForecastSales
Table contains sales forecast reporting and setup lines. Table role is similar with LedgerBudget table just
planning is made by item sales and clients instead of chart of accounts and dimensions. Please see detailed
overview regarding this table in chapter 3.12.1.7
ExpandId INTEGER Forecast report row relation to the setup row. Part of primary key.
3.4.8 ProjTransBudget
This table is central table for AX project module forecast transactions. There can be several different budgets
in project module: Item, cost, hour, revenue, on-account and work in progress budgets. This table
consolidates all these budget types and project budgets can be sent also to the general ledger budgets table
LedgerBudget. Please see detailed overview regarding this table in chapter 3.11.1.1
TransId CHAR(20) Project forecast transaction ID. General ledger budget lines
generated automatically from project module have this field filled,
referring to the original project forecast transaction.
3.4.9 AssetTable
This table is central table for AX fixed asset module, containing list of fixed assets in the system. Fixed assets
budgets can be converted to the ledger budget and created lines in LedgerBudget table have relation to the
AssetTable. Please see detailed overview regarding this table in chapter 3.5.1.2
Page 39
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.4.10 AssetBook
Each fixed asset in the AssetTable can have several accounting profiles (value models), depending on local
legislation and accounting best practices. For that reason LedgerBudget table has relation also to AssetBook,
to identify exactly which asset profile created relevant budget transactions. Please see detailed overview
regarding this table in chapter 3.5.1.3
Page 40
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.5.1.1 AssetTrans
In this table most detailed level of fixed asset transactions are stored (acquisitions, revaluations,
depreciations, sales etc.). Each transaction in the AssetTrans table creates also transaction in general ledger
transactions table LedgerTrans. Transactions in LedgerTrans created by fixed asset functionality may be
grouped together in the way that several AssetTrans lines can create one line in LedgerTrans
RecId INTEGER Unique row identifier in table and the primary key
AssetId CHAR(20) Fixed asset code, relation to the fixed asset register (AssetTable)
Page 41
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
2 AcquisitionAdj Acquisition
Adjustment
3 Depreciation
4 DepreciationAdj
5 Revaluation
6 WriteUpAdj
7 WriteDownAdj
8 DisposalSale
9 DisposalScrap
10 NetBookValue
11 ProfitLoss
12 AcqPriorYears
13 AcqThisYear
14 AcqAdjPriorYears
15 AcqAdjThisYear
16 DepPriorYears
17 DepThisYear
18 DepAdjPriorYears
19 DepAdjThisYear
20 RevaluePriorYears
21 RevalueThisYear
22 WriteUpAdjPriorYears
23 WriteUpAdjThisYear
24 WriteDownAdjPriorYears
25 WriteDownAdjThisYear
26 CapitalReserve
27 CapitalReserveTransfer
28 ExtraordinaryDepreciation
29 ExtraDepPriorYears
30 ExtraDepThisYear
31 DEL_Reclassification Not used anymore
32 BonusDepreciation
33 BonusDepPriorYears
34 BonusDepThisYear
Voucher CHAR(20) Transaction voucher number in general ledger
BookId CHAR(10) Value model for the transaction, relation to the AssetBook table
Page 42
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
ReClassification INTEGER If the fixed asset transaction type has been reclassified?
SQL AX value
value
0 No
1 Yes
3.5.1.2 AssetTable
Fixed asset main register table. In this table non financial fixed asset data is stored (asset name, responsible
person, technical specification etc.).
AssetGroup CHAR(10) Fixed asset group to simplify the setup and reporting of assets
Name CHAR(30) Name that identifies the fixed asset. It can be used for search and
filter purposes, as a range, and for sorting in inquiries and reports.
Location CHAR(20) Location for the fixed asset from the list of locations
SerialNum CHAR(20) Serial number for the fixed asset for identifying purposes
GuaranteeDate DATE Date of the start of the guarantee for the fixed asset
Responsible CHAR(10) Responsible employee name can be selected from the Employee
table (EmplTable)
AssetType INTEGER The fixed asset type. Can be one of the following:
SQL AX value
value
0 Tangible
1 Intangible
2 Financial
3 Land and Buildings
4 Goodwill
Page 43
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
5 Other
BarCode CHAR(20) Bar code digits assigned to the fixed asset
PhysicalInventory DATE Date of last physical inventory update on this fixed asset
3.5.1.3 AssetBook
Table contains financial data about fixed asset (depreciation method, general ledger porting data, fixed asset
possible sales value etc.) Each fixed asset specified in AssetTable must have at least one related record in
AssetBook table. Asset can have more than one record in AssetBook, it means that financial accounting has
been made for each value model described in AssetBook. It makes easy to create asset accounting for tax
purposes for example.
AssetGroup CHAR(20) Fixed asset group to simplify the setup and reporting of assets
Status INTEGER Various statuses are available during the service life of a fixed asset:
been acquired
2 Suspended The status is assigned to the value
model manually. Value models with
this status are not available for posting
fixed asset transactions and cannot be
selected in the journals.
3 Closed The status is assigned to fixed assets
when the last depreciation is posted
and when the net book value becomes
zero.
4 Sold The status is assigned to fixed assets
and value models that have been
disposed of by sale
5 Scrapped The status is assigned as soon as a
Disposal ‐ scrap transaction has been
posted in a journal
Dimension CHAR(10) Analytical Dimension no. 1 value
PostingProfile CHAR(10) Identifies how fixed asset transactions are posted to the general
ledger.
Depreciation INTEGER The field indicates that fixed assets can be depreciated
LifetimeRest REAL The Depreciation periods remaining limits the number of depreciation
periods that are left and indicates the number of times that
depreciation still must be calculated. For new fixed assets it will be
equal to Depreciation periods. For fixed assets that are partly
depreciated already, it will be less than depreciation periods.
DepreciationStartDate DATE The starting date for the first depreciation calculation.
ScrapValue REAL The expected scrap value. This is part of the acquisition price, which
is the value of the fixed asset at the end of its service life.
LastDapreciationDate DATE Date when the depreciation was calculated last time. This date is
updated automatically each time that depreciation is posted for the
fixed asset/value model
VendAccount CHAR(20) The vendor account number from where the fixed asset was
purchased. It is updated automatically when a fixed asset is acquired
using purchase orders.
Page 45
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
AcquisitionDate DATE The system date when the fixed asset record is entered in the Fixed
assets form. The date can changed if necessary. When an acquisition
is posted, the acquisition date will be updated with the date of the
actual acquisition. If the setup in Parameters allows multiple
acquisitions, this date will be updated every time a new acquisition
has been posted and display the latest acquisition date.
CustAccount CHAR(20) The customer account number where the fixed asset was sold. The
customer account is updated automatically when a fixed asset is
disposed externally using a free text invoice.
DisposalDate DATE The date when the fixed asset was sold or scrapped.
SaleValue REAL The selling price of a fixed asset. The field is updated when a fixed
asset is sold.
ExeedingNetBookValue INTEGER The check box allows transactions, which would create a net book
value greater than acquisition costs.
SQL AX value
value
0 No
1 Yes
NegativeNetBookValue INTEGER The check box allows transactions, which would create a negative net
book value for the fixed asset/value model.
SQL AX value
value
0 No
1 Yes
UsedFromDate DATE The date that the asset was placed in service.
3.5.1.4 AssetGroup
This table contains predefined information for asset (depreciation information, asset bookinformationetc.),
what simplifies asset creation process.
Page 46
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
AssetType INTEGER The fixed asset type. The classification can be used for sorting or
selecting ranges on report.
The fixed asset type. Can be one of the following:
SQL AX value
value
0 Tangible
1 Intangible
2 Financial
3 Land and Buildings
4 Goodwill
5 Other
3.5.1.5 Dimensions
AssetTrans table has relation also to the dimensions table. Please see dimensions table description in p. 3.1.2
Page 47
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.5.2.1 AssetDepBookTrans
AssetDepBookTrans table has similar structure than AssetTrans table. Different kind of asset transactions
can be created to this table (acquisition, revaluation, depreciation etc.). Principle difference between these
tables is the fact that AssetDepBookTrans table is not related with general ledger transactions. So each
asset can have several financial accounting models, what do not change anything in general ledger level.
RecId INTEGER Unique row identifier in table and the primary key
1 Acquisition
2 AcquisitionAdj Acquisition
Adjustment
3 Depreciation
4 DepreciationAdj
5 Revaluation
6 WriteUpAdj
7 WriteDownAdj
8 DisposalSale
9 DisposalScrap
10 NetBookValue
11 ProfitLoss
12 AcqPriorYears
13 AcqThisYear
14 AcqAdjPriorYears
15 AcqAdjThisYear
16 DepPriorYears
17 DepThisYear
18 DepAdjPriorYears
19 DepAdjThisYear
20 RevaluePriorYears
21 RevalueThisYear
22 WriteUpAdjPriorYears
23 WriteUpAdjThisYear
24 WriteDownAdjPriorYears
25 WriteDownAdjThisYear
26 CapitalReserve
27 CapitalReserveTransfer
28 ExtraordinaryDepreciation
29 ExtraDepPriorYears
30 ExtraDepThisYear
31 DEL_Reclassification Not used anymore
32 BonusDepreciation
33 BonusDepPriorYears
34 BonusDepThisYear
TransDate DATE Date of transaction
AssetId CHAR(20) Fixed asset code, relation to the fixed asset register (AssetTable)
OriginatingVoucher CHAR(20) The Reference to the general ledger transaction that caused
transaction in the AssetDepBook table
ReClassification INTEGER If the fixed asset transaction type has been reclassified?
SQL AX value
value
0 No
Page 49
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
1 Yes
3.5.2.2 AssetTable
For AssetGrpou table description please see p. 3.5.1.2
3.5.2.3 AssetDepBook
Table contains financial data about fixed asset (depreciation method, general ledger porting data, fixed asset
possible sales value etc.) Each fixed asset specified in AssetTable can have more than one record in
AssetDepBook, it means that asset specific accounting has been made for each depreciation book described
in AsseDeptBook.
AssetGroupId CHAR(20) Fixed asset group to simplify the setup and reporting of assets
AssetStatus INTEGER Various statuses are available during the service life of a fixed asset:
Depreciation INTEGER The field indicates that fixed assets can be depreciated
LifetimeRest REAL The Depreciation periods remaining limits the number of depreciation
periods that are left and indicates the number of times that
depreciation still must be calculated. For new fixed assets it will be
equal to Depreciation periods. For fixed assets that are partly
depreciated already, it will be less than depreciation periods.
DepreciationStartDate DATE The starting date for the first depreciation calculation.
ScrapValue REAL The expected scrap value. This is part of the acquisition price, which
is the value of the fixed asset at the end of its service life.
LastDapreciationDate DATE Date when the depreciation was calculated last time. This date is
updated automatically each time that depreciation is posted for the
fixed asset/value model
VendAccount CHAR(20) The vendor account number from where the fixed asset was
purchased. It is updated automatically when a fixed asset is acquired
using purchase orders.
AcquisitionDate DATE The system date when the fixed asset record is entered in the Fixed
assets form. The date can changed if necessary. When an acquisition
is posted, the acquisition date will be updated with the date of the
actual acquisition. If the setup in Parameters allows multiple
acquisitions, this date will be updated every time a new acquisition
has been posted and display the latest acquisition date.
CustAccount CHAR(20) The customer account number where the fixed asset was sold. The
customer account is updated automatically when a fixed asset is
disposed externally using a free text invoice.
DisposalDate DATE The date when the fixed asset was sold or scrapped.
SaleValue REAL The selling price of a fixed asset. The field is updated when a fixed
asset is sold.
ExeedingNetBookValue INTEGER The check box allows transactions, which would create a net book
Page 51
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
0 No
1 Yes
NegativeNetBookValue INTEGER The check box allows transactions, which would create a negative net
book value for the fixed asset/value model.
SQL AX value
value
0 No
1 Yes
UsedFromDate DATE The date that the asset was placed in service.
3.5.2.4 AssetGroup
For AssetGrpou table description please see p. 3.5.1.4
3.5.3.1 AssetBudget
Table contains budget transactions for fixed assets. Budget transactions can be transferred to the ledger
Page 52
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
budget automatically. Fixed asset budget can be calculated like normal asset transactions, only budgeting
journals are used. So the transaction types are similar than the financial transaction types.
RecId INTEGER Unique row identifier in table and the primary key
BudgetModel CHAR(10) The budget model number. As one fixed asset can have several
budget versions then different budget model codes can be used for
that purpose.
Relation: AssetBudget.BudgetModel = BudgetModel.ModelId
Page 53
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
31 DEL_Reclassification Not used anymore
32 BonusDepreciation
33 BonusDepPriorYears
34 BonusDepThisYear
TransDate DATE Date of transaction
AssetId CHAR(20) Fixed asset code, relation to the fixed asset register (AssetTable)
BookId CHAR(10) Value model for the transaction, relation to the AssetBook table
3.5.3.2 AssetTable
For AssetTable table description please see p. 3.5.1.2
3.5.3.3 AssetBook
For AssetBook table description please see p. 3.5.1.3
3.5.3.4 AssetGroup
For AssetGrpoup table description please see p. 3.5.1.4
Page 54
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.5.3.5 BudgetModel
For BedgetModel table description please see p. 3.4.4
3.5.3.6 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
3.5.3.7 LedgerTable
LedgerBudget table has relation to the Ledger accounts table by using account number (AccountNum field).
Please see ledger accounts table description in p. 3.1.1
Page 55
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.6.1.1 CustTrans
All kind of customer transactions are recorded in this table. In addition to most common transactions like invoices
and payments, also different periodical transactions are stored in this table (exchange adjustment, customer
settlement etc.). All transactions in CustTrans table, cause also changes in general ledger transactions table
LedgerTrans.
RecId INTEGER Unique row identifier in table and the primary key
Voucher CHAR(20) The voucher number for the related ledger transaction.
AnmountCur REAL The total amount of the transaction in the specified currency
SettleAmountCur REAL The settled portion of the transaction amount in the currency that was
used for the settlement
AmountMST REAL The amount of the transaction in the default currency for the
Page 56
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
company
SettleAmountMST REAL The settled portion of the amount in default currency, including any
exchange rate adjustments and penny differences
DueDate DATE The date by which the customer must pay the full amount (without
the cash discount)
LastSettleVoucher CHAR(20) Invoice for example can be settled against several payments. This
voucher refers to the settlement voucher number from the latest
payment.
LastSettleDate DATE The date of the last settlement, related with the previous field
LastExcAdjVoucher CHAR(20) The voucher number for the latest exchange rate adjustment for the
transaction
Closed DATE If the transaction has been settled, the date for the full settlement is
displayed. This date corresponds to the transaction date of the final
payment. If the field is empty, the transaction has not yet been fully
settled.
For example, if a prepayment posted on January 1 is settled against
an invoice posted on February 1, the invoice date is displayed.
TransType INTEGER Field is determined by the function that generated the transaction.
From that value it can be monitored from which AX functional area
the transaction was created.
Possible values are:
SQL AX value
value
0 None
1 Transfer
2 Sales
3 Purch
4 Invent
5 Production
6 Project
7 Interest
8 Cust
9 ExchAdjustment
10 SummedUp
11 Payroll
12 FixedAssets
13 CollectionLetter
14 Vend
15 Payment
16 Tax
17 Bank
18 Conversion
19 BillOfExchange
20 PromissoryNote
Page 57
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
21 Cost
22 Work
23 Fee
24 Settlement
ApprovedBy CHAR(10) The initials or identification of the employee who approved the
transaction
Approved INTEGER If this check box is selected, the transaction has been approved
ExchAdjustment REAL If invoicing was done in a foreign currency, and if an exchange rate
adjustment was made between the time of invoicing and the time of
payment, then the amount of the exchange rate adjustment in the
default currency is displayed in this field
LastExchAdj DATE The date of latest rate adjustment for the transaction
Correct INTEGER If this check box is selected, the transaction is a correction of another
transaction
Settlement INTEGER If this check box is selected, the transaction can be settled
automatically. If the check box is cleared, the transaction must be
settled manually
CompanyBankAccountId CHAR(10) The bank account for your company that is affected by the selected
transaction
PaymMode CHAR(10) The payment method used for this customer transaction (bank file
types, payment steps etc.).
PaymReference CHAR(20) A reference to a specific payment. Used for linking invoices and
payments together through specific identifier.
5 C.O.D Cash On Delivery – money is paid
when goods/services are delivered
CashPayment INTEGER The payment must be done by using cash (not checks)
SQL AX value
value
0 No
1 Yes
DeliveryMode CHAR(10) Mode of delivery according to the means of transport relevant for the
current order
PostingProfile CHAR(10) Identification of the transaction posting profile – how the transaction
was posted to the general ledger
SQL AX value
value
0 No
1 Yes
BillOfExchangeId CHAR(20) The bill of exchange identifier that corresponds to the transaction
SQL AX value
value
0 None
1 Drawn
2 Redrawn
3 Protested
4 Honored
5 Remitted
6 Invoiced
7 InvoicedRemitted
BillOfExchangeSeqNum INTEGER Displays the number 1 for the first cycle of a bill of exchange and the
Page 59
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
CollectionLetterCode INTEGER The collection letter code that is included in the collection letter for
the transaction
3.6.1.2 CustPaymModeTable
Table what contains different payment modes what can be used by customers.
PaymMode CHAR(10) Unique identifier for the method of payment. For example, BANK
for the method for bank payments from customers. This field is
primary key.
BankTransType INTEGER The transaction type for the bank account. Used for analytical
purposes
3.6.1.3 CustSettlement
Table, where invoice and payment settlement transactions are stored. In case invoice is paid partially, there
are several settlement transactions, showing which payment amount is covering relevant invoice. Also one
payment can cover more than one invoice, in this case several invoice settlement lines are referring to one
payment lines. This table is closely related with CustTrans table reference is made by using RecId fields.
Information from this table is needed, when historical invoice and payment status has to be monitored. Current
status of customer balance is available in CustTrans, but balances for specific date in the past need to be
calculated by using data from CustSettlement table
RecId INTEGER Unique row identifier in table and the primary key
TransRecId INTEGER Related transaction RecId in the CustTrans table. Defines the
transaction based on what the settlement transactions is created
SettleAmountCur REAL The amount of the settlement transaction in the specified currency
OffsetRecid INTEGER Related offset transaction RecId in the CustTrans table. Defines
the transaction what was settled with the base transaction.
Page 60
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
CanBeReversed INTEGER If “yes”, then transaction can be manually reversed back to the
opened transactions. Value of that field is “no” in case the
transactions are several times closed and then opened. Only last
closing has opportunity to be reversed to the open.
3.6.1.4 CustTable
Central client register table. Statistic and setup values are defined in this table.
Name CHAR(60) Name of the customer. This name is printed on documents, such
as invoices and account statements.
InvoiceAccount CHAR(20) Invoice account, to which the customer is linked. The invoice
account is the account to which the invoice amount is debited. If
no invoice account is defined, the customer account is used as the
invoice account.
CustGroup CHAR(10) Customer group that the customer belongs to. Customer group
contains number of setup parameters regarding general ledger
posting and payment management.
SalesGroup CHAR(10) Sales group that is attached to the selected customer. The
sales group includes a sales representative for the customer.
CrediMax REAL Maximum amount that the selected customer is allowed to have as
an outstanding account balance.
This amount is always stated in the default currency of the
customer.
Page 61
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
VendAccount CHAR(20) Vendor account number, if any, of the selected customer (in case
the customer is also registered as a vendor). If a customer has a
credit amount because of overpayment or a credit note, the
reimbursement periodic job transfers the amount to the vendor
account of the customer.
PriceGroup CHAR(10)
MulitiLIneDisc CHAR(10) Multiline discount group that the customer belongs to.
EndDisc CHAR(10) Total discount group that the customer belongs to. The total
discount group determines which discounts are calculated
automatically. Total discounts are given for a total order.
DlvTerm CHAR(10) The standard terms of delivery for the selected customer (FOB,
FAS, EXW etc.).
DlvMode CHAR(10) Mode of delivery that applies to sales to the selected customer
(air, water, railway etc.).
ZIpCode CHAR(10) Postal/ZIP code of the customer address. This code is often used
for searching and sorting.
State CHAR(10) State of the customer address. This field is often used for
searching and sorting.
StatisticsGroup CHAR(10) Statistics group that the customer is attached to, used especially
for statistical purposes.
PaymMode CHAR(10) Method of payment typically used for payments from the customer.
SalesPoolId CHAR(10) Sales order pool that sales orders to the selected customer are
placed in.
LanguageId CHAR(10) Language used for all external documents to the selected
customer, such as invoices and account statements.
LineOfBusinessId CHAR(10) Line of business of the customer. Defined for statistical purposes.
DestinationCodeId CHAR(10) Destination code that applies to the customer. Destination codes
can be used to divide deliveries into groups according to customer
location.
SalesCalendarId CHAR(10) Days on which the customer wants to receive their orders.
3.6.1.5 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
Page 62
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.6.2.1 CustInvoiceJour
Table is dedicated to store invoice header information. In this table there are lots of fields regarding
different invoice lines summaries. Also big amount of analytical information is stored in this table
(Customers, Addresses, Dimensions etc.)
RecId INTEGER Unique row identifier in table and the primary key
CustGroup CHAR(10) Customer group that the customer belongs to. Customer group
contains number of setup parameters regarding general ledger
posting and payment management.
RefNum INTEGER Defines the register from where the invoice is generated. Values can
be:
3 Interest
SalesId CHAR(20) The sales order or project numbers that the invoice is updated from.
InvoiceAccount CHAR(20) Specified if the account number of the customer you want to invoice
is different from the customer that placed the sales order.
InvoiceDate DATE Displays the invoice date, which is also used as the posting date. This
date is also used to calculate the due date and the cash discount
date.
Qty REAL Invoice quantity summed up by invoice lines. If different units are
used in different invoice lines these amounts in different units are
simply summed up.
Weight REAL Summarized invoice lines inventory weight in used units of measure.
SumLineDisc REAL Summarized invoice lines line discount amount in invoice currency
SalesBalance REAL Summarized invoice lines sales amounts in invoice currency (misc.
charges, end discounts, sales taxes are not included)
SalesAdministrator CHAR(10) Employee code who received the sales order the invoice is related
with.
ListCode INTEGER Indication of the list code for the current invoice. This is decisive
for reporting to the EU sales list, and offers the options:
Page 64
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
2 Production on Value‐added work with a
toll customer in another EU
country.
3 Triangular/EU Trade between customers in
trade different EU countries.
4 Triangular/Prod. Value‐added work between
on toll customers in different EU
countries.
IntrastatDispach CHAR(20) Shipment batch number in Intrastat reporting.
PurchaseOrder CHAR(20) Purchase order ID related with the invoice. If empty then invoice is
generated by using free text invoice functionality.
DlvTerm CHAR(10) The standard terms of delivery for the invoice (FOB, FAS, EXW etc.).
DlvMode CHAR(10) Mode of delivery that applies to invoice (air, water, railway etc.).
Payment CHAR(10) Terms of payment applicable to the current invoice. The due date is
automatically calculated when invoicing the order based on the terms
set up for payment in the sales order.
CashDiscCode CHAR(10) Cash discount code relevant for the current invoice.
SumMarkup REAL Sum of different additional costs added to the invoice (misc. charges
etc.) in invoice currency.
SalesType INTEGER Sales order type use for invoice generation. Types can be following:
SQL AX value
value
0 Journal
1 Subscription
2 Sales order
3 Returned item
4 Blanket order
5 Item requirements
EUSalesList CHAR(20) Id number in European Union sales reporting.
Page 65
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
ContactPersonId CHAR(10) Relation to the ContactPerson table identifying relevant contact in the
client side.
SumMarkupMST REAL Sum of different additional costs added to the invoice (misc. charges
etc.) in default currency.
SumLineDIscMST REAL Summarized invoice lines line discount amount in default currency
SalesBalanceMST REAL Summarized invoice lines sales amounts in default currency (misc.
charges, end discounts, sales taxes are not included)
3.6.2.2 CustInvoiceTrans
Current table contains information about customer invoice lines (what items are sold to the clients and what is the
price, what is discount rate and what sales group sold this item). This table has relation with InventTrans table,
where item cost price is declared, what makes possible sales margin calculations.
RecId INTEGER Unique row identifier in table and the primary key
InvoiceDate DATE Displays the invoice date, which is also used as the posting date. This
date is also used to calculate the due date and the cash discount
Page 66
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
date.
InventRefId CHAR(20) Reference to the document what covers the need for the inventory.
Document type is defined in the field InventRefType. The field is
empty in case free text invoice functionality is used for invoicing.
ItemId CHAR(20) Code of the sold item. The field is empty in case free text invoice
functionality is used for invoicing.
ExternalItemId CHAR(20) The external item number to specify the customer's item number for
the inventory item
PriceUnit CHAR(10) Price unit specifies the quantity of the item covered by the sales price.
LineAmount REAL Amount of the sales line in invoice currency (excluding tax)
LedgerAccount CHAR(20) An account number to record a sale directly in the sales account,
regardless of any association the item group may have with specific
sales accounts in the posting setup for the item group.
QtyPhysical REAL Sales quantity that have physically delivered to the client.
PartDelivery INTEGER If the sales line is delivered to the customer in partial manner
SalesId CHAR(20) The sales order or project numbers that the invoice line is related to.
CommissCalc INTEGER Defines if the sales commission calculation is active for the sales line
YES / NO
SQL AX value
Page 67
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
value
0 None
1 Direct delivery
CountryRegionOfShipment CHAR(10) Specified country for the delivery
InventDimId CHAR(20) Foreign key to the table InventDim. Each InventDimId contains
unique dimension combination
LineAmountTax REAL Sales tax amount included in the sales amount, in case sales tax is
included in prices (invoice currency)
AssetId CHAR(20) Reference to the fixed asset number, if sales is related with fixed
assets.
AssetBookId CHAR(10) Reference to the fixed asset accounting profile, if sales is related with
fixed assets.
LineAmountMST REAL Amount of the sales line in company currency (excluding tax)
TaxAmountMST REAL The sales tax in the default currency (company currency). If
necessary, the amount is converted using the exchange rates in the
Exchange rates form.
LineAmountTaxMST REAL Sales tax amount included in the sales amount, in case sales tax is
included in prices (company currency).
Page 68
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
InventRefType INTEGER Defines the type of the document what covers the need for the
inventory. Types Can be:
SQL AX value
value
0 None
1 Sales order
2 Purchase order
3 Production
4 Production line
5 Inventory journal
6 CRM quotation
7 Transfer order
InventRefTransId CHAR(20) Inventory transaction code created in central inventory movement
register (inventTrans) and refers to the document what covers the
need for the inventory
Weight REAL Total weight of the sold item line in the used units of measure
3.6.2.3 InventTrans
Table contains all inventory related transactions, including customer related sales transactions. In current data
model item cost price from that table is used for sales margin calculation. For detailed description about this
table please see chapter 3.8.1
3.6.2.4 InventDim
For table description please see p. 3.8.2
3.6.2.5 LedgerTable
For table description please see p. 3.1.1
3.6.2.6 InventTable
For table description please see p. 3.8.4
3.6.2.7 CommissionSalesRep
Depending on the system setup, sales lines can generate commission calculation for sales personnel. Sales
personnel are recorded in current table and grouped to the sales groups (CommissionSalesGroup table) and
Page 69
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Proportion REAL The percentage rate that the individual employee receives in the
commission that is calculated for the commission sales group
3.6.2.8 CommissionSalesGroup
Table what groups together sales representatives from table CommissionSalesRep and is linked with sales
lines table CustInvoiceTrans.
3.6.2.9 CustTable
Central client register table. Lot of fields for statistic and setup purposes is created in this table. For detailed
description about this table please see chapter 3.6.1.4
3.6.2.10 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
Page 70
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.7.1.1 VendTrans
All kind of vendor transactions are recorded in this table. In addition to most common
transactions like invoices and payments, also different periodical transactions are stored in this
table (exchange adjustment, customer settlement etc.). All transactions in VendTrans table,
cause also changes in general ledger transactions table LedgerTrans.
Page 71
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.7.1.2 VendPaymModeTable
Table what contains different payment modes what can be used by vendors.
3.7.1.3 VendSettlement
Table, where invoice and payment settlement transactions are stored. In case invoice is paid partially, there
are several settlement transactions, showing which payment amount is covering relevant invoice. Also one
payment can cover more than one invoice, in this case several invoice settlement lines are referring to one
payment lines. This table is closely related with VendTrans table reference is made by using RecId fields.
Information from this table is needed, when historical invoice and payment status has to be monitored. Current
status of vendor balance is available in CustTrans, but balances for specific date in the past need to be
calculated by using data from CustSettlement table
3.7.1.4 VendTable
Central vendor register table. Most of the fields are dedicated to the statistic and setup.
3.7.1.5 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
Page 72
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
regrading different invoice lines summaries. Also big amount of analytical information is stored in
this table (Vendors, Addresses, Dimensions etc.)
3.7.2.2 VendnvoiceTrans
Current table contains information about vendor invoice lines (what items are purchased to the clients and
what is the price, what is discount rate and what purchase group bought this item). The table has relation with
InventTrans table.
3.7.2.3 InventTrans
Table contains all inventory related transactions, including customer related sales transactions. In current data
model item cost price from that table is used for sales margin calculation. For detailed description about this
table please see chapter ###
3.7.2.4 InventDim
For the table description please see p. ###
3.7.2.5 LedgerTable
For the table description please see p. 3.1.1
3.7.2.6 InventTable
For the table description please see p. 3.8.1.1
3.7.2.7 VendTable
Central client register table. Lot of fields for statistic and setup purposes are created in this table. For detailed
description about this table please see chapter 3.6.1.4
Page 73
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.7.2.8 Dimensions
LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2
3.7.2.9 InventDim
For the table description please see p. 3.8.1.2
Page 74
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.8.1 InventTrans
The table is central register for inventory transactions and contains most detailed data about any kind on
inventory movement in the system. Table does not have one to one relation to the general ledger central
register (LedgerTrans) as usually postings made to GL does not have such level of details (same with the
customer and vendor inventory transaction registers CustInvoiceTrans and VendInvoicerans). This table is
also base for inventory cost accounting. All adjustments made to inventory cost price can be found in this
table.
RecId INTEGER
StatusIssue INTEGER Current issue status for issue transactions. If the field is empty, the
transaction is a receipt.
Statuses can be:
SQL AX value
value
Page 75
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 None
1 Sold
2 Deducted
3 Picked
4 Reserved physical
5 Reserved ordered
6 On Order
7 Quotation issue
DatePhysical DATE Date of the physical transaction (inventory movement with packing
slip)
Qty REAL The quantity in inventory units for the transaction (defined in item
card). The quantity shows receipts and issues; issues display a
minus sign.
CostAmountPosted REAL Inventory cost value for the financially updated quantity, for
example, in connection with invoice updating.
SQL AX value
value
0 Sales order
2 Production
3 Purchase order
4 Inventory Transaction
5 Profit/Loss transaction
6 Inventory transfer
7 Totaled
8 Production line
9 BOM line
10 BOM main
11 Warehouse output order
12 Project
13 Inventory counting
14 Warehouse pallet transport
15 Quarantine order
20 Fixed assets
21 Transfer order shipment
22 Transfer order receive
23 Transfer order scrap
24 Sales quotation
TransRefId CHAR(20) Identification of the reference transaction specified in the field
TransType
Page 76
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Voucher CHAR(20) Voucher number used in invoice updating or costing. The voucher
number refers to transaction(s) created in General Ledger
(LedgerTrans)
DateFinancial DATE Date of the financial transaction. That is the date on which the items
are invoice-updated or cost accounted through production.
CostAmountPhysical REAL Floating physical inventory value of the inventory record, for
example in connection with updating a packing slip. A physical cost
amount that has not been financially updated in the General ledger
is a floating value.
StatusReceipt INTEGER Current receipt status for receipt transactions. If the field is empty,
the transaction is an issue.
SQL AX value
value
0 None
1 Purchased The purchase order is invoiced
2 Received The purchase order is packing‐slip
updated
3 Registered The item is registered. When setting
up inventory model groups, you can
indicate in the Registration
requirements field that item receipts
must be registered upon physical
updating.
4 Arrived The item is registered in a shipment.
5 Ordered The purchase order is created.
6 Quotation The sales quotation with a negative
receipt quantity has been sent to the
customer for approval.
The sales quotation is not yet a credit
note.
PackingSlipId CHAR(20) When an item is picked or received on a packing slip in the Sales or
Purchase modules, the packing slip number is saved here.
VoucherPhysical CHAR(20) Voucher numbers used when posting floating items, that is packing
slip updated items. The voucher number refers to transactions
created in Ledger.
CostAmountAdjustment REAL Any cost adjustment, for example, an adjustment from a closing of
inventory.
SQL AX value
value
0 None
1 Receipt
2 Issue
DateStatus DATE Date associated with the transaction's status.
Page 77
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
CostAmountStd REAL Transaction's standard cost price converted to the cost value. All
adjustments are taken into account
DateClosed DATE Date on which the transaction was financially closed, that is when
the full quantity was financially settled.
InventTransIdFather CHAR(20) Refers to the field InventTransId in the same table creating
hierarchy. For example production lines are referring to the
produced item transaction number
ItemRouteId CHAR(20) Route number of a specific sub-route. That is, the active sub-route
was overridden on the BOM line. If the field is empty, the active sub-
route is used.
ItemBomId CHAR(20) Bill of materials (BOM) number of a specific sub-BOM. That is the
active sub-BOM was overridden on the bill of material. If the field is
blank, the active sub-BOM is used.
ProjId CHAR(10) Identify the project that generated the inventory transaction.
Reference to the project module
AssetId CHAR(20) Fixed asset number for the transaction. Reference to the fixed asset
module
ProjAdjustRefId CHAR(20) Inventory transaction relation from InventTrans table to the project
module transaction table ProjTransPosting.ProjAdjustRefId and
ProjItemTrans.ProjAdjustRefId. In case of inventory cost adjustment
this code links project related inventory module transactions with the
relevant project module transaction.
AssetBookId CHAR(10) Fixed asset value module number for the transaction. Reference to
the fixed asset module
InventRefTransId CHAR(20) Refers to the field InventTransId in the same table creating relation
between inventory transactions belonging into the one and the same
process flow. For example Quarantine order -> Purchase -> Sales
transactions are all referring to the first transaction in the process
flow, in our case Quarantine order
3.8.2 InventDim
Each inventory item described in InventTable can have several modifications and modification combinations.
Modification types are warehouses, unique IDs, inventory batches, sizes, colors, detailed warehouse locations
etc. Information about each of this property is not stored in transaction tables, but InventDim table has all
possible inventory dimensions combination list. Unique ID from this table is used in inventory transaction
tables to specify additional inventory properties defined with inventory dimensions.
For example, we calculate using table CustInvoiceTrans that company has sold 100 cars. Information that 60
of them are red and 40 are black is stored in InventDim, as each sales line refers to dimension combination ID
where dimension value is either read or black.
Page 78
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.8.3 InventSum
The table contains aggregated data calculated based on InventTrans and InventDim. In this table current item
stock level can be found specified also by different dimension types. Also current calculations for reservations,
orders, inventory picking etc. are stored in this table. The table is used for current inventory reporting
purposes. When historical inventory level should be calculated, then transactions from InventTrans should be
combined with the information from InventSum.
PostedValue REAL Total inventory value of the financial updates for the item that was
posted in the General ledger module.
The value is negative if items that have only been physically
received in inventory have already been sold or invoice-updated.
The field appears when you total Financial cost amount for all
transactions that have a status of Purchased or Sold at the
warehouse.
ReserverdPhysical REAL Total quantity of the item that was physically reserved for the
inventory dimension
The field appears when you total all issue transactions with the
status Physical reserved. Items that are physically reserved can
always be picked and delivered from inventory.
An item is physically reserved if it is marked against a sales order,
production, or a project. The item is in inventory, but it is marked
to indicate that it is reserved.
ReservOrdered REAL Total quantity of the item that is reserved on ordered receipts for
the inventory dimension. An amount appears in the field, when
you total all issue transactions with the status Ordered reserved.
Items that are reserved as ordered are not physically available in
inventory and, therefore, cannot be directly picked and delivered
Page 79
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
from inventory.
AvailPhysical REAL Physically available inventory in the stock in stock keeping units
3.8.4 InventTable
The table is central inventory register for Dynamics AX solution. Table contains different inventory specific
setup parameters. Lines from this table can be used in dimensional analyses as inventory dimensions.
ItemId CHAR(20) A unique user-defined code that is assigned when items are
created.
ItemGroup CHAR(10) The item group that this item belongs to. All items are assigned to
an item group when they are created.
Item groups are used with ledger transactions and can be used as
printing criteria.
ItemType INTEGER The category, or type, that this item belongs to. An item can be one
of three types:
SQL AX value
value
0 Item These are purchased items that do
not require processing to be sold or
used in production.
1 BOM Bill Of Material – used in production
2 Service Item numbers of the Service type are
used, for example, for hourly
services.
ABCTieUp INTEGER The item's ABC code for cost attachment to inventory.
3.8.5 InventTableModule
The table contains some inventory setup information what is not recorded into the InventTable. This table
contains three lines per each line in InventTable. Such a structure is used because several properties for the
item must be specified for the three different procedures: Purchase, Warehousing and Sales (for example
price, unit of measure etc.). When it is need to import some data to InventTable, also three lines with different
module type values should be imported to InventTabkeModule per each InventTable record, otherwise
imported lines are not even displayed in inventory register.
Page 80
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Values are:
SQL AX value
value
0 Inventory Data used for warehouse statistics
and operations
1 Purchase Data used for purchase statistics and
operations
2 Sales Data used for sales statistics and
operations
UnitId CHAR(10) The stock keeping unit for purchase, inventory (inventory journal
and production), and sales.
Price REAL Price in this field for the number of units entered in the PriceUnit
field. Enter values for these fields in the Purchase order, Cost, and
Sales order sections.
PriceUnit CHAR(10) Enter the number of units for which the Price applies.
Markup REAL A miscellaneous charge is a fixed sum added to the price. This is
only applied to the Items table, compared to purchase, production,
and sales.
LineDisc REAL Each item number can be associated with a line discount group that
is used to calculate discounts when you create orders and
purchases.
Quantity REAL In the Purchase order section, enter the default quantity in the
purchase package. That is, the quantity of the item number in stock
keeping units that is proposed as a default for purchases and
requirement calculations. This is a multiple of the purchase quantity.
Same logics is in warehousing and sales quantity fields
Blocked INTEGER Field has value 1 if the item is blocked for purchase, warehousing or
Sale transactions
DeliveryTime INTEGER The standard delivery, lead, or acquisition time for items. The
times entered here are default times if times are not specified
elsewhere. This function is typically used by companies that need
simple lead times.
3.8.6 CustTable
Central client register table. Lots of fields for statistic and setup purposes are created in this table. For detailed
description about this table please see chapter 3.6.1.4
3.8.7 VendTable
Central client register table. Lots of fields for statistic and setup purposes are created in this table. For detailed
description about this table please see chapter 3.7.1.4
Page 81
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.8.8 BOMTable
Table, where standard bill of material setup is defined. Data is used in production.
3.8.9 RouteTable
Table, where standard production route setup is defined. Data is used in advanced production module.
3.8.10 ProjTable
For table description please see p. 3.11.1.2
3.8.11 ProjCategory
For table description please see p. 3.11.1.9
3.8.12 ProjCategoryGroup
For table description please see p. 3.11.1.10
Page 82
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.9.1 ProdTable
This is table where all production orders are listed. A production order describes a continuous production
sequence, which, through a number of connected work operations and raw materials, generates a quantity
of manufactured items.
Page 83
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
The typical life cycle of a production order begins with the start
of the production process when the order is first created. The
order is automatically assigned the Created status at this
point.
Page 84
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
active.
0 None
Page 85
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
QtyStUp REAL Displays the start quantity. The start quantity is updated
automatically with the quantity that is started.
Displays the desired delivery or finish date for the production.
DlvDate DATE You can use the delivery date in the production's operations or
job scheduling, where the scheduling can be selected
backward from delivery date. If you perform operations
scheduling or job scheduling for a production order that has
automatic creation of underproductions defined in the bill of
material, the delivery date for the underproductions is
automatically set to the date when the items will be used in the
production. The underproduction will then have operations
scheduled backward from delivery date.
0 None No Reservations.
Page 86
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Page 87
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 None
3 Production Production
Page 88
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 None
5 Completed Ended
0 Standard
1 Profit1
2 Profit2
3 Profit3
RouteJobs ENUM Have route jobs been generated for the production?
YES / NO
Page 89
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
production.
0 Production
1 Sales
0 None
1 Forward
2 Backward
PBAId STRING(20)
Page 90
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.9.2 ProdCalcTrans
This is table where production order cost estimations and real production costs are recorded. This is useful
table if you want to create are production cost reporting.
ProdId STRING(20) Identification of the production that the line refers to.
Selection indicates that the line is bill of materials (BOM)
BOM ENUM consumption.
YES / NO
Identification of the cost group.
CostGroupId STRING(10)
Quantity that the cost price, sales price, and consumption are
Qty REAL specified in and calculated for in connection with estimation.
Lines estimated quantity-dependent cost amount in number of
CostAmount REAL inventory units.
Line's quantity-independent cost miscellaneous charges.
CostMarkup REAL
Line's estimated quantity-dependent sales amount in number of
SalesAmount REAL inventory units.
Lines estimated quantity-independent sales-amount
SalesMarkup REAL miscellaneous charges.
Date of the calculation.
TransDate DATE
Page 91
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
This field is not updated for a top level production order line until
the production status is updated to end. When inventory
transactions are financially updated for the production order, the
field is updated with the realized consumption quantity.
The cost that the program calculates based on realized
RealCostAmount REAL consumption and the cost price. The item's cost price is from
the reference transaction, if it is marked. Otherwise, it is from
the item's on-hand record. The cost price for the job is from the
Route card or Job card journal.
RealCostAdjustment REAL Adjustment of cost amount.
0 None None
3 Production Production
Page 92
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Key4InventDimId STRING(20)
0 Variable Variable
1 Constant Constant
DEL_SumConsump ENUM Is the record summarized to find a price agreement for all
levels?
YES / NO
PriceDiscQty REAL
CostPriceModelUsed ENUM The cost price model that has been used for price
calculation.
4 None None
CalcGroupId STRING(10)
Page 93
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.9.3 ProdBOM
This is table where items which will be used for production order are recorded.
The production BOM is a list of the materials used in production. The materials are described with item
number and consumption, as well as a range of other data used for processing in the production system.
Production BOMs are based on Bills of material from the base data, as the production BOM is generated in
connection with Production creation as a copy of a bill of material from base data. In that way, it is the bill of
material for the item being produced in production, which is copied to the production BOM. The only exception
is if the item has no bill of materials, and no BOM number was given upon its creation. In that case, the
production BOM will be blank.
Field name Data type Field description
ProdId STRING(20) This field displays the production number of the production to
which the bill of material line belongs.
Page 94
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 Variable Variable
1 Constant Constant
Page 95
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
You can select item numbers from the list of existing item
numbers. You can also enter the item number manually, in
which case the system verifies that the item number exists in
the items table. At the same time, you fill in the Item name
field. The same item number can figure in the production's
BOM several times.
BOMQty REAL Specify here the Quantity units of the item figuring in 1 piece
of the finished item. If there is a gain, rather than a loss, of
the current item, specify a negative Quantity.
Dim1 REAL This field displays the calculation factor for Height that is
used in the calculation of raw materials consumption, if this is
proportional with the measurements defined in the
Production order You can change the field until the
production order is assigned the status 'Reported as
finished'. After a change you must cost estimate the
production order again in order to incorporate the changes.
Dim2 REAL This field displays the calculation factor for Width that is used
to calculate raw materials consumption, if this is proportional
with the measurements defined in the Production order You
can change the field until the production order is assigned
the status 'Reported as finished'.
Dim3 REAL This field displays the calculation factor for Depth that is to
be used in the calculation of raw materials consumption, if
this is proportional with the measurements defined in the
Production order This field can be changed until the
production order is assigned a status of Reported as
finished.
Dim4 REAL This field displays the calculation factor for Density to be
used in the calculation of raw materials consumption, if this is
proportional with the measurements defined in the
Production order This field can be changed until the
production order is assigned a status of Reported as
finished.
Dim5 REAL This field displays the calculation factor for Constant to be
used in the calculation of raw materials consumption, if this is
proportional with the measurements defined in the
Production order This field can be changed until the
production order is assigned a status of Reported as
finished.
Page 96
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
RoundUp ENUM This field allows you to round or cost estimated quantity to
RoundUpQty. Use rounding if the raw materials are always
used in fixed quantities.
Position STRING(30) This field defines the Position of the bill of material line. This
field can contain an alphanumeric string of up to 10
characters.
Page 97
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
OprNum INTEGER This field defines where this item is used in the production
sequence. If you do not define Oper. No. on the bill of
material line, the item is pushed to the first operation to be
executed after Route.
RemainBOMPhysical REAL This field displays the consumption that needs to be released
to the production in the inventory unit with regard to the
estimated quantity.
RemainBOMFinancial REAL This field displays the consumption that is released to the
production in the bill of materials unit, but has not yet been
included in the cost accounting.
0 Blank Blank
2 Start Start
3 Finish Finish
1 Manual Manual
0 None Manual
1 Estimation Estimation
2 Scheduling Scheduling
3 Start Start
InventTransId STRING(20) This field shows the old id and refers to the current inventory
transactions attached to the bill of material line.
Page 98
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 None
3 Production Production
Page 99
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
VendId STRING(20) For lines with Vendor define a vendor number that purchase
orders should be created for. If you leave this field blank, the
vendor will be obtained through the work center on the
attached operation.
BackorderStatus ENUM Back order status indicates what remains to be carried out
for a specific BOM line. The back order status is related to
the production's back order status
0 None
Calculation ENUM This field allows you to define whether the bill of material line
should affect the estimating. When the field is marked for
calculation, the line is included in estimating. Estimating
calculates the expected cost price and sales price.
YES / NO
Page 100
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
BOMId STRING(20) Reference to BOM id what was used when line was created.
0 Formula0 Standard
BOMQtySerie REAL Here you specify the number of units to which the value in
BOMQty applies.
ItemRouteId STRING(20) Route number for specific sub-route. If blank active are used.
ItemBomId STRING(20) BOM number for specific sub-BOM. If blank active are used.
EndConsump ENUM Picking list journal has been posted with end field checked
YES / NO
3.9.4 ProdRoute
Route can be defined as a series of interdependent work processes that are structured in such a manner that
they describe the work procedures involved in the production of one or more items produced by the company,
including the work centers and processes through which the item passes.
Production routes are based on Routes from base data, as the production route is generated in connection
Page 101
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
with Production creation as a copy of a route from base data. Thus, it is the route for the item for which a
production order is being created that is copied to the production route. The only exception is if the item has
no route and no route number was given for the item upon its creation. In that case, the production route is
blank.
The production route is an independent element where you are free to edit, insert, or delete information
without it affecting a corresponding route in the base data.
Field name Data type Field description
Displays operations in the selected Production that can be
ProdId STRING(20) changed or updated.
Define the operation number, which is an alphanumeric string of
OprNum INTEGER up to ten characters.
WrkCtrId STRING(10) Identify the work center or work center group to be used for
the operation.
TaskGroupId STRING(10) Specify a task group for searching for alternative work
centers. The field is used together with Job requirement of
the scheduling system when you search for alternative work
centers. Alternative work centers are sought when a conflict
arises concerning the work center specified for the operation.
Conflicts occur when there is insufficient capacity in the time
frame being scheduled for.
Displays the waiting time for Operation. Queue time before is
QueueTimeBefore REAL always positive. This time is scheduled according to the
Gregorian calendar and can be used with subcontractor work.
If selected, the setup time for clearing the work center is
SetupTime REAL included in the estimate. Setup time shows the fixed time that
is used to clear a work center. The time is scheduled on the
basis of the calendar of the defined work center. It is not
dependant on the production quantity. Similarly, a capacity
loading of the work center time is carried out in connection with
scheduling.
Page 102
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 Standard Standard
1 Vendor Vendor
Page 103
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 None None
5 Completed Ended
PropertyId STRING(10) Specify the Property needed for the operation at the given
Work center. Properties are defined in the Properties form.
During creation, the field is filled in with the value for
Property from the Operation being referred to.
RouteGroupId STRING(10) Specify the Routing group that is to control the operation.
The route groups control how the operation is handled in
connection with calculation, scheduling, job management,
and reporting.
QtyCategoryId STRING(10) Specify the cost category for the quantity. Use cost category
to specify a quantity-dependent cost for the operation.
Displays the scheduled start date for the operation. The start
FromDate DATE date is calculated in connection with operations scheduling or
jobs scheduling.
Displays the job scheduled start time for the operation. The start
FromTime TIME time is calculated in connection with jobs scheduling.
Displays the scheduled end date for the operation. The end
ToDate DATE date is calculated in connection with operations scheduling or
jobs scheduling.
Displays the scheduled job end time for the operation. The end
ToTime TIME time is calculated in connection with jobs scheduling.
CalcQty REAL Estimated quantity.
0 Primary Primary
1 Secondary1 Secondary 1
2 Secondary2 Secondary 2
3 Secondary3 Secondary 3
4 Secondary4 Secondary 4
5 Secondary5 Secondary 5
Formula ENUM Method used to calculate the consumption for the line
0 Formula0 Standard
1 Formula1 Capacity
0 None None
1 Soft Soft
2 Hard Hard
Page 105
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
YES / NO
YES / NO
0 Empty All
3.9.5 ProdRouteJob
These jobs are generated when user runs scheduling, which is run after operations-scheduling on
productions that use the operations-scheduling function. Job scheduling is the detailed scheduling of
capacity; it divides operations into their individual task times or jobs. This division is used to increase the
accuracy of the detailed schedule by monitoring the individual tasks.
NumType INTEGER
JobType ENUM Displays the job type, which describes the type of work that is
to be carried out.
Page 106
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Link ENUM Link specifies the link that the job was created with. A link
tells how the current job is tied to the subsequent job.
Times are precisely the same only when the link type is Hard.
When the link type is Soft, there may be a time gap between
the two jobs. In other words, the next job can start later than
the link specifies.
0 None
OprPriority ENUM Displays the priority for the production route. Priority can be
primary or secondary 1-5.
Page 107
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 Primary Primary
1 Secondary1 Secondary 1
2 Secondary2 Secondary 2
3 Secondary3 Secondary 3
4 Secondary4 Secondary 4
5 Secondary5 Secondary 5
SchedCancelled ENUM If the current job is canceled with regard to the schedule, the
field is selected.
YES / NO
Indicates whether records can be made for jobs through job
JobControl ENUM recording.
YES / NO
WrkCtrId STRING(10) This field indicates which Work center will execute the job.
Work center is selected from the work center defined on the
production route.
FromDate DATE Indicates the scheduled start date for the job. The date is
determined in connection with operations scheduling and
jobs scheduling.
FromTime TIME Displays the scheduled start time for the job. The time is
determined in connection with jobs scheduling.
ToDate DATE Displays the scheduled end date for the job. The date is
determined in connection with operations scheduling and
jobs scheduling.
ToTime TIME Specifies the scheduled ending time for the job.
Page 108
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
1 Waiting Waiting
2 Stopped Interrupted
3 Started Started
Locked ENUM If this field is selected, the job has been locked against
rescheduling. Therefore, the job cannot be moved when a
new jobs scheduling or job planning is carried out. You can
use locking against rescheduling especially with regard to
express items, which have high requirements on fixed
delivery times.
YES / NO
PropertyId STRING(10) Displays the work center property that is required for the
execution of the job on this Work center. If you leave this
field blank, it indicates that the job requires no special
properties of the work center.
RealizedStartDate DATE Displays the actual start date for the job. The start date is
updated for the first time a recording is made on the job.
Recordings can occur when the route journal or job journal is
posted to the ledger.
RealizedStartTime TIME Displays the actual start time for the job. The start date is first
updated when a recording is made on the job. Recordings
can occur when the route journal or job journal is posted to
the ledger.
RealizedEndDate DATE Actual end date for the job. This field is updated when the job
is registered as finished. Jobs can be finished when the route
journal or job journal is posted to the ledger.
RealizedEndTime TIME Displays the actual end time for the job. It is updated when
the job is registered as finished. Jobs can be finished when
the route journal or job journal is posted to the ledger.
Page 109
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 Empty All
3.9.6 ProdRouteTrans
This is table that includes production route realized transactions and detailed information. Each time a line
from a route sheet or job sheet journal is posted, a route transaction is created.
1 Setup Setup
2 Process Process
3 Overlap Overlap
4 Transport Transport
Page 110
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Hours REAL Displays the number of feedback hours in the current record.
QtyCause ENUM If the current route record contains feedback on the error
quantity, it displays here.
0 None
1 Material Material
2 Machine Machine
3 OperatingStaff Operator
YES / NO
Displays the date when the calculation was posted to the
DateCalc DATE ledger, if the production is cost accounted.
VoucherWIP STRING(20) Displays the voucher number for WIP posts in the ledger.
Displays the date when the WIP was posted to the ledger. WIP
DateWIP DATE is automatically posted when journals are posted.
Dimension STRING(10) Financial dimension.
Page 111
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
YES / NO
Indicates whether the route transaction belongs to a primary or
OprPriority ENUM secondary work center. In simultaneous operations, the primary
work center is used to specify which operation is to be the
controlling one in the scheduling. Secondary operations with the
same operation number are then scheduled simultaneously with
the primary one. This is defined in the route of a single
production. The production number of the route transaction is
displayed in the Production field.
0 Primary
1 Secondary1 Secondary 1
2 Secondary2 Secondary 2
3 Secondary3 Secondary 3
4 Secondary4 Secondary 4
5 Secondary5 Secondary 5
Displays the starting time from which the time consumed for this
FromTime TIME route transaction is registered. Together with End time, this
field shows the time period used for working on this job at the
point of this recording. This field may be left blank.
Displays the time until which the time consumed for this route
ToTime TIME transaction is registered. Together with Start time, this field
displays the time period used for working on this job at the point
of this recording. This field may be left blank.
Indicates whether the job to which the route transaction belongs
JobFinished ENUM is finished. If the field is cleared, the job has not been reported
as finished by this recording.
YES / NO
Displays an approximation of an operation's progress at the
ExecutedPct REAL time of feedback.
If half of the operation has been carried out, the value is 50%.
Displays the total amount of route transactions posted to the
Amount REAL ledger. This is calculated as number of hours multiplied by the
hourly rate or quantity multiplied by the quantity price.
Displays the operation that has been carried out at this route
OprId STRING(10) transaction.
Page 112
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
VoucherCalc STRING(20) Indicates which voucher series has been used at cost
accounting posting of issues from the work center. Work
center issue is the value that the route transaction has on the
basis of the WIP transactions posted earlier. The transaction
can later be settled with salary payments in the ledger.
Receipt account used when posting WIP to the ledger.
AccountWIPValuation STRING(20)
Indicates which account number has been used when posting
AccountWIPIssue STRING(20) WIP issues to the ledger. WIP issue is the value that is used by
the work centers at this route transaction. Therefore, you can
see in the ledger which value has been issued from the work
centers. Offset accounting is carried out to the account defined
in the WIP account field.
Displays the account number that has been used as an offset
AccountCalcIssueOffset STRING(20) account at cost accounting posting of issues from the work
center. The work center issue is posted using the value entered
in the amount field. The offset account contains the value that is
added to the company accounts in the form of finished products.
You can see in the ledger what value the work centers have had
with regard to a production. The account number is determined
by the way production has been set up on the Production
orders form and in Ledger. The account number is specified on
the basis of this setup, either using the cost category, work
center, or production group.
Displays the account number that has been used for posting
AccountCalcIssue STRING(20) cost accounting after work center issue. The WIP transactions
have been posted earlier. Therefore, you can see in the ledger
what value the work centers have had with regard to this route
transaction. The transaction is settled later with salary payments
in the ledger. The account number depends on the setup of the
production on the Production orders form and in Ledger. The
account number is determined by this setup, either using the
cost category, work center, or production group.
PostingWIPValuation ENUM Transaction type is a specification of the type of transaction.
0 None
3 InterCompany Intercompany
accounting
6 Allocation Allocation
8 Liquidity Liquidity
Page 113
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
13 Closing Close
20 Bank Bank
35 CostCollectionLetterFee Customer
collection letter
fee
38 CustPayment Customer
payment
39 CustReimbursement Reimbursement
40 CustSettlement Customer
settlement
Page 114
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
46 VendPayment Vendor
disbursement
52
53
54
55
56
57
58
59
60
61
62
63
64
65
71 PurchConsump Purchase,
consumption
Page 115
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.9.7 WrkCtrTable
This is table that includes resources for manufacturing called work centers. Work centers with similar functions
in the production process are usually assigned to the same work center group. The parameters for the group
are the default parameters for each work center in this group. This eliminates the need to define parameters
for each work center individually.
Work center groups are used to manage capacity in the company's production system. The company's work
centers are divided into 2 levels, i.e., and Work center. Group is primarily used in operations scheduling and is
therefore a superior level of capacity management.
Work center groups can be of the : Vendor ,Human resources Machine or Tool.
If the jobs/operations are carried out by an external work center (sub supplier), then when the Supplier is
selected, no capacity reservation will be made for machine capacity, although the planned time for the
supplier will be calculated as a production time in connection with scheduling.
It is possible to schedule operations for both the work center group and the work center. However, work
centers must always be associated with a , and the work center group must be associated with at least one
Work center. If the operation in the production route is associated with a Group, then the capacities of all
underlying work centers will be included in operations scheduling. Not until job scheduling with the optimum
in the chosen Group is selected.
Page 116
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
EffectivityPct REAL Specified here is the efficiency percentage for the work
center group in the WrkCtrGroupId dialog or for the work
center in the WrkCtrId dialog. This reduces or increases
the time required by an individual job.
0 None
1 StrokesHour Strokes/hour
2 MeterHour Meters/hour
3 KgHour Lbs./hour
4 FormHour Data/hour
Page 117
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
QueueTimeBefore REAL This field shows the time to wait before the operation can
be started. The value in the field must be positive. You set
up the field in the route group, where you can determine
whether queue time should be scheduled and which
calendar to use. Queue time can be used for sub supplier
work, for example.
SetupTime REAL The , which must be positive, is the fixed time to be used
for preparing a work center. Whether the time should be
scheduled, and whether capacity should be reserved or
the time should respect the working-time calendar
depends on the route group.
ProcessTime REAL Run time shows the time it takes to produce the process
quantity. If you did not specify a conversion factor in the
ToHours field for the route operation or the ToHours field
for the work center, then Run time is filled in automatically
with hours with two decimals. If you entered a value in
ToHours for the route operation, then the ToHours for
the work center will be overridden. ProcessPerQty must
be positive. For a description of conversion to other units
of time, see ToHours. The time is scheduled in relation to
the operation's TaskGroupId.
TranspTime REAL Transit time shows the time it takes to move items
between two work centers or from the last operation to
inventory. How TranspTime is used depends on the setup
for the operation's route group. The transport time must be
positive.
The field value is transferred to the route operation when
you select the work center.
QueueTimeAfter REAL Queue time after is the time that the items have to wait
after the operation is finished before the next operation
can start. The field must be positive. The value in the field
will depend on the setup for the route group in
ProcessTime and can follow the Gregorian calendar or the
current working-time calendar. For example, you could
use the field to dry items before the start of the next
operation.
The overlap quantity is used to calculate the overlap time.
TransferBatch REAL The field value must be positive. Overlap time can be defined
as the minimum production time before overlap may occur.
Overlap time is scheduled according to the calendar and is
calculated in the following manner:
The setup for the route group will determine the choice of
calendar. Accumulated scrap pct is the accumulated scrap
percentage in the production process. If TransferBatch is 0
(zero) or greater than the quantity for the production, then the
overlap time will be 0 (zero).
Conversion factor to hours. (Factor X Time) = Time in hours.
ToHours REAL
Scrap percentage shows the expected extra consumption for
ErrorPct REAL the operation. The extra consumption is included in the
Page 118
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
CapLimited ENUM This field allows you to select whether the capacity is
limited or unlimited. If this field is selected, the capacity
will be limited. With limited capacity, operations or jobs are
scheduled on the basis that it is not possible to engage
more capacity than what is available on the work center
group or work center. With unlimited capacity, already
reserved capacity on a work center group or work center
is not taken into account, which renders subsequent
reservations without meaning.
WrkCtrTaskDemand REAL In this field you can specify a minimum requirement for
searching for alternative work centers.
PropertyLimited ENUM Does the work center operate with limited properties?
YES / NO
3.9.8 WrkCtrCapRes
Table is used to reserve capacity on the particular Work center or Work center group. Capacity is the
percentage of company resources available for production. Scheduling is possible in different versions.
Page 119
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 Blank
1 Blank1
1 Setup Setup
2 Process Process
3 Overlap Overlap
4 Transport Transport
0 Blank
0 Primary
1 Secondary1 Secondary 1
2 Secondary2 Secondary 2
3 Secondary3 Secondary 3
4 Secondary4 Secondary 4
5 Secondary5 Secondary 5
Page 121
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.10.1.1 BankAccountTrans
The transaction table, where all bank module transactions are stored. This table is linked with LedgerTable
and bank transactions in BankAccounTrans and LedgerTrans table should mach together.
Page 122
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.10.1.2 BankAccountTable
In this table all different bank accounts are stored what are used for money transfer. There is defined how
bank transactions are transferred to general ledger LedgerTrans table.
3.10.1.3 BankGroup
Table contains list of different banks what company uses in its everyday business.
Page 123
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.11.1.1 ProjTransPosting
The central table for the project related transactions. There are five different project transaction types in the
project module: inventory transactions, employee transactions (work hours), cost transactions, revenue
transactions and on account transactions. All these transaction types have their own transaction register that
also synchronizes data with the ProjTransPosting table.
TransId CHAR(20) Project module centric transaction number. Ties together many
tabels also from outside the project module.
ProjTransDate DATE Project date when the transaction was posted to the project.
Subscription INTEGER Specifies, if the transaction is related with accruals (for example
revenue accruals in fixed price projects)
ProjTransType INTEGER Displays the project transaction type – from which project
Page 124
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Account CHAR(20) General ledger account used while posting the transaction in GL
PostingType INTEGER Posting specific type identifies what process in project module
created the transaction.
Values can be following:
SQL AX value
value
121 ProjCost
122 ProjPayrollAllocation
123 ProjWIPCostvalue
124 ProjOffsetAccountItem
125 ProjStatusAccountItem
126 ProjTurnover
127 ProjOnAccount
128 ProjSalesvalue
129 ProjSalesvalueOffset
130 ProjAccruedTurnoverProd
131 ProjWIPProduction
132 ProJAccruedTurnoverProfit
133 ProjWIPProfit
134 ProjNeverLedger
135 ProjAccruedCost
136 ProjWIPCost
137 ProjAccruedRevenueOnAccount
138 ProjWIPInvoicedOnAccount
Page 125
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
139 ProjNoLedger
207 ProjAccruedRevenueSubscription
208 ProjWIPSubscription
costSales INTEGER Specifies whether transaction is sales or cost related.
Values:
SQL AX value
value
0 None
1 Cost
2 Sales
Qty REAL View the quantity associated with the transaction, if any.
Elimination INTEGER Identified if the transaction is created during fixed price project
elimination process.
No/Yes
ProjType INTEGER Specifies the project type related with the transaction:
SQL AX value
value
2 Investment project
4 Internal project
3.11.1.2 ProjTable
The table is central project register for Dynamics AX solution. The table contains different project specific
Page 126
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
setup parameters. In this table also project hierarchy is stored. Lines from this table can be used in
dimensional analyses as inventory dimensions.
ProjGroupId STRING(10) The project group that the current project is going to be part of
Created DATE Project creation date. This date is automatically inserted when the
project is created
ProjInvoiceProjId STRING(10) Reference to the invoice project. The invoice project determines
the invoice and payment conditions of a project.
ParentId STRING(10) Shows the parent project of a child project, if any. If the current
project is at the top level, the field is empty.
Status INTEGER The status of the current project. Values can be:
Page 127
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
WIPProject STRING(10) The estimate project reference is the reference for posting
estimates. Any project in the project hierarchy can be specified as
an estimate project. Filed is relevant only in fixed price projects.
SQL AX value
value
1 Fixed price
2 Investment
3 Cost
4 Internal
5 Time
ResponsibleFinancial STRING(10) The person who is financially responsible for the project (project
controller).
Template INTEGER This field is selected if the current project should be applied as a
template for projects set up with the Copy project wizard.
No/Yes
3.11.1.3 ProjEmplTrans
The Table is specific transaction register for the project employee transactions. ProjEmplTrans specialty is
the employee work hours registration for project accounting purposes. All transaction from this register are
synchronized also to ProjTransPosting table (central project transaction register)
Txt CHAR(60) Text entered into the Transaction text field when the journal is
posted
SalesPrice REAL Sales-price per hour of the current category. This price includes
any additional costs and miscellaneous charges.
LedgerTsatusCost INTEGER Current placement in ledger that is balance sheet, profit and loss,
or posted, but not financially updated in the ledger.
Page 128
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
WIPPeriod DATE Specifies which WIP period the transaction is attached to.
Page 129
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
0 No status
1 Registered
2 Posted
3 Invoice proposal
4 Invoiced
7 Estimated
8 Eliminated
9 Adjusted
3.11.1.4 ProjOnAccTrans
The Table is specific transaction register for the project on account (prepayment) transactions.
ProjOnAccTrans specialty is payment registration accordingly to agreed payment schedule for project
accounting purposes. All transaction from this register are synchronized also to ProjTransPosting table
(central project transaction register)
Description CHAR(60) Text entered into the Transaction text field when the journal is
posted
OffsetTransaction INTEGER This check box indicates that the current transaction line is an
offset transaction.
If the current project is a fixed-price project, this check box is left
blank because no offset transactions are entered for fixed-price
projects.
For a time-and-material project, on the other hand, this check box
is left blank on the line where the on-account amount is entered.
On the following lines the offset transactions are entered with a
negative sign, and for these lines this check box is selected.
WIPPeriod DATE Specifies which WIP period the transaction is attached to..
Page 130
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
0 No status
1 Registered
2 Posted
3 Invoice proposal
4 Invoiced
7 Estimated
8 Eliminated
9 Adjusted
3.11.1.5 ProjRevenueTrans
The Table is specific transaction register for the project revenue transactions. ProjRevenueTrans specialty is
the project revenue transactions registration for project accounting purposes. All transaction from this register
are synchronized also to ProjTransPosting table (central project transaction register)
Txt CHAR(60) Text entered into the Transaction text field when the journal is
posted
SalesPrice REAL Sales-price of the current category. This price includes any
additional costs and miscellaneous charges.
LedgerSalePosted INTEGER This check box is selected if revenue from a transaction of type
Fee has been accrued.
If revenue has been accrued on a project, it will be charged to
the WIP sales value account and placed as credit on the
accrued revenue sales value account.
Page 131
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
No/Yes
WIPPeriod DATE Specifies which WIP period the transaction is attached to.
SQL AX value
value
0 Accrued revenue
3 Cost
ControlVersion INTEGER Specifies version number for the WIP calculation period for the
current transaction (WIP calculations per period may be cancelled
and recalculated)
Origin INTEGER Shows whether the transaction was generated from a journal
transaction, an estimate or a subscription.
Values:
SQL AX value
value
0 Journal
1 Estimate
SQL AX value
value
0 No status
1 Registered
2 Posted
Page 132
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3 Invoice proposal
4 Invoiced
7 Estimated
8 Eliminated
9 Adjusted
3.11.1.6 ProjCostTrans
The Table is specific transaction register for the project cost transactions. ProjCostTrans specialty is the cost
transaction registration (not inventory or work hour related costs, like subcontracting, consultancy etc.) for
project accounting purposes. All transaction from this register are synchronized also to ProjTransPosting table
(central project transaction register)
Txt CHAR(60) Text entered into the Transaction text field when the journal is
posted
SalesPrice REAL Sales-price per hour of the current category. This price includes
any additional costs and miscellaneous charges.
LedgerTsatusCost INTEGER Current placement in ledger that is balance sheet, profit and loss,
or posted, but not financially updated in the ledger.
Page 133
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
WIPPeriod DATE Specifies which WIP period the transaction is attached to.
CurrencyIdCost CHAR(3) Current currency code that was used for entering the expense.
CostAmountLedger REAL Cost amount posted to the ledger in the company currency
Origin INTEGER Shows whether the transaction was generated from a journal
transaction, an estimate or a subscription.
Values:
SQL AX value
value
0 Journal
1 Estimate
Page 134
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
0 No status
1 Registered
2 Posted
3 Invoice proposal
4 Invoiced
7 Estimated
8 Eliminated
9 Adjusted
3.11.1.7 ProjItemTrans
The Table is specific transaction register for the project inventory transactions. ProjItemTrans specialty is
the inventory transactions registration for project accounting purposes. All transaction from this register are
synchronized also to ProjTransPosting table (central project transaction register)
Txt CHAR(60) Text entered into the Transaction text field when the journal is
posted
Page 135
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
1 Sales order
2 Item journal
3 Purchase order
InventDimId CHAR(20) Foreign key to the table InventDim. Each InventDimId contains
unique dimension combination
ProjAdjustRefId CHAR(20) Inventory transaction relation from InventTrans table to the project
module transaction table ProjTransPosting.ProjAdjustRefId and
ProjItemTrans.ProjAdjustRefId. In case of inventory cost
adjustment this code links project related inventory module
transactions with the relevant project module transaction.
Ledger account for posting lines to a specific sales account.
LedgerAccount CHAR(20)
SalesUnit CHAR(20) Shows the unit of the item that was consumed, for example,
gallons of paint or meters of cable.
SQL AX value
value
0 No status
1 Registered
2 Posted
3 Invoice proposal
4 Invoiced
7 Estimated
Page 136
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
8 Eliminated
9 Adjusted
3.11.1.8 InventTable
For the table description please see p. 3.8.1.4
3.11.1.9 ProjCategory
The ProjCategory table is register that contains different cost categories, which can be used for different
project transactions in transaction tables (ProjEmplTrans, ProjRevenueTrans, ProjCostTrans,
ProjItemTrans). Project cost categories are useful for analyses purposes and also they are used while
setting up project transactions posting rules to the general ledger transactions.
SQL AX value
value
0 None
1 Fee
2 Hour
3 Expense
4 Item
3.11.1.10 ProjCategoryGroup
Project categories defined in ProjCategory table must belong to the project category group that groups
together project categories that are similar to each other. It means that categories have two level hierarchies
for reporting purposes.
Page 137
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
SQL AX value
value
0 None
1 Fee
2 Hour
3 Expense
4 Item
3.11.1.11 LedgerTable
For the table description please see p. 3.1.1
3.11.1.12 EmplTable
The table is central register for the company employees.
SQL AX value
value
0 None
1 Employed
2 Terminated
3.11.1.13 Dimensions
For the table description please see p. 3.1.2
Page 138
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.12.1.1 ProjTransBudget
The central table for the project related forecast transactions. There are five different project forecast
transaction types in the project module: inventory transactions, employee transactions (work hours), cost
transactions, revenue transactions and on account transactions. All these transaction types have their own
transaction register that also synchronizes itself with the ProjTransBudget table.
Page 139
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
TransId CHAR(20) Project module centric transaction number. Ties together many
tabels also from outside the project module.
ProjTransDate DATE Project date when the transaction was posted to the project.
ProjTransType INTEGER Displays the project transaction type – from which project
accounting journal the transaction in originated. Options are:
Account CHAR(20) General ledger account used while posting the transaction in GL
budget
PostingType INTEGER Posting specific type identifies what process in project module
created the transaction.
Values can be following:
SQL AX value
value
121 ProjCost
122 ProjPayrollAllocation
123 ProjWIPCostvalue
124 ProjOffsetAccountItem
125 ProjStatusAccountItem
126 ProjTurnover
Page 140
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
127 ProjOnAccount
128 ProjSalesvalue
129 ProjSalesvalueOffset
130 ProjAccruedTurnoverProd
131 ProjWIPProduction
132 ProJAccruedTurnoverProfit
133 ProjWIPProfit
134 ProjNeverLedger
135 ProjAccruedCost
136 ProjWIPCost
137 ProjAccruedRevenueOnAccount
138 ProjWIPInvoicedOnAccount
139 ProjNoLedger
207 ProjAccruedRevenueSubscription
208 ProjWIPSubscription
costSales INTEGER Specifies whether transaction is sales or cost related.
Values:
SQL AX value
value
0 None
1 Cost
2 Sales
Qty REAL View the quantity associated with the transaction, if any.
Elimination INTEGER Identified if the transaction is created during fixed price project
elimination process.
No/Yes
ProjType INTEGER Specifies the project type related with the transaction:
SQL AX value
value
2 Investment project
4 Internal project
Page 141
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.12.1.2 ProjTable
For the table description please see p. 3.10.1.2
3.12.1.3 ProjForecastEmpl
The Table is specific forecast transaction register for the project employee forecast. ProjForecastEmpl
specialty is the employee work hours forecasting for project budgeting purposes.
SalesPrice REAL Sales-price per hour of the current category. This price includes
any additional costs and miscellaneous charges.
Txt CHAR(60) Text entered into the Transaction text field when the forecast is
created
Page 142
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
InvoiceDate DATE The forecasted invoice date. The invoice date calculated for
forecast transactions depends on the invoice frequency defined
on the invoice project.
EliminationDate DATE The elimination date. When the forecast is created, the
elimination date is set to the end date of the project. If the project
has no end date, the project date will be applied. Applies to fixed-
price projects and investment projects.
3.12.1.4 ProjForecastOnAcc
The Table is specific forecast transaction register for the project on account (prepayment) forecast.
ProjForecastOnAcc specialty is payment forecasting for project accounting purposes.
Txt CHAR(60) Text entered into the Transaction text field when the journal is
posted
InvoiceDate DATE The forecasted invoice date. The invoice date calculated for
forecast transactions depends on the invoice frequency defined
on the invoice project.
EliminationDate DATE The elimination date. When the forecast is created, the
elimination date is set to the end date of the project. If the project
has no end date, the project date will be applied. Applies to fixed-
price projects and investment projects.
3.12.1.5 ProjForecastRevenue
The Table is specific forecast transaction register for the project revenue forecasts. ProjRevenueTrans
specialty is the project revenue forecasting for project accounting purposes.
Page 143
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
The table contains two types of lines, ones for setup purposes and others for reporting and analyses
purposes. Transactions from this register are synchronized also to ProjTransBudget table (central project
forecast transaction register)
SalesPrice REAL Sales-price of the current category. This price includes any
additional costs and miscellaneous charges.
SQL AX value
value
0 Day
1 Month
2 Year
ExpandId INTEGER Reference to the setyp type transaction based on what current
transactions are created (exploded). Value is 0 if there is no
explosion.
Freq How many units of code is the jump per transaction (related with
FreqCode field?
Report INTEGER Field is defining if the record is setup type budget line or reporting
type budget line.
Active INTEGER Marked if the amount should be included in the current budget. By
default, the field is marked as active when a budget line is
created.
Page 144
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
0 No Inactive
1 Yes Active
Txt CHAR(60) Text entered into the Transaction text field to describe the
forecast line
0 No Not stopped
1 Yes Stopped
EndDate DATE Last date of the posting period for this periodic transaction. Used
in setup lines.
StartDate DATE Date from which the budget amount will be in effect.
CovStatus INTEGER Status of cash flow forecast for the current transaction.
InvoiceDate DATE The forecasted invoice date. The invoice date calculated for
forecast transactions depends on the invoice frequency defined
on the invoice project.
3.12.1.6 ProjForecastCost
The Table is specific forecast transaction register for the project cost forecasts. ProjCostTrans specialty is the
cost transaction forecasting (non-inventory or work hour related costs but costs like subcontracting,
consultancy etc.) for project accounting purposes.
The table contains two types of lines, ones for setup purposes and others for reporting and analyses
purposes. Transactions from this register are synchronized also to ProjTransBudget table (central project
Page 145
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
EndDate DATE Last date of the posting period for this periodic transaction. Used
in setup lines.
SalesPrice REAL Sales-price per hour of the current category. This price includes
any additional costs and miscellaneous charges.
SQL AX value
value
0 Day
1 Month
2 Year
Freq How many units of code is the jump per transaction (related with
FreqCode field?
ExpandId INTEGER Reference to the setyp type transaction based on what current
transactions are created (exploded). Value is 0 if there is no
explosion.
Report INTEGER Field is defining if the record is setup type budget line or reporting
type budget line.
Page 146
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
Active INTEGER Marked if the amount should be included in the current budget. By
default, the field is marked as active when a budget line is
created.
0 No Inactive
1 Yes Active
Txt CHAR(60) Text entered into the Transaction text field to describe the
forecast line
0 No Not stopped
1 Yes Stopped
StartDate DATE Date from which the budget amount will be in effect.
CovStatus INTEGER Status of cash flow forecast for the current transaction.
InvoiceDate DATE The forecasted invoice date. The invoice date calculated for
forecast transactions depends on the invoice frequency defined
on the invoice project.
EliminationDate DATE The elimination date. When the forecast is created, the
elimination date is set to the end date of the project. If the project
has no end date, the project date will be applied. Applies to fixed-
price projects and investment projects.
Page 147
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.12.1.7 ForecastSales
The Table is forecast transaction register for the project inventory forecast. ForecastSales specialty is the
inventory forecast transactions registration. The table differs from other project forecast transaction tables as it is
part of master planning module. It means that project module uses some of the master planning functionality in
order to register the project specific item forecast.
The table contains two types of lines, ones for setup purposes and others for reporting and analyses purposes.
Project related transactions from this register are synchronized also to ProjTransPosting table (central project
transaction register)
StartDate DATE Date from which the budget amount will be in effect.
EndDate DATE Last date of the posting period for this periodic transaction. Used
in setup lines.
SQL AX value
value
0 Day
1 Month
2 Year
Active INTEGER Marked if the amount should be included in the current budget. By
default, the field is marked as active when a budget line is created.
0 No Inactive
1 Yes Active
Comment CHAR(60) Text entered into the Transaction text field to describe the
forecast line
Report INTEGER Field is defining if the record is setup type budget line or
reporting type budget line.
PriceUnit CHAR(10) Enter the number of units for which the Price applies.
ItemAllocateId CHAR(10) Item allocation key that is used in inventory forecast allocation.
Freq How many units of code is the jump per transaction (related
with FreqCode field?
Amount REAL Amount (gross amount less any discounts) that the forecast
transaction contributes to the forecast.
Page 149
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
ProjForecastInvoiceDate DATE The forecasted invoice date. The invoice date calculated for
forecast transactions depends on the invoice frequency
defined on the invoice project.
ProjForecastEliminationDate DATE The elimination date. When the forecast is created, the
elimination date is set to the end date of the project. If the
project has no end date, the project date will be applied.
Applies to fixed-price projects and investment projects.
3.12.1.8 InventTable
For the table description please see p. 3.8.1.4
3.12.1.9 ProjCategory
For the table description please see p. 3.10.1.9
3.12.1.10 ProjCategoryGroup
For the table description please see p. 3.10.1.9
3.12.1.11 LedgerTable
For the table description please see p. 3.1.1
3.12.1.12 EmplTable
For the table description please see p. 3.11.1.12
Page 150
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
3.12.1.13 Dimensions
For the table description please see p. 3.1.2
3.12.1.14 ForecastModel
For the table description please see p. 3.4.5
Page 151
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3
Prepared for Microsoft Corporation
4 REFERENCES
Page 152
Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft
Prepared by Fred Viidul
"AX40datamodel.doc" last modified on 24 Sep. 08, Rev 3