Formula Parameters

CodeType
$BasisOfPreparationParamxs:QName
if(exists(//jenv-bw2-i:BasisOfPreparation))then (if(//jenv-bw2-i:BasisOfPreparation = 'Commercieel')then xs:QName('jenv-bw2-dm:CommercialMember')else xs:QName('jenv-bw2-dm:FiscalMember'))else(xs:QName('jenv-bw2-dm:CommercialMember'))
$FinancialReportingPeriodCurrentEndDateParamxs:date
if(exists(//jenv-bw2-i:FinancialReportingPeriodCurrentEndDate))then xs:date(//jenv-bw2-i:FinancialReportingPeriodCurrentEndDate)else xs:date('2020-12-31')
$FinancialReportingPeriodCurrentStartDateParamxs:date
if(exists(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate))then xs:date(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate)else xs:date('2020-01-01')
$FinancialReportingPeriodPrePreviousEndDateParamxs:date
if(exists(//jenv-bw2-i:FinancialReportingPeriodPreviousStartDate)) then xs:date(//jenv-bw2-i:FinancialReportingPeriodPreviousStartDate) - xs:dayTimeDuration('PT24H') else(if(exists(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate))then xs:date(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate) - xs:yearMonthDuration('P1Y') - xs:dayTimeDuration('PT24H') else xs:date('2018-12-31'))
$FinancialReportingPeriodPreviousEndDateParamxs:date
if(exists(//jenv-bw2-i:FinancialReportingPeriodPreviousEndDate)) then xs:date(//jenv-bw2-i:FinancialReportingPeriodPreviousEndDate) else(if(exists(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate))then xs:date(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate) - xs:dayTimeDuration('PT24H') else xs:date('2019-12-31'))
$FinancialReportingPeriodPreviousStartDateParamxs:date
if(exists(//jenv-bw2-i:FinancialReportingPeriodPreviousStartDate)) then xs:date(//jenv-bw2-i:FinancialReportingPeriodPreviousStartDate) else(if(exists(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate))then xs:date(//jenv-bw2-i:FinancialReportingPeriodCurrentStartDate) - xs:yearMonthDuration('P1Y') else xs:date('2019-01-01'))