Ax 40 Data Model

March 18, 2018 | Author: charly_malamute | Category: Debits And Credits, Financial Transaction, Data Type, Sql, Data Model


Comments



Description

Documentation Dynamics AX 4.0 data model overview Prepared for Microsoft Corporation Thursday, 22 September 2011 Version .1 Draft Prepared by Fred Viidul MBS Consultant [email protected] 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. All trademarks are the property of their respective companies. ©2005 Microsoft Corporation. All rights reserved. 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 "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation Revision and Signoff Sheet Change Record Date Author Version .1 Change reference Initial draft for review/discussion Reviewers Name Version approved Position Date Page iii Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 ...............9 1.....................2 Dynamics AX overall data structure information.....................2 1.4 1.................................2.................................2 1........8 LedgerBalancesDim......................3........19 1................4 1.........................3..........................................................................................5...................8 Dimensions.......4 1........2.............................................................................................1 Documentation approach........................................3 Data area ID..........................................5 Tax transaction data model...........4 1..................................................................4 1..................................................................................................................................15 Table maps..............................4 1................................................................................2 1.........................................................................................................................................3...............................3..............................................................................................................1 Business need for the project..........................................2.......................................................................................6 Base enumerations.........4 1................................9 Relations.................3 LedgerTableInterval..............................................................................25 1...........................................2.........................................................................................2..................................................................................................................3 Ledger transaction data model...........................................................12 Methods.....................................2...........4 Tax system setup data model....................................2.........................................................................................................................................2.................................1 Data structure description principles..... Rev 2 ............5 LedgerBalancesTrans....................................................4 1.............4 1...3.....4 1..............................................30 Page iv Documentation.........................................................................................................................1 LedgerTable...........3 TaxTrans...............................................13 Automatic fields....7 Extended data types..............5.....4 TaxReportVoucher.................................22 1...................................25 1........................................................................... Dynamics AX 4...2.......................1 Draft Prepared by Fred Viidul "71767092.............................................0 data model overview.2 TaxReportCollection...............19 1....................................................................................................................................................................................6 LedgerBalancesDimTrans..16 Transaction tables relation schema...........................5 Dynamics AX data structures............................2.......11 Field groups.........2........................................................................................................................................................................................2.............................................................................................................2..........................................................................................6 1....4 1..........................................................................................16 1...................10 Delete actions...................................................................................4 LedgerTrans............2....10 1...........................................................7 1........1 Documentation areas.......................2......................2 1................2 1............4 Rec ID and Rec version..........................................................................8 1......................... Version .................................4 1.........19 1..................................2........6 1.......................... 11.......................................................14 Views.....................3.....................................................................................................................................................5.............................................................................................2 Table naming.......................................................7 LedgerBalances..............17 1............................................22 1.........................................5 Indexes..........3.......................................................................................................1 TaxTable..........................................3...................................................1 Currencies.................................................................doc" last modified on 22 Sep.......4 1.......................5.......2 Dimensions..............................................1 Introduction....Prepared for Microsoft Corporation Table of Contents Executive Summary....... ..........39 1....................................7 Fixed assets data structure..10......................3 AssetBudget data structure................................................38 1.......80 1...........35 1......38 1.................................................74 1...........80 1.................................................5 InventTableModule.........2 VendInvoiceTrans Data structure ..........7 ForecastSales...................................................31 1...........2 ProdCalcTrans......................................11..............................................71 1............................69 1...............89 1......1 AssetTrans data structure......................................................................................6 CustTable.10...............................................................0 data model overview.......................................................................................................................6...................................7 VendTable...............................38 1............................1 VendTrans Data structure ..................7................................................................78 1..............................36 1.......................3 ProdBOM.........................................................78 1...................................................................10..............31 1..............2 Dimensions..................................9 RouteTable............80 1.....10.................................10........................................80 1........................................................................................................................................................8.....................36 1..............................................................73 1.......................................104 Page v Documentation....................................5 ForecastModel.......Prepared for Microsoft Corporation 1.10 Inventory transactions data structure.....................11..........................10 AssetBook............................................................doc" last modified on 22 Sep................11 Production General data model..................................1 ProdTable....................................................31 1.................................................................10..................................................................................7........92 1................................................................................................9.....................................................................6.............................................37 1.........................82 1.......54 1.45 1........81 1....................................................6..................................................80 1..........6..........................12 ProjCategoryGroup..............................8 Accounts receivables data structure...........................................................................5 ProdRouteJob...........................................................................4 InventTable......11 ProjCategory.....................................9 Accounts payables data structure............................................6.......... 11.....................4 ProdRoute.......................................................................................81 1...............................................10........................................5 Dimensions.............................................................................................................................................................................................99 1...................................37 1........................................................................................................................... Version .................2 CustInvoiceTrans Data structure .........38 1....................... Rev 2 ................................................................................50 1..................31 1.5.......................11.........................................1 Draft Prepared by Fred Viidul "71767092.............................54 1...............6...........................................................2 AssetDepBookTrans data structure................................................1 InventTrans..............................3 LedgerTable......................7...............................3 InventSum.................................................10.......................................11..................................................1 CustTrans Data structure .................................................6...............................6 ForecastPurch.....8 BOMTable............11...8...................................10..............................................................................................................................10................................................................10 ProjTable...............................................1 LedgerBudget.....................32 1...10............................................................6............................................9.......79 1............................................69 1.......................................................6 LedgerTable......................36 1..................................................................................6 Ledger budgeting data model.......5..............6...7 LedgerTrans.....................................................................9 AssetTable...61 1.....................................................5....................... Dynamics AX 4.......................8 ProjTransBudget..............................................................................................................77 1.......10.....80 1.....................................6.................................................4 BudgetModel..........................................................2 InventDim... .....................................................................................149 Page vi Documentation............117 1.............................Prepared for Microsoft Corporation 1...................................113 1....... Version ...12 Bank transactions data structure........................................108 1.........7 WrkCtrTable................................................................................................. Rev 2 ..................................................11.....................119 1...........................121 1...8 WrkCtrCapRes......... Dynamics AX 4......................0 data model overview.................................6 ProdRouteTrans..............14 Project forecast data structure.................................................................136 References.......................................13 Project transactions data structure................. 11.............................................................1 Draft Prepared by Fred Viidul "71767092............doc" last modified on 22 Sep..............11..................................11.............................. each functional Dynamics AX module should next documentation topics to be covered: 1. Project Page 1 Documentation.Prepared for Microsoft Corporation EXECUTIVE SUMMARY Business need for the project Dynamics AX as ERP system gathers lot of different data depending on the product usage in the company. Accounts receivables 4. Main tables key aggregate data columns description 3. Banking 3. Production 7. Rev 2 . Currently it is lack of information about data model inside Dynamics AX applications. Version . General ledger and Tax 2.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. Main tables relational structure for each documented module 2. It is difficult to understand what data is stored in which table and how these tables are linked to each other. Main tables dimension columns description and filtering suggestions 4. This data is often used by third party products for reporting and data warehousing purposes. Inventory management 6. about describing data model for third party application usage. Documentation approach To achieve documentation goals. 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. human recourses. 11. Accounts payables 5. starting from financial data and ending with data from manufacturing.doc" last modified on 22 Sep. 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. master planning. To get this understanding you have to use Dynamics AX development environment tools and know also product functionality in order to find out best way for analyses and reporting system based on Dynamics AX data model. Dynamics AX 4. strategic planning etc. Therefore it might happen that in real implementation data type for certain field is other than defined in current document. CHAR(10).1 Data structure description principles Current document is created to assist people from data varehousing area to understand Microsoft Dynamics AX (AX) data structure and find relevan information for reporting and alanyses purposes. This can be used if local company is part of bigger corporation and local and corporate accounting currencies are different. 11. Also not all fields from selected tables are described in the document. Selection principle is functional areas description regarding central fact and dimension data. 1. as business logics controls are defined in AX only. Usually first part of table name is defining the functional area that certain taibel is related to. 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”. Dynamics AX 4.). Company Currency is defined in company information table (CompanyInfo). Secondary currency is also widely used in European countries who have their own currency.2. Rev 2 . REAL etc. In the table description there are pointed out dield data type (INTEGER. which sommunicates with SQL server to sünchronize table changes to the SQL server.doc" last modified on 22 Sep.1 Draft Prepared by Fred Viidul "71767092. primary keys. Table primary key / foreign key constraints are not defined in SQL server but stored in AX. Relations that are not so relevand or are evidential are not incuded into the drawings. transaction currency. Version . Taböe naming are following Page 2 Documentation.Prepared for Microsoft Corporation INTRODUCTION 1. fields. In SQL server level there are defined following objects: tables.0 data model overview. but due to the joining euro zone accounting should be done in two currencies. Setup and lonx text type fields are often left out as these have no importance in terms of analyses and reporting. what is AX generated unique value and creation outside AX business logis can couse mess in the database. general ledger transaction currency etc. default values. Transaction currency is currency what is used in relevant transaction (invoice currency. indexes. These are default data types that can be modified accordingly to the customer needs (especially CRAR type of fields). It means that there is not possible (or is wery dangerous) to update or upload data directly to the SQL database. check constraints. AX database itself is located in SQL server.2. 1. Secondary currency adds possibility to keeb accounting transactions in two different accounting currencies. There fore only selected tables are included to the document.2 Dynamics AX overall data structure information Dynamics AX datastructure is described in AX development anviroment. Lot of transactional relations and primary keys are based on RecId.2 Table naming Tables in AX solution are named by certain rule for better understandinf the data model. Amount fields meant for secondary currency are usually ending with “MSTSecond”.1 Currencies There are three different currency calcilations in AX environment.) Currency code (field named usually CurrencyCode) and rate for that currency are usually stored in the same table than currency amount. 1. Not alla data relations between described tables are defined in the drawings. company currency and secondary currency. 11.Prepared for Microsoft Corporation Table prefix ADDRESS* AIF* ASSET* BANK* BACH* BOM* COS* CUST* DEL_* DIMENSION* EVENT* FORECAST* HRM* INTERCOMPANY* INTRASTAT* INVENT* KM* LEDGER* Functional area Central address register Application Integration Framefork Fixed assets module Banking module Bach processing functionality Bills of material functionality (manufacturing) Cost accounting module Accounts receivables functionality Tables what are not used in the current version.0 data model overview.doc" last modified on 22 Sep. Version . but are still maintained for version upgrade purposes Cross application (financial) dimension tables Alert system tables Item forecast functionality Human recourse management tables Tables for intercompany functionality Tables related with intrastate reporting Inventory related functionality tables Knwledge management module tables Tables related with general ledger functionality NUMBERSEQUENCE* Number Sequence setup tables OLAP* Tables related with Olnine Analytical Processing functionality in AX Page 3 Documentation. Dynamics AX 4. Rev 2 .1 Draft Prepared by Fred Viidul "71767092. doc" last modified on 22 Sep.3 Data area ID Virtual companies DataAreaId is always part of primary key 1.9 X 1. 11.14 X CreatedTransID 1.Prepared for Microsoft Corporation DEL marked tables and fields.2.2.2.2.5 1.2.0 data model overview.2.4 X Rec ID and Rec version Indexes Base enumerations Extended data types Dimensions Relations Delete actions Field groups Methods Automatic fields Views Table maps 1.2.8 X 1. Version .2.2.6 X Detailed information about indexes can be found in database 1. Dynamics AX 4.15 X Page 4 Documentation.13 1. 1.10 X 1.2.2.2.12 X 1.11 X 1. Rev 2 .1 Draft Prepared by Fred Viidul "71767092.7 X 1.2. All these tables have separate section in chapter 3. Dynamics AX 4.2. Ledger Budgets etc.1 Draft Prepared by Fred Viidul "71767092. Some areas are not presented in this overview table. Fixed Assets Budgets.Prepared for Microsoft Corporation 1. Project Budgeting. where also related dimension tables and most of the data fielas are explained.0 data model overview. 11.) Figure 1 Page 5 Documentation. Rev 2 . Version .16 Transaction tables relation schema In the following schema below is table relation overview about 17 main Dynamics AX transaction tables.doc" last modified on 22 Sep. but they have separate section below (Production. there ale also two views.Prepared for Microsoft Corporation DYNAMICS AX 1. LedgerbalancesDimTrans). As mentioned earlier.doc" last modified on 22 Sep. not only related with General Ledger functionality). Table descriptions in more detail: Page 6 Documentation.1 Draft Prepared by Fred Viidul "71767092.. the table where ledger transactions are stored is called “LedgerTrans”. Version . and at the center of general ledger is the table where all ledger transactions are recorded in cumulative manner. LedgerBalances and LedgerBalancesDim.0 data model overview. Next. Rev 2 . Dynamics AX 4. The table structure around GL transaction tables is shown in diagram 1. 11. we will look at these tables and content inside of these tables. In Dynamics AX.3 DATA STRUCTURES Ledger transaction data model The core part of an ERP system is general ledger (GL). In diagram 1. LedgerBalancesTrans. The tables LedgerBalancesTrans. 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. LedgerTable is register for financial accounting ledger accounts and LedgerTableInterval is the setup table where the grouping of different LedgerTable accounts are described. Diagram 1 shows three tables that are dimension type tables (LedgerTable. LedgerbalancesDimTrans consist of aggregated data based on data found in LedgerTrans. LedgerTableInterval and Dimensions) and three other tables that are fact tables (LedgerTrans. The following chapter will describe the key tables storing data regarding general ledger transactions. that are inturn aggregated data from tables LedgerBalancesTrans and LedgerbalancesDimTrans. the LedgerTrans table is the central table where all ledger transactions are stored. It also describes different dimensions that can be used for analytical purposes. LedgerbalancesDimTrans). Sometimes suggested structure of this code is defined by local law. but it is stored as integer in a SQL Page 7 Documentation. LedgerTrans aggregation tables (LedgerBalancesTrans. This field is an enumerated value in AX. financial statements like a balance sheet and a profit and loss statement are created. Rev 2 .Prepared for Microsoft Corporation Figure 2 1. 11. Version . It can be used as additional attribute or display name for the dimension.doc" last modified on 22 Sep. and it can be used as an aggregated view for ledger balances (LedgerBalancesTrans. LedgerbalancesDimTrans). Based on the value of this field.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. Field name AccountNum Data type CHAR(20) Field description Unique identifier of accounts in the current table.1 Draft Prepared by Fred Viidul "71767092. This table can be used as a dimensions table for the LedgerTrans. It represents the account number in the chart of accounts. Field that describes the type of the account.0 data model overview. Dynamics AX 4. 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 AccountPIType CHAR(60) INTEGER The long name of the account.3. ). The AccountPIType field can have one of the following values: SQL value 0 1 2 3 4 5 6 7 8 9 AX value AccountOperation s AccountRevenue AccountCost AccountStatus AccountActive AccountLiable Heading HeadingEmpty HeadingPage sum Description Profit & Loss type account (not defined if it is profit or loss) Profit & Loss type account (defined as revenue account) Profit & Loss type account (defined as cost account) Balance type account (not defined if it is asset or liability) Balance type account (defined as asset account) Balance type account (defined as liability account) Heading type account designed for reporting design in AX Heading type account designed for reporting design in AX Heading type account designed for reporting design in AX Summary account that sums accounts with AccountPIType 0-5 incl. Projects (project1. project2 etc.1 Draft Prepared by Fred Viidul "71767092. 11.).doc" last modified on 22 Sep. Version . production etc.3.2 Dimensions This table contains analytical dimension values that are used in different transaction tables in the AX modules. financials. Summary account like the previous item. If needed. 1. The difference is that the summing intervals are added to the table LedgerTableInterval automatically based on the GL setting 10 AccountGroup RecId INTEGER Unique identifier in table. AX default dimensions are department (marketing. cost centres (production line no 1. Dynamics AX 4. Dimension foreign key fields in transaction and setup tables are named as following: 1st dimension – DIMENSION 2nd dimension – DIMENSON2_ Page 8 Documentation. By default in AX there are these three dimensions available.). Building x etc.0 data model overview.Prepared for Microsoft Corporation database. Has relation to LedgerTableInterval where summing intervals are defined. Rev 2 . additional dimensions can be created to company data model. for the intervals that are described. This table can be used for dimension hierarchy design for ledger account number grouping purposes Field name AccountTableID Data type INTEGER Field description Table ID of the relevant table.InCharge = EmplTable. that dimension is closed and cannot be used in transactions.3 LedgerTableInterval A Table that is related to the LedgerTable lines where AccountPIType is 9 or 10.Prepared for Microsoft Corporation 3rd dimension – DIMENSION3_ 4th dimension – DIMENSION4_ Etc.Dimension2_ Value 2 means that Dimension.Num = LedgerTable.Num = LedgerTable. Can be used as additional attribute or display name for the dimension Relation to EmplTable (Dimensions. Page 9 Documentation. This structure makes available to group dimensions by employees. Dimension transformational value for consolidation purposes. Field name DimensionCode Data type INTEGER Field description Numeric value that describes the dimension sequence to what dimension value is related: Value 0 means that Dimension.0 data model overview. Dynamics AX 4.Num = LedgerTable.EmplId). Can be used as an analysis dimension when creating analyses cubes Dimension description. Ledger intervals can be defined for different tables.Dimension Value 1 means that Dimension. AccountTableId referring to LedgerTable has value 221. EmplTable is used to store information about company employees so each dimension can have an employee attached to its value.1 Draft Prepared by Fred Viidul "71767092. Each of these fields refers to the “Dimensions” table “Num” field which has relevant DimensionCode. The value in the “Num” field is replaced by the value in the “CompanyGroup” field during the consolidation process (if the transformation is used) Yes / No type field where Yes indicates.3. Rev 2 . This relation model is common in AX where dimensions are used Num Description InCarge CHAR(20) CHAR(60) CHAR(10) Dimension value for analysis purposes.Dimension3_ Etc. 11. Possible values are: SQL value 0 1 AX value No Yes CompanyGroup CHAR(10) Closed INTEGER 1. Version .doc" last modified on 22 Sep. Rev 2 . Version . For example AP006723. If no transaction level information is needed. The transaction type is specified by the LedgerTrans.12) Amounts in the company currency that is defined in CompanyInfo.doc" last modified on 22 Sep. Negative transactions are not always credit transactions. If the field has a value of1 the transaction is a credit type transaction.0 data model overview. where “AP” stands for account payables and is the identifying process in AX.12) Amounts in the transaction currency that is defined in Ledgertrans. 11. Amounts can be positive or negative. In some cases where such rules are used. Transactions in this table can be created directly using GL journals or indirectly through other AX modules. RecId is part of the primary key Reference to the LedgerTable. DECIMAL(28. Dynamics AX 4.Crediting field.Prepared for Microsoft Corporation AccountRecId RecId FromAccount ToAccount INTEGER INTEGER CHAR(20) CHAR(20) Part of the table’s primary key that refers to the specific row in the LedgerAccounts table Unique row identifier in the table. This table can have (depending on setup) the most detailed level of information regarding financial transactions. Negative transactions are not always credit transactions.AccountNum field which identifies the beginning of the summing interval Reference to the LedgerTable. General ledger account number .3. Several number series are applied to this identifier as AX creates GL transactions from various locations. CHAR(3) Currency code defining the transaction currency AmountCUR CurrencyCode Page 10 Documentation. The Transaction type is specified by the LedgerTrans. these prefixes or suffixes can also be used for analytical purposes.AccountNum field which identifies the end of the summing interval 1.CurrencyCode. then it is more reasonable to use already aggregated data from views generated from the LedgerTrans (LedgerBalancesTrans.CurrencyCode.AccountNum. Amounts can be positive or negative. One of the key analysis value in GL Date of transaction AccountNum TransDate AmountMST CHAR(20) DATE DECIMAL(28. Sometimes the first or last few digits in the voucher number remain the same by identifying the process that created the transaction.Crediting field. foreign key to Ledgertable. LedgerbalancesDimTrans) Field name RecId Voucher Data type INTEGER CHAR(20) Field description Unique row identifier in table and the primary key Ledger transaction identifier. If the field has a value of 1 the transaction is a credit type transaction.1 Draft Prepared by Fred Viidul "71767092.4 LedgerTrans Central table in general ledger where all financial transactions are posted. 3 value (see also table “Dimensions” description) DECIMAL(28. This field refers to the specific journal in the module where the current transaction is prepared and posted. Dynamics AX 4. 1 value (see also table “Dimensions” description) Analytical Dimension no. fixed asset acquisition. In some cases this field can be also blank (GL journals transactions.doc" last modified on 22 Sep. AX transactions are entered to the GL through a number of different journals in different Page 11 Documentation. 2 value (see also table “Dimensions” description) Analytical Dimension no. 11. opening transactions. Rev 2 JournalNum CHAR(10) JournalizeNo CHAR(20) . As described in the previous field. Version .1 Draft Prepared by Fred Viidul "71767092.0 data model overview.12) In journals the transaction quantity can also be defined. currency rounding) In following table all possible TransType values are listed: SQL Value 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 Dimension Dimension2_ Dimension3_ Qty DocumentDate CHAR(10) CHAR(10) CHAR(10) AX value Transfer Sales Purch Invent Production Project Interest Cust ExchAdjustment SummedUp Payroll FixedAssets CollectionLetter Vend Payment Tax Bank Conversion BillOfExchange PromissoryNote Cost Work Fee Settlement Analytical Dimension no.Prepared for Microsoft Corporation TransType INTEGER Identifies which AX module created the transaction. The document can have a different date than the transaction (for example invoice date and invoice posting date) AX transactions are prepared in journals and then posted by the system where also GL transactions are created. DATE Date of the document. doc" last modified on 22 Sep.0 data model overview. Version . Rev 2 .Prepared for Microsoft Corporation modules. JournalizeSeqNum INTEGER This field identifies the sequence order of the transaction belonging to the journal described in field “JournalizeNo” Page 12 Documentation. for example. These journals are usually created periodically and can contain. all transactions for one month. It is possible to group all these transactions to the special journal to get s better overview about transactions in the system.1 Draft Prepared by Fred Viidul "71767092. Dynamics AX 4. 11. Prepared for Microsoft Corporation Posting The field describes which AX process created the transaction in the table. Dynamics AX 4. For example daily journal transaction value is 14 (LedgerJournal) Using this field it is easy to separate transactions by their creation origin. SQL value AX value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 None ExchRateGain ExchRateLoss InterCompany Tax VATRoundOff Allocation InvestmentDuty Liquidity MSTDiffSecond ErrorAccount MSTDiff YearResult Closing LedgerJournal CashDiscount ConsolidateDiffBalance PaymentFee TaxReport TransferOpeningClosing Bank ConversionProfit ConversionLoss TaxWithhold CustBalance CustRevenue CustInterest CustCashDisc CustCollectionLetterFee CustInterestFee CustInvoiceDisc CustPayment CustReimbursement CustSettlement VendBalance VendPurchLedger VendOffsetAccount VendInterest VendCashDisc VendPayment Page 13 Documentation. Version .1 Draft Prepared by Fred Viidul "71767092. 11.0 data model overview.doc" last modified on 22 Sep. Rev 2 . Version .0 data model overview. Values in SQL table are: SQL value 0 1 AX value No Yes Crediting INTEGER Yes / No type field where information is stored if the current line is credit part of transaction. 1 2 Normal Closing OperationsTax INTEGER Represents the transactions posting layer to general ledger.Prepared for Microsoft Corporation Correct INTEGER Yes / No type field where information is stored if the current transaction is a correction transaction. For example.1 Draft Prepared by Fred Viidul "71767092. different depreciation profiles for fixed assets can be used for tax accounting and the posting layer can be used to separate these transactions from general accounting. Dynamics AX 4.doc" last modified on 22 Sep. As transaction types (debit or credit) can not be identified just by negative or positive amount the special field for this purpose is defined. Created while transferring account balances from the old financial year to the new financial year Usual transactions that are created during the financial year Transactions belonging to the closing period. 11. Values are following: SQL value 0 AX value Opening Description Transactions belonging to opening period. It indicates accounting period type which applies to the current transaction. Yes indicates. SQL AX value Description Page 14 Documentation. These transactions usually represent specific financial year closing procedures created by accountants. Rev 2 . Correction type transactions are eliminating previously made transactions. transactions can be separated and different accounting principles can be used. that transaction is correction type transaction and debit and credit amounts are accounted with negative signs. that need to be cancelled (for example invoice crediting routine). not to influence credit / and debit turnover. According to this field. Values in SQL table are: SQL value 0 1 AX value No Yes Description Transaction line type is debit Transaction line type is credit PeriodCode INTEGER Enumerated value with three possible values. Relation model: LedgerTrans. Secondary currency is defined in CompanyInfo. Transactions what are related with triangular sales and purchase schema.TaxRefId Page 15 Documentation.Voucher LedgerTrans. 11. SQL value 0 1 AX value No Yes Description Transaction is not related with bridged posting functionality Transaction is related with bridged posting functionality TaxRefId Tax transactions are created in a specific tax transaction table TaxTrans. Special transaction layer for tax oriented accounting procedures 2 Tax AccountMSTSecond DECIMAL(28. Version .1 Draft Prepared by Fred Viidul "71767092. Rev 2 . that can separate special accounting transactions from general accounting.12) Accounting in AX can be done in two different currencies. SQL value 0 1 AX value No Yes Description Transaction is not related with Euro triangulation Transaction is related with Euro triangulation EuroTriangulation INTEGER FurtherPostingType INTEGER In AX it is possible to define bridged posting in payment functionality. Special transaction layer. where the payment is transferred to the middle account prior to the final transaction.Voucher = Tactrans. These transactions are used for special Tax reporting. In this field transaction value is displayed in second currency.0 data model overview. Dynamics AX 4.SecondaryCurrencyCode.Prepared for Microsoft Corporation value 0 1 Current Operations Normal transactions created from different AX modules. To ensure unique relationship between transactions in LedgerTrans and TaxTrans current field is created. because transaction umber (Voucher) might not be unique in table LedgerTrans. related with inventory transactions between European Union member states.TaxRefId = Tactrans.doc" last modified on 22 Sep. AmountMST for transaction type “Current” in field LedgerTrans.1.AmountMSTSecond fields are stored in different fields separating the debit and credit turnover. This field reduces the locking problem inside the AX data structure. Special field used to reduce the locking problem that slows down AX posting procedures. This field is a random number from 0 to19 which is generated based on user session id. but on the other hand the table needs some further aggregation in order to be optimal for reporting (see p. no line for that date is created. For analyses purposes this field should be ignored while aggregating data. An example is can be opening balances lines. For that reason special views are created where this field is excluded. 3.0 data model overview. 1 2 Normal Closing TransDate LedgerBalancesVariant DATE INTEGER Date of summed transactions.AmountMST and LedgerTrans. 11.OperationsTax Page 16 Documentation.7). Dynamics AX 4. It reduces probability by 20 times that one user needs to wait for another user while the update has been carried through in the relevant line. Rev 2 . Values are following: SQL value 0 AX value Opening Description Transactions belonging to the opening period.5 LedgerBalancesTrans Table contains aggregated data from the LedgerTrans table. Created while transferring account balances from the old financial year to the new one Usual transactions that are created during financial year Transactions belonging to closing period. Also. 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”. In AX version 2.12) Summed up credit value from LedgerTrans.doc" last modified on 22 Sep. separation is made for different posting layer transactions based on the field LedgerTrans OperationsTax.5 there was no such mechanism and it caused performance problems due to SQL locking. which are created during year end procedures.3. If no transactions made on the particular date. It indicates the accounting period type that applies to the current aggregation. AmountMST for transaction type “Current” in field LedgerTrans. Version . Transactions that are generated by systematic job in AX. So from one field storing transaction amount (like AmountMST). six different fields are created.12) Summed up debit value from LedgerTrans.Prepared for Microsoft Corporation 1. Field name AccountNum PeriodCode Data type CHAR(20) INTEGER Field description Account number foreign key from LedgerTable. where subsets of that field total amount are stored. Table aggregation is done by five primary keys. SystemGeneratedUltimo INTEGER DebitMST CreditMST DECIMAL(28.1 Draft Prepared by Fred Viidul "71767092.OperationsTax DECIMAL(28.AccountNum Enumerated value with three possible values. These transactions usually represent specific financial year closing procedures created by accountants. Debit and credit transactions from the LedgerTrans. OperationsTax DECIMAL(28. 3.OperationsTax DECIMAL(28. but on the other hand table needs some further aggregation in order to be optimal for reporting (see p.OperationsTax DECIMAL(28.OperationsTax DECIMAL(28. 3. Version .0 data model overview. AmountMST for transaction type “Operations” in field LedgerTrans.1.12) Summed up debit value from LedgerTrans.OperationsTax DECIMAL(28. Rev 2 .5. This field reduces locking problem inside AX data structure. Dynamics AX 4.OperationsTax DECIMAL(28.12) Summed up debit value from LedgerTrans.OperationsTax DECIMAL(28. Table contains aggregated data from table LedgerTrans. Table aggregation is done by six primary keys (including all analytical dimension combinations). Also separation is made for different posting layer transactions based on the field LedgerTrans OperationsTax.12) Summed up debit value from LedgerTrans.1 Draft Prepared by Fred Viidul "71767092.8).AmountMSTSecond are stored in different fields separating the debit and credit turnover.doc" last modified on 22 Sep. AmountMSTSecond for transaction type “Operations” in field LedgerTrans.AmountMST and LedgerTrans. AmountMST for transaction type “Tax” in field LedgerTrans.OperationsTax DECIMAL(28. 11.Qty CreditOPRMST DebitTaxMST CreditTaxMST DebitMSTSecond CreditMSTSecond DebitOPRMSTSecond CreditOPRMSTSecond DebitTaxMSTSecond CreditTaxMSTSecond Qty 1. Aggregation level in that table is not best for the reporting.Prepared for Microsoft Corporation DebitOPRMST DECIMAL(28.6 LedgerBalancesDimTrans Basically similar aggregation table as described in p.12) Summed up credit value from LedgerTrans. AmountMSTSecond for transaction type “Operations” in field LedgerTrans.AccountNum Page 17 Documentation. AmountMSTSecond for transaction type “Tax” in field LedgerTrans.OperationsTax DECIMAL(28.OperationsTax DECIMAL(28.12) Summed up value from LedgerTrans. Debit and credit transactions from fields LedgerTrans.12) Summed up credit value from LedgerTrans. six different fieldd are created. AmountMST for transaction type “Tax” in field LedgerTrans.12) Summed up credit value from LedgerTrans. Field name AccountNum Data type CHAR(20) Field description Account number foreign key from LedgerTable.1.12) Summed up credit value from LedgerTrans.3. AmountMST for transaction type “Operations” in field LedgerTrans. but also all analytical dimension combinations are added to the aggregations calculations. AmountMSTSecond for transaction type “Current” in field LedgerTrans. where subsets of that field total amount are stored.12) Summed up debit value from LedgerTrans. AmountMSTSecond for transaction type “Tax” in field LedgerTrans.12) Summed up debit value from LedgerTrans.12) Summed up credit value from LedgerTrans. AmountMSTSecond for transaction type “Current” in field LedgerTrans. So from one field storing transaction amount (like AmountMST). Due to the performance considerations new field has been added to the table primary key “LedgerBalancesVariant”. 12) Summed up credit value from LedgerTrans. 1 2 Normal Closing TransDate LedgerBalancesVariant DATE INTEGER Date of summed up transactions.OperationsTax DECIMAL(28. AmountMST for transaction type “Current” in field LedgerTrans.12) Summed up debit value from LedgerTrans. Values are following: SQL value 0 AX value Opening Description Transactions belonging to opening period. These transactions represent usually specifics financial year closing procedures created by accountants.OperationsTax DECIMAL(28.12) Summed up credit value from LedgerTrans. 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. Field gets random number from 0 to 19 generated based on user session id. First dimension value Second dimension value Third dimension value SystemGeneratedUltimo INTEGER Dimension Dimension2_ Dimension3_ DebitMST CreditMST DebitOPRMST CHAR(10) CHAR(10) CHAR(10) DECIMAL(28. For that reason special views are created where this field is excluded. Dynamics AX 4. Special field created to the table to reduce locking problem what slowed down AX posting procedures.doc" last modified on 22 Sep. Created while transferring account balances from old financial year to the new one Usual transactions. Version .1 Draft Prepared by Fred Viidul "71767092.OperationsTax DECIMAL(28.12) Summed up debit value from LedgerTrans. Transactions what are generated by systematic job in AX. If no transactions made in particular date. Rev 2 CreditOPRMST DebitTaxMST CreditTaxMST . what are created during year end procedures.5 there was no this mechanism and it caused performance problems due to the SQL locking. AmountMST for transaction type “Operations” in field LedgerTrans.Prepared for Microsoft Corporation PeriodCode INTEGER Enumerated value with three possible choice shows what accounting period type applies to the current aggregation. For analyses purposes this field should be ignored while aggregating data.OperationsTax DECIMAL(28. AmountMST for transaction type “Tax” in field LedgerTrans. AmountMST for transaction type “Current” in field LedgerTrans. AmountMST for Page 18 Documentation. created during financial year Transactions belonging to closing period.12) Summed up debit value from LedgerTrans. also no line for that date is created. 11.0 data model overview. In AX version 2.12) Summed up credit value from LedgerTrans. AmountMST for transaction type “Operations” in field LedgerTrans. One example can be opening balances lines.OperationsTax DECIMAL(28. AmountMSTSecond for transaction type “Tax” in field LedgerTrans. AmountMSTSecond for transaction type “Operations” in field LedgerTrans. AmountMSTSecond for transaction type “Current” in field LedgerTrans.0 data model overview.Prepared for Microsoft Corporation transaction type “Tax” in field LedgerTrans.LedgerBalancesVariant from analyses view.Qty CreditMSTSecond DebitOPRMSTSecond CreditOPRMSTSecond DebitTaxMSTSecond CreditTaxMSTSecond Qty 1.OperationsTax DECIMAL(28. AmountMSTSecond for transaction type “Operations” in field LedgerTrans.OperationsTax DebitMSTSecond DECIMAL(28. This field is created for performance acceleration.7 LedgerBalances LedgerBalanceTrans is view created on top of table LedgerBalancesTrans table.12) Summed up debit value from LedgerTrans.4 Tax system setup data model In the current chapter AX tax system data model is defined. Purpose of that view is to eliminate field LedgerBalanceTrans . Dynamics AX 4.12) Summed up debit value from LedgerTrans. It is advised. source tables where default tax setup is defined are CustTable (customer register) or VendTable (vendor register.12) Summed up debit value from LedgerTrans. AmountMSTSecond for transaction type “Tax” in field LedgerTrans.1 Draft Prepared by Fred Viidul "71767092. depend if it is sales or purchase) and InventTable (inventory register). Purpose of that view is to eliminate field LedgerBalanceTrans . that for analyses purposes view “LedgerBalances“ is used instead of table “LedgerBalanceTrans” 1. This part of AX data model explains from database side how the tax transactions are created and how different tax codes are working together.12) Summed up credit value from LedgerTrans. that for analyses purposes view “LedgerBalances“ is used instead of table “LedgerBalanceTrans” 1.8 LedgerBalancesDim LedgerBalanceTrans is view created on top of table LedgerBalancesTrans table.OperationsTax DECIMAL(28. 11.12) Summed up credit value from LedgerTrans. This field is created for performance acceleration. Sales tax calculation in AX has two sides: inventory side and customer/vendor side. Tax calculations specified in this table are grouped together in Page 19 Documentation.OperationsTax DECIMAL(28.LedgerBalancesVariant from analyses view.12) Summed up credit value from LedgerTrans. Rev 2 .OperationsTax DECIMAL(28. As shown in figure 2.12) Summed up value from LedgerTrans.doc" last modified on 22 Sep. Central table in Tax calculation setup is TaxTable. It is advised. AmountMSTSecond for transaction type “Current” in field LedgerTrans.OperationsTax DECIMAL(28.3. Version .OperationsTax DECIMAL(28. CustTable and VendTable contain tax code from table TaxGroupHeading.3. Difference here is one additional table InventTableModule. For item taxation purposes tax grouping is arranged where TaxTable codes are grouped by using table TaxOnItem by using values from TaxItemGroupHeading table. Default values are inherited from customer/vendor table and InventTable as described above.doc" last modified on 22 Sep. Rev 2 . For each transaction where tax should be calculated there must be two tax codes defined. Created tax transactions are stored in table TaxTrans. where also tax information from table TaxItemGroupHeading is stored.Prepared for Microsoft Corporation TaxGroupData by using values from TaxGroupHeading table. When tax is going to be calculated. Tax rates are stored in table TaData Figure 3 Page 20 Documentation. Before transaction posting it is usually possible to possible to adjust tax group combination setup. These three lines are inventory setup for purchase. 11. stock keeping and sales. only these tax codes from TaxTable are activated what are defined in both relevant tax groups (TaxIGroupHeading and TaxItemGroupHeading). Dynamics AX 4. Using this structure (see figure 2) customer and vendor registers are related with one or more tax codes in table TaxTable. Version . Both these tax codes have one or more tax codes from TaxTable grouped under it.1 Draft Prepared by Fred Viidul "71767092. Similar structure is used when linking TaxTable codes with item codes from InventTable. Using this structure (see figure 2) inventory register is related with one or more tax codes in table TaxTable.0 data model overview. This table contains three lines for every line in InventTable. one from table TaxGroupHeading and another from TaxItemGroupHeading. Rev 2 .doc" last modified on 22 Sep. 11. Version . Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092.0 data model overview.Prepared for Microsoft Corporation Page 21 Documentation. All fields having names starting with “RepField…” are meant for tax analyses purposes.5 Tax transaction data model Central table where all tax related transactions are stored is TaxTrans (see figure 3). Version . Based on the taxation rules it is periodical job where calculated tax amounts are summed up and liabilities for tax authorities are recognized.1 Draft Prepared by Fred Viidul "71767092.4). Most of tax calculation and analysis information is stored in table TaxTable. LedgerTable and LedgerTrans tables.5. Most of tax transactions have financial transactions linked to it. Rev 2 .1. 3. Table contains tax calculation principles and several fields for different analysis and reporting codes. Field name TaxCode Data type CHAR 10 Field description Unique identifier of the sales tax code that is easily identifiable. List of analyses codes for tax reporting is stored in table TaxReportCollection. Figure 4 1. The sales tax code identifies a tax that is connected with a sale. 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. TaxTrans has relation also to the Dimensions.1 TaxTable Central register for tax calculation codes. 11. LedgerTrans is containing financial transaction information (for detailed description see p. This table has list of different tax codes in use and also there can be defined several analysis codes for tax amounts reporting. Dynamics AX 4. AX has special logics when creating tax analysis reports on top of these reporting codes. Page 22 Documentation. TaxReportVoucher is table where periodical tax payment reports and transaction codes are stored.Prepared for Microsoft Corporation 1.doc" last modified on 22 Sep.0 data model overview. Around this table several dimension tables can be defined. TaxCurrencyCode CHAR 3 TaxRoundoff REAL TaxRoundoffType INTEGER Select how calculated taxes are rounded off. Currency in which the sales tax is calculated. duty. If taxes should be rounded off to a unit that is 1/100 of the currency of the tax. Dynamics AX 4. The value in this field defines the general ledger accounts to which sales tax amounts for the sales tax code are automatically posted. represented by the sales tax code. 11. or packing duty. Version . 1 Downward 2 Rounding-Up NegativeTax INTEGER Checkbox is selected if negative tax percentage for the sales tax code is allowed. The lowest unit for which sales taxes are calculated for the selected sales tax code. fee.Prepared for Microsoft Corporation such as a sales tax. purchase duty. SQL value 0 1 AX value Domestic EU Page 23 Documentation. The amount is rounded up to the nearest number of decimal points that is specified in the TaxRoundOff field.0 data model overview. SQL value 0 1 AX value No Yes Description Not allowed Allowed TaxCountryRegionType INTEGER Country/region type that controls item receipts and statistics. is calculated and paid.Taxperiod) TaxAccountGroup CHAR 10 Ledger posting group for the selected sales tax code. Code identifying in which the selected sales tax. the value 0. SQL value 0 AX value Normal Description The amount is rounded off to the nearest number of decimal points that is specified in the TaxRoundOff field. (TaxTable. The amount is rounded down to the nearest number of decimal points that is specified in the TaxRoundOff field.TaxPeriod = TaxPeriodHead. Rev 2 .doc" last modified on 22 Sep. the tax is converted automatically. The settlement period (stored in table TaxPeriodHead) includes the terms of payment and the tax authority. If the original transaction is in another currency. TaxName TaxPeriod CHAR 30 DATE Descriptive name for the sales tax code.01 should be defined.1 Draft Prepared by Fred Viidul "71767092. Field number used to report taxable import credit notes. Rev 2 . Field number used to report sales tax on import credit notes. Field number used to report taxable sales credit notes Field number used to report sales tax on sales credit notes. Field number used to report offset taxable import credit notes. Field number used to report tax exempt purchase credit notes.Prepared for Microsoft Corporation 2 3 EFTA Third Country/ Region NotEUSalesList INTEGER This check box is checked to exclude the selected sales tax code from the EU sales list.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. SQL value 0 1 AX value No Yes Description Tax code is included in the EU sales list Tax code is excluded from the EU sales list RepFieldBaseIncoming RepFieldBaseOutgoing RepFieldBaseUseTax RepFieldTaxFreeBuy RepFieldTaxFreeSales RepFieldUseTaxOffset RepFieldUseTax RepFieldTaxIncoming RepFieldTaxOutgoing RepFieldBaseUseTaxOffset RepFieldTaxIncomingCreditNote RepFieldBaseOutgoingCreditNote RepFieldTaxOutgoingCreditNote RepFieldBaseIncomingCreditNote RepFieldUseTaxOffsetCreditNote RepFieldUseTaxCreditNote RepFieldBaseUseTaxCredirnote RepFieldTaxFreeSalesCreditNote RepFieldTaxFreeBuyCreditNote RepFieldBaseUseTaxOffsetCreditNote CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 CHAR 10 Field in the sales tax report that contains taxable purchases Field in the sales tax report that contains taxable sales Field in the sales tax report that contains taxable import Field in the sales tax report that contains tax-free purchases Field in the sales tax report that contains tax-free sales Field in the sales tax report that contains the transaction that offsets the use-tax Field in the sales tax report that contains use-tax Field in the sales tax report that contains sales tax receivables Field in the sales tax report that contains sales tax payable Field in the sales tax report that contains offset taxable import Field number used to report sales tax on purchase credit notes. Dynamics AX 4. Field number used to report taxable purchase credit notes Field number used to report offset sales tax on import credit notes. Field number used to report tax exempt sales credit notes. Page 24 Documentation. 11. Version .doc" last modified on 22 Sep. Field name RecId Voucher Data type DOUBLE CHAR(20) Field description Unique identifier of the record. Rev 2 . Part of table primary key Tax code description Description CHAR(60) 1.1. Voucher number in TaxTrans is the same as Voucher number in LedgerTrans table. as different counties can have different reporting layout. This is set automatically at posting. SQL value 0 AX value Sales Description Tax transactions. described in chapter 3.0 data model overview. Version .doc" last modified on 22 Sep.Prepared for Microsoft Corporation 1. The date that the transaction was posted. 11. Table contains all tax transactions generated by AX system. if any.5.3 TaxTrans Central register for sales tax transactions. Dynamics AX 4. created by sales order porting process Tax transactions. The source module of the sales tax transaction. All field from TaxTable starting with RepField*** are referring to table TaxReportCollection Field name TaxReportField TaxReportLayout Data type INTEGER INTEGER Field description Reporting code in numeric format to be linked with different tax codes in TaxTable reporting fields. Part of table primary key Enumbered field what defines reporting format. created by purchase order porting process Tax transactions created by different vouchers defined in general ledger module TransDate DATE Source INTEGER 1 Purch 2 Voucher 3 4 5 6 SalesInvoice PurchInvoice FreeTxtInvoice CustCollectionLetter Tax created by free text invoice posting Tax created by customer collection letter posting Page 25 Documentation.5. also primary key The voucher number from the original posted transaction.2 TaxReportCollection This table contains different tax reporting codes what can be specified in TaxTable.3. begins. This date determines the settlement period of tax transactions and the date that the accrual of interest. This is usually generated automatically from a number sequence.1 Draft Prepared by Fred Viidul "71767092. By filtering and summing different data from this table all kind of sales tax reports can be created. Version . NUMERIC(28. Rev 2 TaxBaseQty TaxAmount TaxValue TaxAutoGenerated . NUMERIC(28.1 Draft Prepared by Fred Viidul "71767092.InventTransId = InventTrans. TaxTrans. the sales tax transaction is posted manually. TaxBaseAmount NUMERIC(28. SQL value 0 1 AX value No Yes Description Tax transactions are created manually Tax transactions are created Page 26 Documentation.InvenTransId is empty. The account is determined by the setup of the ledger posting group of the sales tax code at the time of posting. the sales tax transaction is an automatic sales tax transaction that is calculated. If the tax base was originally posted in a different currency. TaxTrans. In case there is no relation. For example when during sales or purchase process tax amount have been changed manually this field value is “0”.doc" last modified on 22 Sep. usually as part of a summary transaction that is posted for the entire voucher.12) The amount in the default currency (company currency) of the tax base. INTEGER If the check box is selected. Also transactions created by periodical tax payment job are marked as “0”.12) The tax percentage or amount per unit. TaxCode AccountNum CHAR(10) CHAR(20) Sales tax code from TaxTable to identify what tax is calculated The ledger account that the selected sales tax transaction is posted to.12) The quantity of units that the posted sales tax transaction is calculated on.InventTransId Not all tax transactions are related with inventory transaction.12) The sales tax in the default currency (company currency). Dynamics AX 4.Prepared for Microsoft Corporation 7 Tax Transactions created during periodical tax payment job Tax created by customer interest note posting Tax transactions created by different vouchers defined in project module Tax created by project invoice posting 8 9 CustInterestNote Project 10 11 ProjectInvoice BankAccountReconsile Tax posted during bank account reconciliation process InventTransId CHAR(20) Identification of inventory transaction in central inventory transactions table InventTrans. 11. the amount in this field is converted using the appropriate exchange rate in the Exchange rates form NUMERIC(28. the amount is converted using the exchange rates in the Exchange rates form. For example. packaging duty could be a sales tax that is calculated on the basis of quantity. If necessary. If the check box is cleared.0 data model overview. 0 data model overview. or tax transaction. such as the settlement of sales tax. or journals. Cash discount. such as an amount that is moved from one account to another to adjust a previous transaction. Dynamics AX 4. such as sales tax on purchase orders. from use of cash discount with a corresponding correction of sales taxes. INTEGER Field what shows if current transaction is tax exempt or not. Sales tax payment. just amount if tax TaxOrigin INTEGER The origin of the selected tax transaction: SQL value 0 AX value Tax Description Sales tax. such as a settlement. Rev 2 ExemptTax . No tax base amount defined. for example. 11. NUMERIC(28.12) The sales tax amount that is a use tax and is posted as an expense in the default (company) currency.doc" last modified on 22 Sep. Use taxes are typically sales taxes that cannot be refunded and are added to the company's expenses. SQL AX value Description Page 27 Documentation. such as the offset of a sales tax transaction. sales orders.1 Draft Prepared by Fred Viidul "71767092. such as use tax. Offset sales tax. 5 TaxInCostPrice Payment Payment.Prepared for Microsoft Corporation automatically TaxDirection INTEGER The direction of the sales tax transaction – payable or receivable – or the reason for the transaction. 1 2 TaxReporting CashDisc 3 TaxReversed 4 Transfer Transfer. Version . SQL value 0 1 2 3 4 5 AX value IncomingTax OutgoingTax UseTax TaxExemptPurchas e TaxExemptSales TaxTransaction Description Tax based on purchase Tax based on sales Tax liability came along with purchase Purchase with no tax calculation Sales with no tax calculation Sales tax transaction from general ledger. tax-free sales or purchase. ChargeAccount SourceCurrencyCode Dimension CHAR(10) First AX dimension value.Prepared for Microsoft Corporation value 0 1 TaxPeriod CurrencyCode SourceBaseAmountCur TaxBaseAmountCur CHAR(10) CHAR(3) No Yes Usual tax transaction Exempt tax transaction The sales tax settlement period code that is posted on the selected sales tax transaction The currency code of the sales tax code (field TaxCode) that is posted on the sales tax transaction.DimensionCode = 2 SourceRegulateAmountCur NUMERIC(28. specified for particular transaction.Dimension2_ Dimensions.12) The sales tax amount in the original currency for the transaction.Num = TaxTrans.Num = TaxTrans. Page 28 Documentation. CHAR(3) The amount of the sales tax in the sales tax code currency. For example the field is filled if user changes manually sales tax amount before posting purchase invoice. Relation: Dimensions. If the currency code in the Voucher currency field is not the default code.Dimension3_ Dimensions.Dimension Dimensions. Relation: Dimensions.DimensionCode = 0 Dimension2_ CHAR(10) Second AX dimension value. the amount is converted to the default currency before sales taxes are paid. specified for particular transaction.12) The ledger account that the payable use tax amount is posted to for the selected sales transaction (Use tax . NUMERIC(28. Version . Tax transaction dimensions are inherited from general ledger transaction. Relation: Dimensions. Rev 2 . specified for particular transaction.12) The adjusted sales tax amount in the original currency for the transaction.DimensionCode = 1 Dimension3_ CHAR(10) Third AX dimension value. NUMERIC(28.1 Draft Prepared by Fred Viidul "71767092. CHAR(20) CHAR(3) The ledger account that use tax as an expense has been posted to.12) The base amount for the tax calculation in the original currency for the transaction.doc" last modified on 22 Sep. Tax transaction dimensions are inherited from general ledger transaction.0 data model overview. the amount is converted before the taxes are paid.Tax liability came along with purchase). 11. SourceTaxAmountCur TaxAmountCur TaxOffsetAccountUseTax NUMERIC(28.Num = TaxTrans. The currency code used for the voucher journal. Tax transaction dimensions are inherited from general ledger transaction. If the sales tax code currency is not the default currency code. NUMERIC(28. the amount is converted before the taxes are paid.12) The amount of the tax base in the sales tax code currency. This is specified in Voucher currency. Dynamics AX 4. If the sales tax code currency is not the default currency code. doc" last modified on 22 Sep.Prepared for Microsoft Corporation Fields TaxAmount and TaxAmountCur are containing already changed amount.Voucher LedgerTrans. Relation to the table TaxItemGroupHeading. the amount is converted before the taxes are paid.Voucher = Tactrans.2 for the details. INTEGER If the check box is selected.TaxRefId = Tactrans. Dynamics AX 4.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. If necessary. Field BaseTaxAmountCur reflects original calculation without the change. NUMERIC(28.TaxRefId InvestmentTaxMST SourceInvestmentTaxCur SourceInvestmentTaxCurRegulate d OperationAccount TaxRefId TaxItemGroup CHAR(10) The item sales tax group that is posted on the selected sales tax transaction. NUMERIC(28. Version .12) The investment tax amount after correction.12) The investment tax in the original voucher currency. NUMERIC(28. the amount is converted before the taxes are paid. the amount is converted using the exchange rates in Exchange rates form. Rev 2 . NUMERIC(28.12) The investment tax amount in the default (company) currency. The sales tax group that is posted on the selected sales tax Page 29 TaxGroup CHAR(10) Documentation. TaxInCostPriceRegulated NUMERIC(28. is manually adjusted during entry. CHAR(20) INTEGER The ledger account that the posted sales tax transaction is posted to at settlement. the sales tax transaction is included in an exchange rate triangulation. Use taxes are typically sales taxes that cannot be refunded and are added to the company's expenses. If the currency code is not the default currency code.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. and is posted as an expense. as transaction umber (Voucher) might not be unique in table LedgerTrans.12) The sales tax amount that is a use tax and is posted as an expense in the default (company) currency. 11. the amount is converted before the taxes are paid. To ensure relationship between transactions in LedgerTrans and TaxTrans current field is created. Use taxes are typically sales taxes that cannot be refunded and are added to the company's expenses. NUMERIC(28.12) The sales tax amount that is a use tax.12) The investment tax amount in the sales tax code currency. If the sales tax code currency is not the default currency code. SQL value 0 1 InvestmentTaxCur AX value No Yes Description No EURO triangulation EURO triangulation is active TaxInCostPriceMST TaxInCostPriceCur EUROTriangulation NUMERIC(28. Relation model: LedgerTrans. If the currency code is not the default currency code. see chapter 3. ExemptCode SourceBaseAmountCurRegulated CHAR(10) CHAR(10) The code for justification of sales tax exemption that can be printed. Reversal can be cause of cash discount setup combined with sales tax. All field from TaxTable starting with RepField*** are referring to table TaxReportCollection Field name TaxPeriod Data type CHAR(10) Field description Displays the settlement period code for the period definition for the settlement taken from the Sales tax settlement periods table TaxReportPeriod. The adjusted tax base amount in the original voucher currency.doc" last modified on 22 Sep. Version . 1.3. Part of primary key. created by system. This number is retrieved automatically from the number sequence Displays the first date in the interval for this settlement period Displays the last date in the interval for this settlement period Sales tax corrections from previous periods. for example. Part of primary key.1. Displays the settlement version that is specified when you update the settlement. see chapter 3. described in chapter 3.2 for the details.5. Part of primary key. Unique record identifier. on invoices. Rev 2 . 11.Prepared for Microsoft Corporation transaction. posted with the sales tax settlement SQL value 0 1 AX value No Yes Description No correction transaction Correction transaction Reversed INTEGER Reversed transaction. This tells you whether the settlement included in the four following categories: SQL value 0 1 2 3 AX value Original Correct Latest Total Description original settlement all subsequent corrections the latest corrections all settlements in the period interval TransDate RecId TaxRepVersion DATE DOUBLE INTEGER Voucher FromDate ToDate Corrections CHAR(20) DATE DATE INTEGER Displays the voucher number for the settlement update.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. Relation to the table TaxGroupHeading. Date when the sales tax settlement was posted.4 TaxReportVoucher This table contains different tax reporting codes what can be specified in TaxTable. Page 30 Documentation. Dynamics AX 4. . This functionality is meant for creating general ledger budgets based on chart of accounts and dimension sets. Please see ledger accounts table description in p.1. Also budget hierarchy can be defined in this table. as budget is created by ledger accounts and dimensions.4 1. 3.7 LedgerTrans TaxTrans table has relation to the ledger transactions table LedgerTrans by using voucher number Voucher and TaxRefId fields.2 1.5. 3. Please see dimensions table description in p.Project: ProjTransBudget table has relation with LedgerBudget table in case budgeting transactions are created automatically from the master planning module. ForecastPurch and ForecastSales are tables that have relation with LedgerBudget table in case budgeting transactions are created automatically from master planning module. Version . 11.Master Planning: Forecastmodel.1.Fixed Assets: AssetTable and AssetBookTable have relation with LedgerBudget table in case budgeting transactions are created automatically from the fixed assets module.1 Draft Prepared by Fred Viidul "71767092. Central table here is LedgerBudget table. Dynamics AX 4. Budgeting transactions can be created automatically from other Dynamics AX modules: . Figure 5 Page 31 Documentation. 3.1. 1. Data model overview for that functionality is shown in figure 4. . where all budgeting configuration and reporting data is stored.1 1. Around this table several parameter tables are designed.5.5 Dimensions TaxTrans table has relation to the dimensions table. LedgerTable and Dimensions table are main parameter tables for ledger budgeting data models.0 data model overview. Rev 2 .doc" last modified on 22 Sep. BudgetModel table holds information about different versions version of general ledger budgets. Please see ledger accounts table description in p.Prepared for Microsoft Corporation SQL value 0 1 TraceNum CHAR(20) AX value No Yes Description Ordinary tax payment Reversed payment Trace number for reversal transaction.5.6 LedgerTable TaxTrans table has relation to the Ledger accounts table by using account number AccountNum field.6 Ledger budgeting data model One important part of the functionality in Dynamics AX general ledger area is budgeting. In ledger budget setup lines it can be defined by what logics reporting lines are created. created automatically after manual setup line creation and setup line itself.1 Draft Prepared by Fred Viidul "71767092. 11. Time interval unit in budget setup lines for creating budget reporting lines SQL value 0 1 2 AX value Days Months Years Description Number of days specified in field Freq. Last date of the posting period for this periodic transaction. Dynamics AX 4.0 data model overview. Reporting lines and setup lines are separated by value in field Report Field name AccountNum Data type CHAR(20) Field description Ledger account number from LedgerTable. Version . Number of years specified in field Freq. Account nom is one key field in the table as general ledger budgeting is based on table of accounts. Rev 2 StartDate EndDate FreqCode DATE DATE INTEGER . For example monthly expense for 100EUR for next 6 month – outcome is 7 new lines totally: 6 reporting lines.Prepared for Microsoft Corporation 1. Number of months specified in field Freq.doc" last modified on 22 Sep.6. Used in setup lines.1 LedgerBudget Table contains data about ledger budget reporting lines as well as ledger budget setup lines. Date from which the budget amount will be in effect. Page 32 Documentation. SQL value 0 1 AX value No Yes Description Inactive Active Amount Comment Dimension REAL CHAR(60) CHAR(10) Amount by which the line contributes to the budget. Price used in defined currency when budgeting quantities Indicates whether the current budget transactions should be excluded from allocations during simulations. SQL value 0 1 AX value No Yes Description Not stopped Stopped Price Stop REAL INTEGER Key ExpandId Report CHAR(10) INTEGER INTEGER Period allocation key for allocating the budget for different periods. the field is marked as active when a budget line is created.Prepared for Microsoft Corporation Active INTEGER Marked if the amount should be included in the current budget.DimensionCode = 0 Currency Qty CHAR(3) REAL Currency code for the current budget transaction Specification quantity. containing RecId number referring to setup line what created the report transaction. if any. Dynamics AX 4.Dimension Dimensions. Version .doc" last modified on 22 Sep. By default. specified for particular budget transaction.Num = LedgerBudget.Dimension Dimensions.Dimension Dimensions.DimensionCode = 0 Dimension2_ CHAR(10) Second AX dimension value. Field is defining if the record is setup type budget line or reporting type budget line. This field can be used when budgeting is needed in some other units than money.Num = LedgerBudget. By default. specified for particular budget transaction. Relation: Dimensions. Relation: Dimensions.0 data model overview. Rev 2 . specified for particular budget transaction. SQL value AX value Description Page 33 Documentation. the name of the ledger account is proposed. Comment on the budget transaction. Relation: Dimensions. First AX dimension value. Used in setup type lines Field is filled in report type budget lines.1 Draft Prepared by Fred Viidul "71767092. for the budgeted amount. 11.Num = LedgerBudget.DimensionCode = 0 Dimension3_ CHAR(10) Third AX dimension value. Budget line is reporting type budget transaction. ForecastModelId CHAR(10) Ledger budget functionality has relation with the master planning module. 3 and months (FreqCode) for forecasts allocated per quarter.ModelId AllocateMethod CHAR(10) Methods for allocating the forecast transaction: None – No allocation takes place.0 data model overview. Relation: LedgerBudget.1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. Respectively. Dynamics AX 4. Current field is reference to the forecast model code used to create forecasts in master planning module. This method is used if forecast with the same quantity per period. The budget model number. This method is used if seasonal variation should be taken into account. years) jumped per transaction. Forecasts from that module can be transferred to ledger budget.ModelNum = BudgetModel. Key – The forecast is allocated according to the period allocation key specified in the field Key. Specifies if the transaction type is credit or debit SQL value 0 1 AX value No Yes Description Transaction type is debet Transaction type is credit Freq INTEGER Number of time units (days. As one account number can have several budget versions then different budget model codes can be used for that purpose. Relation: LedgerBudget. Respectively. 1 and months (FreqCode) for forecasts allocated per month. TaxGroup ModelNum CHAR(10) CHAR(10) The sales tax group for specification of sales tax on the current budget transaction. Version . ForecastModelId = Page 34 Documentation. 11. Period – Quantity with the number of units defined in the field FreqCode. Rev 2 .Prepared for Microsoft Corporation 0 1 No Yes Transaction is setup type budgeting line Transaction is reporting type budgeting line Cov INTEGER Wether to include the current budget transaction in cash flow forecast calculations in the General ledger SQL value 0 1 AX value No Yes Description Not included into the cash flow forecast Included into the cash flow forecast CovStatus Crediting INTEGER INTEGER Status of cash flow forecast for the current transaction. months. Modelid AssetId CHAR(20) Ledger budget functionality has relation with the fixed assets functionality. 1. ProjTransId = ProjTransBudget. One asset can have several versions for different transaction profiles Relation: LedgerBudget.0 data model overview.1.TransId AutoTrans INTEGER Specifies if budget transactions are created automatically from project table. Value is unique ID referring to the certain record in purchase or sales forecast table lines. Relation: LedgerBudget. Current field is reference to the project ID used to identify project transactions in the project module.2 Page 35 Documentation. Fixed asset budget lines from that module can be transferred to ledger budget.1 Draft Prepared by Fred Viidul "71767092.6.doc" last modified on 22 Sep.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.2 Dimensions LedgerBudget table has relation to the dimensions table. 11. Current field is reference to the asset ID used to identify asset transactions in the asset module. SQL value 0 1 AX value No Yes Description Normal budget transactions Budget transaction created automatically from project forecasts AssetBookId CHAR(10) InventTableId INTEGER Field is used if transactions are created automatically from master planning table. Please see dimensions table description in p. AssetId = AssetBudget. Version .Prepared for Microsoft Corporation ForecastModel. Dynamics AX 4.BookId ProjTransId CHAR(20) Ledger budget functionality has relation with the project module. AssetId = AssetBudget. 3.### Another field describing relation between asset budget transactions and ledger budget transaction. Rev 2 . Field identifies wether transaction is based on sales or purchase forecast. Relation: LedgerBudget. Project forecast lines from that module can be transferred to ledger budget. SQL value 143 144 AX value 143 144 Description Transactions based on purchase forecast (table: ForecastPurch) Transactions based on sales forecast (table: ForecastSales) InventRecId INTEGER Field is used if transactions are created automatically from master planning table. The field shows what submodel(s) belongs to the main model.0 data model overview. SQL value 0 1 Blocked INTEGER AX value Heading Submodel Description Row type is Main model Row type is Submodel Check box to block the budget model and all associated ledger budgets for modification. selecting this check box prevents changes to the budgets The name of the budget model. This field has meaning if the row type is submodel.5 ForecastModel Table contains list of the forecasting models what can be used in master planning module. Field name ModelId SubModelId Data type CHAR(10) CHAR(10) Field description A unique identifier for the forecast model. Page 36 Documentation.3 LedgerTable LedgerBudget table has relation to the Ledger accounts table by using account number (AccountNum field). 11. Version . Only main models can be created manually and only main models can be selected to the forecast lines while creating sales or purchase forecasts.6.1 Draft Prepared by Fred Viidul "71767092. Only main models can be created manually and only main models can be selected to the budget lines in LedgerBudget table. the SubModelId field has the same value as ModelId field The field is part of primary key. Rev 2 . Submodel lines are describing hierarchy relations between main models. Part of primary key. 3. ForecastModel table has two types of transaction types: main model and submodel. Txt CHAR(60) 1.6.1 1. Field name ModelId SubModelId Data type CHAR(10) CHAR(10) Field description A unique identifier for the budget model. Part of primary key.Prepared for Microsoft Corporation 1. When the budgets that are based on the budget model are approved.6. Type INTEGER Defines if the model row is main model or submodel. the SubModelId field has the same value as ModelId field The field is part of primary key. Dynamics AX 4. Please see ledger accounts table description in p. BudgetModel table has two types of transaction types: main model and submodel.doc" last modified on 22 Sep.1. Submodel lines are describing hierarchy relations between main models. If the budget model is Main type. This field has meaning if the row type is submodel.4 BudgetModel This table contains list of the budgeting models what can be used in LedgerBudget table. The field shows what submodel(s) belongs to the main model. If the budget model is Main type. As a result forecast lines are created in to the ForecastPurch and ForecastSales tables. Part of primary key.1 Draft Prepared by Fred Viidul "71767092. Page 37 Documentation.6. Part of primary key. Part of primary key. Customer group id from accounts payable module. Version . When the forecasts that are based on the forecast model are approved. 1. Part of primary key.6. Table role is similar with LedgerBudget table just planning is made by item purchase and vendors instead of chart of accounts and dimensions. Vendor code from accounts payable module. Unique identifier of the row. Dynamics AX 4.1. Please see detailed overview regarding this table in chapter 3. Vendor group id from accounts payable module.0 data model overview.7 Field name ExpandId RecId ItemId ItemGroupId CustAccountId CustGroupId Data type INTEGER INTEGER CHAR(20) CHAR(10) CHAR(20) CHAR(10) Field description Forecast report row relation to the setup row.12. Customer code from accounts payable module. Inventory group id from inventory module. Inventory code from inventory module. Table role is similar with LedgerBudget table just planning is made by item sales and clients instead of chart of accounts and dimensions. Inventory code from inventory module.doc" last modified on 22 Sep. Txt CHAR(60) 1. 11. Rev 2 .6 ForecastPurch Table contains purchase forecast reporting and setup lines.7 ForecastSales Table contains sales forecast reporting and setup lines. selecting this check box prevents changes to the forecasts The name of the forecast model. Please see detailed overview regarding this table in chapter ### Field name ExpandId RecId ItemId ItemGroupId VendAccountId VendGroupId Data type INTEGER INTEGER CHAR(20) CHAR(10) CHAR(20) CHAR(10) Field description Forecast report row relation to the setup row.Prepared for Microsoft Corporation Type INTEGER Defines if the model row is main model or submodel. Inventory group id from inventory module. Unique identifier of the row. SQL value 0 1 AX value Heading Submodel Description Row type is Main model Row type is Submodel Blocked INTEGER Check box to block the forecast model and all associated forecasts for modification. Fixed assets budgets can be converted to the ledger budget and created lines in LedgerBudget table have relation to the AssetTable. cost.doc" last modified on 22 Sep.Prepared for Microsoft Corporation 1.2 Field name AssetId Data type CHAR(20) Field description Fixed asset number in the fixed asset register 1. These transactions can be converted to general ledger budget. Unique project identifier in AX project module Project forecast transaction ID. revenue. on-account and work in progress budgets. Dynamics AX 4. AssetDepBookTrans – fixed asset transactions what are not related with general ledger. 1. There can be several different budgets in project module: Item. 11.3 Field name AssetId BookId Data type CHAR(20) CHAR(10) Field description Fixed asset number in the fixed asset register.1 Field name RecId ProjId TransId Data type INTEGER CHAR(10) CHAR(20) Field description Unique identifier of the row. Based on this table also relevant transactions are made to general ledger (table LedgerTrans). 1. to identify exactly which asset profile created relevant budget transactions.1.10 AssetBook Each fixed asset in the AssetTable can have several accounting profiles (value models). Please see detailed overview regarding this table in chapter 3.11.8 ProjTransBudget This table is central table for AX project module forecast transactions. AssetTrans – fixed asset transactions. General ledger budget lines generated automatically from project module have this field filled. Fixed asset value model code.9 AssetTable This table is central table for AX fixed asset module. Version .1. Part of primary key. containing list of fixed assets in the system. For that reason LedgerBudget table has relation also to AssetBook. Project number.5. This table consolidates all these budget types and project budgets can be sent also to the general ledger budgets table LedgerBudget.6.0 data model overview. This functionality provides additional opportunity to asset analyses. Below there are detailed descriptions about these three data structures Page 38 Documentation. hour.6.7 Fixed assets data structure Fixed asset functionality in Dynamics AX has three main transaction tables: 1.1 Draft Prepared by Fred Viidul "71767092. 2. depending on local legislation and accounting best practices. Please see detailed overview regarding this table in chapter 3. AssetBudget – table that contains fixed asset budget transactions.6.5. Please see detailed overview regarding this table in chapter 3. referring to the original project forecast transaction. 3. Rev 2 .1. revaluations. depreciations.1. 2 value Analytical Dimension no. 1 value Analytical Dimension no.). Version .0 data model overview. 11. Asset specific tables in this data model are AssetTable (fixed asset register) and AssetBook (value models for specific fixed assets). 3 value Page 39 Documentation.Prepared for Microsoft Corporation 1.doc" last modified on 22 Sep. Dynamics AX 4. Figure 6 1. Each transaction in the AssetTrans table creates also transaction in general ledger transactions table LedgerTrans. Rev 2 .1 AssetTrans In this table most detailed level of fixed asset transactions are stored (acquisitions.1 Draft Prepared by Fred Viidul "71767092. 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 Field name RecId AssetId Txt TransDate Dimension Dimension2_ Dimension3_ Data type INTEGER CHAR(20) CHAR(60) DATE CHAR(10) CHAR(10) CHAR(10) Field description Unique row identifier in table and the primary key Fixed asset code.1 AssetTrans data structure Central table here is AssetTrans table. Also dimensions table and fixes asset groups table are in the picture for analyse purposes.7. sales etc. relation to the fixed asset register (AssetTable) Text describing the transaction Date of transaction Analytical Dimension no.7. Rev 2 .doc" last modified on 22 Sep. should not be used Acquisition Adjustment Depreciation DepreciationAdj Revaluation WriteUpAdj WriteDownAdj DisposalSale DisposalScrap NetBookValue ProfitLoss AcqPriorYears AcqThisYear AcqAdjPriorYears AcqAdjThisYear DepPriorYears DepThisYear DepAdjPriorYears DepAdjThisYear RevaluePriorYears RevalueThisYear WriteUpAdjPriorYears WriteUpAdjThisYear WriteDownAdjPriorYe ars WriteDownAdjThisYe ar CapitalReserve CapitalReserveTransf er ExtraordinaryDepreci ation ExtraDepPriorYears ExtraDepThisYear DEL_Reclassification Not used anymore BonusDepreciation BonusDepPriorYears BonusDepThisYear Page 40 Documentation. Version . 11.Prepared for Microsoft Corporation TransType INTEGER Enumeration that describes fixed asset transaction type.1 Draft Prepared by Fred Viidul "71767092.0 data model overview. The values in that field can be following: SQL value AX value Description 0 None 1 Acquisition 2 AcquisitionAdj 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Unspecified. Dynamics AX 4. 11. Dynamics AX 4. Location for the fixed asset from the list of locations Serial number for the fixed asset for identifying purposes Insurance policy number for the fixed asset Value that the fixed asset is insured for Name of the manufacturer of the item Model number of the item Date of the start of the guarantee for the fixed asset To display a hierarchical component structure. the main fixed asset for this component asset can be defined. Rev 2 Responsible CHAR(10) .0 data model overview.doc" last modified on 22 Sep. responsible person. Version .7.).1 Draft Prepared by Fred Viidul "71767092. which means the structure can have many levels. and for sorting in inquiries and reports. It can be used for search and filter purposes.Prepared for Microsoft Corporation Voucher AmountCur ApprovedBy CurrencyCode AmountMST PostingProfile AssetGroup BookId ConsumptionQty ReClassification CHAR(20) REAL CHAR(10) CHAR(3) REAL CHAR(10) CHAR(10) CHAR(10) REAL INTEGER Transaction voucher number in general ledger Amount in the currency of the transaction Employee who approved the transaction Currency code for the transaction Transaction amount in default currency Identification of the transaction posting profile – how the transaction was posted to the general ledger Identification of the fixed asset group Value model for the transaction. technical specification etc. as a range.2 AssetTable Fixed asset main register table. relation to the AssetBook table Quantity of consumption units for transaction type “Consumption” If the fixed asset transaction type has been reclassified? SQL value 0 1 AX value No Yes 1. Responsible employee name can be selected from the Employee Page 41 Documentation. In this table non financial fixed asset data is stored (asset name. A component fixed asset can be a main asset for another component asset. Field name AssetId AssetGroup Name Location SerialNum InsurancePolicyNum InsuredValue Make Model GuaranteeDate MainAssetId Data type CHAR(20) CHAR(10) CHAR(30) CHAR(20) CHAR(20) CHAR(20) REAL CHAR(60) CHAR(60) DATE CHAR(20) Field description The fixed asset number for identification Fixed asset group to simplify the setup and reporting of assets Name that identifies the fixed asset.1. It makes easy to create asset accounting for tax purposes for example. Asset can have more than one record in AssetBook. Field name AssetId BookId Data type CHAR(20) CHAR(10) Field description The fixed asset number for identification Identification of the value model. Rev 2 .) Each fixed asset specified in AssetTable must have at least one related record in AssetBook table. it means that financial accounting has been made for each value model described in AssetBook.0 data model overview. fixed asset possible sales value etc. Version . Can be one of the following: SQL value AX value 0 1 2 3 4 5 BarCode InsuranceDate1 InsuranceDate2 AssetReplaseCost SortingId SortingId1 SortingId2 TechInfo1 TechInfo2 TechInfo3 LastMaintenance NextMaintenance PhysicalInventory CHAR(20) DATE DATE REAL CHAR(10) CHAR(10) CHAR(10) CHAR(254) CHAR(254) CHAR(254) DATE DATE DATE Tangible Intangible Financial Land and Buildings Goodwill Other Bar code digits assigned to the fixed asset Insurance date field to track insurance end dates Insurance date field to track insurance end dates Cost to replace this fixed asset Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset Field for technical information Field for technical information Field for technical information Date of last maintenance Date of next maintenance Date of last physical inventory update on this fixed asset 1. one value model per asset is needed. such as concern values of the fixed assets or for calculation purposes. Dynamics AX 4. a value model for tax purposes also must be added to each asset. Page 42 Documentation.1.doc" last modified on 22 Sep.1 Draft Prepared by Fred Viidul "71767092. Additional value models can be added for other accounting purposes. 11. general ledger porting data. If separate tax transactions must be posted. If fixed assets have been set up for accounting only.7.Prepared for Microsoft Corporation table (EmplTable) AssetType INTEGER The fixed asset type.3 AssetBook Table contains financial data about fixed asset (depreciation method. 3 value Identifies how fixed asset transactions are posted to the general ledger.1 Draft Prepared by Fred Viidul "71767092. Dynamics AX 4.scrap transaction has been posted in a journal Dimension Dimension2_ Dimension3_ PostingProfile Depreciation CHAR(10) CHAR(10) CHAR(10) CHAR(10) INTEGER Analytical Dimension no. 1 value Analytical Dimension no. For new fixed assets it will be equal to Depreciation periods.Prepared for Microsoft Corporation AssetGroup Status CHAR(20) INTEGER Fixed asset group to simplify the setup and reporting of assets Various statuses are available during the service life of a fixed asset: SQL AX value value Description 0 NoAcquisiti The default status of each new on fixed asset until the first acquisition has been posted for the value model 1 Open The status for a fixed asset that has been acquired 2 Suspended The status is assigned to the value model manually. they are used to calculate straight line depreciation and factor depreciation 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 fixed assets that are partly depreciated already. The depreciation convention for the value model. 11. Version . Value models with this status are not available for posting fixed asset transactions and cannot be selected in the journals. it will be less than depreciation periods.0 data model overview. 3 Closed The status is assigned to fixed assets when the last depreciation is posted and when the net book value becomes zero. The field indicates that fixed assets can be depreciated SQL value AX value Description 0 No 1 Yes Lifetime INTEGER Cannot be depreciated Depreciation is active When Depreciation periods are part of the setup of the depreciation calculation. 2 value Analytical Dimension no.doc" last modified on 22 Sep. Page 43 LifetimeRest REAL DepreciationConvention INTEGER Documentation. Rev 2 . 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 . Identification of the free text invoice. It is updated automatically when a fixed asset is acquired using purchase orders. which would create a net book value greater than acquisition costs. Dynamics AX 4. the acquisition date will be updated with the date of the actual acquisition. This is part of the acquisition price. The field is updated when a fixed asset is sold. This date is updated automatically each time that depreciation is posted for the fixed asset/value model The vendor account number from where the fixed asset was purchased. Version . this date will be updated every time a new acquisition has been posted and display the latest acquisition date. If the setup in Parameters allows multiple acquisitions. Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset The check box allows transactions. The system date when the fixed asset record is entered in the Fixed assets form. The Service life of the fixed asset in years. The expected scrap value. Rev 2 . 11. Page 44 Documentation.doc" last modified on 22 Sep. The customer account is updated automatically when a fixed asset is disposed externally using a free text invoice. which would create a negative net book value for the fixed asset/value model. The date when the fixed asset was sold or scrapped. The selling price of a fixed asset. which is the value of the fixed asset at the end of its service life. The date can changed if necessary. When an acquisition is posted.0 data model overview. Date when the depreciation was calculated last time. The customer account number where the fixed asset was sold. SQL value AX value 0 No 1 Yes UsedFromDate ServiceLIfe DATE REAL The date that the asset was placed in service.1 Draft Prepared by Fred Viidul "71767092. The identification of the acquisition purchase order The identification of the acquisition purchase order invoice The acquisition price to be used in acquisition proposals.Prepared for Microsoft Corporation DepreciationStartDate ScrapValue LastDapreciationDate DATE REAL DATE The starting date for the first depreciation calculation. SQL value AX value VendAccount CHAR(20) PurchId VendInvoiceId AcquisitionPrice AcquisitionDate CHAR(20) CHAR(20) REAL DATE CustAccount CHAR(20) CustInvoiceId DisposalDate SaleValue SortingId SortingId2 SortingId3 ExeedingNetBookValue CHAR(20) DATE REAL CHAR(10) CHAR(10) CHAR(10) INTEGER 0 No 1 Yes NegativeNetBookValue INTEGER The check box allows transactions. 1. asset bookinformationetc. One change is that transactions do not have relation to dimensions table. Please see dimensions table description in p.5 Dimensions AssetTrans table has relation also to the dimensions table. what simplifies asset creation process. Can be one of the following: SQL value AX value 0 1 2 3 4 5 Tangible Intangible Financial Land and Buildings Goodwill Other 1.0 data model overview. The fixed asset type. Also there is no relation with general ledger transactions in LedgerTrans. Descriptive name for the fixed asset group.7.1 Draft Prepared by Fred Viidul "71767092. Figure 7 Page 45 Documentation.Prepared for Microsoft Corporation 1. 11.2 1. Version .7.2 AssetDepBookTrans data structure Data structure is pretty much the same as in AssetTrans. The fixed asset type. Dynamics AX 4.doc" last modified on 22 Sep.7.).1.4 AssetGroup This table contains predefined information for asset (depreciation information. Field name GroupId Name AssetType Data type CHAR(10) CHAR(30) INTEGER Field description Identification of the fixed asset group. The classification can be used for sorting or selecting ranges on report.1. 3. Rev 2 . 7. Principle difference between these tables is the fact that AssetDepBookTrans table is not related with general ledger transactions.).0 data model overview.Prepared for Microsoft Corporation 1.1 Draft Prepared by Fred Viidul "71767092. Field name RecId ConsumptionQty DepreciationBookId AssetGroup AmountMST CurrencyCode AmountCur Data type INTEGER REAL CHAR(10) CHAR(10) REAL CHAR(3) REAL Field description Unique row identifier in table and the primary key Quantity of consumption units for transaction type “Consumption” Depreciation book for the transaction. depreciation etc.2. revaluation. So each asset can have several financial accounting models. Rev 2 . Different kind of asset transactions can be created to this table (acquisition. 11.doc" last modified on 22 Sep.1 AssetDepBookTrans AssetDepBookTrans table has similar structure than AssetTrans table. what do not change anything in general ledger level. relation to the AssetDepBook table Identification of the fixed asset group Transaction amount in default currency Currency code for the transaction Amount in the currency of the transaction Page 46 Documentation. Dynamics AX 4. Version . 1 Draft Prepared by Fred Viidul "71767092.0 data model overview.Prepared for Microsoft Corporation TransType INTEGER Enumeration that describes fixed asset transaction type. The values in that field can be following: SQL value AX value Description 0 None 1 Acquisition 2 AcquisitionAdj 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Unspecified. Rev 2 . Dynamics AX 4. Version . 11.doc" last modified on 22 Sep. should not be used Acquisition Adjustment Depreciation DepreciationAdj Revaluation WriteUpAdj WriteDownAdj DisposalSale DisposalScrap NetBookValue ProfitLoss AcqPriorYears AcqThisYear AcqAdjPriorYears AcqAdjThisYear DepPriorYears DepThisYear DepAdjPriorYears DepAdjThisYear RevaluePriorYears RevalueThisYear WriteUpAdjPriorYears WriteUpAdjThisYear WriteDownAdjPriorYe ars WriteDownAdjThisYe ar CapitalReserve CapitalReserveTransf er ExtraordinaryDepreci ation ExtraDepPriorYears ExtraDepThisYear DEL_Reclassification Not used anymore BonusDepreciation BonusDepPriorYears BonusDepThisYear Page 47 Documentation. 2. Field name AssetId DepreciationBookId Data type CHAR(20) CHAR(10) Field description The fixed asset number for identification Identification of the value model. Rev 2 .2.2 AssetTable For AssetGrpou table description please see p. Additional value models can be added for other accounting purposes.1. such as concern values of the fixed assets or for calculation purposes. If separate tax transactions must be posted. If fixed assets have been set up for accounting only. one value model per asset is needed.7. AssetGroupId AssetStatus CHAR(20) INTEGER Fixed asset group to simplify the setup and reporting of assets Various statuses are available during the service life of a fixed asset: SQL AX value value Description 0 NoAcquisiti The default status of each new on fixed asset until the first acquisition has been posted for the value model 1 Open The status for a fixed asset that has been acquired 2 Suspended The status is assigned to the value model manually. Value models with this status are not Page 48 Documentation. Dynamics AX 4.doc" last modified on 22 Sep. 11. Version .7.2 1. a value model for tax purposes also must be added to each asset. fixed asset possible sales value etc.3 AssetDepBook Table contains financial data about fixed asset (depreciation method.0 data model overview.Prepared for Microsoft Corporation TransDate Txt AssetId OriginatingVoucher ReClassification DATE CHAR(60) CHAR(20) CHAR(20) INTEGER Date of transaction Text describing the transaction Fixed asset code.1 Draft Prepared by Fred Viidul "71767092. general ledger porting data. it means that asset specific accounting has been made for each depreciation book described in AsseDeptBook. relation to the fixed asset register (AssetTable) The Reference to the general ledger transaction that caused transaction in the AssetDepBook table If the fixed asset transaction type has been reclassified? SQL value 0 1 AX value No Yes 1.5.) Each fixed asset specified in AssetTable can have more than one record in AssetDepBook. 3. The status is assigned to fixed assets when the last depreciation is posted and when the net book value becomes zero. If the setup in Parameters allows multiple acquisitions. For new fixed assets it will be equal to Depreciation periods. Rev 2 . The identification of the acquisition purchase order The identification of the acquisition purchase order invoice The acquisition price to be used in acquisition proposals. It is updated automatically when a fixed asset is acquired using purchase orders.doc" last modified on 22 Sep. they are used to calculate straight line depreciation and factor depreciation 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. Dynamics AX 4. it will be less than depreciation periods. The customer account number where the fixed asset was sold. 11. The date can changed if necessary. The starting date for the first depreciation calculation.Prepared for Microsoft Corporation 3 Closed 4 Sold 5 Scrapped available for posting fixed asset transactions and cannot be selected in the journals. The system date when the fixed asset record is entered in the Fixed assets form.1 Draft Prepared by Fred Viidul "71767092.scrap transaction has been posted in a journal Depreciation INTEGER The field indicates that fixed assets can be depreciated SQL value AX value Description 0 No 1 Yes Lifetime INTEGER Cannot be depreciated Depreciation is active When Depreciation periods are part of the setup of the depreciation calculation.0 data model overview. When an acquisition is posted. This date is updated automatically each time that depreciation is posted for the fixed asset/value model The vendor account number from where the fixed asset was purchased. this date will be updated every time a new acquisition has been posted and display the latest acquisition date. The customer account is updated automatically when a fixed asset is Page 49 LifetimeRest REAL DepreciationStartDate ScrapValue LastDapreciationDate DATE REAL DATE VendAccount CHAR(20) PurchId VendInvoiceId AcquisitionPrice AcquisitionDate CHAR(20) CHAR(20) REAL DATE CustAccount CHAR(20) Documentation. The status is assigned to fixed assets and value models that have been disposed of by sale The status is assigned as soon as a Disposal . This is part of the acquisition price. which is the value of the fixed asset at the end of its service life. The expected scrap value. Date when the depreciation was calculated last time. Version . the acquisition date will be updated with the date of the actual acquisition. For fixed assets that are partly depreciated already. Prepared for Microsoft Corporation disposed externally using a free text invoice. CustInvoiceId DisposalDate SaleValue SortingId SortingId2 SortingId3 ExeedingNetBookValue CHAR(20) DATE REAL CHAR(10) CHAR(10) CHAR(10) INTEGER Identification of the free text invoice. The date when the fixed asset was sold or scrapped. The selling price of a fixed asset. The field is updated when a fixed asset is sold. Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset Alternative analytical field for the fixed asset The check box allows transactions, which would create a net book value greater than acquisition costs. SQL value AX 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 value AX value 0 No 1 Yes UsedFromDate ServiceLIfe DATE REAL The date that the asset was placed in service. The Service life of the fixed asset in years. 1.7.2.4 AssetGroup For AssetGrpou table description please see p. 3.5.1.4 1.7.3 AssetBudget data structure In the centre of that data structure is budget transaction table AssetBudget. Surrounding parameter tables are LedgerTable, Dimensions, AssetBook, AssetGroup, AssetTable and BudgetModel. BudgetModel table can contain some hierarchy by referring to itself. Figure 8 Page 50 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation 1.7.3.1 AssetBudget Table contains budget transactions for fixed assets. Budget transactions can be transferred to the ledger 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. Field name RecId BudgetModel Data type INTEGER CHAR(10) Field description Unique row identifier in table and the primary key 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 51 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation TransType INTEGER Enumeration that describes fixed asset transaction type. The values in that field can be following: SQL value AX value Description 0 None 1 Acquisition 2 AcquisitionAdj 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 Unspecified, should not be used Acquisition Adjustment Depreciation DepreciationAdj Revaluation WriteUpAdj WriteDownAdj DisposalSale DisposalScrap NetBookValue ProfitLoss AcqPriorYears AcqThisYear AcqAdjPriorYears AcqAdjThisYear DepPriorYears DepThisYear DepAdjPriorYears DepAdjThisYear RevaluePriorYears RevalueThisYear WriteUpAdjPriorYears WriteUpAdjThisYear WriteDownAdjPriorYe ars WriteDownAdjThisYe ar CapitalReserve CapitalReserveTransf er ExtraordinaryDepreci ation ExtraDepPriorYears ExtraDepThisYear DEL_Reclassification Not used anymore BonusDepreciation BonusDepPriorYears BonusDepThisYear Page 52 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 4 1. 3.1. SQL value 0 1 2 AX value Notposted PostedToAssets PostedToBudget s Description Not posted Posted to fixed asset budgets Posted to ledger budgets BookId ConsumptionQty Dimension Dimension2_ Dimension3_ CHAR(10) REAL CHAR(10) CHAR(10) CHAR(10) Value model for the transaction. 1 value Analytical Dimension no.1. 3.5. Rev 2 .3.4.7.7.7.3.2 AssetTable For AssetTable table description please see p.3.1. Either Posted to fixed asset budgets or Posted to ledger budgets.0 data model overview. relation to the fixed asset register (AssetTable) Amount in the currency of the budget transaction Text describing the budget transaction Account number for posting in General ledger budget Offset account number for posting in ledger budget Currency code for the transaction Posting status for the budget. 3.5. 3.7. 2 value Analytical Dimension no.4 1. relation to the AssetBook table Quantity of consumption units for transaction type “Consumption” Analytical Dimension no. 11.5 BudgetModel For BedgetModel table description please see p.2 Page 53 Documentation.Prepared for Microsoft Corporation TransDate AssetId AmountCur Txt LedgerAccount LedgerAccountOffset CurrencyCode BudgetPostingStatus DATE CHAR(20) REAL CHAR(60) CHAR(20) CHAR(20) CHAR(3) INTEGER Date of transaction Fixed asset code. 3.doc" last modified on 22 Sep. Version .3. Please see dimensions table description in p.6 Dimensions LedgerBudget table has relation to the dimensions table.2 1.3 1.1 Draft Prepared by Fred Viidul "71767092. Dynamics AX 4.7.4 AssetGroup For AssetGrpoup table description please see p.3 AssetBook For AssetBook table description please see p.3.1. 3 value 1.5. Please see ledger accounts table description in p.1 Draft Prepared by Fred Viidul "71767092. All invoices and payments are recorded to this table and also link between invoice and payment is maintained. Dynamics AX 4. 11. Which items/services are best selling c.doc" last modified on 22 Sep.1 Figure 9 CustTrans Data structure Page 54 Documentation. 3. Rev 2 . Based on that table customer balance can be calculated. What are sale margins and cost price for sales 1.0 data model overview.8. CustTrans – central table for customer transactions.1 1. What items and services are sold to what customers b. 2.7.1.3. Version .7 LedgerTable LedgerBudget table has relation to the Ledger accounts table by using account number (AccountNum field).8 Accounts receivables data structure Below two different data structures for accounts receivables are described: 1. By using this information sales analyses can be performed answering questions like: a. CustInvoiceTrans – this table contains invoice line information.Prepared for Microsoft Corporation 1. Dynamics AX 4. The invoice number that the transaction is related to Descriptive text for the current transaction The total amount of the transaction in the specified currency The settled portion of the transaction amount in the currency that was used for the settlement The amount of the transaction in the default currency for the company Page 55 Documentation.8.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. 11. customer settlement etc.1.). cause also changes in general ledger transactions table LedgerTrans. also different periodical transactions are stored in this table (exchange adjustment.1 CustTrans All kind of customer transactions are recorded in this table. Version .doc" last modified on 22 Sep. Field name RecId AccountNum Voucher Invoice Txt AnmountCur SettleAmountCur AmountMST Data type INTEGER CHAR(20) CHAR(20) CHAR(20) CHAR(60) REAL REAL REAL Field description Unique row identifier in table and the primary key Unique identifier of a customer who pays the invoice. The voucher number for the related ledger transaction. In addition to most common transactions like invoices and payments.Prepared for Microsoft Corporation 1. All transactions in CustTrans table. Rev 2 . including any exchange rate adjustments and penny differences The currency code for the transaction The date by which the customer must pay the full amount (without the cash discount) Invoice for example can be settled against several payments. the date for the full settlement is displayed. If the field is empty. the transaction has not yet been fully settled.doc" last modified on 22 Sep. Possible values are: SQL value AX value 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 None Transfer Sales Purch Invent Production Project Interest Cust ExchAdjustment SummedUp Payroll FixedAssets CollectionLetter Vend Payment Tax Bank Conversion BillOfExchange PromissoryNote Cost Work Page 56 Documentation. From that value it can be monitored from which AX functional area the transaction was created.1 Draft Prepared by Fred Viidul "71767092. if a prepayment posted on January 1 is settled against an invoice posted on February 1. This voucher refers to the settlement voucher number from the latest payment. For example. Version . 11. This date corresponds to the transaction date of the final payment.0 data model overview.Prepared for Microsoft Corporation SettleAmountMST CurrencyCode DueDate LastSettleVoucher REAL CHAR(3) DATE CHAR(20) The settled portion of the amount in default currency. Dynamics AX 4. The date of the last settlement. the invoice date is displayed. LastSettleDate LastExcAdjVoucher Closed DATE CHAR(20) DATE TransType INTEGER Field is determined by the function that generated the transaction. related with the previous field The voucher number for the latest exchange rate adjustment for the transaction If the transaction has been settled. Rev 2 . Year. the end of current week 5 C. The payment deadline is at Week.0 data model overview. The payment deadline is at the end of current quarter 3 Curr.doc" last modified on 22 Sep. Qtr. Rev 2 . Version .D Cash On Delivery – money is paid when goods/services are delivered Page 57 Documentation.O.). The terms of payment used for this transaction. Mth. Values can be: SQL AX value value Description LastExchAdj Correct Settlement DATE INTEGER INTEGER CompanyBankAccountId PaymMode PaymReference PaymMethod CHAR(10) CHAR(10) CHAR(20) INTEGER 0 Net The payment deadline is after certain time period (days. Used for linking invoices and payments together through specific identifier.Prepared for Microsoft Corporation 23 Fee 24 Settlement ApprovedBy Approved CHAR(10) INTEGER The initials or identification of the employee who approved the transaction If this check box is selected. the transaction can be settled automatically. The payment deadline is at the end of current month 2 Curr. then the amount of the exchange rate adjustment in the default currency is displayed in this field The date of latest rate adjustment for the transaction If this check box is selected. months) 1 Curr. and if an exchange rate adjustment was made between the time of invoicing and the time of payment. A reference to a specific payment. The payment deadline is at the end of current year 4 Curr. If the check box is cleared. the transaction has been approved SQL value AX value Description 0 No 1 Yes Dimension Dimension2_ Dimension3_ ExchAdjustment CHAR(10) CHAR(10) CHAR(10) REAL Analytical Dimension no. 11. 2 value Analytical Dimension no. payment steps etc. Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092. the transaction must be settled manually The bank account for your company that is affected by the selected transaction The payment method used for this customer transaction (bank file types. 3 value Not approved Approved If invoicing was done in a foreign currency. the transaction is a correction of another transaction If this check box is selected. 1 value Analytical Dimension no. doc" last modified on 22 Sep. Rev 2 . If the transaction is invoice the field refers to the relevant payment RecId. 11. the payment is a prepayment.0 data model overview. Unique identifier of a customer who receives the goods/services. Cash discount relevant for the current transaction If this is check box is selected.1 Draft Prepared by Fred Viidul "71767092. SQL value 0 1 CustExchAdjustmentRealized REAL AX value No Yes The unrealized exchange adjustment amount of this transaction The realized exchange adjustment amount of this transaction The bill of exchange identifier that corresponds to the transaction Displays one of the following bill of exchange statuses: SQL AX value value CustExchAdjustmentUnrealized REAL BillOfExchangeId BillOfExchangeStatus CHAR(20) INTEGER 0 1 2 3 4 5 6 7 BillOfExchangeSeqNum CollectionLetterCode INTEGER INTEGER None Drawn Redrawn Protested Honored Remitted Invoiced InvoicedRemitted Displays the number 1 for the first cycle of a bill of exchange and the number 2 for the first redraw action The collection letter code that is included in the collection letter for the transaction Page 58 Documentation.Prepared for Microsoft Corporation CashPayment INTEGER The payment must be done by using cash (not checks) SQL value AX value 0 No 1 Yes DeliveryMode PostingProfile OffsetRecId CHAR(10) CHAR(10) INTEGER Mode of delivery according to the means of transport relevant for the current order Identification of the transaction posting profile – how the transaction was posted to the general ledger Reference to the settlement transactions. If the transaction is payment the field refers to the relevant invoice RecId Relation: RecId = OffsetRecId EUROTriangulation OrderAccount CashDiscountCode Prepayment INTEGER CHAR(20) CHAR(10) INTEGER Selected if the exchange rate is included in EURO triangulation schema. Version . Dynamics AX 4. Only last Page 59 Documentation. Dynamics AX 4. For example. there are several settlement transactions. in this case several invoice settlement lines are referring to one payment lines. Field name PaymMode Data type CHAR(10) Field description Unique identifier for the method of payment. This field is primary key.1. but balances for specific date in the past need to be calculated by using data from CustSettlement table Field name RecId TransRecId TransDate OffsetTransVoucher AccountNum SettleAmountCur SettleAmountMST ExchAdjustment OffsetRecid DueDate UtilizedCashDisc CustCashDiscDate PennyDiff CanBeReversed Data type INTEGER INTEGER DATE CHAR(20) CHAR(20) REAL REAL REAL INTEGER DATE REAL DATE REAL INTEGER Field description Unique row identifier in table and the primary key Related transaction RecId in the CustTrans table. relation to CustTable The amount of the settlement transaction in the specified currency The amount of the settlement transaction in the company currency (exchange adjustments included) Exchange rate adjustment amount calculated during the settlement Related offset transaction RecId in the CustTrans table. where invoice and payment settlement transactions are stored. Information from this table is needed.3 CustSettlement Table.1.1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. Deadline for the invoice payment Cash discount what was calculated to the customer Date when the cash discount is calculated Penny difference adjustments made during the settlement If “yes”. This table is closely related with CustTrans table reference is made by using RecId fields.8. Used for analytical purposes Name BankTransType CHAR(30) INTEGER 1. BANK for the method for bank payments from customers. 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. Also one payment can cover more than one invoice. when historical invoice and payment status has to be monitored. Version .8.2 CustPaymModeTable Table what contains different payment modes what can be used by customers. Defines the transaction what was settled with the base transaction. 11.Prepared for Microsoft Corporation CancelledPayment INTEGER Payment in the table is cancelled 1. Current status of customer balance is available in CustTrans. Enter a short description of the payment method The transaction type for the bank account. showing which payment amount is covering relevant invoice. In case invoice is paid partially.0 data model overview. Defines the transaction based on what the settlement transactions is created The settlement date Reference to the settled voucher number Customer account number. Rev 2 . such as invoices and account statements. This amount is always stated in the default currency of the customer.4 CustTable Central client register table. Analytical Dimension no. Version . If no invoice account is defined. 11. Invoice account. Field name AccountNum Name InvoiceAccount Data type CHAR(20) CHAR(60) CHAR(20) Field description Unique identifier of a customer Name of the customer. to which the customer is linked. All forms of transaction are permitted. of the selected customer (in case the customer is also registered as a vendor). Customer is a one-time customer.Prepared for Microsoft Corporation closing has opportunity to be reversed to the open. 3 value 1. created automatically by the system. Dimension Dimension2_ Dimension3_ CHAR(10) CHAR(10) CHAR(10) Analytical Dimension no.1 Draft Prepared by Fred Viidul "71767092. Sales group that is attached to the selected customer. Rev 2 . the Page 60 Documentation. 1 value Analytical Dimension no. the customer account is used as the invoice account.8. Statistic and setup values are defined in this table. Customer group that the customer belongs to. 3 value Vendor account number. if any. MandatoryCreditLimit Dimension Dimension2_ Dimension3_ VendAccount INTEGER CHAR(10) CHAR(10) CHAR(10) CHAR(20) Check box to enforce automatic credit limit check. Customer group contains number of setup parameters regarding general ledger posting and payment management.doc" last modified on 22 Sep. The invoice account is the account to which the invoice amount is debited.1. Blocking that applies to the selected customer account. Dynamics AX 4. Maximum amount that the selected customer is allowed to have as an outstanding account balance. 2 value Analytical Dimension no. All transactions are blocked. 1 value Analytical Dimension no.0 data model overview. 2 value Analytical Dimension no. Account is blocked for picking/delivery/invoicing. Values can be: SQL value AX value Description CustGroup CHAR(10) SalesGroup Blocked CHAR(10) INTEGER 0 No 1 Invoic e 2 All OneTimeCustomer CrediMax INTEGER REAL No blocking. If a customer has a credit amount because of overpayment or a credit note. The sales group includes a sales representative for the customer. This name is printed on documents. PriceGroup MulitiLIneDisc EndDisc CHAR(10) CHAR(10) CHAR(10) Multiline discount group that the customer belongs to. Total discount group that the customer belongs to. Sales order pool that sales orders to the selected customer are placed in. Postal/ZIP code of the customer address. railway etc. Destination codes can be used to divide deliveries into groups according to customer location. Language used for all external documents to the selected customer.).doc" last modified on 22 Sep.1. CountryRegionId DlvTerm DlvMode ZIpCode State County StatisticsGroup PaymMode SalesPoolId LanguageId LineOfBusinessId DestinationCodeId CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) SalesCalendarId CustClassificationId CHAR(10) CHAR(10) 1. Version . Line of business of the customer. 3.8.8. 11. FAS. Please see dimensions table description in p. This code is often used for searching and sorting. Statistics group that the customer is attached to. Defined for statistical purposes. such as invoices and account statements. Customer classification group of the selected customer. Destination code that applies to the customer.1 Draft Prepared by Fred Viidul "71767092. Rev 2 . EXW etc.5 Dimensions LedgerBudget table has relation to the dimensions table.2 1. Method of payment typically used for payments from the customer.). Defined for statistical purposes.2 CustInvoiceTrans Data structure Figure 10 Page 61 Documentation. Country/region of the customer address.1.0 data model overview. This field is often used for searching and sorting. Days on which the customer wants to receive their orders. water. Total discounts are given for a total order. Country/region of the customer address. used especially for statistical purposes. State of the customer address. Dynamics AX 4. The standard terms of delivery for the selected customer (FOB. Mode of delivery that applies to sales to the selected customer (air.Prepared for Microsoft Corporation reimbursement periodic job transfers the amount to the vendor account of the customer. The total discount group determines which discounts are calculated automatically. Dimensions etc. 11. Addresses. Customer group contains number of setup parameters regarding general ledger posting and payment management.Prepared for Microsoft Corporation 1.) Field name RecId CustGroup Data type INTEGER CHAR(10) Field description Unique row identifier in table and the primary key Customer group that the customer belongs to.1 CustInvoiceJour Table is dedicated to store invoice header information. Dynamics AX 4. Rev 2 .doc" last modified on 22 Sep. Customer ID Specified if the account number of the customer you want to invoice Page 62 Documentation.0 data model overview. Defines the register from where the invoice is generated. In this table there are lots of fields regarding different invoice lines summaries. Values can be: SQL value AX value Description RefNum INTEGER 0 SalesOr der 1 Project 2 Cust 3 Interest SalesId OrderAccount InvoiceAccount CHAR(20) CHAR(20) CHAR(20) The sales order or project numbers that the invoice is updated from.2.8.1 Draft Prepared by Fred Viidul "71767092. Version . Also big amount of analytical information is stored in this table (Customers. 4 Triangular/Pr Value-added work od. 11. 3 Triangular/E Trade between U trade customers in different EU countries. Summarized invoice lines inventory volume in cubic meters. InvoiceDate DATE Displays the invoice date.doc" last modified on 22 Sep. 1 EU trade Trade with a customer in another EU country. Version . Rev 2 .0 data model overview. Summarized invoice lines line discount amount in invoice currency Summarized invoice lines sales amounts in invoice currency (misc. If different units are used in different invoice lines these amounts in different units are simply summed up. 3 value Indication of the list code for the current invoice. 2 value Analytical Dimension no. Employee code who received the sales order the invoice is related with. charges . Dynamics AX 4. sales taxes are not included) End discount of the invoice Amount in invoice currency what is invoiced to the customer (SalesBalance + misc. 2 Production Value-added work with a on toll customer in another EU country.Prepared for Microsoft Corporation is different from the customer that placed the sales order. on toll between customers in Page 63 Documentation. Invoice number Accounting transaction number in general ledger (LedgerTrans table) created during invoice posting process.end discounts + sales taxes etc) Invoice currency code Currency exchange rate used during invoice posting. 1 value Analytical Dimension no. which is also used as the posting date. This is decisive for reporting to the EU sales list. end discounts. Summarized invoice lines inventory weight in used units of measure. charges. This date is also used to calculate the due date and the cash discount date. Deadline for invoice payment Cash discount offering for the invoice Deadline for cash discount regarding the invoice Invoice quantity summed up by invoice lines. and offers the options: SQL value AX value Description DueDate CashDisc CashDiscDate Qty DATE REAL DATE REAL Volume Weight SumLineDisc SalesBalance EndDisc InvoiceAmount CurrencyCode ExchRate SalesAdministrator InvoiceId LedgerVoucher Dimension Dimension2_ Dimension3_ ListCode REAL REAL REAL REAL REAL REAL CHAR(3) REAL CHAR(10) CHAR(20) CHAR(20) CHAR(10) CHAR(10) CHAR(10) INTEGER 0 Not included There will be no list code on the invoice.1 Draft Prepared by Fred Viidul "71767092. Analytical Dimension no. YES / NO LanguageId InvoicingName InvoicingAddress CHAR(6) CHAR(60) Specifies the language used in the invoice printout. Terms of payment applicable to the current invoice. Purchase order ID related with the invoice. Types can be following: SQL value AX value CashDiscCode InvoiceRoundOff SumMarkup BackOrder CHAR(10) REAL REAL INTEGER 0 1 2 3 4 5 EUSalesList ExchRateSecondary Triangulation CHAR(20) REAL INTEGER Journal Subscription Sales order Returned item Blanket order Item requirements Id number in European Union sales reporting. railway etc.) in invoice currency. Version . Name on the company the invoice is written to. Rev 2 . Invoice is related with backorder sales YES / NO DlvZipCode DlvCounty DlvCountryRegionId DlvState OneTimeCustomer CHAR(10) CHAR(10) CHAR(10) CHAR(10) INTEGER Postal code of the delivery address. 11.). Dynamics AX 4. Specified region for the delivery Specified country for the delivery Specified state for the delivery Invoice in generated by using “One time customer” functionality YES / NO PaymentSched SumTax SalesType CHAR(30) REAL INTEGER Payment schedule code related to the invoice Tax amount calculated in the invoice.). IntrastatDispach PurchaseOrder DlvTerm DlvMode Payment CHAR(20) CHAR(20) CHAR(10) CHAR(10) CHAR(10) Shipment batch number in Intrastat reporting. CHAR(250) Invoice address Page 64 Documentation. Mode of delivery that applies to invoice (air. The due date is automatically calculated when invoicing the order based on the terms set up for payment in the sales order.Prepared for Microsoft Corporation different EU countries. Currency exchange rate for parallel currency Shows if the sale is made in triangular mode according to EU legislation.0 data model overview.doc" last modified on 22 Sep. charges etc. Sum of different additional costs added to the invoice (misc.1 Draft Prepared by Fred Viidul "71767092. water. Sales order type use for invoice generation. Rounding made in the invoice. Cash discount code relevant for the current invoice. EXW etc. If empty then invoice is generated by using free text invoice functionality. The standard terms of delivery for the invoice (FOB. FAS. end discounts + sales taxes etc) Rounding made in the invoice in default currency Sum of different additional costs added to the invoice (misc. 11. Code for sales origin (internet. InterCompanyCompanyId CHAR(3) InterCompanyPurchId CHAR(20) 1. sales taxes are not included) Tax amount calculated in the invoice. what is discount rate and what sales group sold this item).2 CustInvoiceTrans Current table contains information about customer invoice lines (what items are sold to the clients and what is the price.doc" last modified on 22 Sep. The field is empty in case free text invoice functionality is used for invoicing.) in default currency. This date is also used to calculate the due date and the cash discount date. what makes possible sales margin calculations. Company identification in the intercompany transactions Related purchase id in the intercompany transactions.Prepared for Microsoft Corporation InvZipCode InvCounty InvCountryRegionId InvState ContactPersonId SalesOriginId BillOfLadingId InvoiceAmountMST InvoiceRoundOffMST SumMarkupMST SumLineDIscMST EndDiscMST SalesBalanceMST SumTaxMST CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(17) REAL REAL REAL REAL REAL REAL REAL Postal code of the delivery address.) Information about Bill Of Lading transportation code Amount in default currency what is invoiced to the customer (SalesBalance + misc. Summarized invoice lines line discount amount in default currency End discount of the invoice in default currency Summarized invoice lines sales amounts in default currency (misc. Document type is defined in the field InventRefType. charges. The external item number to specify the customer's item number for the inventory item Page 65 Documentation.0 data model overview. This table has relation with InventTrans table. The field is empty in case free text invoice functionality is used for invoicing. end discounts. Code of the sold item.1 Draft Prepared by Fred Viidul "71767092. Inventory transaction code created in central inventory movement register (inventTrans). where item cost price is declared. The field is empty in case free text invoice functionality is used for invoicing. charges . Rev 2 InventTransId CHAR(20) InventRefId CHAR(20) ItemId ExternalItemId CHAR(20) CHAR(20) . which is also used as the posting date. charges etc. Version . telesales etc. Field name RecId InvoiceId InvoiceDate Data type INTEGER CHAR(20) DATE Field description Unique row identifier in table and the primary key Invoice number Displays the invoice date. Specified region for the delivery Specified country for the delivery Specified state for the delivery Relation to the ContactPerson table identifying relevant contact in the client side.2.8. Reference to the document what covers the need for the inventory. Dynamics AX 4. Analytical Dimension no. Rev 2 .0 data model overview. 1 value Analytical Dimension no. Item sales quantity A sales price for the item Line discount rate in invoice currency. Version . Dynamics AX 4. Defines if the sales commission calculation is active for the sales line YES / NO Dimension Dimension2_ Dimension3_ QtyPhysical PartDelivery DlvState SalesId SalesUnit CommissCalc CHAR(10) CHAR(10) CHAR(10) REAL INTEGER CHAR(10) CHAR(20) CHAR(10) INTEGER CommissAmountCur TransactionCode DeliveryType REAL CHAR(10) CHAR(10) Specifies the commission amount in invoice currency Transaction codes for intrastat reporting Specifies if the direct delivery functionality is used: SQL value AX value 0 None 1 Direct delivery CountryRegionOfShipment ItemCodeId TaxAmount MultiLnDisc MultiLnPercent LineDisc LinePercent CHAR(10) CHAR(10) REAL REAL REAL REAL REAL Specified country for the delivery Item commodity codes for EU reporting Sales tax amount in sales line. Unit in which the item is sold. 11.1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. Amount of the sales line in invoice currency (excluding tax) Sales group information for commission calculation. Multi-line discount as an amount per price unit. An account number to record a sale directly in the sales account. 3 value Sales quantity that have physically delivered to the client.Prepared for Microsoft Corporation Name CurrencyCode DlvCounty PriceUnit Qty SalesPrice DiscPercent DiscAmount LineAmount SalesGroup LedgerAccount CHAR(1000) Item description CHAR(3) CHAR(10) CHAR(10) REAL REAL REAL REAL REAL CHAR(10) CHAR(20) Invoice currency code Specified region for the item delivery Price unit specifies the quantity of the item covered by the sales price. 2 value Analytical Dimension no. Line discount amount in invoice currency. The calculated multiline discount percentage Line discount amount in invoice currency Line discount percent in invoice currency Page 66 Documentation. If the sales line is delivered to the customer in partial manner Specified state for the delivery The sales order or project numbers that the invoice line is related to. regardless of any association the item group may have with specific sales accounts in the posting setup for the item group. Prepared for Microsoft Corporation OrigSalesId TransPort InventDimId OrigCountryRegionId StatProcId DlvDtate LineAmountTax Port AssetId AssetBookId LineAmountMST TaxAmountMST CHAR(20) CHAR(10) CHAR(20) CHAR(10) CHAR(10) DATE REAL CHAR(10) CHAR(20) CHAR(10) REAL REAL The sales order or project numbers that the invoice line is updated from. Transport method for Intrastat reporting Foreign key to the table InventDim. Each InventDimId contains unique dimension combination Country/region of the sold item origin. Statistical procedures for Intrastat reporting. Delivery date for the specific sales line Sales tax amount included in the sales amount, in case sales tax is included in prices (invoice currency) Port identification used for Intrastat reporting. Reference to the fixed asset number, if sales is related with fixed assets. Reference to the fixed asset accounting profile, if sales is related with fixed assets. Amount of the sales line in company currency (excluding tax) The sales tax in the default currency (company currency). If necessary, the amount is converted using the exchange rates in the Exchange rates form. Sales tax amount included in the sales amount, in case sales tax is included in prices (company currency). Specifies the commission amount in invoice currency. Sales line discount amount in invoice currency. Sales line discount amount in company currency. Reference number to the intercompany inventory transaction in the relevant company database Transaction amount in default currency. Shipment batch number in intrastat reporting. Quantity in the inventory unit of the item. State of the item origin. Defines the type of the document what covers the need for the inventory. Types Can be: SQL value AX value LineAmountTaxMST CommissAmountMST SumLineDisc SumLineDiscMST InterCompanyInventTransI d StatLineAmountMST IntrastatDispachId InventQty OrigState InventRefType REAL REAL REAL REAL CHAR(20) REAL CHAR(20) REAL CHAR(10) INTEGER 0 1 2 3 4 5 None Sales order Purchase order Production Production line Inventory journal 6 CRM quotation 7 Transfer order Page 67 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation 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 Delivery country/region of the sold item. Total weight of the sold item line in the used units of measure DlvCountryRegionId Weight CHAR(10) REAL 1.8.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 1.8.2.4 InventDim For table description please see p. 3.8.2 1.8.2.5 LedgerTable For table description please see p. 3.1.1 1.8.2.6 InventTable For table description please see p. 3.8.4 1.8.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 sales groups are linked with the CustInvoiceTrans table. Field name GroupId EmplId Proportion Data type CHAR(10) CHAR(10) REAL Field description Commission group id, foreign key to the table CommissionSalesGroup Employee id included in the commission sales group The percentage rate that the individual employee receives in the commission that is calculated for the commission sales group 1.8.2.8 CommissionSalesGroup Table what groups together sales representatives from table CommissionSalesRep and is linked with sales lines table CustInvoiceTrans. Field name Data type Field description Page 68 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation GroupId Name CHAR(10) CHAR(60) The code name or ID of the commission sales group. The name of the commission sales group. 1.8.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 Field name Data type Field description 1.8.2.10 Dimensions LedgerBudget table has relation to the dimensions table. Please see dimensions table description in p. 3.1.2 1.9 Accounts payables data structure Below two different data structures for accounts payables are described. There structures are very similar to the accounts receivables data structure described in section 3.6: 3. VendTrans – central table for vendor transactions. Based on that table vendor balance can be calculated. All invoices and payments are recorded to this table and also link between invoice and payment is maintained. 4. VendInvoiceTrans – this table contains invoice line information. By using this information sales analyses can be performed answering questions like: a. What items and services are purchased whom which vendor b. Which items/services are purchased most 1.9.1 VendTrans Data structure Figure 11 Page 69 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 In addition to most common transactions like invoices and payments. Version . Rev 2 .9.).1.Prepared for Microsoft Corporation 1. also different periodical transactions are stored in this table (exchange adjustment.1 VendTrans All kind of vendor transactions are recorded in this table. Field name Data type Field description 1. All transactions in VendTrans table. customer settlement etc.1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. Field name Data type Field description Page 70 Documentation. cause also changes in general ledger transactions table LedgerTrans.0 data model overview. 11.2 VendPaymModeTable Table what contains different payment modes what can be used by vendors.1. Dynamics AX 4.9. Information from this table is needed.9.5 Dimensions LedgerBudget table has relation to the dimensions table. In case invoice is paid partially.Prepared for Microsoft Corporation 1.doc" last modified on 22 Sep.9. Addresses.1 VendInvoiceTrans Data structure VendInvoiceJour Table is dedicated to store invoice header information.0 data model overview. In this table there are many fields regrading different invoice lines summaries. Also big amount of analytical information is stored in this table (Vendors.2 1. Version .) Field name Data type Field description Page 71 Documentation.1. Most of the fields are dedicated to the statistic and setup.9.9. Current status of vendor balance is available in CustTrans. in this case several invoice settlement lines are referring to one payment lines. there are several settlement transactions.2 1. 11.1.1. 3.1. Dynamics AX 4.3 VendSettlement Table.4 VendTable Central vendor register table. when historical invoice and payment status has to be monitored. Please see dimensions table description in p. but balances for specific date in the past need to be calculated by using data from CustSettlement table Field name Data type Field description 1. where invoice and payment settlement transactions are stored. Dimensions etc.2.9. Also one payment can cover more than one invoice. This table is closely related with VendTrans table reference is made by using RecId fields. Rev 2 .1 Draft Prepared by Fred Viidul "71767092. Field name Data type Field description 1. showing which payment amount is covering relevant invoice. 3.6. The table has relation with InventTrans table. 3.4 InventDim For the table description please see p.7 VendTable Central client register table. For detailed description about this table please see chapter ### 1.2.Prepared for Microsoft Corporation 1. Field name Data type Field description 1. Dynamics AX 4. what is discount rate and what purchase group bought this item).9. For detailed description about this table please see chapter 3.5 LedgerTable For the table description please see p.4 1. In current data model item cost price from that table is used for sales margin calculation.2. Version .1 1.3 InventTrans Table contains all inventory related transactions.0 data model overview. Lot of fields for statistic and setup purposes are created in this table.9.9.2.2.1. 11.1. including customer related sales transactions.9.doc" last modified on 22 Sep.6 InventTable For the table description please see p.9.1.2. ### 1.1.8.9.1 1. 3.2.2 Page 72 Documentation. Please see dimensions table description in p.8 Dimensions LedgerBudget table has relation to the dimensions table.9. Rev 2 .1 Draft Prepared by Fred Viidul "71767092.2 VendnvoiceTrans Current table contains information about vendor invoice lines (what items are purchased to the clients and what is the price.2. 8.) based on the transactions in InventTrans table.9 InventDim For the table description please see p. InventTrans has also relations to the several AX main registers like vendors (VendTrans).0 data model overview.1 Draft Prepared by Fred Viidul "71767092. Rev 2 .2.Prepared for Microsoft Corporation 1.1. generated by the different AX modules (for more information regarding the InventTrans relation to the other AX modules see drawing TransTables). In this table inventory sales. 3. ordered inventory etc.9. InventTable has 1 to 3 relations to the InventTableModule. Version . Dynamics AX 4. where also lots of inventory configuration parameters are defined.10 Inventory transactions data structure In the centre of the inventory transactions in AX is the InventTrans table. The Inventory variations are recorded in the InventDim table. The table contains all kind of the inventory transactions in the very detailed level.doc" last modified on 22 Sep. production (BOMTable. The main inventory register is stored in the InventTable.2 1. Figure 12 Page 73 Documentation. 11. customers (CustTrans). InventSum table contains already aggregated data (inventory stock levels. RouteTable). purchase and stock keeping parameters are stored – one line for each functional area. projects (ProjTable). This table is also base for inventory cost accounting.10.Prepared for Microsoft Corporation 1. for example. Currency that is associated with the item receipt CostAmountPosted CurrencyCode REAL CHAR(3) Page 74 Documentation. Each dimension combination has unique code in table InventDim 0 1 2 3 4 None Sold Deducted Picked Reserved physical 5 Reserved ordered 6 On Order 7 Quotation issue DatePhysical Qty DATE REAL Date of the physical transaction (inventory movement with packing slip) The quantity in inventory units for the transaction (defined in item card). Relation to InventTable Current issue status for issue transactions. If the field is empty. Field name InventTransId ItemDimId RecId ItemId StatusIssue Data type CHAR(20) CHAR(20) INTEGER CHAR(20) INTEGER Item identification number. 11. Rev 2 . the transaction is a receipt. issues display a minus sign. This number is often used as foreign key in related tables Identification of inventory dimensions. Statuses can be: SQL value AX value Field description Inventory transaction identifying current transaction. Version . 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).1 InventTrans The table is central register for inventory transactions and contains most detailed data about any kind on inventory movement in the system.doc" last modified on 22 Sep. All adjustments made to inventory cost price can be found in this table. Dynamics AX 4. The quantity shows receipts and issues.1 Draft Prepared by Fred Viidul "71767092.0 data model overview. Inventory cost value for the financially updated quantity. in connection with invoice updating. Values can be: SQL value AX value 0 2 3 4 5 6 7 8 9 10 11 12 13 14 15 20 21 22 23 24 TransRefId InvoiceId Voucher CHAR(20) CHAR(20) CHAR(20) Sales order Production Purchase order Inventory Transaction Profit/Loss transaction Inventory transfer Totaled Production line BOM line BOM main Warehouse output order Project Inventory counting Warehouse pallet transport Quarantine order Fixed assets Transfer order shipment Transfer order receive Transfer order scrap Sales quotation Identification of the reference transaction specified in the field TransType When an order or purchase is invoice-updated. Voucher number used in invoice updating or costing. If the field is empty.Prepared for Microsoft Corporation TransType INTEGER Specifies functional area. the transaction is an issue. Current receipt status for receipt transactions. Floating physical inventory value of the inventory record. The voucher number refers to transaction(s) created in General Ledger (LedgerTrans) Date of the expected transaction Date of the financial transaction. the invoice number is saved here. 11. Version . A physical cost amount that has not been financially updated in the General ledger is a floating value.0 data model overview.doc" last modified on 22 Sep. for example in connection with updating a packing slip.1 Draft Prepared by Fred Viidul "71767092. SQL value AX value DateExpected DateFinancial CostAmountPhysical DATE DATE REAL StatusReceipt INTEGER 0 None 1 Purchase The purchase order is d invoiced 2 Received The purchase order is Page 75 Documentation. Rev 2 . Dynamics AX 4. where the transaction is originated. That is the date on which the items are invoice-updated or cost accounted through production. Voucher numbers used when posting floating items. 4 Arrived The item is registered in a shipment.doc" last modified on 22 Sep. for example. 5 Ordered The purchase order is created. the active sub-route was overridden on the BOM line. Any cost adjustment. Transaction's standard cost price converted to the cost value. Bill of materials (BOM) number of a specific sub-BOM. For example production lines are referring to the produced item transaction number Route number of a specific sub-route.0 data model overview. the active subroute is used.1 Draft Prepared by Fred Viidul "71767092. 11. Dynamics AX 4. When d setting up inventory model groups. that is packing slip updated items. the packing slip number is saved here. an adjustment from a closing of inventory. That is the active sub-BOM was overridden on the bill of material. If the field is empty. That is. PackingSlipId VoucherPhysical CHAR(20) CHAR(20) When an item is picked or received on a packing slip in the Sales or Purchase modules. The sales quotation is not yet a credit note. Refers to the field InventTransId in the same table creating hierarchy.Prepared for Microsoft Corporation packing-slip updated 3 Registere The item is registered. that is when the full quantity was financially settled. Rev 2 ItemRouteId CHAR(20) ItemBomId CHAR(20) ProjId ProjCategoryId CHAR(10) CHAR(10) . Page 76 Documentation. The voucher number refers to transactions created in Ledger. Reference to the project module Project category for the project used. the active sub-BOM is used. Version . 6 Quotatio The sales quotation with a n negative quantity has been receipt sent to the customer for approval. you can indicate in the Registration requirements field that item receipts must be registered upon physical updating. If the field is blank. Indicates whether the transaction is a receipt or an issue SQL value AX value CostAmountAdjustment Direction REAL INTEGER 0 None 1 Receipt 2 Issue DateStatus CostAmountStd DateClosed InventTransIdFather DATE REAL DATE CHAR(20) Date associated with the transaction's status. All adjustments are taken into account Date on which the transaction was financially closed. Identify the project that generated the inventory transaction. 1 Draft Prepared by Fred Viidul "71767092. Inventory size ID for the inventory dimension combination. Reference to the fixed asset module Inventory transaction relation from InventTrans table to the project module transaction table ProjTransPosting.Prepared for Microsoft Corporation CustVendAC CHAR(20) The customer or vendor's account number. Inventory Configuration ID for the inventory dimension combination. Unique ID from this table is used in inventory transaction tables to specify additional inventory properties defined with inventory dimensions.2 InventDim Each inventory item described in InventTable can have several modifications and modification combinations.ProjAdjustRefId and ProjItemTrans. Version . in our case Quarantine order AssetId ProjAdjustRefId CHAR(20) CHAR(20) AssetBookId InventRefTransId CHAR(10) CHAR(20) 1. depending on the reference field type. Inventory color ID for the inventory dimension combination. colors. Reference to the accounts receivables or accounts payables module Fixed asset number for the transaction. also primary key Batch number for the inventory dimension combination. Reference to the fixed asset module Refers to the field InventTransId in the same table creating relation between inventory transactions belonging into the one and the same process flow. unique IDs. 11. detailed warehouse locations etc.10. Dynamics AX 4. In case of inventory cost adjustment this code links project related inventory module transactions with the relevant project module transaction. but InventDim table has all possible inventory dimensions combination list. For example. Information about each of this property is not stored in transaction tables. Warehouse ID for the inventory dimension combination. Page 77 Documentation. we calculate using table CustInvoiceTrans that company has sold 100 cars. Warehouse location ID for the inventory dimension combination. as each sales line refers to dimension combination ID where dimension value is either read or black. sizes. inventory batches. Information that 60 of them are red and 40 are black is stored in InventDim. Rev 2 . Warehouse pallet ID for the inventory dimension combination. Modification types are warehouses.doc" last modified on 22 Sep. For example Quarantine order -> Purchase -> Sales transactions are all referring to the first transaction in the process flow. Fixed asset value module number for the transaction.0 data model overview.ProjAdjustRefId. Inventory serial number ID for the inventory dimension combination. Field name InventDimId InventBachId wMSLocationId wMSPalletId InventSerialId InventLocationId ConfigId InventSizeId InventColorId Data type CHAR(20) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(10) Field description Unique identification of inventory dimensions combination. but it is marked to indicate that it is reserved. All items are assigned to an item group when they are created. 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. In this table current item stock level can be found specified also by different dimension types. therefore. cannot be directly picked and delivered from inventory.10. Version . Rev 2 . The table is used for current inventory reporting purposes. ReservOrdered REAL Total quantity of the item that is reserved on ordered receipts for the inventory dimension. An amount appears in the field. An item is physically reserved if it is marked against a sales order.10. Field name ItemId ItemGroup Data type CHAR(20) CHAR(10) Field description A unique user-defined code that is assigned when items are created. When historical inventory level should be calculated. Items that are physically reserved can always be picked and delivered from inventory.doc" last modified on 22 Sep. inventory picking etc. Lines from this table can be used in dimensional analyses as inventory dimensions. when you total all issue transactions with the status Ordered reserved.1 Draft Prepared by Fred Viidul "71767092. Item groups are used with ledger transactions and can be used as printing criteria. The item is in inventory. Page 78 Documentation. orders.Prepared for Microsoft Corporation 1.4 InventTable The table is central inventory register for Dynamics AX solution. The field appears when you total Financial cost amount for all transactions that have a status of Purchased or Sold at the warehouse. Each dimension combination has unique code in table InventDim Financially entered quantity. Table contains different inventory specific setup parameters. Dynamics AX 4. Also current calculations for reservations. production. then transactions from InventTrans should be combined with the information from InventSum. Relation to InventTable Identification of inventory dimensions. Field name ItemId InbentDimId PostedQty PostedValue Data type CHAR(20) CHAR(20) REAL REAL Field description Item identification number. The value is negative if items that have only been physically received in inventory have already been sold or invoice-updated. Physically available inventory in the stock in stock keeping units Physically available inventory in the stock in company currency AvailPhysical PhysicalValue REAL REAL 1. or a project.3 InventSum The table contains aggregated data calculated based on InventTrans and InventDim. are stored in this table. Total inventory value of the financial updates for the item that was posted in the General ledger module. 11. The item group that this item belongs to. Items that are reserved as ordered are not physically available in inventory and.0 data model overview. A miscellaneous charge is a fixed sum added to the price.). ABCTieUp ABCRevenue ABCValue ABCContributionMargin INTEGER INTEGER INTEGER INTEGER The item's ABC code for cost attachment to inventory. and Sales order sections. for example. Such a structure is used because several properties for the item must be specified for the three different procedures: Purchase. and sales. This is only applied to the Items table. 1.5 InventTableModule The table contains some inventory setup information what is not recorded into the InventTable. When it is need to import some data to InventTable. Price in this field for the number of units entered in the PriceUnit field. Cost. Warehousing and Sales (for example price.Prepared for Microsoft Corporation ItemType INTEGER The category. Rev 2 PriceUnit Markup CHAR(10) REAL . The item's ABC code for inventory value. Values are: SQL value AX 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 Price CHAR(10) REAL The stock keeping unit for purchase. that this item belongs to. 11.10. also three lines with different module type values should be imported to InventTabkeModule per each InventTable record. Dynamics AX 4. Enter values for these fields in the Purchase order. The item's ABC code for sales. The item's ABC code for marginal income. inventory (inventory journal and production). unit of measure etc. for hourly services. production. Enter the number of units for which the Price applies.doc" last modified on 22 Sep. Bill Of Material – used in production Item numbers of the Service type are used. Page 79 Documentation. otherwise imported lines are not even displayed in inventory register. An item can be one of three types: SQL value AX value 0 Item 1 BOM 2 Service These are purchased items that do not require processing to be sold or used in production. or type. This table contains three lines per each line in InventTable. compared to purchase. Version . Relation to InventTable Identifies what module data current row is containing.0 data model overview. Field name ItemId ModuleType Data type CHAR(20) INTEGER Field description Item identification number.1 Draft Prepared by Fred Viidul "71767092. Lots of fields for statistic and setup purposes are created in this table. lead. warehousing or Sale transactions The standard delivery. 1.1.8 BOMTable Table.1 Draft Prepared by Fred Viidul "71767092. For detailed description about this table please see chapter 3. That is. For detailed description about this table please see chapter 3. This is a multiple of the purchase quantity. Item's default warehouse or placement in the Purchase order.7.10.11.doc" last modified on 22 Sep.6.1. Rev 2 . 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. Same logics is in warehousing and sales quantity fields Blocked DeliveryTime INTEGER INTEGER Field has value 1 if the item is blocked for purchase. where standard production route setup is defined.4 1.7 VendTable Central client register table. enter the default quantity in the purchase package.9 Page 80 Documentation.1. 3.6 CustTable Central client register table. 1. In the Purchase order section. 11.2 1.1. The times entered here are default times if times are not specified elsewhere.4 1. where standard bill of material setup is defined.10. Lots of fields for statistic and setup purposes are created in this table.10. the quantity of the item number in stock keeping units that is proposed as a default for purchases and requirement calculations. This function is typically used by companies that need simple lead times. Data is used in production.9 RouteTable Table. or acquisition time for items. Dynamics AX 4. and Sales order sections. Inventory.Prepared for Microsoft Corporation and sales.10. Quantity REAL InventoryLocation CHAR(10) 1. 3.0 data model overview.11. Data is used in advanced production module. Version .10.11 ProjCategory For table description please see p.10.10 ProjTable For table description please see p. purchase and ledger modules. Dynamics AX 4. Figure 13 Page 81 Documentation.0 data model overview.10 1.12 ProjCategoryGroup For table description please see p.doc" last modified on 22 Sep. these tables are not described in this data model. 3. Version . sales.10. warehouse management. These tables are ProdBOM. Rev 2 . Production module is closely integrated with inventory. Production module has also several tables what are used for capacity and materials planning and production cost estimation. Main tables of production module are described in data diagram. 11. Active capacity reservations are kept in table WrkCtrCapRes. Main dimension tables are ProdTable and WrkCtrTable but module has a lot of other dimension tables. Production module has also a lot of journals what are used for entering production materials cost and rote consumption. ProdRoute and ProdRouteJob. Production transactions summary (from estimation and production feedback) are saved in table ProdCalcTrans.Prepared for Microsoft Corporation 1.11 Production General data model Microsoft Dynamics AX production module is flexible and powerful system to handle different production types.1.11. Main transaction tables are ProdRouteTrans and InventTrans (not described here).1 Draft Prepared by Fred Viidul "71767092. The typical life cycle of a production order begins with the start of the production process when the order is first created. and Ended. The production group can control posting of item consumption. items in process. Released. Field name ProdId Data type STRING(20) Field description Displays the production number. generates a quantity of manufactured items. Planned. The production status is automatically updated every time that update or scheduling is run on a production order. Each production can be attached to a production group. 11. and work center consumption and work centers in process. Rev 2 . Name ProdGroupId STRING(140) STRING(10) ProdStatus ENUM Production status Shows exactly where the production order is in the overall production cycle. This field cannot be changed. Reported as finished. Status updates for subsequent phases include: Estimated. If you want to use productions groups without any accounting consequences. Started. The name of the production Production group that production is attached to. Dynamics AX 4. ItemId STRING(20) Displays a unique identification of the item that is to be produced. SQL value 0 AX value Created Description Status of the production order when it is first created. When new production orders are created. Status of the production order after running a material and cost Page 82 1 CostEstimated Documentation.Prepared for Microsoft Corporation DIAGRAM FROM OTHER FILE 1. through a number of connected work operations and raw materials. You can select a group from the created production groups.11.1 Draft Prepared by Fred Viidul "71767092. the number is either allocated automatically or entered manually. This is a unique identification of the production order.doc" last modified on 22 Sep. A production order describes a continuous production sequence.1 ProdTable This is table where all production orders are listed.0 data model overview. The order is automatically assigned the Created status at this point. you should use production pools instead. which. The group can also be used as a limit in reports. The item to be produced is defined when production is set up. Version . 3 Released 4 StartedUp 5 ReportedFinishe d 7 Completed ProdPrio ProdLocked INTEGER ENUM Production priority. 2 Scheduled Status after running operation or job scheduling. Status of the production order when production starts. Rev 2 . Status of the production order when production is finished and ready for final action. Version . and the order is no longer active.1 Draft Prepared by Fred Viidul "71767092. Is the production locked for rescheduling? NO / YES ProdType ENUM Production type SQL value 0 AX value Standard Description The production has been created without a specific attachment to an order. or a planned order. Dynamics AX 4. 11. Status of the production order after final costs has been applied. the item is complete. The production is produced by a vendor and the production order is attached to another production. Priority is used in production planning for sorting. Status when production order is scheduled and has been released to production. You can find a reference to the production order through the InventRefType and the InventRefId fields. 3 Vendor Page 83 Documentation. another production or vendor.Prepared for Microsoft Corporation estimation. Higher numbers have higher priority.0 data model overview.doc" last modified on 22 Sep. where the scheduling can be selected backward from delivery date. Displays the scheduled production quantity Displays the start quantity. the delivery date for the underproductions is automatically set to the date when the items will be used in the production.1 Draft Prepared by Fred Viidul "71767092. The start quantity is updated automatically with the quantity that is started. The latest date on which the production order was reported as finished. Displays the latest date on which the start of a production order occurred. The factor for the measurement dimension width. The measurement conversion factor for the depth dimension. The measurement conversion factor for the density dimension. Rev 2 . The underproduction will then have operations scheduled backward from delivery date. Operations scheduling is frequently used when you want a rough estimate of the duration of the production process.doc" last modified on 22 Sep.Prepared for Microsoft Corporation SchedStatus ENUM Scheduling status of the production SQL value 0 1 AX value None OperationScheduled The least detailed of the two types of scheduling available in the production system. You can use the delivery date in the production's operations or job scheduling. If a production is created directly from a sales order. Displays the quantity that is used as basis for cost estimating. The scheduled start date. Displays the desired delivery or finish date for the production. Version . The scheduled end date. This quantity can differ from the quantity that has been Page 84 StUpDate FinishedDate SchedStart SchedEnd Height Width Depth Density QtyCalc DATE DATE DATE DATE REAL REAL REAL REAL REAL Documentation. the Delivery is automatically transferred back to the Ship date of the order line. Dynamics AX 4. The most detailed of the two scheduling types available in the production system Description 2 JobScheduled SchedDate QtySched QtyStUp DlvDate DATE REAL REAL DATE Last scheduled 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. 11.0 data model overview. The measurement conversion factor for the height dimension. The field can be corrected for productions if the Status is lower than Reported as finished SQL value 0 AX value ItemWrkCtr Description The posting of item consumption is as specified in the itemgroups.0 data model overview. or reported as finished. in addition to the costing of the production order. You can define department. This field connects production table to inventory transactions. The value is proposed on the BOM lines but can be changed individually for each line. SQL value 0 1 2 3 AX value None Estimation Scheduling Start Description No Reservations. ProdPostingType ENUM Shows how the production order is to be posted in the ledger. RealDate Reservation DATE ENUM Date that the production status was updated to Ended. Reservation is made during production estimation. The posting of item consumption is as specified in the item groups. Item consumption and work center consumption are posted exclusively by the value in the Production group.doc" last modified on 22 Sep. Specifies how the component items. 11. The reservation is made the first time a production order is cost estimated. Work center consumption posting is based on the value in the Cost category. Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092. should be handled in terms of automatic reservation. Version . identified by the BOM lines. cost center and purpose on a Page 85 Documentation. Rev 2 . The field cannot be edited. started. for both items and work in process. Reservation is made during production startup. Work center consumption posting is based on the value in the Work centers and work centre groups. 1 ItemCategory 2 ProdGroup InventTransId Dimension STRING(20) STRING(10) Displays the number of the lot to which the production is attached. Reservation is made during scheduling.Prepared for Microsoft Corporation planned. If the production is included directly in another production. You cannot correct this field. cost center and purpose on a production order. However. If production order dimensions exist. dimensions will default from the work center used Dimension2_ STRING(10) You can define department. If production order dimensions exist. It is not relevant that the item does not physically reach the inventory. You cannot correct this field. dimensions will default from the work center used Displays connections to other modules. If production order dimensions exist.doc" last modified on 22 Sep. this field displays the number of the main production. Displays the numbers of the reference lot and the item lot to which the production belongs. the current production number is displayed. the Sales order is displayed. Rev 2 . if the production order dimension fields are left blank. However. If there are no connections. If there is a reference to another production. The level of this production in the production hierarchy is displayed in the Reference level field. Version . the Purchase order or Project is displayed. purchase order. This means that their level number is higher than that of the current production. Therefore a change can affect the attached references. If the production has a connection to another production. if the production order dimension fields are left blank. they are automatically transferred to the route. if the production order dimension fields are left blank. the field displays the level of Page 86 CollectRefLevel INTEGER CollectRefProdId STRING(20) Documentation. or production from which the production is derived. references to subordinate levels are also estimated. If the production is created for a purchase or a project. If no references exist.0 data model overview. If the production is created directly to an order line. cost center and purpose on a production order. When this field is marked. SQL value 0 1 2 3 4 5 6 7 AX value None Sales Purch Production ProdLine InventJournal CRMQuotation InventTransfer Sales order Purchase order Production Production line Inventory Journal CRM Quotation Transfer order Description Dimension3_ STRING(10) InventRefType ENUM InventRefId InventRefTransId STRING(20) STRING(20) Displays the number of the sales order. they are automatically transferred to the route. dimensions will default from the work center used. 11. including the item reference type of the production. Dynamics AX 4. the Production is displayed. Subordinate levels indicate derived productions. the field is blank.Prepared for Microsoft Corporation production order. The item to be produced goes into inventory and from there into the lot that is specified here. You can define department. they are automatically transferred to the route. However.1 Draft Prepared by Fred Viidul "71767092. Quantity not yet reported as finished in inventory units.0 data model overview. the derived productions are at level 1. Version . You can define which lines are to be copied from the current bill of materials version through this date. Displays the profit setting that has been used or that will probably be used to calculate a sales price for the production order The price is calculated when estimating and cost accounting. Backorder status for the production. if the level of the main production is 0.1 Draft Prepared by Fred Viidul "71767092. but for each production order there is always only one bill of material that is current and used as the basis for the production order. Indicates which bill of material has been used as the basis for the production order. SQL value 0 1 2 3 5 AX value None Release Route Receipt Completed Material consumption Route consumption Report as finished Ended Description BackorderStatus ENUM ProdPoolId ProfitSet STRING(10) ENUM Production pools are used to group productions with similar characteristics. and the productions derived from them are at level 2. If no references to other productions exist. for example the type of item to be produced or the person who created the production orders.doc" last modified on 22 Sep. Rev 2 . Controls the BOM version that is active for the item when the production order is created. and so on. the value is 0. For example.Prepared for Microsoft Corporation BOMDate DATE the production relative to the main production. There may be several versions of a bill of material item. 11. SQL value 0 1 2 3 AX value Standard Profit1 Profit2 Profit3 Description RouteJobs ENUM Have route jobs been generated for the production? YES / NO CheckRoute ENUM Test route? YES / NO PropertyId RemainInventPhysical BOMId STRING(10) REAL STRING(20) Code for the item characteristics. Dynamics AX 4. Route used when creating production RouteId STRING(20) Page 87 Documentation. together with the ReqPlanIdSched field. no reference exists for the planned order. This field. SQL value 0 1 AX value Production Sales Description LatestSchedDirection ENUM Scheduling direction last used SQL value 0 1 2 AX value None Forward Backward Description LatestSchedDate InventDimId SchedToTime SchedFromTime LatestSchedTime DlvTime ProdOrigId GanttColorId PBAId DATE STRING(20) TIME TIME TIME TIME STRING(20) INTEGER STRING(20) Last scheduling date. 11. Last scheduled from time. Rev 2 .0 data model overview. Version .1 Draft Prepared by Fred Viidul "71767092. Page 88 Documentation. If the production was derived from master planning. Dynamics AX 4. Reference to inventory dimensions combination. If the field is blank. The field cannot be edited. contains the reference system for the master scheduling proposal. This color is used in the Gantt chart if it is defined in the setup of colors in the Gantt chart. the field will contain the number of the planned order that generated the production.Prepared for Microsoft Corporation ReqPlanIdSched ReqPOId STRING(10) STRING(20) Identification of the plan. RefLookUp ENUM Code used for auto-search. Last scheduled to time. Scheduling time last used Delivery time The original production that the current split production is based on.doc" last modified on 22 Sep. 1 Draft Prepared by Fred Viidul "71767092.2 ProdCalcTrans This is table where production order cost estimations and real production costs are recorded.Prepared for Microsoft Corporation 1. Line's quantity-independent cost miscellaneous charges. Dynamics AX 4. Field name CollectRefProdId CollectRefLevel LineNum CalcType Data type Field description Identification of the highest level production that the line refers STRING(20) to. Line's estimated quantity-dependent sales amount in number of inventory units. 11. Lines estimated quantity-dependent cost amount in number of inventory units. Rev 2 . Version .doc" last modified on 22 Sep. Identification of item or work center Page 89 Documentation. Identification of the production that the line refers to. Line number. Selection indicates that the line is bill of materials (BOM) consumption. Lines estimated quantity-independent sales-amount miscellaneous charges. YES / NO CostGroupId Qty CostAmount CostMarkup SalesAmount SalesMarkup TransDate Key1 STRING(10) REAL REAL REAL REAL REAL DATE STRING(20) Identification of the cost group. sales price. and consumption are specified in and calculated for in connection with estimation. INTEGER REAL ENUM Level at which the line is included in the calculation.11.0 data model overview. Date of the calculation. Calculation type SQL value 0 1 2 3 4 5 6 AX value Production Item BOM Service Setup Process Qty Description Production or subproduction Item consumption BOM consumption Service item Setup time in route Process time in route Quantity registered in route IdRefTableId IdRefRecId ProdId BOM INTEGER INT64 STRING(20) ENUM Table id calculation is connected to (Production table or BOM calculations table) Record id calculation is connected to. This is useful table if you want to create are production cost reporting. Quantity that the cost price. the field is updated with the realized consumption quantity. Is the line a production receipt? YES / NO Number for determining sequence in routes Module and number referred to SQL value 0 1 2 3 4 5 6 7 AX value None Sales Purch Production ProdLine InventJournal CRMQuotation InventTransfer Description None Sales order Purchase order Production Production line Inventory journal CRM quotation Transfer order ConsumpConstant RealQty RealConsump REAL REAL REAL RealCostAmount REAL RealCostAdjustment Production REAL ENUM OprNum DerivedReference INTEGER ENUM DerivedRefNum Key4InventDimId STRING(20) STRING(20) Reference number. Rev 2 . Page 90 Documentation. The program calculates expected material consumption based on the item and expected time consumption based on the operation. it is from the item's on-hand record. When inventory transactions are financially updated for the production order.Prepared for Microsoft Corporation Key2 Key3 Key4 ConsumpVariable STRING(10) STRING(20) STRING(20) REAL Consumption unit. Dynamics AX 4. if it is marked. Version . The item's cost price is from the reference transaction. Run-independent consumption of the line in number of inventory units Cost-accounted quantity reported as finished The material and time consumption that is registered against the production order.0 data model overview. Adjustment of cost amount. Time consumption for the operation is registered automatically when you post the route card or job card journals. The material and time consumption that the program calculates when you update a production order to the estimation stage. Otherwise. The cost price for the job is from the Route card or Job card journal. 11. This field is not updated for a top level production order line until the production status is updated to end. The cost that the program calculates based on realized consumption and the cost price.doc" last modified on 22 Sep. Material consumption for the item is registered automatically when you post the picking list journal.1 Draft Prepared by Fred Viidul "71767092. Identification of the operation Identification of dimensions for the item. 0 data model overview. Dynamics AX 4.Prepared for Microsoft Corporation VendId ConsumpType STRING(20) ENUM Customer or vendor account number Is consumption variable or constant? SQL value 0 1 AX value Variable Constant Description Variable Constant DEL_SumConsump ENUM Is the record summarized to find a price agreement for all levels? YES / NO PriceDiscQty CostPriceModelUsed REAL ENUM The cost price model that has been used for price calculation. Version . Rev 2 .1 Draft Prepared by Fred Viidul "71767092. SQL value 0 1 2 3 4 AX value CostPrice PurchPrice PriceDisc OnhandPrice None Description Item cost price Item purchase price Trade agreement Inventory price None CalcGroupId STRING(10) Page 91 Documentation.doc" last modified on 22 Sep. 11. each with its own function. When a bill of material is exploded.Prepared for Microsoft Corporation 1. SQL value 0 AX value Item Description Used on bill of materials lines where there are raw materials that are to be picked in inventory or the item is a service. as the production BOM is generated in connection with Production creation as a copy of a bill of material from base data. Line number. Production is used.doc" last modified on 22 Sep. Explosion is carried out in connection with estimate. Version . Production BOMs are based on Bills of material from the base data. In that way. In that case. Rev 2 1 Phantom 2 Production . 11.0 data model overview. The underproduction is created when an estimate is executed for the current Production order. If you wish to create for the bill of material lines item number an underproduction. The materials are described with item number and consumption. Item number in the bill of material line must be of type BOM. it creates the raw materials and operations created as base data on the current bill of materials item number. the production BOM will be blank. Type determining how the line is administered.3 ProdBOM This is table where items which will be used for production order are recorded. it is the bill of material for the item being produced in production.1 Draft Prepared by Fred Viidul "71767092. The only exception is if the item has no bill of materials.11. Field name ProdId LineNum ProdLineType Data type STRING(20) REAL ENUM Field description This field displays the production number of the production to which the bill of material line belongs. You will find more information in Page 92 Documentation. Dynamics AX 4. You will find more information on estimate in Estimation. and no BOM number was given upon its creation. which is copied to the production BOM. Is used if items of type BOM are to be exploded in this production bill of materials. The bill of materials lines can be of several Line type. The production BOM is a list of the materials used in production. as well as a range of other data used for processing in the production system. 0 data model overview.doc" last modified on 22 Sep. 3 Vendor If you in the production sequence use subcontractor work for which you want to create a purchase order automatically. you must either specify a code that refers to an operation in the production route of the type Vendor. BOMConsump ENUM Is This field specifies whether the estimate concerns a Variable or Constant amount/quantity. 11. or specify a vendor directly in the BOM line. The item number must already exist in the items table. Quantity for the underproduction is automatically reserved and marked for the current production. The underproduction has the type Vendor and the items that are on the bill of material are created for the underproduction as bill of materials lines. The consumption is calculated as follows: Quantity (for the production order) * (in the bill of material) Constant consumption is used in defining a fixed amount/quantity for the production items. use type Vendor. In bill of materials lines with the type Vendor. such as start-up costs. is of type BOM. Version . Variable consumption means that the units used in the finished product are proportional with the Quantity for the production order.Prepared for Microsoft Corporation Estimation. If item number in the bill of material line that gets the type Vendor. and the can be Item. an underproduction is created when the current production is first estimated. BOM. Consumption is calculated as follows: Consumption = Quantity (in BOM). or Page 93 Documentation.1 Draft Prepared by Fred Viidul "71767092. Rev 2 . Dynamics AX 4. SQL value 0 1 AX value Variable Constant Description Variable Constant ItemId STRING(20) Specify in this field unique identification of the item to be consumed in the production. Prepared for Microsoft Corporation Service. 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. 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. 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'. 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. 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. 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. Dim1 REAL Dim2 REAL Dim3 REAL Dim4 REAL Dim5 REAL Page 94 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 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. SQL value 0 1 2 AX value No Qty MeasureConfi g Description Do not use rounding. This ensures that will always be rounded. Round using Measurement if raw material is available only with predefined dimensions. If you need to take the above into account when calculating the consumption, use rounding to Measurement and set RoundUpQty to 5. The rounding is calculated by first determining the sales quantity on the basis of the measurement dimensions and then determining the number of times the measurement dimension figure can be included in RoundUpQty The sales quantity is then rounded down to 0 (zero) decimals. Now you can estimate the quantity by calculating how many multiples of the value in field RoundUpQty is to be used in order to produce a given quantity. When you use Roundingup Consumption the calculated estimated quantity is always rounded so that it can be divided equally with the value of RoundUpQty Rounding-up to Consumption is used when the total consumption of a raw material only can be carried out using a predefined quantity and the remainder is then regarded as loss. 3 Consumption RoundUpQty Position REAL STRING(30) Multiples quantity for rounding. This field defines the Position of the bill of material line. This field can contain an alphanumeric string of up to 10 characters. Page 95 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 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. Estimated consumption in BOM unit This field displays the consumption that needs to be released to the production in the inventory unit with regard to the estimated quantity. 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. Cost estimated quantity/amount of item to be included in the production defined in the inventory unit. The consumption is calculated when Estimation is executed. In the case of variable consumption, the following formula is used in calculating the consumption: Quantity (in Production order) * (in the bill of material) = Consumption is determines whether the consumption is Variable or Constant Indicates when automatic BOM consumption is reported (overrides setting on the item). SQL value 0 2 3 1 AX value Blank Start Finish Manual Description Blank Start Finish Manual QtyBOMCalc RemainBOMPhysical REAL REAL RemainBOMFinancial REAL QtyInventCalc REAL ProdFlushingPrincip REAL Reservation ENUM When should autoreservation be performed? SQL value 0 1 2 3 AX value None Estimation Scheduling Start Description Manual Estimation Scheduling Start InventTransId RawMaterialDate RemainInventPhysical Dimension Dimension2_ STRING(20) DATE REAL STRING(10) STRING(10) This field shows the old id and refers to the current inventory transactions attached to the bill of material line. Scheduled date for material consumption Quantity not yet released in the inventory unit Financial dimension. Financial dimension. Page 96 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 you will be able to see the reference to that purchase directly from the generated reference. The reference to. InventRefTransId VendId STRING(20) STRING(20) Reference inventory transaction id. 11. Rev 2 . the field comprises the complete reference to the object to which the production line refers. Together with and . production or production lines. If the line in the production BOM generates a purchase. SQL value 0 1 2 3 4 5 6 7 AX value None Sales Purch Production ProdLine InventJournal CRMQuotation InventTransfer Description Sales order Purchase order Production Production line Inventory Journal CRM Quotation Transfer order InventRefId Reference number displays any references to sales. If the line in the production BOM generated a purchase.Prepared for Microsoft Corporation Dimension3_ InventRefType STRING(10) ENUM Financial dimension. Module and number Reference type indicates the relation to other modules. the vendor will be obtained through the work center on the Page 97 Documentation. STRING(20) purchases. for example. For lines with Vendor define a vendor number that purchase orders should be created for. If you leave this field blank. and the Reference lot is the lot number of a specific purchase line in the current purchase. If the field is blank. and the Reference lot is the lot number of a specific purchase line under the current purchase. you will be able to see the reference to that purchase directly from the reference generated.doc" last modified on 22 Sep. there are no attachments to objects in other modules. the Reference number is the purchase number of the current purchase. The field is dependent on the InventRefType . a purchase line is structured in such a way that the Reference type is Purchase. A blank field means that there are no attachments to objects in other modules. The reference to.1 Draft Prepared by Fred Viidul "71767092. the Reference number is the purchase number of the current purchase. a purchase line is structured in such a way that the Reference type is Purchase. Version . for example.0 data model overview. Dynamics AX 4. Editing in the field is not permitted. No editing is permitted in the field. and the quantity. A production should be costaccounted as an end job when you no longer expect there to be additional feedback that is associated with the production. Cost-accounting was run as an end job. The production status cannot be set back. Formula used for calculating consumption. When the field is marked for calculation. The back order status is related to the production's back order status SQL value 0 1 AX value None Release Materials remain to be delivered to production in relation to the costestimated consumption.doc" last modified on 22 Sep. YES / NO QtyInventStUp QtyBOMStUp BOMId Formula REAL REAL STRING(20) ENUM Quantity started in the inventory unit. Production remains to be reported as finished or the quantity reported as finished is smaller than the quantity started. all operations. the line is included in estimating. Rev 2 . The production order remains to be costaccounted. Version . The prices used in costaccounting are calculated via inventory closing. reported as finished. Description 2 Route 3 Receipt 5 Completed Calculation ENUM This field allows you to define whether the bill of material line should affect the estimating. Page 98 Documentation. reported as finished. You can no longer record in production or edit directly in production. Back order status indicates what remains to be carried out for a specific BOM line.1 Draft Prepared by Fred Viidul "71767092. All materials have been delivered.Prepared for Microsoft Corporation attached operation. Quantity in the process in the bill of material unit Reference to BOM id what was used when line was created. Estimating calculates the expected cost price and sales price. UnitId BackorderStatus STRING(10) ENUM Unit in which consumption is specified.0 data model overview. Dynamics AX 4. 11. Reference to inventory dimensions combination. insert. including the work centers and processes through which the item passes. If blank active are used. Reference to master planning table.Prepared for Microsoft Corporation SQL value 0 1 2 3 5 AX value Formula0 Formula1 Formula2 Formula3 Formula4 Description Standard Height * Constant Height * Width * Constant Height * Width * Depth * Constant (Height * Width * Depth/Density) * Constant BOMRefRecId BOMQtySerie ItemRouteId ItemBomId InventDimId ReqPOId ReqPlanIdSched RawMaterialTime ScrapVar ScrapConst ConstantReleased INT64 REAL STRING(20) STRING(20) STRING(20) STRING(20) STRING(10) TIME REAL REAL ENUM Reference record id. Route number for specific sub-route. Production routes are based on Routes from base data. Rev 2 . or delete information Page 99 Documentation. it is the route for the item for which a production order is being created that is copied to the production route. Thus. If blank active are used. 11.1 Draft Prepared by Fred Viidul "71767092. the production route is blank. Version .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.doc" last modified on 22 Sep. Reference to master planning plan id. BOM number for specific sub-BOM. Scheduled time of material consumption Variable scrap percentage (must be specified in percent) Constant scrap in BOM unit Has constant consumption been released? YES / NO EndConsump ENUM Picking list journal has been posted with end field checked YES / NO EndSchedConsump ENUM EndSchedConsump YES / NO 1. Here you specify the number of units to which the value in BOMQty applies. The production route is an independent element where you are free to edit.11. In that case.0 data model overview. as the production route is generated in connection with Production creation as a copy of a route from base data. The only exception is if the item has no route and no route number was given for the item upon its creation. Dynamics AX 4. the operations must be created with the same operation number. You can change them manually. which is an alphanumeric string of INTEGER up to ten characters. a capacity loading of the work center time is carried out in connection with scheduling. The field is used together with Job requirement of the scheduling system when you search for alternative work centers. If selected. Version .doc" last modified on 22 Sep. The last Operation in the route network is defined as 0 (zero). Therefore.0 data model overview. Conflicts occur when there is insufficient capacity in the time frame being scheduled for. Field name ProdId OprNum Data type Field description Displays operations in the selected Production that can be STRING(20) changed or updated. Dynamics AX 4. Specify a task group for searching for alternative work centers. Level OprNumNext OprId INTEGER INTEGER STRING(10) Displays the next operation number in the route network. Subsequent operation numbers will be suggested as having increments of 10. An operation cannot be included in the route more than once. It shows which Operation follows the current Operation. It is not dependant on the production quantity. This time is scheduled according to the Gregorian calendar and can be used with subcontractor work. and which use the same work center. You can define a unique identification for the operation that is to be included in the production route and choose the operation in the dropdown list. The next operation to be executed is defined in the Next field. Process time is calculated for the cost estimation. The operation number defines the sequence for the operation that the production should go through. You can also enter the operation manually. The relationship between simultaneous operations is defined in Priority. No. Select to calculate the quantity from the scheduled production quantity. Setup time shows the fixed time that is used to clear a work center. 10 is automatically suggested as the first operation number. Displays the waiting time for Operation. The time is scheduled on the basis of the calendar of the defined work center. Operations cannot be created with the same Oper. Similarly. If the operation is the last operation. Rev 2 QueueTimeBefore SetupTime REAL REAL ProcessTime ProcessPerQty TranspTime REAL REAL REAL .Prepared for Microsoft Corporation without it affecting a corresponding route in the base data.1 Draft Prepared by Fred Viidul "71767092. Alternative work centers are sought when a conflict arises concerning the work center specified for the operation. WrkCtrId TaskGroupId STRING(10) STRING(10) Identify the work center or work center group to be used for the operation. When you create a new production route. Queue time before is always positive. the field indicates the estimated process time in hours for the operation. Do this when several work centers are to be used simultaneously. Displays the time it takes to transfer the items to the next Page 100 Documentation. the setup time for clearing the work center is included in the estimate. If simultaneous operations are to be created. This displays a list of all created operations. 11. Define the operation number. Displays the operation in the production route that uses Group or the attached Work center. Next is defined as zero. QueueTimeAfter REAL Displays the waiting time for Operation. During setup the field is filled in with the value for Route type transaction type from the Operation. you can enter the factor that is to be used in the Formula. This time is scheduled according to the Gregorian calendar and can be used with subcontractor work. Displays the accumulated Scrap percentage for an Operation. Overuse is included both in the estimate of material consumption and in the work center consumption for the current operation. 11. SQL value 0 1 AX value Standard Vendor Description Standard Vendor FormulaFactor1 RouteType REAL ENUM Page 101 Documentation.Prepared for Microsoft Corporation location. Displays the minimum time that must be used for production before overlap is allowed. Version . Displays Run time category for the Operation. Dynamics AX 4. The cost STRING(10) amount is calculated as the process time set for the route * Scrap percentage for the route * the rate for operator time. Transit time is scheduled on the basis of the calendar of the defined work center. The cost STRING(20) amount is calculated on the basis of the setup time defined in Operation * the rate for setup time retrieved from the setup type.1 Draft Prepared by Fred Viidul "71767092. The conversion converts hours to hundredths of an hour. No capacity loading is carried out for the work center in connection with scheduling.doc" last modified on 22 Sep. OverlapQty ErrorPct REAL REAL AccError ToHours TransferBatch SetUpCategoryId REAL REAL REAL ProcessCategoryId OprFinished Displays the Setup category for the Operation.0 data model overview. Scrap percentage defines the expected overuse for the operation. Displays a conversion factor for the times that are defined in the route. ENUM Reported as finished YES / NO If the finished product has a Formula defined for the calculation of material consumption. Displays the Scrap percentage for the operation. Rev 2 . This field must contain a positive value. being referred to. Select whether the operation will be completed with an external vendor (Supplier) or at an internal work center (Standard). 11. The start date is calculated in connection with operations scheduling or jobs scheduling. Displays the job scheduled start time for the operation. to all operations that are to be executed simultaneously. and therefore defined as primary for simultaneous operations on Page 102 RouteGroupId STRING(10) QtyCategoryId FromDate FromTime ToDate ToTime CalcQty CalcSetUp CalcProc WrkCtrTaskDemand OprPriority STRING(10) DATE TIME DATE TIME REAL REAL REAL REAL ENUM Documentation.0 data model overview. During creation.doc" last modified on 22 Sep. Properties are defined in the Properties form. the field is filled in with the value for Property from the Operation being referred to. Version . Displays the scheduled end date for the operation. and reporting. The priority determines which operation is the primary one. The end date is calculated in connection with operations scheduling or jobs scheduling. Specify the Routing group that is to control the operation. The back order status is related to the production's back order status SQL value 0 1 2 3 5 AX value None Release Route Receipt Completed Description None Material consumption Route consumption Report as finished Ended PropertyId STRING(10) Specify the Property needed for the operation at the given Work center. Dynamics AX 4. because individual routes and productions determine which work centers form the bottleneck. Use cost category to specify a quantity-dependent cost for the operation. The end time is calculated in connection with jobs scheduling. job management. A work center regarded as a bottleneck on one route. The primary operation should be the operation loading the work center that is regarded as the bottleneck for simultaneous operations. Specify the cost category for the quantity. No. A bottleneck work center is not defined in any special way in the system. Estimated setup hour in number of hours Estimated process consumption in hours Lowest requirement when choosing an alternative work center Priority is used in controlling simultaneous operations. Simultaneous operations are characterized by the fact that they appropriate several work centers at the same time. Estimated quantity. Rev 2 . Displays the scheduled job end time for the operation. The route groups control how the operation is handled in connection with calculation.1 Draft Prepared by Fred Viidul "71767092. The start time is calculated in connection with jobs scheduling.Prepared for Microsoft Corporation BackorderStatus ENUM Indicates what remains to be carried out for a specific operation. scheduling. Displays the scheduled start date for the operation. This is done by giving the same Oper. Prepared for Microsoft Corporation that route. the work center can be loaded with.1 Draft Prepared by Fred Viidul "71767092. No. The number of work centers to be drawn on if a work center group is specified in Work center. Financial dimension. This means that the times do not have to be specified for secondary operations. Financial dimension. If the operation is not primary. the times from the primary operation are used to schedule the secondary operation. the operation should be created with the priority of primary. can be secondary on another route. SQL value 0 1 2 3 4 5 AX value Primary Secondary1 Secondary2 Secondary3 Secondary4 Secondary5 Description Primary Secondary 1 Secondary 2 Secondary 3 Secondary 4 Secondary 5 WorkCtrLoadPct WorkCtrNumOf Dimension Dimension2_ Dimension3_ Formula REAL REAL STRING(10) STRING(10) STRING(10) ENUM Maximum capacity. displayed as a percentage. Attachment type to next job.0 data model overview. Financial dimension. Dynamics AX 4. Rev 2 . Method used to calculate the consumption for the line SQL value 0 1 AX value Formula0 Formula1 Description Standard Capacity RouteOprRefRecId LinkType INT64 ENUM Reference to other route line.. 11. SQL value 0 1 2 AX value None Soft Hard Description None Soft Hard OprStartedUp ENUM Is the operation started? YES / NO Page 103 Documentation. Version . If there are no parallel operations for an Oper.doc" last modified on 22 Sep. The field always reads 1 if a work center is specified in Work center. Indicates whether the constant consumption has been released.0 data model overview. Field name ProdId OprNum NumType JobType Data type STRING(20) INTEGER INTEGER ENUM Displays the job type. Fixed time used for clearing a work center before the operation is started. This division is used to increase the accuracy of the detailed schedule by monitoring the individual tasks. YES / NO JobIdProcess JobIdSetup JobPayType STRING(20) STRING(20) ENUM Process job ID Set up job ID Hourly rate / Piecework rate Pay type on jobs that delimit this item. Page 104 Documentation. No. 11. Job scheduling is the detailed scheduling of capacity.5 ProdRouteJob These jobs are generated when user runs scheduling. for the connected production route. it divides operations into their individual task times or jobs. Current total processing percent for setup.11. SQL value 0 1 2 AX value Empty Hours PieceRate Description All Hourly rate Piecework rate 1.Prepared for Microsoft Corporation ExecutedProcess ExecutedSetup ConstantReleased REAL REAL ENUM Current total processing percent for process. 2 3 Process Overlap . Dynamics AX 4. Displays the Oper. Rev 2 Field description Production to which job is connected.1 Draft Prepared by Fred Viidul "71767092. which is run after operations-scheduling on productions that use the operations-scheduling function. Operations scheduled to start before the previous one is finished.doc" last modified on 22 Sep. Version . Time used for the execution of the operation. which describes the type of work that is to be carried out. SQL value 0 1 AX value QueueBefore Setup Description Waiting time before the operation can be started. Priority can be primary or secondary 1-5. Job must end at the same time the next job ends. SQL value 0 1 2 3 4 AX value None SS FF FS SF Description There is no link to the next job.Prepared for Microsoft Corporation 4 Transport Time that it takes to transfer the items to the next location. Rev 2 . Times are precisely the same only when the link type is Hard. the next job can start later than the link specifies. Version . which can be the next work center. Indicates that the following job must be placed as what the attachment defines. Job must start at the same time the next job starts. When the link type is Soft. there may be a time gap between the two jobs. 5 QueueAfter Link ENUM Link specifies the link that the job was created with. Description 2 Hard OprPriority ENUM Displays the priority for the production route. Dynamics AX 4. A link tells how the current job is tied to the subsequent job. the production route or stock.0 data model overview. Job must end at the same time the next job starts Job must start at the same time the next job ends. 11.doc" last modified on 22 Sep. LinkType ENUM This field indicates the attachment type. SQL value 0 AX value Primary Description Primary Page 105 Documentation. In other words. The time the items must wait after the operation is finished and before the next operation can start. SQL value 0 1 AX value None Soft Indicates that the job may be placed later than what the attachment defines.1 Draft Prepared by Fred Viidul "71767092. doc" last modified on 22 Sep. Version .1 Draft Prepared by Fred Viidul "71767092. Work center is selected from the work center defined on the production route. The time is determined in connection with jobs scheduling. Rev 2 . 11. route journal. Displays the scheduled end date for the job. Dynamics AX 4.0 data model overview. Therefore. The job status can be changed to Ended via the job journal. Specifies the scheduled ending time for the job. Displays the scheduled start time for the job. Indicates the scheduled start date for the job. the field is selected.Prepared for Microsoft Corporation 1 2 3 4 5 Secondary1 Secondary2 Secondary3 Secondary4 Secondary5 Secondary 1 Secondary 2 Secondary 3 Secondary 4 Secondary 5 SchedCancelled ENUM If the current job is canceled with regard to the schedule. The date is determined in connection with operations scheduling and jobs scheduling.) Waiting Interrupted Started Ended (Displayed when the operation or production is reported as finished.) FromDate DATE FromTime ToDate TIME DATE ToTime JobStatus TIME ENUM Locked ENUM If this field is selected. YES / NO Indicates whether records can be made for jobs through job recording. The date is determined in connection with operations scheduling and jobs scheduling. YES / NO JobControl ENUM WrkCtrId STRING(10) This field indicates which Work center will execute the job. the job has been locked against rescheduling. or reportingas-finished. the job cannot be moved when a Page 106 Documentation. Current job status SQL value 0 1 2 3 4 AX value Coming Waiting Stopped Started Completed Description Coming (Displayed until the job is started. doc" last modified on 22 Sep. Recordings can occur when the route journal or job journal is posted to the ledger. Recordings can take place when the route journal or job journal is posted to the ledger. Displays the progress of the production in the form of a percentage.1 Draft Prepared by Fred Viidul "71767092. Rev 2 . Secondary job number. 11. Scheduled time. Is the job finished? YES / NO JobPayType ENUM Hourly rate / Piecework rate Pay type on jobs that delimit this item. YES / NO PropertyId STRING(10) Displays the work center property that is required for the execution of the job on this Work center. This field is updated when the job is registered as finished. it indicates that the job requires no special properties of the work center.0 data model overview.Prepared for Microsoft Corporation new jobs scheduling or job planning is carried out. which have high requirements on fixed delivery times. 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. Version . Calculated time. Jobs can be finished when the route journal or job journal is posted to the ledger. You can use locking against rescheduling especially with regard to express items. If you leave this field blank. Recordings can occur when the route journal or job journal is posted to the ledger. The start date is updated for the first time a recording is made on the job. Unique identification of job Displays the actual start date for the job. SQL value 0 1 2 AX value Empty Hours PieceRate Description All Hourly rate Piecework rate ExecutedPct REAL JobId RealizedStartDate STRING(20) DATE RealizedStartTime TIME RealizedEndDate DATE RealizedEndTime TIME NumSecondary NumPrimary SchedTimeHours CalcTimeHours JobFinished INTEGER INTEGER REAL REAL ENUM Page 107 Documentation. Displays the actual start time for the job. The start date is first updated when a recording is made on the job. Primary job number. Displays the actual end time for the job. The field is updated every time a recording is carried out on the job. Actual end date for the job. Dynamics AX 4. Quantity of items with errors in the current record. Therefore. Time displays in hundredths of an hour. Displays the number of feedback hours in the current record.0 data model overview. The operation number. 11. Also known as good quantity. Indicates which specific work center has had feedback.doc" last modified on 22 Sep. This means items that are regarded as being without fault at the time of recording. HourPrice QtyGood REAL REAL QtyError QtyCause REAL ENUM Displays the cost of the time consumed in feedback. Quantity of items reported as finished in route transaction without reported faults. it displays here. Dynamics AX 4. Rev 2 . The price is defined in the operation's cost category. ENUM Displays the job type for the transaction. 1. If the current route record contains feedback on the error quantity. along with the production number and the primary/secondary fields. SQL value 0 1 2 3 AX value None Material Machine OperatingStaff Material Machine Operator Description Page 108 Documentation. Version . JobId JobType Displays the operation number to which the posting is attached. Field name ProdId OprNum Data type STRING(20) INTEGER Field description Production to which route transaction is connected.Prepared for Microsoft Corporation 1.6 ProdRouteTrans This is table that includes production route realized transactions and detailed information. SQL value 0 1 2 3 4 5 AX value QueueBefore Setup Process Overlap Transport Queue after Description Queue before Setup Process Overlap Transport Queue after WrkCtrGroupId WrkCtrId Hours STRING(10) STRING(10) REAL Indicates which work center group has had feedback.75 equals one hour 45 minutes. Each time a line from a route sheet or job sheet journal is posted. a route transaction is created. forms a unique identifier for the operation. Displays the unique job number (the identifier of the job STRING(20) attached to the route transaction).1 Draft Prepared by Fred Viidul "71767092.11. If this check box is selected. Together with End time. If this is the case. this field displays the time period used for working on this job at the point Page 109 Documentation. The price is attached to REAL the cost category in Category. The price that is used in calculating the route record is controlled by this type. SQL value 0 1 2 3 4 5 AX value Primary Secondary1 Secondary2 Secondary3 Secondary4 Secondary5 Secondary 1 Secondary 2 Secondary 3 Secondary 4 Secondary 5 Description FromTime TIME ToTime TIME Displays the starting time from which the time consumed for this route transaction is registered. Together with Start time. STRING(10) ENUM Employee to whom the record is attached.0 data model overview. YES / NO DateCalc VoucherWIP DateWIP Dimension Dimension2_ Dimension3_ Calculated DATE STRING(20) DATE STRING(10) STRING(10) STRING(10) ENUM Displays the date when the calculation was posted to the ledger. This field may be left blank. Displays the voucher number for WIP posts in the ledger. Displays the date when the WIP was posted to the ledger. Dynamics AX 4. Secondary operations with the same operation number are then scheduled simultaneously with the primary one. Financial dimension. WIP is automatically posted when journals are posted.1 Draft Prepared by Fred Viidul "71767092. if the production is cost accounted. Displays the time until which the time consumed for this route transaction is registered. the transaction is cost accounted. Financial dimension. 11.doc" last modified on 22 Sep. Displays the price for the quantity type. this transaction does not affect the value with which the item is received in inventory. This is defined in the route of a single production. In simultaneous operations. this field shows the time period used for working on this job at the point of this recording. Indicates whether the operation to which the route record belongs is finished. the primary work center is used to specify which operation is to be the controlling one in the scheduling. If it is cleared is cleared. The cost STRING(10) category is related to the consumption type in the Type field.Prepared for Microsoft Corporation CategoryId QtyPrice EmplId OprFinished Indicates which cost category has had feedback. Rev 2 . Version . You can also use the type to control posting. the transaction is not included in the cost accounting carried out for the production. Financial dimension. The production number of the route transaction is displayed in the Production field. YES / NO OprPriority ENUM Indicates whether the route transaction belongs to a primary or secondary work center. Work center issue is the value that the route transaction has on the basis of the WIP transactions posted earlier. Rev 2 . This is calculated as number of hours multiplied by the hourly rate or quantity multiplied by the quantity price. you can see in the ledger which value has been issued from the work centers. Therefore. Displays the operation that has been carried out at this route STRING(10) transaction. Displays the account number that has been used for posting STRING(20) cost accounting after work center issue. The transaction can later be settled with salary payments in the ledger. YES / NO ExecutedPct REAL Displays an approximation of an operation's progress at the time of feedback. Dynamics AX 4. Amount OprId TransType If half of the operation has been carried out. work center. Displayed when the transaction is a quantity record. either using the cost category.0 data model overview. Therefore. work center. you can see in the ledger what value the work centers have had with regard to this route transaction. the value is 50%.Prepared for Microsoft Corporation JobFinished ENUM of this recording. This field may be left blank. ENUM Transaction type is a specification of the type of transaction. Page 110 PostingWIPValuation Documentation. The work center issue is posted using the value entered in the amount field. The WIP transactions have been posted earlier.doc" last modified on 22 Sep. Displays the total amount of route transactions posted to the REAL ledger. The account number is specified on the basis of this setup. Displays the account number that has been used as an offset STRING(20) account at cost accounting posting of issues from the work center. either using the cost category. The account number depends on the setup of the production on the Production orders form and in Ledger. You can see in the ledger what value the work centers have had with regard to a production. or production group. or production group. ENUM Route transaction type SQL value 0 1 AX value Time Qty Description Displayed when the transaction is a time record.1 Draft Prepared by Fred Viidul "71767092. Version . the job has not been reported as finished by this recording. The transaction is settled later with salary payments in the ledger. Indicates whether the job to which the route transaction belongs is finished. VoucherCalc STRING(20) Indicates which voucher series has been used at cost accounting posting of issues from the work center. The offset account contains the value that is added to the company accounts in the form of finished products. Offset accounting is carried out to the account defined in the WIP account field. 11. Receipt account used when posting WIP to the ledger. The account number is determined by the way production has been set up on the Production orders form and in Ledger. AccountWIPValuation AccountWIPIssue STRING(20) AccountCalcIssueOffset AccountCalcIssue Indicates which account number has been used when posting STRING(20) WIP issues to the ledger. If the field is cleared. WIP issue is the value that is used by the work centers at this route transaction. The account number is determined by this setup. Dynamics AX 4.0 data model overview.Prepared for Microsoft Corporation SQL value 0 1 2 3 4 5 6 7 8 9 AX value None ExchRateGain ExchRateLoss InterCompany Tax VATRoundOff Allocation InvestmentDuty Liquidity MSTDiffSecond Description Exchange rate profit Exchange rate loss Intercompany accounting Sales tax Sales tax rounding Allocation Investment tax Liquidity Penny difference in secondary currency Error account Penny difference in default currency Year-end result Close Ledger journal Cash discount Balance account for consolidation differences Payment fee Sales tax reporting Transfer of closing and opening balance Bank Conversion profit Conversion loss Withholding tax Customer balance Customer revenue Page 111 10 11 12 13 14 15 16 ErrorAccount MSTDiff YearResult Closing LedgerJournal CashDiscount ConsolidateDiffBalance 17 18 19 PaymentFee TaxReport TransferOpeningClosin g Bank ConversionProfit ConversionLoss TaxWithhold CustBalance CustRevenue 20 21 22 23 31 32 Documentation.doc" last modified on 22 Sep. 11.1 Draft Prepared by Fred Viidul "71767092. Version . Rev 2 . 11. Rev 2 . Version .0 data model overview.doc" last modified on 22 Sep.Prepared for Microsoft Corporation 33 34 35 CustInterest CustCashDisc CostCollectionLetterFee Customer interest Customer cash discount Customer collection letter fee Customer interest fee Customer invoice discount Customer payment Reimbursement Customer settlement Vendor balance Vendor incoming Vendor offset account Vendor interest Vendor cash discount Vendor disbursement Vendor invoice discount Vendor settlement Sales order revenue 36 37 38 39 40 41 42 43 44 45 46 47 48 51 52 53 54 55 56 57 58 59 60 61 62 CustInterestFee CustInvoiceDisc CustPayment CustReimbursement CustSettlement VendBalance VendPurchLedger VendOffsetAccount VendInterest VendCashDisc VendPayment VendInvoiceDisc VendSettlement SalesRevenue Page 112 Documentation. Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092. then when the Supplier is selected. no capacity reservation will be made for machine capacity. Work centers with similar functions in the production process are usually assigned to the same work center group. Work center name.0 data model overview.Prepared for Microsoft Corporation 63 64 65 206 71 SalesPackingslipTax PurchConsump Sales. Work center groups are used to manage capacity in the company's production system. If the jobs/operations are carried out by an external work center (sub supplier). Work center groups can be of the : Vendor . Work center or work center group to be assigned. It is possible to schedule operations for both the work center group and the work center. The company's work centers are divided into 2 levels.11. consumption PostingWIPIssue PostingCalcIssueOffset PostingCalcIssue Cancelled ENUM ENUM ENUM ENUM Enum Type as previous Enum Type as previous Enum Type as previous Cancelled YES / NO 1. tool or sub supplier.1 Draft Prepared by Fred Viidul "71767092. then the capacities of all underlying work centers will be included in operations scheduling. 11. although the planned time for the supplier will be calculated as a production time in connection with scheduling. machine. Group is primarily used in operations scheduling and is therefore a superior level of capacity management. packing slip tax Purchase. and the work center group must be associated with at least one Work center.e. work centers must always be associated with a . i. and Work center. personnel.7 WrkCtrTable This is table that includes resources for manufacturing called work centers. Version . This eliminates the need to define parameters for each work center individually.doc" last modified on 22 Sep. Work center type. Not until job scheduling with the optimum in the chosen Group is selected.. Rev 2 . Field name WrkCtrGroupId WrkCtrId Name WrkCtrType Data type STRING(10) STRING(10) STRING(140) ENUM Field description Identification of the work center group. If the operation in the production route is associated with a Group.Human resources Machine or Tool. Dynamics AX 4. Page 113 Documentation. The parameters for the group are the default parameters for each work center in this group. However. You then specify in the CapUnit field which unit the capacity is expressed in. Normally you schedule for work center type Personnel if the personnel capacity is limited.0 data model overview. For both the operation and the work center. Select this type when the work center group consists of machines. Dynamics AX 4. 1 Personnel 2 Machine 3 Tool WrkCtrNumOf EffectivityPct REAL REAL Number of work centers included in the group Specified here is the efficiency percentage for the work center group in the WrkCtrGroupId dialog or for the work center in the WrkCtrId dialog. Max. You should only create Personnel if you want to job. The type enables you to generate purchases for subcontractors on the basis of BOM lines / production lines.doc" last modified on 22 Sep.Prepared for Microsoft Corporation SQL value 0 AX value Vendor Description Select this type when the group consists of external work centers. and you can follow the work center consumption for the operator time in the operator profile. This reduces or increases the time required by an individual job. Unit the capacity is measured in SQL value AX value Description OperationSchedPct Capacity CapUnit REAL REAL ENUM Page 114 Documentation. percent of daily capacity to be operations scheduled per production This field shows in capacity units the work center's capacity per hour. Select this type when the work center group consists of one or more persons. 11. for example subcontractor. Select this type if the work center group consists of tools. Rev 2 . Version . you can specify a number of operators as standard.1 Draft Prepared by Fred Viidul "71767092.schedule for individual employees or groups of people. Receipt account for work center consumption in process Work center setup or creation date This field shows the time to wait before the operation can be started. The field must be positive. The time is scheduled in relation to the operation's TaskGroupId. see ToHours. must be greater than 0 (zero). Whether the time should be scheduled. for example. Transit time shows the time it takes to move items between two work centers or from the last operation to inventory./hour Data/hour VendId STRING(20) When subcontractors are used in the production sequence. then Run time is filled in automatically with hours with two decimals. Rev 2 . Dynamics AX 4. Process qty. Queue time can be used for sub supplier work. which must be positive. you must select in WrkCtrId a work center of type Sub supplier In connection with the scheduling of the production no loading of the capacity on work centers of type Sub supplier is carried out. The transport time must be positive.0 data model overview. Run time shows the time it takes to produce the process quantity. ProcessPerQty must be positive. Number of items that can be produced in the given ProcessTime.1 Draft Prepared by Fred Viidul "71767092. 11.doc" last modified on 22 Sep. The value in the field must be positive. The . AccountWrkCtrIssue AccountWIPValuation Created QueueTimeBefore STRING(20) STRING(20) DATE REAL SetupTime REAL ProcessTime REAL ProcessPerQty TranspTime REAL REAL 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. Ledger account for work center consumption. You set up the field in the route group. is the fixed time to be used for preparing a work center. Version . where you can determine whether queue time should be scheduled and which calendar to use. then the ToHours for the work center will be overridden. How TranspTime is used depends on the setup for the operation's route group. and whether capacity should be reserved or the time should respect the working-time calendar depends on the route group.Prepared for Microsoft Corporation 0 1 2 3 4 None StrokesHour MeterHour KgHour FormHour Strokes/hour Meters/hour Lbs. For a description of conversion to other units of time. The value in the field will depend on the setup for the route group in Page 115 Documentation. The field value is transferred to the route operation when you select the work center. If you did not specify a conversion factor in the ToHours field for the route operation or the ToHours field for the work center. If you entered a value in ToHours for the route operation. 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. Rev 2 ToHours ErrorPct REAL REAL SetUpCategoryId ProcessCategoryId Dimension Dimension2_ Dimension3_ IsGroup STRING(10) STRING(10) STRING(10) STRING(10) STRING(10) ENUM TaskGroupId WrkCtrTaskDemand STRING(10) REAL . The formula for the calculation is as follows: is Accumulated for the next operation number * 100 / (100 . Conversion factor to hours. Version .ErrorPct) Cost category proposal for setup time Cost category proposal for run time Financial dimension. Value is summarized from the Accumulated field for the current route. This field allows you to select whether the capacity is limited or unlimited. If TransferBatch is 0 (zero) or greater than the quantity for the production. With unlimited capacity. Scrap percentage shows the expected extra consumption for the operation. Employee referred to Work centre work calendar. TransferBatch REAL The overlap quantity is used to calculate the overlap time. (Factor X Time) = Time in hours. 11.0 data model overview. Accumulated is used in the calculation of extra consumption of materials and work center time for the individual operations in the route.1 Draft Prepared by Fred Viidul "71767092. Overlap time can be defined as the minimum production time before overlap may occur. then the overlap time will be 0 (zero). Dynamics AX 4. Task group for searching for alternatives In this field you can specify a minimum requirement for Page 116 Documentation. already reserved capacity on a work center group or work center is not taken into account. Accumulated scrap pct is the accumulated scrap percentage in the production process. If this field is selected.doc" last modified on 22 Sep. The field value must be positive. Financial dimension. which renders subsequent reservations without meaning.Prepared for Microsoft Corporation ProcessTime and can follow the Gregorian calendar or the current working-time calendar. the capacity will be limited. YES / NO AccountWIPIssue EmplId CalendarId CapLimited STRING(20) STRING(10) STRING(10) ENUM Issues account for work center consumption in process. With limited capacity. Financial dimension. For example. Work centre is work centre group. The field must be positive. you could use the field to dry items before the start of the next operation. The extra consumption is included in the calculation of both the material consumption and the work center consumption for the current operation. Overlap time is scheduled according to the calendar and is calculated in the following manner: ProcessTime * (1 + Accumulated scrap pct) * TransferBatch / ProcessPerQty The setup for the route group will determine the choice of calendar. Prepared for Microsoft Corporation searching for alternative work centers. You can work with several scheduling versions. capacity for reservation SQL value 0 1 2 AX value Blank Blank1 OperationSche d Reservation made based on a production order with the status operations scheduled or an operations scheduled production order that is subsequently started.11. which allows you to compare them. Description 3 JobSched 4 Deletemarked TransDate ReqPlanId DATE Work center reservation date.0 data model overview. in which case you can return to the starting point. Capacity is the percentage of company resources available for production. If the reservation was made based on master scheduling. PropertyLimited ENUM Does the work center operate with limited properties? YES / NO Exclusive ENUM Are job reservations exclusive from start to finish? YES / NO QtyCategoryId RouteGroupId AccountWrkCtrIssueOffset STRING(10) STRING(10) STRING(20) Cost category proposal for quantity Proposal for routing group Account used to debit work in process in connection with costing. 1. Version . Scheduling is possible in different versions. Used when scheduling has been aborted.doc" last modified on 22 Sep. Rev 2 . Field name LoadType Data type ENUM Field description Load type. Dynamics AX 4. Reservation made based on a production order with the status job scheduled or a job scheduled production order that is subsequently started. 11. STRING(10) Scheduled or reserved property PropertyId Page 117 Documentation.1 Draft Prepared by Fred Viidul "71767092.8 WrkCtrCapRes Table is used to reserve capacity on the particular Work center or Work center group. then STRING(10) the requirement version that reserved the capacity is shown here. Reference type that generated the reservation SQL value 0 1 AX value Blank Production Reservation generated based on a production order that has at least been operations scheduled. Job type of the route job SQL value 0 1 2 3 4 5 AX value QueueBefore Setup Process Overlap Transport QueueAfter Description Queue before Setup Process Overlap Transport Queue after Locked ENUM By selecting Locked you are no longer able to reschedule or change the reservation. YES / NO OprNum RefId RefType INTEGER STRING(20) ENUM Operation number that reserved the capacity Number of the reference that created the reservation. the Efficiency percentage field for the work center. Cause of error attached to the error quantity Page 118 Documentation. Dynamics AX 4. Seconds those are either reserved or available. This percentage depends on the Efficiency in percentage field in the working-time calendar. This way you ensure that the production is not rescheduled. Description 2 3 PlannedOrder Project WrkCtrLoadPct REAL WrkCtrGroupId WrkCtrId WrkCtrSec OprPriority STRING(10) STRING(10) REAL ENUM Load shows the percentage of the maximum capacity reserved. Reservation generated based on Planned order. You can lock productions in the Production table. Identification of the work center. This function can be used for rush jobs or other important productions that need to be finished on time.Prepared for Microsoft Corporation JobId JobType STRING(20) ENUM Dispatch job that reserved the capacity. Reservation generated based on a Projects. Identification of the work center group. Version . Rev 2 .doc" last modified on 22 Sep. 11.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. and the Load field for the production route. Prepared for Microsoft Corporation SQL value 0 1 2 3 4 5 AX value Primary Secondary1 Secondary2 Secondary3 Secondary4 Secondary5 Description Secondary 1 Secondary 2 Secondary 3 Secondary 4 Secondary 5 EndTime TIME StartTime TIME The end time can either be the expected ending time of a production order with the status Job scheduled or the ending time for available capacity. The value of reservations with the load type Operations scheduled or the reference type Planned order is 0. Therefore, for operations scheduled production orders and planned production orders that are not yet firm, you are only able to read the reservation in hours. Consequently, the time for execution of the production is not established. The starting time can either be the expected starting time of production orders with the status Job scheduled or the starting time for available capacity. The value of reservations with the load type Operations scheduled or the reference type Planned order is 0. Therefore, for operations scheduled production orders and planned production orders that are not yet firm, you are only able to read the reservation in hours. Quarter of the date. Month of the date. Week of the date. IntvQr IntvMth IntvWk INTEGER INTEGER INTEGER 1.12 Bank transactions data structure Data structure for the banking transactions in Dynamics AX is pretty simple. Three tables are linked to each other with one-to-many relations. Below the content of these tables are described in more detail. Figure 14 Page 119 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation 1.12.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. Field name Data type Field description 1.12.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. Field name Data type Field description 1.12.1.3 BankGroup Table contains list of different banks what company uses in its everyday business. Field name Data type Field description Page 120 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Prepared for Microsoft Corporation 1.13 Project transactions data structure Project transactions data structure has several tables in the data model map. In central position there is ProjTransPosting table, which consolidates all different project module transactions into the one table. There five different project transaction types and each of them have its own register (ProjEmplTrans, ProjOnAccountTrans, ProjRevenueTrans, ProjCostTrans, ProjItemTrans). These five transaction tables contain more specific information depending on the transaction type and these tables are synchronizing their content with the ProjTransPosting central table. ProjTable is central register for projects, where also different project parameters are stored. In the data model there are also other central registers linked to the transactions, like employees (EmplTable), inventory (InventTable), chart of accounts (LegerTable) etc. Figure 15 1.13.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 Page 121 Documentation, Dynamics AX 4.0 data model overview, Version .1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. 11, Rev 2 Version . Options are: SQL value 1 2 3 4 5 AX value Revenue Hour Cost Item OnAccount Description Transaction is created from project module revenue journal Transaction is created from project module hour journal Transaction is created from project module cost journal Transaction is created from project module item journal Transaction is created from project module on account register related with Fixed Price projects Transaction is created during Work In Progress calculation 6 AmountMst REAL WIP Transaction amount in the default company currency. 11. 3 value Displays the project transaction type – from which project accounting journal the transaction in originated. 2 value Analytical Dimension no. Can be positive or negative value. Dynamics AX 4.doc" last modified on 22 Sep.Prepared for Microsoft Corporation transactions and on account transactions. Transaction voucher number in general ledger LedgerTrans Project module centric transaction number. Field name LedgerTransDate ProjId Voucher TransId ProjTransDate Subscription Dimension Dimension2_ DImansion3_ ProjTransType Data type DATE CHAR(10) CHAR(20) CHAR(20) DATE INTEGER CHAR(10) CHAR(10) CHAR(10) INTEGER Field description Date of the transaction in ledger The project to which the transaction is attached. if the transaction is related with accruals (for example revenue accruals in fixed price projects) Analytical Dimension no. represents debit or credit transaction in GL transaction table LedgerTrans General ledger account used while posting the transaction in GL Account CHAR(20) Page 122 Documentation. Project date when the transaction was posted to the project. Specifies.1 Draft Prepared by Fred Viidul "71767092.0 data model overview. 1 value Analytical Dimension no. Ties together many tabels also from outside the project module. All these transaction types have their own transaction register that also synchronizes data with the ProjTransPosting table. Rev 2 . 1 Draft Prepared by Fred Viidul "71767092. ProjAdjustRef CHAR(20) Inventory transaction relation to the inventory module transaction table InventTrans. ProiTransosting.InvenTransId is empty.doc" last modified on 22 Sep. In case of inventory cost adjustment this code links project related inventory module transactions with the relevant project module transaction. Rev 2 . Page 123 Documentation. AX value None Cost Sales Identification of inventory transaction in central inventory transactions table InventTrans.InventTransId = InventTrans.0 data model overview. In case there is no relation. 11.Prepared for Microsoft Corporation PostingType INTEGER Posting specific type identifies what process in project module created the transaction. Version .InventTransId Only inventory related project module transactions are related with inventory module. Values can be following: SQL value AX value 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 207 208 costSales INTEGER Values: SQL value 0 1 2 InventTransId CHAR(20) ProjCost ProjPayrollAllocation ProjWIPCostvalue ProjOffsetAccountItem ProjStatusAccountItem ProjTurnover ProjOnAccount ProjSalesvalue ProjSalesvalueOffset ProjAccruedTurnoverProd ProjWIPProduction ProJAccruedTurnoverProfit ProjWIPProfit ProjNeverLedger ProjAccruedCost ProjWIPCost ProjAccruedRevenueOnAcco unt ProjWIPInvoicedOnAccount ProjNoLedger ProjAccruedRevenueSubscri ption ProjWIPSubscription Specifies whether transaction is sales or cost related.ProjAdjustRefId. Dynamics AX 4. ProiTransosting. STRING(10) Reference to the invoice project. if any. Rev 2 . related to the project. 3 value STRING(10) Sales employee in charge of the project.Prepared for Microsoft Corporation EmplId CategoryId Qty Elimination CHAR(20) CHAR(10) REAL INTEGER The employee attached to the transaction.0 data model overview. The invoice project determines the invoice and payment conditions of a project. The project category to which the transaction is attached. 1 value STRING(10) Analytical Dimension no. Identified if the transaction is created during fixed price project elimination process. unique identifier STRING(60) A free text name for the project DATE DATE DATE Project creation date.13. The table contains different project specific setup parameters. Page 124 Documentation. STRING(10) Unique identification of the country/region. Lines from this table can be used in dimensional analyses as inventory dimensions. No/Yes ProjType INTEGER Specifies the project type related with the transaction: SQL value 0 1 2 3 4 5 AX value Time & Material project Fixed price project Investment project Cost accounting project Internal project Time consumption project 1. This date is automatically inserted when the project is created Project start date Project end date STRING(20) Customer account. Version .1. Dynamics AX 4. View the quantity associated with the transaction. In this table also project hierarchy is stored. Field name ProjGroupId ProjId Name Created StartDate EndDate CustAccount Dimension Dimension2_ Dimension3_ ResponsibleSales ProjInvoiceProjId DlvCounty DlvCountryReguionId Data type Field description STRING(10) The project group that the current project is going to be part of STRING(10) The project number. STRING(10) Shows the county for the address.1 Draft Prepared by Fred Viidul "71767092.2 ProjTable The table is central project register for Dynamics AX solution.doc" last modified on 22 Sep. 11. STRING(10) Analytical Dimension no. 2 value STRING(10) Analytical Dimension no. if any. STRING(10) Shows the parent project of a child project. If the current project is at the top level. This stage normally signifies that project estimation has been conducted. STRING(10) Additional parameter for project description. Automatically activated on scheduling hour consumption. No/Yes Page 125 Documentation. Values can be: SQL value 0 1 AX value Created Estimated Description Initial stage. Values can be: SQL value 0 1 2 3 4 5 AX value Time and material Fixed price Investment Cost Internal Time Type ResponsibleFinancial Template STRING(10) The person who is financially responsible for the project (project controller). Filed is relevant only in fixed price projects. INTEGER The project's type.doc" last modified on 22 Sep. INTEGER The status of the current project.0 data model overview.Prepared for Microsoft Corporation DlvState Responsible ParentId SortingId SortingId2_ SortingId3_ Status STRING(10) Shows the state for the address. Any project in the project hierarchy can be specified as an estimate project. Rev 2 . Version . Manually activated. the field is empty. This stage normally signifies start of the project. STRING(10) Additional parameter for project description. 11. INTEGER This field is selected if the current project should be applied as a template for projects set up with the Copy project wizard. STRING(10) The person in charge of the project. Dynamics AX 4. STRING(10) Additional parameter for project description. Manually activated. if any. Manually activated.1 Draft Prepared by Fred Viidul "71767092. 2 3 4 WIPProject Scheduled In process Completed STRING(10) The estimate project reference is the reference for posting estimates. This price includes any additional costs and miscellaneous charges. Hours are debited to the cost value account and credited to the payroll allocation account when the journal is posted. revenue can be accrued on the hour transaction. Dynamics AX 4. Rev 2 1 Balance 2 Profit and loss 3 Never ledger . All transaction from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name ProjId EmplId CathegoryId LinePropertyId TransDate Txt Qty CostPrice SalesPrice LedgerTsatusCost Data type CHAR(10) CHAR(10) CHAR(10) CHAR(10) DATE CHAR(60) REAL REAL REAL INTEGER Field description Project to which the transaction is attached. but not financially updated in the ledger.Prepared for Microsoft Corporation 1. Version . This option is mandatory on fixed-price projects. SQL value 0 AX value No ledger Description No posting on ledger accounts when hours are posted from journals.3 ProjEmplTrans The Table is specific transaction register for the project employee transactions. Line property that is attached to the transaction. No posting on ledger accounts when hours are posted from journals. Costs of hours are debited to the cost account and credited to the payroll allocation account when the journal is posted. profit and loss. Reference to the ProjTable Employee to whom the transaction is attached.1. This option is mandatory on Time projects and optional on time and material projects and internal projects. Date the transaction was posted to the project.13. or posted. and cost projects. Text entered into the Transaction text field when the journal is posted Number of hours that are attached to the transaction. Upon invoicing hours are debited to the cost account and credited to the payroll allocation account. Page 126 Documentation. revenue can be accrued on the hour transaction. Cost price per hour of the current category. Project category that is attached to the transaction.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. When this option is selected. Sales-price per hour of the current category. Optional for internal projects and time and material projects. This option is optional on time and material projects and internal projects. ProjEmplTrans specialty is the employee work hours registration for project accounting purposes. investment projects.doc" last modified on 22 Sep. Current placement in ledger that is balance sheet. 11. When this option is selected. Start time that was entered for a transaction.Prepared for Microsoft Corporation Hour transactions are never posted to Ledger accounts. 3 value Transaction identifier in project module Currency for invoicing of a transaction.13. ProjOnAccTrans specialty is payment registration accordingly to agreed payment schedule for project accounting purposes. Identification of project activity.4 ProjOnAccTrans The Table is specific transaction register for the project on account (prepayment) transactions. Page 127 Documentation. Version . Voucher number of the voucher attached to the journal. 1 value Analytical Dimension no. SQL value 0 1 2 3 4 5 6 7 8 9 AX value No status Registered Posted Invoice proposal Invoiced Marked credit note Credit note proposal Estimated Eliminated Adjusted 1. 11. Therefore. Dimension Dimension2_ Dimension3_ TransId CurrencyId ActivityId LedgersalesAmount WIPPeriod VoucherJournal FromTime ToTime TransStatus CHAR(10) CHAR(10) CHAR(10) CHAR(20) CHAR(3) CHAR(10) REAL DATE CHAR(20) TIME TIME INTEGER Analytical Dimension no. Sales amount posted to the ledger Specifies which WIP period the transaction is attached to.0 data model overview. Reference to the ProjTable Date the transaction was posted to the project. End time that was entered for a transaction.1.doc" last modified on 22 Sep. All transaction from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name ProjId TransDate Data type CHAR(10) DATE Field description Project to which the transaction is attached. Rev 2 . Dynamics AX 4. or upon invoicing. 2 value Analytical Dimension no. Status of the transaction. ledger transactions are not created.1 Draft Prepared by Fred Viidul "71767092. on journal posting (Post costs). If the current project is a fixed-price project. TransId Currency WIPPeriod LedgersalesAmount TransStatus CHAR(20) CHAR(3) DATE REAL INTEGER Transaction identifier in project module Currency in which the project is invoiced. Specifies which WIP period the transaction is attached to.13. this check box is left blank because no offset transactions are entered for fixed-price projects.5 ProjRevenueTrans The Table is specific transaction register for the project revenue transactions.doc" last modified on 22 Sep. Dynamics AX 4. and for these lines this check box is selected. on the other hand. 1 value Analytical Dimension no. Rev 2 . 11. On the following lines the offset transactions are entered with a negative sign. For a time-and-material project.1 Draft Prepared by Fred Viidul "71767092. SQL value 0 1 2 3 4 5 6 7 8 9 AX value No status Registered Posted Invoice proposal Invoiced Marked credit note Credit note proposal Estimated Eliminated Adjusted Dimension Dimension2_ Dimension3_ CHAR(10) CHAR(10) CHAR(10) Analytical Dimension no.1. ProjRevenueTrans specialty is the project revenue transactions registration for project accounting purposes. this check box is left blank on the line where the on-account amount is entered. 2 value Analytical Dimension no. All transaction from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name ProjId Data type CHAR(10) Field description Project to which the transaction is attached. 3 value 1. Sales amount posted to the ledger Status of the transaction. Reference to the Page 128 Documentation. This check box indicates that the current transaction line is an offset transaction.Prepared for Microsoft Corporation Description Amount OffsetTransaction CHAR(60) REAL INTEGER Text entered into the Transaction text field when the journal is posted The amount that the customer is invoiced.0 data model overview. Version .. 1 value Analytical Dimension no. Employee to whom the transaction is attached.Prepared for Microsoft Corporation ProjTable CathegoryId TransDate Txt SalesPrice Dimension Dimension2_ Dimension3_ LedgerSalePosted CHAR(10) DATE CHAR(60) REAL CHAR(10) CHAR(10) CHAR(10) INTEGER Project category that is attached to the transaction. Page 129 Documentation. Quantity attached to the transaction. Analytical Dimension no. This price includes any additional costs and miscellaneous charges. Shows the amount invoiced to the customer. it will be charged to the WIP sales value account and placed as credit on the accrued revenue sales value account. 3 value This check box is selected if revenue from a transaction of type Fee has been accrued. No/Yes CurrencyId TransId LedgerSalesAmount VoucherJournal LinePropertyId Price Qty EmplId WIPPeriod WIPType CHAR(3) CHAR(20) REAL CHAR(20) CHAR(10) REAL REAL CHAR(10) DATE INTEGER Currency for invoicing of a transaction. an estimate or a subscription. 2 value Analytical Dimension no.0 data model overview. Specifies which WIP period the transaction is attached to.1 Draft Prepared by Fred Viidul "71767092.doc" last modified on 22 Sep. Line property that is attached to the transaction. 11. Transaction identifier in project module Sales amount posted to the ledger Voucher number of the voucher attached to the journal. Date the transaction was posted to the project. Rev 2 . Possible values: SQL value 0 1 2 3 ControlVersion INTEGER AX value Accrued revenue Accrued revenue – Production Accrued revenue – Profit Cost Specifies version number for the WIP calculation period for the current transaction (WIP calculations per period may be cancelled and recalculated) ControlId Origin CHAR10 INTEGER Identification of cost template Shows whether the transaction was generated from a journal transaction. If revenue has been accrued on a project. Specifies optional project WIP types. Text entered into the Transaction text field when the journal is posted Sales-price of the current category. Dynamics AX 4. Version . 6 ProjCostTrans The Table is specific transaction register for the project cost transactions.0 data model overview. Reference to the ProjTable Project category that is attached to the transaction. ProjCostTrans specialty is the cost transaction registration (not inventory or work hour related costs. This price includes any additional costs and miscellaneous charges. like subcontracting. profit and loss.) for project accounting purposes. Page 130 Documentation. 11.13. Dynamics AX 4. Version . Line property that is attached to the transaction. Sales-price per hour of the current category.1.1 Draft Prepared by Fred Viidul "71767092. consultancy etc. Current placement in ledger that is balance sheet. SQL value 0 1 2 3 4 5 6 7 8 9 AX value No status Registered Posted Invoice proposal Invoiced Marked credit note Credit note proposal Estimated Eliminated Adjusted 1. Cost price per hour of the current category. Text entered into the Transaction text field when the journal is posted Number of hours that are attached to the transaction. All transaction from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name ProjId CathegoryId LinePropertyId TransDate Txt Qty CostPrice SalesPrice LedgerTsatusCost Data type CHAR(10) CHAR(10) CHAR(10) DATE CHAR(60) REAL REAL REAL INTEGER Field description Project to which the transaction is attached.doc" last modified on 22 Sep. Rev 2 .Prepared for Microsoft Corporation Values: SQL value 0 1 2 TransStatus INTEGER AX value Journal Estimate Services module subscription Status of the transaction. Date the transaction was posted to the project. Amount in currency Current currency code that was used for entering the expense. When this option is selected. and cost projects. revenue can be accrued on the hour transaction. Therefore. revenue can be accrued on the hour transaction. 1 value Analytical Dimension no. 2 value Analytical Dimension no. or upon invoicing. Dynamics AX 4. investment projects. SQL value 0 AX value No ledger Description No posting on ledger accounts when hours are posted from journals. This option is optional on time and material projects and internal projects.0 data model overview. but not financially updated in the ledger. Rev 2 . ledger transactions are not created. Version . Voucher number of the voucher attached to the journal.1 Draft Prepared by Fred Viidul "71767092. Page 131 Documentation. No posting on ledger accounts when hours are posted from journals. Optional for internal projects and time and material projects. Costs of hours are debited to the cost account and credited to the payroll allocation account when the journal is posted. on journal posting (Post costs). 3 value Specifies if the transaction is posted to the general ledger or no No/Yes field TransId CurrencyId LedgersalesAmount WIPPeriod CostPriceCurrency CurrencyIdCost VoucherJournal CHAR(20) CHAR(3) REAL DATE REAL CHAR(3) CHAR(20) Transaction identifier in project module Currency for invoicing of a transaction (sales currency). 1 Balance 2 Profit and loss 3 Never ledger Dimension Dimension2_ Dimension3_ LedgerSalesPosted CHAR(10) CHAR(10) CHAR(10) INTEGER Analytical Dimension no.Prepared for Microsoft Corporation or posted. Hours are debited to the cost value account and credited to the payroll allocation account when the journal is posted. Hour transactions are never posted to Ledger accounts. This option is mandatory on fixed-price projects. Upon invoicing hours are debited to the cost account and credited to the payroll allocation account. When this option is selected. 11.doc" last modified on 22 Sep. This option is mandatory on Time projects and optional on time and material projects and internal projects. Sales amount posted to the ledger Specifies which WIP period the transaction is attached to. Page 132 Documentation.13. an estimate or a subscription. All transaction from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name ProjId CathegoryId LinePropertyId TransDate Txt Qty Data type CHAR(10) CHAR(10) CHAR(10) DATE CHAR(60) REAL Field description Project to which the transaction is attached. Values: SQL value 0 1 2 AX value Journal Estimate Services module subscription TransStatus INTEGER Status of the transaction.0 data model overview. Rev 2 .7 ProjItemTrans The Table is specific transaction register for the project inventory transactions.Prepared for Microsoft Corporation CostAmountLedger EmplId Origin REAL CHAR(10) INTEGER Cost amount posted to the ledger in the company currency Employee to whom the transaction is attached.doc" last modified on 22 Sep. Shows whether the transaction was generated from a journal transaction. 11.1. Text entered into the Transaction text field when the journal is posted Number of items that are attached to the transaction. SQL value 0 1 2 3 4 5 6 7 8 9 AX value No status Registered Posted Invoice proposal Invoiced Marked credit note Credit note proposal Estimated Eliminated Adjusted 1. Line property that is attached to the transaction. Date the transaction was posted to the project. ProjItemTrans specialty is the inventory transactions registration for project accounting purposes. Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092. Reference to the ProjTable Project category that is attached to the transaction. Version . Transaction identifier in project module Specifies available project/item transaction types. Packing slip voucher number in the ledger. Rev 2 . Ledger account for posting lines to a specific sales account.doc" last modified on 22 Sep. 3 value Specifies if the transaction is posted to the general ledger or no No/Yes field InventTransId CurrencyId LedgersalesAmount ItemId PackingSlipId VoucherPackingSlip ProjTransId ItenType CHAR(20) CHAR(3) REAL CHAR(20) CHAR(20) CHAR(20) CHAR(20) INTEGER Transaction identifier in inventory module Currency for invoicing of a transaction (sales currency). Foreign key to the table InventDim. 2 value Analytical Dimension no. SQL value 0 AX value No status Page 133 LedgerAccount SalesUnit LineAmount TransStatus CHAR(20) CHAR(20) REAL INTEGER Documentation. 11. gallons of paint or meters of cable. Shows the unit of the item that was consumed. In case of inventory cost adjustment this code links project related inventory module transactions with the relevant project module transaction. Status of the transaction. Dynamics AX 4. 1 value Analytical Dimension no.ProjAdjustRefId. Sales amount of the line (incl.Prepared for Microsoft Corporation SalesPrice Dimension Dimension2_ Dimension3_ LedgerSalesPosted REAL CHAR(10) CHAR(10) CHAR(10) INTEGER Item sale sprice Analytical Dimension no. Version .1 Draft Prepared by Fred Viidul "71767092. Each InventDimId contains unique dimension combination Inventory transaction relation from InventTrans table to the project module transaction table ProjTransPosting.0 data model overview. Sales amount posted to the ledger Inventory item number attached to the transaction. Identification of the packing slip. for example. discount).ProjAdjustRefId and ProjItemTrans. in which modules inventory transaction is created. Values can be: SQL value 0 1 2 3 AX value Item requirements (Project) Sales order Item journal Purchase order SalesInvoiceId InventDimId ProjAdjustRefId CHAR(20) CHAR(20) CHAR(20) Identification of the invoice. 8. Version .1. A category group for the specific category.1.9 ProjCategory The ProjCategory table is register that contains different cost categories. Descriptive name for the category. Values can be: SQL value 0 1 2 3 4 AX value None Fee Hour Expense Item 1.doc" last modified on 22 Sep. 11.13.Prepared for Microsoft Corporation 1 2 3 4 5 6 7 8 9 Registered Posted Invoice proposal Invoiced Marked credit note Credit note proposal Estimated Eliminated Adjusted 1. 3. The transaction type of the category is inherited from the transaction type of the category group. ProjRevenueTrans.13.0 data model overview. Field name CategoryId Name CategoryGroupId CategoryType Data type Field description The unique name for the category. no more than 30 characters long.13. Rev 2 Project categories defined in ProjCategory table must belong to the project category group that groups .1.1. 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. Dynamics AX 4. which can be used for different project transactions in transaction tables (ProjEmplTrans. ProjCostTrans.4 1.10 ProjCategoryGroup Page 134 Documentation.8 InventTable For the table description please see p. ProjItemTrans).1 Draft Prepared by Fred Viidul "71767092. One of the five predefined transaction types. depending on what transactions are going to be posted on the category group. 11. Dynamics AX 4. Version .0 data model overview.1.1 1. 3 value Employee's status: SQL value 0 1 2 AX value None Employed Terminated Page 135 Documentation. It means that categories have two level hierarchies for reporting purposes. 2 value Analytical Dimension no. Field name EmplId Name Dimension Dimension2_ Dimension3_ Status Data type CHAR(10) CHAR(60) CHAR(10) CHAR(10) CHAR(10) INTEGER Field description Employee ID code.1.1 Draft Prepared by Fred Viidul "71767092.11 LedgerTable For the table description please see p. Rev 2 . Descriptive name for the category. The name of an employee Analytical Dimension no.12 EmplTable The table is central register for the company employees.Prepared for Microsoft Corporation together project categories that are similar to each other. 1 value Analytical Dimension no. Field name CategoryId Name CategoryType Data type Field description The unique name for the category. no more than 30 characters long.1.doc" last modified on 22 Sep.13.13. Values can be: SQL value 0 1 2 3 4 AX value None Fee Hour Expense Item 1. 3. then comparison between ProjTransPosting and ProjTransBudget should be done In the data model there are also other central registers linked to the transactions.14 Project forecast data structure Project forecast data structure has several tables in the data model map. ProjTable is central register for projects. These five transaction tables have more specific information regarding its specification ant they are synchronizing its content to the ProjTransBudget table.14. 3. Version .2 1. which consolidates all different project module forecast transactions into the one table. There are five different project forecast Page 136 Documentation. In case there is need to compare actual project costs with the project forecast. ForecastSales). Figure 16 1. inventory (InventTable). Rev 2 . ProjForecastCost.1.1 ProjTransBudget The central table for the project related forecast transactions. ProjForecastOnAccount.13 Dimensions For the table description please see p. 11.1 Draft Prepared by Fred Viidul "71767092.0 data model overview.doc" last modified on 22 Sep. In central position there is ProjTransBudget table. Dynamics AX 4. There five different project forecast transaction types and each of them has its own register (ProjForecastEmpl. like employees (EmplTable).1.1. chart of accounts (LegerTable) etc.Prepared for Microsoft Corporation 1.13. ProjForecastRevenue. where also different project parameters are stored. All these transaction types have their own transaction register that also synchronizes itself with the ProjTransBudget table. represents debit or credit transaction in GL transaction table LedgerTrans General ledger account used while posting the transaction in GL budget Account CHAR(20) Page 137 Documentation. Dynamics AX 4.Prepared for Microsoft Corporation transaction types in the project module: inventory transactions.0 data model overview.doc" last modified on 22 Sep. cost transactions. 3 value Displays the project transaction type – from which project accounting journal the transaction in originated. Rev 2 . Field name LedgerTransDate ProjId Voucher TransId ProjTransDate Dimension Dimension2_ DImansion3_ ProjTransType Data type DATE CHAR(10) CHAR(20) CHAR(20) DATE CHAR(10) CHAR(10) CHAR(10) INTEGER Field description Date of the transaction The project to which the transaction is attached. Ties together many tabels also from outside the project module. Analytical Dimension no. Can be positive or negative value. 11. Options are: SQL value 1 2 3 4 5 AX value Revenue Hour Cost Item OnAccount Description Transaction is created from project module revenue journal Transaction is created from project module hour journal Transaction is created from project module cost journal Transaction is created from project module item journal Transaction is created from project module on account register related with Fixed Price projects Transaction is created during Work In Progress calculation 6 AmountMst REAL WIP Transaction amount in the default company currency. 1 value Analytical Dimension no.1 Draft Prepared by Fred Viidul "71767092. 2 value Analytical Dimension no. Transaction voucher number in general ledger LedgerTrans Project module centric transaction number. revenue transactions and on account transactions. employee transactions (work hours). Project date when the transaction was posted to the project. Version . AX value None Cost Sales The employee attached to the transaction. No/Yes ProjType INTEGER Specifies the project type related with the transaction: Page 138 Documentation. if any. 11. Values can be following: SQL value AX value 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 207 208 costSales INTEGER Values: SQL value 0 1 2 EmplId CategoryId Qty Elimination CHAR(20) CHAR(10) REAL INTEGER ProjCost ProjPayrollAllocation ProjWIPCostvalue ProjOffsetAccountItem ProjStatusAccountItem ProjTurnover ProjOnAccount ProjSalesvalue ProjSalesvalueOffset ProjAccruedTurnoverProd ProjWIPProduction ProJAccruedTurnoverProfit ProjWIPProfit ProjNeverLedger ProjAccruedCost ProjWIPCost ProjAccruedRevenueOnAcco unt ProjWIPInvoicedOnAccount ProjNoLedger ProjAccruedRevenueSubscri ption ProjWIPSubscription Specifies whether transaction is sales or cost related.1 Draft Prepared by Fred Viidul "71767092. View the quantity associated with the transaction. Version .Prepared for Microsoft Corporation PostingType INTEGER Posting specific type identifies what process in project module created the transaction.0 data model overview. Dynamics AX 4. Rev 2 .doc" last modified on 22 Sep. The project category to which the transaction is attached. Identified if the transaction is created during fixed price project elimination process. 0 data model overview. Number of hours that are attached to the transaction.1. 11. Line property that is attached to the transaction. Text entered into the Transaction text field when the forecast is created Currency for invoicing of a transaction.2 ProjTable For the table description please see p.14. 3. 2 value Analytical Dimension no. Rev 2 . Cost price per hour of the current category. Page 139 Documentation.1. Version . Field name ProjId EmplId CathegoryId LinePropertyId Qty CostPrice SalesPrice Dimension Dimension2_ Dimension3_ ModelId Txt CurrencyId Active Data type CHAR(10) CHAR(10) CHAR(10) CHAR(10) REAL REAL REAL CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(60) CHAR(3) INTEGER Field description Project to which the transaction is attached. 1. Dynamics AX 4.1 Draft Prepared by Fred Viidul "71767092. Sales-price per hour of the current category. Project category that is attached to the transaction. Field is selected if the transaction is included in the budget No/Yes SchedToDate DATE End date calculated for the current activity.1.14. ProjForecastEmpl specialty is the employee work hours forecasting for project budgeting purposes.Prepared for Microsoft Corporation SQL value 0 1 2 3 4 5 ModelId CHAR(10) AX value Time & Material project Fixed price project Investment project Cost accounting project Internal project Time consumption project The budget model for the record.2 1. 3 value The budget model for the record.3 ProjForecastEmpl The Table is specific forecast transaction register for the project employee forecast. Analytical Dimension no. This price includes any additional costs and miscellaneous charges. 1 value Analytical Dimension no.10. Reference to the ProjTable Employee to whom the transaction is attached.doc" last modified on 22 Sep. Activities are specific tasks to be performed on a specific project. the elimination date is set to the end date of the project. Currency in which the project is invoiced. Jobs are generated by the scheduling system and form the highest level of detail for the elements of an operation. 2 value Analytical Dimension no.1 Draft Prepared by Fred Viidul "71767092. The invoice date calculated for forecast transactions depends on the invoice frequency defined on the invoice project.0 data model overview. Applies to fixedprice projects and investment projects. Reference to the ProjTable The amount that the customer is invoiced. Activity for which you want to create a forecast. EliminationDate DATE ExchRate JobId 1.14. Currency exchange rate to the company currency Unique identification of production jobs. Field name ProjId SalesPrice Dimension Dimension2_ Dimension3_ ModelId Currency Txt TransDate TransId SalesPaymDate InvoiceDate Data type CHAR(10) REAL CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(3) CHAR(60) DATE CHAR(20) DATE DATE Field description Project to which the transaction is attached. If the project has no end date. Transaction identifier in project module Expected payment date of the revenue The forecasted invoice date.doc" last modified on 22 Sep. ProjForecastOnAcc specialty is payment forecasting for project accounting purposes. When the forecast is created. 1 value Analytical Dimension no. Analytical Dimension no.4 ProjForecastOnAcc The Table is specific forecast transaction register for the project on account (prepayment) forecast. Page 140 Documentation. The elimination date. Thus activities are always project-specific TransId SalesPaymDate CostPaymDate InvoiceDate CHAR(20) DATE DATE DATE Transaction identifier in project module Expected payment date of the revenue Expected payment date of the cost The forecasted invoice date. 11. 3 value The budget model for the record.1.Prepared for Microsoft Corporation SchedFromDate SchedWrkCtrId ActivityId DATE CHAR(10) CHAR(10) Start date calculated for the current activity. Text entered into the Transaction text field when the journal is posted Date the transaction was posted to the project. The invoice date calculated for forecast transactions depends on the invoice frequency defined on the invoice project. the project date will be applied. Version . Work center to be used for the task. Rev 2 . Dynamics AX 4. or Years to define how frequently current budget transaction is generated SQL value 0 1 2 ExpandId INTEGER AX value Day Month Year Reference to the setyp type transaction based on what current transactions are created (exploded). This price includes any additional costs and miscellaneous charges.14. Reference to the ProjTable Project category that is attached to the transaction. 1 value Analytical Dimension no. 1. Dynamics AX 4. Analytical Dimension no. How many units of code is the jump per transaction (related with FreqCode field? Freq Report INTEGER Field is defining if the record is setup type budget line or reporting type budget line. according to which transaction is allocated (used in setup type rows) Units are measured in Days. Version . Rev 2 . if any. Transactions from this register are synchronized also to ProjTransBudget table (central project forecast transaction register) Field name ProjId CathegoryId SalesPrice Dimension Dimension2_ Dimension3_ ModelId CurrencyId PeriodAllocateId FreqCode Data type CHAR(10) CHAR(10) REAL CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(3) CHAR(10) Field description Project to which the transaction is attached.1. The table contains two types of lines.Prepared for Microsoft Corporation EliminationDate DATE The elimination date. 3 value The budget model for the record. Currency for invoicing of a transaction. the project date will be applied. Sales-price of the current category.5 ProjForecastRevenue The Table is specific forecast transaction register for the project revenue forecasts. 11.0 data model overview. SQL value 0 AX value No Description Transaction is setup type budgeting line Page 141 Documentation. ones for setup purposes and others for reporting and analyses purposes. Months. When the forecast is created. ProjRevenueTrans specialty is the project revenue forecasting for project accounting purposes. If the project has no end date.doc" last modified on 22 Sep.1 Draft Prepared by Fred Viidul "71767092. the elimination date is set to the end date of the project. Applies to fixedprice projects and investment projects. 2 value Analytical Dimension no. Allocation key. Value is 0 if there is no explosion. SQL value 0 1 AX value No Yes Description Not stopped Stopped EndDate StartDate AllocateMethod DATE DATE CHAR(10) Last date of the posting period for this periodic transaction. Rev 2 .1 Draft Prepared by Fred Viidul "71767092. Line property that is attached to the transaction. The forecast is allocated according to the period allocation key specified in the field Key. SQL value 0 1 AX value No Yes Description Inactive Active Txt Stop CHAR(60) INTEGER Text entered into the Transaction text field to describe the forecast line Indicates whether the current budget transactions should be excluded from allocations during simulations. This method is used if forecast with the same quantity per period. Page 142 Documentation. Date from which the budget amount will be in effect. The invoice date calculated for forecast transactions depends on the invoice frequency defined on the invoice project.0 data model overview. Version . 11.doc" last modified on 22 Sep. Dynamics AX 4. Quantity with the number of units defined in the field FreqCode.Prepared for Microsoft Corporation 1 Active INTEGER Yes Transaction is reporting type budgeting line Marked if the amount should be included in the current budget. the field is marked as active when a budget line is created. Used in setup lines. Transaction identifier in project module Expected payment date of the revenue The forecasted invoice date. Methods for allocating the forecast transaction: SQL value 0 1 AX value None Period Description No allocation takes place. 2 Key CovStatus LinePropertyId TransId SalesPaymDate InvoiceDate INTEGER CHAR(10) CHAR(20) DATE DATE Status of cash flow forecast for the current transaction. Budget line is reporting type budget transaction. By default. This method is used if seasonal variation should be taken into account. 0 data model overview. consultancy etc.Prepared for Microsoft Corporation 1. Last date of the posting period for this periodic transaction. This price includes any additional costs and miscellaneous charges. 11. 3 value The budget model for the record. if any. 2 value Analytical Dimension no.1 Draft Prepared by Fred Viidul "71767092. Value is 0 if there is no explosion. Analytical Dimension no. Currency for invoicing of a transaction (sales currency). SQL value AX value Description Report INTEGER Page 143 Documentation.) for project accounting purposes. Line property that is attached to the transaction. Number of hours that are attached to the transaction. 1 value Analytical Dimension no. Cost price per hour of the current category.1.doc" last modified on 22 Sep. Version . ProjCostTrans specialty is the cost transaction forecasting (non-inventory or work hour related costs but costs like subcontracting.6 ProjForecastCost The Table is specific forecast transaction register for the project cost forecasts. Field is defining if the record is setup type budget line or reporting type budget line. or Years to define how frequently current budget transaction is generated SQL value 0 1 2 Freq ExpandId INTEGER AX value Day Month Year How many units of code is the jump per transaction (related with FreqCode field? Reference to the setyp type transaction based on what current transactions are created (exploded). The table contains two types of lines. ones for setup purposes and others for reporting and analyses purposes. Sales-price per hour of the current category. Rev 2 . Allocation key. according to which transaction is allocated (used in setup type rows) Units are measured in Days.14. Used in setup lines. Dynamics AX 4. Transactions from this register are synchronized also to ProjTransBudget table (central project forecast transaction register) Field name ProjId CathegoryId LinePropertyId EndDate Qty CostPrice SalesPrice Dimension Dimension2_ Dimension3_ ModelId CurrencyId PeriodAllocateId FreqCode Data type CHAR(10) CHAR(10) CHAR(10) DATE REAL REAL REAL CHAR(10) CHAR(10) CHAR(10) CHAR(10) CHAR(3) CHAR(10) Field description Project to which the transaction is attached. Months. Reference to the ProjTable Project category that is attached to the transaction. doc" last modified on 22 Sep. Methods for allocating the forecast transaction: SQL value 0 1 AX value None Period Description No allocation takes place. SQL value 0 1 AX value No Yes Description Not stopped Stopped StartDate AllocateMethod DATE CHAR(10) Date from which the budget amount will be in effect. the Page 144 EliminationDate DATE Documentation. 2 Key CovStatus ProjAllocateId TransId SalesPaymDate CostPaymDate InvoiceDate INTEGER CHAR(10) CHAR(20) DATE DATE DATE Status of cash flow forecast for the current transaction. Allocation rules for project cost allocation Transaction identifier in project module Expected payment date of the revenue Expected payment date of the cost The forecasted invoice date.Prepared for Microsoft Corporation 0 1 Active INTEGER No Yes Transaction is setup type budgeting line Transaction is reporting type budgeting line Marked if the amount should be included in the current budget. the field is marked as active when a budget line is created. By default. Quantity with the number of units defined in the field FreqCode. SQL value 0 1 AX value No Yes Description Inactive Active Txt Stop CHAR(60) INTEGER Text entered into the Transaction text field to describe the forecast line Indicates whether the current budget transactions should be excluded from allocations during simulations. Version . This method is used if seasonal variation should be taken into account. Rev 2 . Dynamics AX 4. Budget line is reporting type budget transaction. The elimination date.0 data model overview. The invoice date calculated for forecast transactions depends on the invoice frequency defined on the invoice project.1 Draft Prepared by Fred Viidul "71767092. 11. When the forecast is created. The forecast is allocated according to the period allocation key specified in the field Key. This method is used if forecast with the same quantity per period. the project date will be applied. Version . Dynamics AX 4. ones for setup purposes and others for reporting and analyses purposes. Comment Dimension Dimension2_ CHAR(60) Text entered into the Transaction text field to describe the forecast line CHAR(10) Analytical Dimension no. Last date of the posting period for this periodic transaction. Applies to fixedprice projects and investment projects. It means that project module uses some of the master planning functionality in order to register the project specific item forecast. Months.14. the field is marked as active when a budget line is created.doc" last modified on 22 Sep. 11. If the project has no end date. The table contains two types of lines. SQL value 0 1 AX value No Yes Description Inactive Active InventQty SalesPrice DiscPercent REAL REAL REAL Transaction quantity expressed in the item's inventory unit. DATE DATE Date from which the budget amount will be in effect. ExchRate Currency exchange rate to the company currency 1. Rev 2 . Item sale sprice Item discount expressed in percentage.Prepared for Microsoft Corporation elimination date is set to the end date of the project. 1 value CHAR(10) Analytical Dimension no. The table differs from other project forecast transaction tables as it is part of master planning module. By default. Used in setup lines. Project related transactions from this register are synchronized also to ProjTransPosting table (central project transaction register) Field name Data type Field description ItemId StartDate EndDate CHAR(20) Inventory item number attached to the transaction.7 ForecastSales The Table is forecast transaction register for the project inventory forecast.0 data model overview.1. or Years to define how frequently current budget transaction is generated SQL value 0 1 2 AX value Day Month Year Active INTEGER Marked if the amount should be included in the current budget. FreqCode Units are measured in Days. ForecastSales specialty is the inventory forecast transactions registration. 2 value Page 145 Documentation.1 Draft Prepared by Fred Viidul "71767092. Field is defining if the record is setup type budget line or reporting type budget line. KeyId CurrencyId ExpandId CHAR(10) Allocation key.1 Draft Prepared by Fred Viidul "71767092. DiscAmount PriceUnit CostPrice Cov ItemAllocateId REAL Line discount amount in forecast currency. Version . The field cannot be edited for reporting transactions CHAR(10) Item allocation key that is used in inventory forecast allocation. Lines estimated quantity-independent sales-amount miscellaneous charges.doc" last modified on 22 Sep. 3 value CHAR(10) CHAR(10) CHAR(20) Customer group id from accounts payable module. Unit that the item is sold in. Dynamics AX 4. Budget line is reporting type budget transaction. CHAR(10) Methods for allocating the forecast transaction: SQL value 0 1 AX value None Period Description No allocation takes place. Customer code from accounts payable module. according to which transaction is allocated (used in setup type rows) CHAR(3) INTEGER Currency for invoicing of a transaction (sales currency). REAL INTEGER Inventory estimated cost price If checked. the forecast transaction is allocated to Ledger. Quantity with the number of units defined Page 146 Documentation. Rev 2 . Reference to the setyp type transaction based on what current transactions are created (exploded). Inventory group id from inventory module. SQL value 0 1 AX value No Yes Description Transaction is setup type budgeting line Transaction is reporting type budgeting line Report INTEGER SalesQty SalesUnitId SalesMarkup REAL CHAR(10) REAL Transaction quantity that is in the given sales unit. 11. How many units of code is the jump per transaction (related with FreqCode field? REAL Amount (gross amount less any discounts) that the forecast transaction contributes to the forecast. Freq Amount ModelId AllocateMethod CHAR(10) The budget model for the record. Value is 0 if there is no explosion. if any.Prepared for Microsoft Corporation Dimension3_ CustGroupId ItemGroupId CustAccountId CHAR(10) Analytical Dimension no.0 data model overview. CHAR(10) Enter the number of units for which the Price applies. 8.14. 3.14. Dynamics AX 4.9 1. The invoice date calculated for forecast transactions depends on the invoice frequency defined on the invoice project. CHAR(20) Transaction identifier in project module Expected payment date of the revenue The forecasted invoice date.10 ProjCategoryGroup For the table description please see p.1.12 EmplTable For the table description please see p.1.10. 3.10.12 Page 147 Documentation. The elimination date.1. Applies to fixed-price projects and investment projects. This method is used if seasonal variation should be taken into account. ProjId ProjCathegoryId ProjLinePropertyId ProjTransId CHAR(10) Project to which the transaction is attached.1 1. Reference to the ProjTable CHAR(10) Project category that is attached to the transaction. CHAR(10) Line property that is attached to the transaction.1. Rev 2 .14.Prepared for Microsoft Corporation in the field FreqCode. 11.doc" last modified on 22 Sep.9 ProjCategory For the table description please see p. 3. ProjForecastSalesPaymDate DATE ProjForecastInvoiceDate DATE ProjForecastEliminationDate DATE 1.1.9 1. 2 Key The forecast is allocated according to the period allocation key specified in the field Key.4 1.14. 3. This method is used if forecast with the same quantity per period.1.1.11.1.8 InventTable For the table description please see p. When the forecast is created.1. If the project has no end date. the project date will be applied.1. the elimination date is set to the end date of the project.14.0 data model overview.1 Draft Prepared by Fred Viidul "71767092. Version .11 LedgerTable For the table description please see p. 3. doc" last modified on 22 Sep.1 Draft Prepared by Fred Viidul "71767092.2 1. 3. 3.1.1.14. Rev 2 .13 Dimensions For the table description please see p.4.Prepared for Microsoft Corporation 1. Version . Dynamics AX 4.5 Page 148 Documentation.14 ForecastModel For the table description please see p.14.0 data model overview.1. 11. 1 Draft Prepared by Fred Viidul "71767092. 11. Dynamics AX 4.Prepared for Microsoft Corporation REFERENCES Page 149 Documentation.0 data model overview. Version . Rev 2 .doc" last modified on 22 Sep.
Copyright © 2024 DOKUMEN.SITE Inc.