A330BIS

Histo OPEX
Input

Properties source
Sources: prospetto

Code
A330BIS
Description
Histo OPEX
Web opening
C
Type flags
Input
Groups
A23 Operating Expense Planning

Structure source
Sources: prospetto_xml

Form parameters
3
Dimension Hierarchy Parameter
AZIENDA
Entity;fr=Entité
010
All Entities
$AZI_010_P
SCENARIO
Scenario
$
Scenarios
SCE_BDG
Scenario for Budget
DEST1
Cost Centers;fr=Centre cout
010
Departmental View
CC_ALL
Cost Center
Form filters
3 dims
AZIENDAEntity;fr=Entité 1
Hierarchy / FST Item Type TGKML
010 All Entities $AZI_010_P param
DEST2Products;fr=Produit 1
Hierarchy / FST Item Type TGKML
010 Products by Category PD_500 Generic Product fixed
DEST3Customers;fr=Clients 1
Hierarchy / FST Item Type TGKML
010 Customers by Service Area CM_500 Generic Customer fixed
Expense Plan
Template00 · 2 matrices
Matrix00 CPM
Filters
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
CC_500 Generic Cost Center fixed
CATEGORIACategory 1
Hierarchy / FST Item Type TGKML
010 Original Data fixed
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
NA NA fixed
Rows
DEST2Products;fr=Produit 1
Hierarchy / FST Item Type TGKML
010 Products by Category ALL fixed
CONTOAccount;fr=Compte 1
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 50010 Product Sales fixed
Cols
DEST3Customers;fr=Clients 1
Hierarchy / FST Item Type TGKML
010 Customers by Service Area ALL fixed
PERIODOPeriod 1
12
OPEX CPM
Filters
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
NA NA fixed
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
010 Departmental View CC_ALL param
Rows
CONTOAccount;fr=Compte 2
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 200 fixed
010 All Accounts - BS, PL & Statistical Accounts 300 fixed
CATEGORIACategory 3
Hierarchy / FST Item Type TGKML
$ Categories 010 Original Data fixed
$ Categories 050 Manufacturing fixed
$ Categories 020 Allocation to Cost Centers fixed
DEST4Employees;fr=Employés 2
Hierarchy / FST Item Type TGKML
100 Total Workforce 100 fixed
100 Total Workforce EE_500 Generic Employee fixed
Cols
TIP 2
Hierarchy / FST Item Type TGKML
TIP_DES fixed
TIP_O fixed
SCENARIOScenario 2
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
$ Scenarios B fixed
LUNPER 2
LUN_0, LUN_1
PERIODOPeriod 12
12, 11, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10
Travel Budget
Template01 · 4 matrices
Travel Assumptions CPM
Filters
DEST4Employees;fr=Employés 1
Hierarchy / FST Item Type TGKML
100 Total Workforce EE_500 Generic Employee fixed
CATEGORIACategory 1
Hierarchy / FST Item Type TGKML
010 Original Data fixed
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
LI_10 Line Item Details NA NA fixed
TIP 1
Hierarchy / FST Item Type TGKML
TIP_O fixed
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
CC_500 Generic Cost Center fixed
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
Rows
CONTOAccount;fr=Compte 2
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 2100 fixed
010 All Accounts - BS, PL & Statistical Accounts 2200 fixed
Cols
PERIODOPeriod 1
12
Custom Drivers CPM
Filters
DEST4Employees;fr=Employés 1
Hierarchy / FST Item Type TGKML
100 Total Workforce EE_500 Generic Employee fixed
CATEGORIACategory 1
Hierarchy / FST Item Type TGKML
010 Original Data fixed
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
LI_10 Line Item Details NA NA fixed
PERIODOPeriod 1
12
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
010 Departmental View CC_ALL param
Rows
CONTOAccount;fr=Compte 1
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 2300 fixed
Cols
TIP 2
Hierarchy / FST Item Type TGKML
TIP_DES fixed
TIP_O fixed
Trip Management CPM
Filters
DEST4Employees;fr=Employés 1
Hierarchy / FST Item Type TGKML
EE_500 Generic Employee fixed
LUNPER 1
LUN_1
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
010 Departmental View CC_ALL param
Rows
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
TR_10 Trips Hierarchy 100 fixed
CONTOAccount;fr=Compte 4
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 67010 Air/Train Tickets fixed
010 All Accounts - BS, PL & Statistical Accounts 67020 Lodging fixed
010 All Accounts - BS, PL & Statistical Accounts 67015 Meals & Entertainment fixed
010 All Accounts - BS, PL & Statistical Accounts 67025 Other Travel fixed
Cols
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
TIP 2
Hierarchy / FST Item Type TGKML
TIP_DES fixed
TIP_O fixed
CATEGORIACategory 2
Hierarchy / FST Item Type TGKML
030 Generic Adjustments fixed
010 Original Data fixed
PERIODOPeriod 12
01, 02, 03, 04, 05, 12, 06, 07, 08, 09, 10, 11
Trip Management 2 CPM
Filters
DEST4Employees;fr=Employés 1
Hierarchy / FST Item Type TGKML
EE_500 Generic Employee fixed
LUNPER 1
LUN_1
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
010 Departmental View CC_ALL param
Rows
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
TR_10 Trips Hierarchy NA NA fixed
CONTOAccount;fr=Compte 4
Hierarchy / FST Item Type TGKML
010 All Accounts - BS, PL & Statistical Accounts 67010 Air/Train Tickets fixed
010 All Accounts - BS, PL & Statistical Accounts 67020 Lodging fixed
010 All Accounts - BS, PL & Statistical Accounts 67015 Meals & Entertainment fixed
010 All Accounts - BS, PL & Statistical Accounts 67025 Other Travel fixed
Cols
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
TIP 1
Hierarchy / FST Item Type TGKML
TIP_O fixed
CATEGORIACategory 1
Hierarchy / FST Item Type TGKML
010 Original Data fixed
PERIODOPeriod 12
01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12
Marketing Plan
Template02 · 1 matrix
Marketing Plan CPM
Filters
CATEGORIACategory 1
Hierarchy / FST Item Type TGKML
010 Original Data fixed
PERIODOPeriod 1
12
DEST5Miscellaneous;it=Miscellaneous 1
Hierarchy / FST Item Type TGKML
NA NA fixed
DEST4Employees;fr=Employés 1
Hierarchy / FST Item Type TGKML
EE_500 Generic Employee fixed
SCENARIOScenario 1
Hierarchy / FST Item Type TGKML
$ Scenarios SCE_BDG param
DEST1Cost Centers;fr=Centre cout 1
Hierarchy / FST Item Type TGKML
010 Departmental View CC_ALL param
Rows
COU 1
Hierarchy / FST Item Type TGKML
COUNTER fixed
Cols
Transactional form TR_010 Marketing Plan · DELETE, TESTO_01 Marketing Initiatives, TESTO_02 Type of Initiative, TESTO_03 Manager, COD_DEST2 Applicable Product, COD_AZI_CTP Applicable Region, DATA_1 Start Date, IMPORTO_01 System Column 1, IMPORTO_03 Duration, IMPORTO_04 Expected Cost, TESTO_04 Expected Benefit, IMPORTO_05 Prioritization Score, IMPORTO_06 January, IMPORTO_07 February, IMPORTO_08 March, IMPORTO_09 April, IMPORTO_10 May, IMPORTO_11 June, IMPORTO_12 July, IMPORTO_13 August, IMPORTO_14 September, IMPORTO_15 October, IMPORTO_16 November, IMPORTO_17 December
Drill Through
Template03 · 0 matrices

Queries 3 source
Sources: prospetto_xml

Driver Account
SQL Query00
SELECT * FROM (SELECT B.desc_conto0 from CONTO_GERARCHIA_ABBI A 
INNER JOIN conto B
ON A.cod_conto = B.cod_conto
where A.COD_CONTO_ELEGER = '2100' or A.COD_CONTO_ELEGER = '2200'
and A.COD_CONTO_GERARCHIA = '010') AS U
UNION ALL SELECT '$ Value' AS U 
UNION ALL SELECT 'Calculation' AS U
Months
SQL Query01
SELECT * FROM (
select 01 as Num,'January' as Period union
select 02 as Num,'February' union
select 03 as Num,'March' union
select 04 as Num,'April' union
select 05 as Num,'May' union
select 06 as Num,'June' union
select 07 as Num,'July' union
select 08 as Num,'August' union
select 09 as Num,'September' union
select 10 as Num,'October' union
select 11 as Num,'November' union
select 12 as Num,'December' union
select 13 as Num,'Every Month'
) A 
ORDER BY NUM
Drill Through
SQL DR010
SELECT "Year",
   "Month",
   "Entity",
   "GL_Account_ID",
   "GL_Account_Desc",
   "Master_Account",
   "Cost_Center",
   "Invoice_Number",
   "Invoice_Date",
   "Supplier",
   amount
FROM  (
       SELECT campo1 AS "Year",
          campo14 AS "Scenario",
          campo2 AS "Month",
          campo3 AS "Entity",
          campo4 AS "GL_Account_ID",
          campo15 AS "Master_Account",
          campo5 AS "GL_Account_Desc",
          campo6 AS "Cost_Center",
          campo7 AS "Product",
          campo8 AS "Customer",
          campo9 AS "Invoice_Number",
  				CASE WHEN LENGTH(campo10) > 0 THEN       
  					TO_CHAR(TO_DATE('01011900','MMDDYYYY')+TO_NUMBER(campo10,'99999')*INTERVAL '1 Day', 'MM/DD/YYYY')
  				ELSE ''
  				END AS "Invoice_Date",
          campo11 AS "Supplier",
          CAST (REPLACE(campo12,',','.') AS NUMERIC(20,2)) AS amount
       FROM  map_dati_trasformati
       WHERE cod_mappatura='05'
       AND  cod_import='010'
       AND  campo1='2018'
       AND  campo2='12'
       AND  campo3=${$entity(hierarchy("010")).code}
       AND  campo6=${$cust_dim1(hierarchy("010")).code}
       AND  campo7='PD_500'
       AND  campo8='CM_500'
       AND  campo15=${$account(hierarchy("010")).code}
       AND  campo14=${$scenario(hierarchy("$")).code}
) a
UNION ALL
SELECT 'Total',
   '',
   '',
   '',
   '',
   '',
   '',
   '',
   '',
   '',
   SUM(amount) AS amount
FROM  (
       SELECT CAST (REPLACE(campo12,',','.') AS NUMERIC(20,2)) AS amount
       FROM  map_dati_trasformati
       WHERE cod_mappatura='05'
       AND  cod_import='010'
       AND  campo1='2018'
       AND  campo2='12'
       AND  campo3=${$entity(hierarchy("010")).code}
       AND  campo6=${$cust_dim1(hierarchy("010")).code}
       AND  campo7='PD_500'
       AND  campo8='CM_500'
       AND  campo15=${$account(hierarchy("010")).code}
       AND  campo14=${$scenario(hierarchy("$")).code}
) a