Model: Sales - Specifications for Fact Table: CUSTOMER INVOICE

On this page you will find the specifications regarding the Model: Sales and Fact Table: CUSTOMER INVOICE.

This model fact represents customer invoices and it is based on the fact FACT_CUSTOMER_INVOICE in IFS Cloud. All models that refer to this table will have the attributes and hierarchies as described below.

Natural parent is company, i.e. each company has its own set of customer invoices.

Attributes

Attribute Description (where applicable)
Customer Invoice Company The natural parent, company (COMPANY_KEY)
Customer Invoice Series Id Code of invoice series
Customer Invoice No The invoice number (INVOICE_NO). Internal Leap number
Customer Invoice State The invoice state (client value)
Customer Invoice Defined as COMPANY_KEY + ' - ' + INVOICE_ID_KEY
Invoice Id

Measures (table to be generated as far as possible)

Aggregation of measures is based on SUM if not explicitly noted.

This section describes the basic measures in the cube. These are either measures defined in the core Information Source, in the model itself or in the ETL process. The columns have the following meaning:

Measure Calculated Y/N Contains Time Intelligence Y/N Definition/Note (where applicable) Aggregation Type Hidden Y/N Measure Expression
Count CO Credit N Y Sum N COUNTROWS('CUSTOMER INVOICE')
Count Cust Inv N N Sum N COUNTROWS('CUSTOMER INVOICE')
Deduction Amount Cust Inv N Y Sum N SUM([DEDUCTION_AMOUNT])
Disc Amount Cust Inv N Y Sum N SUM([DISC_AMOUNT])
Gross Amount Cust Inv N Y Sum N SUM([GROSS_AMOUNT])
Gross Amount DOM Cust Inv N Y Sum N SUM([GROSS_AMOUNT_DOM])
Net Amount DOM Cust Inv N Y Sum N SUM([NET_AMOUNT_DOM])
Net Amount in Base Curr CO Credit N N Sum N SUM([NET_AMOUNT])
Net Amount in Base Curr Cust Inv N Y Sum N SUM([NET_AMOUNT])
Open Amount Cust Inv N Y Sum N SUM([OPEN_AMOUNT])
Open Amount DOM Cust Inv N Y Sum N SUM([OPEN_AMOUNT_DOM])
VAT Amount Cust Inv N Y Sum N SUM([VAT_AMOUNT])
VAT Amount DOM Cust Inv N Y Sum N SUM([VAT_AMOUNT_DOM])
Net Amount Cust Inv RC Y Y Reporting Currency calculation Sum N SUMX('CUSTOMER INVOICE', DIVIDE([REP_CURR_NET_AMOUNT], [REP_CURR_RATE]))
Net Amount CO Credit RC Y Y Reporting Currency calculation Sum N SUMX('CUSTOMER INVOICE', DIVIDE([REP_CURR_NET_AMOUNT], [REP_CURR_RATE]))

Time Intelligence Measures

Time based measures are calculated in the cube with respect to other measures. The table below defines the meaning/definition of  the different time measures. These measures need to be used with a specific time dimension hierarchy [REPORTING_DATE].[RepDateMFHy].

Measure Meaning
YTD Aggregated value for current month in current  year. E.g. for period 202010 Ytd represents sum of periods 202000-202010.
R12 For a given period, the sum all months from one year back up to the previous month. E.g. Rolling 12 for 202010 is the sum of months 201910 - 202009
PY Previous Year
The value of the corresponding month one year back. E.g. for month 202010, the value of month 201910.
YTD PY Year to Date Previous Year
Aggregated value for corresponding month one year back. E.g. for month 202010 YTD Previous Year represents sum of months 201901-201910.
R12 PY Rolling 12 (completed) Months Previous Year
For a given month, first going one year back, then taking the sum of all months from one (more) year back up to the previous month. E.g. for month 202010 the sum of month 201810-201909
Avg XXX Ytd Sum XXX YTD/Count XXX YTD
Avg XXX R12 Sum XXX R12/Count XXX R12
XXX % YTD Count XXX YTD/Count YYY YTD
XXX % R12 Count XXX R12/Count XXX R12

USED BY MODEL(S)

Model Name
CRM

Data source Information

The data source for this object is defined using IFS Developer Tool. Further Transformations are done using Power BI.

Additional information can be found in the online documentation of Information Sources.

Model Table BI Access View Referenced Information Source Recommended Access Type
CUSTOMER INVOICE FACT_CUSTOMER_INVOICE_PQ_BI FACT_CUSTOMER_INVOICE_PQ On Line