Fact tables Purchase lines

The fact table of purchase document belongs to the Purchase datamart (PURCHASE).
It contains information coming from:

These data are reorganized in order to allow a simple elaboration of the reports in the BI:

- some information deemed secondary is not transmitted,
- conversely, other information is calculated,
- finally, the information is restructured if needed.

Description

To this fact table are linked:

Synchronization rules

These are the rules used to define the way the data are extracted from the database and the way the fact table is loaded. There are 10 of them for the Purchase lines fact table:

The table fields can be loaded directly using a field in the database or their value determined via a calculation formula or the call result to a function. Their detailed list is provided below.

The invoicing elements associated with a document are only extracted if the following conditions are complied with:

Dimensions

These are database tables such as the country table, the site table, the accounting code table, etc.
Some dimensions belong to the Purchase moduleand others are common to all the modules (Company, Site, Dimension type). Moreover they can be linked to several fact tables. Links have been established between these dimensions.
When a field in a fact table is linked to a dimension, the corresponding link expression is defined in the fact table (Links tab). The dimension list linked to the Purchase lines fact table is provided below.

Hierarchies

These are pre-defined grouping criteria, used to navigate in the report according to the required detail level, by grouping or zooming on the detail of the hierarchy criteria.
These hierarchies are defined for the Datamart. They are detailed below.

Predefined conditions

These are conditions that will be used as filter criteria in the report itself. They are defined for each fact tables.
It can either be simple conditions using fields or constants, or conditions requiring the entry of values (conditions corresponding to the prompts to be entered in the reports).
The list is provided below.

Sub-classes (or Indicators)

In the fact table, each field having as object type: Measurecan be identified as belonging to a sub-class. Thanks to the BO Infoview tool, this classification is used to display this information grouped by indicator (each indicator having been assigned to a sub-class) in the Purchasingenvironment. In the fact table, these indicators are of Amount or Quantity type: Order amounts, Receipt amounts, Purchase request quantities, etc.

For the Purchase lines fact table, the sub-classes listand the list of the fields from which they are made are provided below.

Technical supplements

Data detail

Field code

Normal title

Menu

Table

Objecttype

DOC

Document

566

 

Dimension

LINDOC

Document line type

2216

 

Dimension

DOSSIER

Folder

 

 

Technical

 DAT

Document date

 

 

Dimension

CPY

Company

 

 

Technical

FCY

Financial site

 

 

Technical

PURFCY

Purchase site

 

 

Technical

STOFCY

Receipt site

 

 

Technical

BPSORD

Sold-to-supplier

 

 

Technical

BPSINV

Invoicing supplier

 

 

Technical

BPSPAY

Paid supplier

 

 

Technical

BPSGRU

Group Supplier

 

 

Technical

BPSRSK

Risk supplier

 

 

Technical

PJT

Project

 

 

Technical

CUR

Transaction currency

 

 

Technical

CURLOC

Company currency

 

 

Technical

CURFOLD

Folder currency

 

 

Technical

ITMREF

Product

 

 

Technical

AMTSIG

Signed:

 

 

Technical

LINPURTYP

Purchase type

646

 

Dimension

PSHNUM

Purchase request number

 

 

Technical

PSDLIN

Purchase request line no.

 

 

Technical

PSHPOH

Incremental no. for ordered PR line

 

 

Technical

POHNUM

Order number

 

 

Technical

POPLIN

Order line no.

 

 

Technical

POQSEQ

Order line sequence no.

 

 

Technical

PTHNUM

Receipt number

 

 

Technical

PTDLIN

Receipt line no.

 

 

Technical

PIHNUM

Invoice number

 

 

Technical

PIDLIN

Invoice line no.

 

 

Technical

PNHNUM

Return number

 

 

Technical

PNDLIN

Return line no.

 

 

Technical

DIE1..DIE10

Dimension type codes

 

 

Technical

CCE1..CCE10

Analytical dimensions.

 

 

Technical

COA1..COA3

Charts of accounts

 

 

Technical

ACC1..ACC3

Accounts

 

 

Technical

FLOW

Flows

2215

 

Dimension

QTYPSH_US

STK purchase request quantity

 

 

Measurement

QTYPOH_US

STK order quantity

 

 

Measurement

QTYPOD_US

STK quantity to be received

 

 

Measurement

QTYPTH_US

STK receipt quantity

 

 

Measurement

QTYPIH_US

STK invoice quantity

 

 

Measurement

QTYPNH_US

STK return quantity

 

 

Measurement

AMTNOT_PSH

Ex tax amount purchase request line

 

 

Measurement

AMTNOT_POH

Order line total ex tax

 

 

Measurement

AMTNOT_PTH

Ex tax amount receipt line

 

 

Measurement

AMTNOT_PIH

Invoice line total ex tax

 

 

Measurement

AMTNOT_PNH

Return line total ex tax

 

 

Measurement

AMTATI_PSH

Tax incl amount purchase request line

 

 

Measurement

AMTATI_POH

Order line total tax incl

 

 

Measurement

AMTATI_PTH

Tax incl amount receipt line

 

 

Measurement

AMTATI_PIH

Invoice line total tax incl

 

 

Measurement

AMTATI_PNH

Return line total tax incl

 

 

Measurement

AMTDED_PSH

Deductible tax purchase request line

 

 

Measurement

AMTDED_POH

Deductible tax order line

 

 

Measurement

AMTDED_PTH

Deductible tax receipt line

 

 

Measurement

AMTDED_PIH

Deductible tax invoice line

 

 

Measurement

AMTDED_PNH

Deductible tax return line

 

 

Measurement

CPR_POH

Order price order line

 

 

Measurement

CPR_PTH

Order price receipt line

 

 

Measurement

CPR_PIH

Order price invoice line

 

 

Measurement

CPR_PNH

Order price return line

 

 

Measurement

DISAMT_PSH

Discount amount purchase request line

 

 

Measurement

DISAMT_POH

Order line discount amount

 

 

Measurement

DISAMT_PTH

Receipt line discount amount

 

 

Measurement

DISAMT_PIH

Invoice line discount amount

 

 

Measurement

DISAMT_PNH

Return line discount amount

 

 

Measurement

EXPAMT_PSH

Expense amount purchase request line

 

 

Measurement

EXPAMT_POH

Order line expense amount

 

 

Measurement

EXPAMT_PTH

Expense amount receipt line

 

 

Measurement

EXPAMT_PIH

Invoice line expense amount

 

 

Measurement

EXPAMT_PNH

Expense amount return line

 

 

Measurement

DISDTA_POH

Discount amount of order invoicing elements

 

 

Measurement

DISDTA_PTH

Discount amount of receipt invoicing element

 

 

Measurement

DISDTA_PIH

Discount amount of invoice invoicing elements

 

 

Measurement

EXPDTA_POH

Expense amount of order invoicing elements

 

 

Measurement

EXPDTA_PTH

Expense amount of receipt invoicing element

 

 

Measurement

EXPDTA_PIH

Expense amount of invoice invoicing elements

 

 

Measurement

AMTPAY

Final amount paid

 

 

Measurement

TMPPAY

Temporary amount paid

 

 

Measurement

All quantities are also defined in statistical units. *_STK fields also exist as *_ST.

All amounts are expressed in three currencies.

List of the specific loading formulas and functions

Specific loading formulas
Specific loading functions

For the various functions using parameter TYPDOC, said parameter can contain the following values:

List of dimensions

Common dimensions

Dimensions of the Purchasing module
Dimensions of the Financials module

Hierarchy list

- Group Supplier
- Country
- Continent

- Group supplier
- Product

- Group supplier
- Project

- Group supplier
- Supplier stat.1
- Supplier stat.2
- Supplier stat.3
- Supplier stat.4
- Supplier stat.5

- Invoicing Supplier
- Country
- Continent

- Invoicing supplier
- Product

- Invoicing supplier
- Project

- invoicing supplier
- Supplier stat.1
- Supplier stat.2
- Supplier stat.3
- Supplier stat.4
- Supplier stat.5

- Sold-to supplier
- Country
- Continent

- Sold-to supplier
- Product

- Sold-to supplier
- Project

- Sold-to supplier
- Supplier stat.1
- Supplier stat.2
- Supplier stat.3
- Supplier stat.4
- Supplier stat.5

- Pay-to BP
- Country
- Continent

- Risk supplier
- Country
- Continent

- Sold-to supplier
- Invoicing supplier
- Group supplier
- Risk supplier

- Risk supplier
- Supplier stat.1
- Supplier stat.2
- Supplier stat.3
- Supplier stat.4
- Supplier stat.5

- Postal code invoice
- Town invoice
- Department code invoice
- Region code invoice
- Country invoice
- Continent invoice

- Product
- Product stat.1
- Product stat.2
- Product stat.3
- Product stat.4
- Product stat.5

- Purchase site
- Financial site
- Company

- Group supplier
- Product stat 1

- Invoicing supplier
- Product stat 1

- Sold-to supplier
- Product stat 1


List of the predefined conditions

Code

Title

Dimension

 IPURAMTK

 Ex tax limit in K currency

 

 IPURBPSGE

Group supplier End

BPSUPPLIER

 IPURBPSGS

Group supplier Start

BPSUPPLIER

 IPURBPSIE

Invoicing supplier End

BPSUPPLIER

 IPURBPSIS

Invoicing supplier Start

BPSUPPLIER

 IPURBPSOE

Sold-to supplier End

BPSUPPLIER

 IPURBPSOS

Sold-to supplier Start

BPSUPPLIER

 IPURBPSPE

Pay-to Supplier End

BPARTNER

 IPURBPSPS

Pay-to Supplier Start

BPARTNER

 IPURBPSRE

Risk supplier End

BPSUPPLIER

 IPURBPSRS

Risk supplier Start

BPSUPPLIER

 IPURCPYE

Company End

COMPANY

 IPURCPYS

Company Start

COMPANY

 IPURDAT

Reference deadline

 

 IPURFCYE

Purchase site End

FACILITY

 IPURFCYS

Purchase site Start

FACILITY

 IPURITME

Product End

ITMMASTER

 IPURITMS

Product Start

ITMMASTER

 IPURPERN1E

N-1 analysis end date

 

 IPURPERN1S

N-1 analysis start date

 

 IPURPERNE

N analysis end date

 

 IPURPERNS

N analysis start date

 

 IPURPJT

Off-project included

PJT

 IPURPJTE

Project End

PJT

 IPURPJTS

Project Start

PJT

 IPURRAT

Weighing percentage

 IPURSFI

Invoicing elements included?

 

 IPURTSGE

Group 1 Group supplier End

BPSUPPLIER

 IPURTSGS

Group 1 Group supplier Start

BPSUPPLIER

 IPURTSIE

Product group 1 End

ITMMASTER

 IPURTSIS

Product group 1 Start

ITMMASTER

 IPURTSOE

Group 1 Sold-to-supplier End

BPSUPPLIER

 IPURTSOS

Group 1 Sold-to-supplier Start

BPSUPPLIER

 IPURTSRE

Group 1 Risk supplier End

BPSUPPLIER

 IPURTSRS

Group 1 Risk supplier Start

BPSUPPLIER

 IPURTSSE

Group 1 Invoicing supplier End

BPSUPPLIER

 IPURTSSS

Group 1 Invoicing supplier Start

 

 PURANNCOU

Current year

 

 PURANNPRE

Previous year

 

 PURCNO

Credit memo

PINVOICE

 PURCOUINFR

Country : France

PINVOICE

 PURINV

Purchase invoices

 

Sub-classes list (Indicators)

Sub-classes (or Indicators)

List of the fields from which the sub-classes are made.

Purchase request quantities indicators

- STK purchase request quantity
- STA purchase request quantity

Order quantities indicators

- STK order quantity
- STA order quantity
-STK quantity to receive
- STA quantity to receive

Receipt quantities indicators

- STK receipt quantity
- STA receipt quantity

Invoice quantities indicators

- STK invoice quantity
- STA invoice quantity

Return quantities indicators

- STK return quantity
- STA return quantity

Purchase request amounts indicators

- Ex tax amt purchase request line
- Ex tax amt purchase request line Cy
- Ex tax amt purchase request line Folder.
- Tax incl amt purchase request line
- Tax incl amt purchase request line Cy
- Tax incl amt purchase request line Folder
- Deductible tax PR line
- Deductible tax PR line Cy
- Deductible tax PR line Folder
- Discount amt purchase request line
- Discount amt purchase request line Cy
- Discount amt purchase request line Folder
- Expense amt purchase request line
- Expense amt purchase request line Cy
- Expense amt purchase request line Folder

Order Amounts indicators

- Ex tax amt order line
- Ex tax amt order line Company
- Ex tax amt order line Folder
- Tax incl amt order line
- Tax incl amt order line Company
- Tax incl amt order line Folder
- Deductible tax order line
- Deductible tax order line Cy
- Deductible tax order line Folder
- Order price order line
- Order price order line Cy
- Order price order line Folder
- Discount amt order line
- Discount amt order line Cy
- Discount amt order line Folder
- Expense amt order line
- Expense amt order line Cy
- Expense amt order line Folder
- Discount amt order inv. elt
- Discount amt order inv. elt Cy
- Discount amt order inv. elt Folder
- Expens amt order inv. elt
- Expens amt order inv. elt Cy
- Expens amt order inv. elt Folder

Receipt amounts indicators

- Ex tax amt receipt line
- Ex tax amt receipt line Company
- Ex tax amt receipt line Folder
- Tax incl amt receipt line
- Tax incl amt receipt line Company
- Tax incl amt receipt line Folder
- Deductible tax receipt line
- Deductible tax receipt line Cy
- Deductible tax receipt line Folder
- Order price receipt line
- Order price receipt line Cy
- Order price receipt line Folder
- Discount amt receipt line
- Discount amt receipt line Cy
- Discount amt receipt line Folder
- Expense amt receipt line
- Expense amt receipt line Cy
- Expense amt receipt line Folder
- Discount amt receipt inv. elt
- Discount amt receipt inv. elt Cy
- Discount amt receipt inv. elt Folder
- Expens amt receipt inv. elt
- Expens amt receipt inv. elt Cy
- Expens amt receipt inv. elt Folder

Invoice Amounts indicators

- Ex tax amt invoice line
- Ex tax amt invoice line Cy
- Ex tax amt invoice line Folder
- Tax incl amt invoice line
- Tax incl amt invoice line Company
- Tax incl amt invoice line Folder
- Deductible tax invoice line
- Deductible tax invoice line Cy
- Deductible tax invoice line Folder
- Order price invoice line
- Order price invoice line Cy
- Order price invoice line Folder
- Discount amt invoice line
- Discount amt invoice line Cy
- Discount amt invoice line Folder
- Expense amt invoice line
- Expense amt invoice line Cy
- Expense amt invoice line Folder
- Discount amt invoice inv. elt
- Discount amt invoice inv. elt Cy
- Discount amt invoice inv. elt Folder
- Expense amt invoice inv. elt
- Expense amt invoice inv. elt Cy
- Expense amt invoice inv. elt Folder
- Final amount paid
- Final amount paid Cy
- Final amount paid Folder
- Temporary amount paid
- Temporary amount paid Cy
- Temporary amount paid Folder

Return Amounts indicators

- Ex tax amt return line
- Ex tax amt return line Company
- Ex tax amt return line Folder
- Tax incl. return line
- Tax incl. return line Company
- Tax incl. return line Folder
- Deductible tax return line
- Deductible tax return line Cy
- Deductible tax return line Folder
- Order price return line
- Order price return line Cy
- Order price return line Folder
- Discount amt return line
- Discount amt return line Cy
- Discount amt return line Folder
- Expense amt return line
- Expense amt return line Cy
- Expense amt return line Folder