The following tables need to be mapped into the RAW layer for Financial Planning to be set up. With the release a standard data mapping into the raw layer is provided from the Navision erp tables. For other data sources either the customer should provide data directly into the raw layer tables er you use the raw views for data mapping.
Try not to change anything in the other layers as the mapping into PREP and FP are part of the upgrade paths.
raw.SALE_VALUE_HISTORY
History of Sales, Cost of Goods Sold and Discounts in values and units.
Primary key: PRODUCT_ITEM_NO,LOCATION_NO,DATE
PRODUCT_ITEM_NO
(nvarchar) - required: The product numberLOCATION_NO
(nvarchar) - required: the location numberDATE
(date) - required: The date of saleSALE_UNITS
(decimal(18,4)) - not required: Sale in unitsTRANSFER_UNITS
(decimal(18,4))- not required:SALE_VALUE
(decimal(18,4)) - required: Sale in valueCOST_VALUE
(decimal(18,4)) - required: Cost of sales in valuePLANNED_DISCOUNT_VALUE
(decimal(18,4)) - not required: Planned discount in valueOTHER_DISCOUNT_VALUE
(decimal(18,4)) - not required: Other discount in valueraw.ACCOUNT
A dimension table for all account key hierarchies that the business uses. Used for Expense Planning in Financial Planning
Primary key: LEVEL,NO
LEVEL
(int) - required: The level in the account key hierarchy. Level 1 account key is parent to level 2 account keys. Level 1 is top-levelNO
(nvarchar) - required: the account key numberNAME
(nvarchar) - required: the account key namePARENT_NO
(nvarchar) - not required: The NO of the parent account key. Should be NULL if account key is on top levelraw.DEPARTMENT_INFO
A dimension table for all departments that the business uses for Financial Planning.
Primary key: CODE
CODE
(nvarchar) - required: The level in the account key hierarchy. Level 1 account key is parent to level 2 account keys. Level 1 is top-levelNAME
(nvarchar) - required: the department nameDEPARTMENT_GROUP_NO_LVL_1
(nvarchar) - not required: The CODE of the highest level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_2
(nvarchar) - not required: The CODE of the 2nd level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_3
(nvarchar) - not required: The CODE of the 3rd level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_4
(nvarchar) - not required: The CODE of the 4th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_5
(nvarchar) - not required: The CODE of the 5th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_6
(nvarchar) - not required: The CODE of the 6th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_7
(nvarchar) - not required: The CODE of the 7th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_8
(nvarchar) - not required: The CODE of the 8th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_9
(nvarchar) - not required: The CODE of the 9th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)DEPARTMENT_GROUP_NO_LVL_10
(nvarchar) - not required: The CODE of the 10th level in the department group hierarchy (see raw.DEPARTMENT_GROUP)raw.DEPARTMENT_GROUP
A dimension table for all department group hierarchies that the business uses for Financial Planning. Used for Expense Planning in Financial Planning
Primary key: NO,LEVEL
NO
(int) - required: The NO of the department groupNAME
(nvarchar) - required: the department nameLEVEL
(int) - required: The level in the department group hierarchy. Level 1 department is parent to level 2 departments. Level 1 is top-levelPARENT_NO
(nvarchar) - not required: The NO of the parent department. Should be NULL if department is on top levelraw.ACCOUNT_HISTORY
Historical financial values down to account keys and financial departments. Used as baseline plan and for comparison in Expense Planning in Financial Planning
Primary key: ACCOUNT_NO,DEPARTMENT_NO,DATE
ACCOUNT_NO
(nvarchar) - required: The account key numberDEPARTMENT_NO
(nvarchar) - required: the financial department numberDATE
(date) - required: The date of saleVALUE
(decimal(18,4)) - not required: Value amount in base currency.raw.DEPARTMENT_MAPPING
A table to map various sources of data into a department, similar to core.location_mapping_setup F.x. for customers that have more than one location in a department, they would put those locations as SOURCE for the department.
Primary key: NO,LEVEL
SOURCE
(nvarchar) - required: The NO of the source element (e.g. LOCATION_NO)department_code
(nvarchar) - required: the department number