• No results found

Datatypes, Tuples, Dimensions, Formulas

N/A
N/A
Protected

Academic year: 2021

Share "Datatypes, Tuples, Dimensions, Formulas"

Copied!
24
0
0

Loading.... (view fulltext now)

Full text

(1)

Datatypes, Tuples,

Dimensions, Formulas

(2)

2

Datatypes, Tuples,

Dimensions, Formulas

(3)

3

Datatypes, Tuples,

Dimensions, Formulas

(4)

Types of business rules

• <date> is represented as YYYYMMDD

• <profit> is >0, monetary in Euros with two decimals

• <total debit> = <total credit>

• <street> and <house number> can only exist together

• <A> minus <B> = <C>

(5)

DRAFT Bericht (Verpakking) Enkelvoudig gegeven Gegevensset Proces -Routering Autorisatie "Bereik" Domein Formaat Enumeratie Bereik Operatie Lengte Tekenset ... ... Context gerelateerde kwaliteit (bewering)

Business Rules ‘taxonomie’

Wets context Bericht context Context / doel-onafhankelijk Voorkomen Relationeel Toekennen rechten Mag zien Actie in proces Processtapkeuze Wachten ... Bericht verwerk-baar? Taal (valid XML) Structuur Proces -Bewerking Aanvullen Berekenen Afleiding Proces (verwerking)

Bijv. Kinderaftrek > ook kind (ook: selectieregels) Bijv. SoFi-nr check

Bijv. Gehuwd > partnernaam Bijv. Som activa = som passiva

Bijv. Aangifte > SoF-nr Volledigheid bewering (consistentie)

Bijv. als a voorkomt c invullen Bijv. als a + b = c (bb bedrag) Technische check

Bijv. if a > b then c = 24

Mag opslaan Mag muteren

(6)

6

Business rules in XBRL

• Schema / datatypes • Tuples • Dimensions • Formulas 6

(7)

Datatypes

• Base XML datatypes

– String – Decimal – Dates

– Integer, and many more

• Extensions provided in the XBRL Spec

– Monetary – Shares – Fraction

• User extensions

(8)

• Tool for consistency

• Fixed list of possible values, pick one • Examples:

– Code lists – Type of document, type of counterpart, etc. – Australian States

• Dimensional taxonomies sometimes used to achieve the same purposes

(9)

• Grouping facts that should not lose their connection, like records in a database

• Providing hierarchy/structure especially when dealing with granular/transactional data and forms

• No content, only children

• Dimensional taxonomies sometimes used to achieve the same purposes

(10)

• Dimensional view of Gross Sales:

(11)

• Reporting requirements suggest the need for analysis/comparison according to certain criteria

• Formula Specification sometimes used to achieve the same purposes ☺ • Significant reduction in the number of concepts AND the dimensions

created for the purpose seem potentially reusable - an indicator is the presence of recurring attributes in the fully qualified elements names

• The "extraction" of semantics from the fully qualified concept name leads to more reusability of the concept - and thus likely helps harmonization within the taxonomy - AND the dimensions created for the purpose seem

potentially reusable

• ProfitLossAttributableToOwnersOfParent

• ProfitLossNonControllingInterests

• Re-use one or more dimensions already existing within the taxonomy

(12)

• Facet restrictions (datatypes) • “balance” attribute

– Monetary concepts – Interactions with

• Facts – Sign of the amount

• Calculation Linkbase – “weight” attribute

• Calculation linkbase

• Definition linkbase (non dimensional)

(13)

• Other XBRL validation tools not enough in some (significant) cases:

– Basic arithmetic operations: product, division, …

– Arithmetic comparisons: item A must be equal to item B, … – Checks for the presence of elements

– Derivation of new facts from existing ones

• Not the only format that can achieve these purposes

– JAVA, C#, C++…

– XML based languages like XSLT, XQuery, Schematron, XML Schema assertions

• Optimized for the XBRL data/processing model

– “Aspect model”: intersection of concept, fact, mandatory dimensions, optional dimensions

(14)

• Formulae to produce new facts from existing ones • Assertions to verify a condition: true or false

– Value assertions: test on the content of the data

– Existence assertions: test on the number of evaluations

– Consistency assertions: compare the result of a formula and a fact in an instance

• A lot of filters available:

Formula

Concept aspect: By name By period-type By balance attribute By custom-attribute By data-type … Unit: Single measure General measure Period: Period start/end Period-instant Instant-duration … Dimensions: Explicit dimensions Typed dimensions General filters: Value Precision .... Tuple Entity Segment Scenario ...

(15)

15 2005 2006 2007 2008 2009 2010 2011 2012 Jun 22th 09 Final Rec Jun 05 Reqs Jun 05 Reqs Jun 08 Firsts implemt. Jun 08 Firsts implemt. Dec 08 2º CR Dec 08 2º CR Sep 08 BE COREP Formulae in production Sep 08 BE COREP Formulae in production Mar 09 PR Mar 09 PR Nov 06 Formula WG Constituted Nov 06 Formula WG Constituted Jan 07 1 PWD Jan 07 1 PWD Jul 07 2º PWD Jul 07 2º PWD Dec 07 3º PWD Dec 07 3º PWD Feb 08 4º PWD Feb 08 4º PWD Mar 08 1º CR Mar 08 1º CR Nov 10 New modules 1stCR Nov 10 New modules 1stCR Apr 11 New modules 2ndCR + CI Apr 11 New modules 2ndCR + CI Backward chaining? Backward chaining? Missing facts information Missing facts information Xpath 3? Xpath 3? Tuition material Tuition material Rounding error advanced hanling Rounding error advanced hanling

History of the Formula Spec

(16)

Formula - Next Modules

Module State Implementations

AspectCover Filters PR 3 Concept Relation Filter PR 3 Custom Function Implementation PR 3 Generic Messages PR 3 Validation Messages PR

Instances (multi-instance, and variable-set chaining)

CR2 3

(17)

Formula -Where It Is Used

• Japan - Bank of Japan

• Belgium - Ministry of Finance • France - Bank of France

• Spain - Bank of Spain

• Poland - Bank of Poland

• China - Shanghai Stock Exchange • And more…

(18)

• Data types for

– Conformance/Consistency – Pick list/Drop down list

• Tuples for “structure”

• Dimensions for analysis • Formula for

– Advanced logic – Facts creation

(19)

19

Issues

(20)

20

Issues

“NT is a proper representation of the law” <debit> = <credit> is NOT legislation

(21)

21

Issues

Legislation and a metadata administration as a basis for the taxonomy

? as a basis for the business rules

(22)

22

Issues

Type of business rule vs.

XBRL solution

(23)

23

Issues

• <date1> = YYYYMMDD • <date2> = DDMMYY

Or

• <date> met <rule1>, <rule2>

(24)

24

Status NL

• Netherlands Taxonomy Architecture

(NTA): standardizing the use of XBRL, including handling business rules

• First steps in experimenting with Formulas • FRIS validation

References

Related documents

The second strand of activity within the MHL Leadership Support and Community Development Programme aims to support better partnership- working between care homes, the wider health

We work hand in hand with our suppliers and customers when the issue is to transform innovative, sustainable concepts into real products and services.. YOUR PARTNER FOR POLYMERS

Data from 560 lymph node biopsy reports of specimens from patients older than 12 years at Chris Hani Baragwanath Academic Hospital (CHBAH) between 1 January 2010 and 31

Lines within each group of orange, light orange, dull yellow, light yellow, dark yellow colored kernel exhibited both relatively high and relatively low provitamin-A except for

Before presenting and discussing how the methods work, we describe a new error estimator that is used in this study. In prior studies on reliability analysis, the reliability

We hypothesized that fully quantitative analysis of stress perfusion CMR would have high diagnostic accuracy for identifying significant coronary artery stenosis and exceed the

It would include providing appropriate information and support, as determined to be necessary by the Operating Unit CIO, to remote users who use personally-owned computers

Therefore it is concluded that the reason that M takes the turn is to show up all about women empowerment in every M‟s explanation because M is the guest and she