Oracle FCCS application design
Historical USD Overrides with Non-USD Parents
Keep historical USD amounts at base level while legal parents use their own currencies. A practical FCCS design for new applications and HFM migrations that need USD Actuals to tie out with Planning.
A design decision for every USD reporting hierarchy
When you build a new FCCS application, decide where historical USD amounts need to match the approved figures before you finalize entity currencies. Test the first USD rollup above a non-USD parent. That is where the consolidated result can diverge from the USD amount finance entered at base level. An HFM migration brings the same design decision, with legacy balances as a baseline for reconciliation.
The HFM baseline and the FCCS country result
In the legacy Hyperion Financial Management (HFM) application, the translation rules took the base entity’s EUR balance, applied the approved USD override, and carried that USD amount through the Legal Entity and Country levels. The team maintained the override at the base entity. The migration had to reproduce those USD Actuals for Planning (PBCS).
The hierarchy is the same in both examples. The Base Entity (EUR) rolls into the Legal Entity (EUR), which rolls into the Country (USD).
| Entity | EUR | USD |
|---|---|---|
| Country (USD) | — | $1,100Approved override |
| Legal Entity (EUR) | €1,000 | $1,100 |
| Base Entity (EUR) | €1,000 | $1,100 |
| Entity | EUR | USD |
|---|---|---|
| Country (USD) | — | $1,200FX at 1.20 USD/EUR |
| Legal Entity (EUR) | €1,000 | $1,100 |
| Base Entity (EUR) | €1,000 | $1,100 |
The USD values reviewed in FCCS at Base Entity and Legal Entity both matched the HFM baseline. At Country, FCCS translated the Legal Entity’s EUR consolidated balance on the Legal Entity → Country path. At the illustrative rate of 1.20 USD per EUR, the Country result is €1,000 × 1.20 = $1,200, or $100 above the approved $1,100 override. The USD value shown at Legal Entity and the contribution flowing into Country must be reconciled at their respective points of view.
Oracle HFM · Translating DataOracle HFM · HS.Trans Oracle FCCS · Translation ProcessOracle FCCS · Consolidation Data Flow
Configure the FCCS account for historical overrides
To enter or load a native historical override in a multi-currency FCCS application, set the account’s Exchange Rate Type to match the input.
- Historical Amount Override lets you supply a fixed translated amount, such as the approved $1,100 in this example.
- Historical Rate Override lets you supply an exchange rate that FCCS uses to calculate the translated amount.
Override Translation Rules are configured separately. A rule can apply a different translation method (Periodic or YTD), an alternate rate account, or both to a defined point of view.
Oracle · Exchange Rate TypesOracle · Historical OverridesOracle · Override Translation Rules
Three Oracle approaches
| Approach | How it applies to this example | What you maintain |
|---|---|---|
| Parent Input topside journal | Post a USD adjustment on the Legal Entity → Country Level node. The illustrated balance needs a $100 reduction, with the offset posted according to your journal policy. Parent Input follows the currency of the selected node’s parent. On the Base Entity → Legal Entity node, the journal is in EUR. | The journal at the relevant parent–child combination, including its offset, period, and approval. |
| Translated Currency Input journal | Post an adjustment in USD using a journal Data Source configured for USD. FCCS copies it to matching USD Parent Currency or Reporting Currency intersections. In this example the base entity’s immediate Parent Currency is EUR, so a base USD journal can feed its USD reporting result. A country-level adjustment must target the relevant USD intersection. | The USD journal Data Source and the journal entries for each adjustment. |
| USD parents in the main hierarchy + alternate EUR hierarchy | Use USD for every parent on the main consolidation path. The base USD override can apply when the base first rolls into its USD parent, and the higher USD-to-USD legs introduce no further currency conversion. Use an alternate hierarchy with EUR parent members for the local legal rollup. | Both hierarchy paths, including their ownership, eliminations, reporting scope, and Planning mappings. |
Oracle · Parent InputOracle · Consolidation JournalsOracle · Alternate Entity Hierarchies
Oracle · Synchronizing FCCS actuals to Planning
Oracle · PipelineOracle · Import Data REST APIOracle · Groovy Runtime Prompts
Process outline
- Load Actuals and confirm base USD override inputs.
- Translate the relevant non-USD base entities to USD_Reporting.
- Run the Groovy exporter to prepare parent override rows.
- Load the generated CSV through Application Import Data.
- Run Translate for the full hierarchy with the updated FCCS_25 rule.
- Validate FCCS, reconcile to Planning, and automate the sequence.
Implement the process
Load Actuals and confirm the base USD overrides
Load your base-entity Actuals using the usual close process. Configure the accounts in scope for Historical Amount Override and confirm the approved USD amounts exist at the base-entity input intersection your export rule reads. For this script that is Currency = USD, Consolidation = FCCS_Amount Override, and View = FCCS_Periodic, with the relevant scenario, year, movement, and data source.
For an HFM migration, reconcile the loaded override to the historical source by base entity, account, period, movement, and intercompany partner. If your source values exist only in USD_Reporting, add an explicit extraction and mapping step to populate the approved USD / FCCS_Amount Override inputs used by this exporter.
Translate the non-USD base entities
Run Translate for the affected base entities whose default currency differs from USD. Use the close scenario, year and period, and select USD_Reporting as the target. FCCS automatically consolidates impacted or unconsolidated source data before it translates. Wait for the job to finish and check the base reporting-currency results before exporting.
EUR_Reporting. Select USD_Reporting for this workflow. Oracle tutorial.Build the parent Amount Override file
Source for the sample below. The exporter reads USD / FCCS_Amount Override. For a form that captures exceptions only, first prepare the full set of effective USD amounts for the exporter. Read USD_Reporting after Translate, take the approved amount where it applies, and map one effective value per source intersection and period to the exporter’s input. A preparatory rule or an extension of the exporter can implement that selection.
Oracle · Entering Override RatesOracle · Translation Process
The Groovy rule discovers the base entities beneath the configured hierarchy and the level-0 accounts in the seeded Amount Override account hierarchy. For each base row it creates a row for every eligible parent occurrence. The script uses the parent’s unique Essbase member name and keeps the source account, data source, ICP, movement, and other POV members. Currency values carry through as supplied USD amounts.
Set the application-specific values in Configuration at the top of the rule. Set the hierarchy root, currency, scenario, years, fiscal period columns, movements, and POV dimension order for your cube. The sample uses an October–September calendar. The rule writes ParentAmountOverrideImport.csv to the FCCS Outbox and logs the source and output row counts. For a shared parent, each base entity contributes a separate row to the same target intersection.
/*RTPS: */ import oracle.epm.api.model.Application import oracle.epm.api.model.CloseableIterator import oracle.epm.api.model.Cube import oracle.epm.api.model.DataExporter import oracle.epm.api.model.DataExportLevel import oracle.epm.api.model.Dimension import oracle.epm.api.model.Member import oracle.epm.api.model.MemberNameType import oracle.epm.api.model.RowData import oracle.epm.api.model.Tuple import oracle.epm.api.model.csv.CsvWriter /* PARENT USD AMOUNT OVERRIDE EXPORT Update the configuration below before running this rule. ENTITY_HIERARCHY_ROOT is the Entity parent whose hierarchy will be exported. OVERRIDE_ACCOUNT_ROOT selects level-0 historical amount override accounts. Configure YEAR_NAMES, PERIOD_NAMES and the POV order for the target cube. Reads level-0 USD / FCCS_Amount Override records. The rule writes one CSV record for each source row and eligible parent occurrence. It changes only the Entity coordinate and preserves the source POV and values. FCCS Import Data settings: File Type: Comma delimited Import Mode: Merge Accumulation Type: Within File */ /* ============================================================ 1. CONFIGURATION ============================================================ */ final String CUBE_NAME = "Consol" final String OUTPUT_FILE_NAME = "ParentAmountOverrideImport.csv" final String EXPORT_ERROR_FILE_NAME = "ParentAmountOverrideExportErrors.log" final String ENTITY_HIERARCHY_ROOT = "<YOUR_ENTITY_HIERARCHY_ROOT>" final String OVERRIDE_ACCOUNT_ROOT = "FCCS_Amount Override Accounts" final String SCENARIO_NAME = "Actual" final String VIEW_NAME = "FCCS_Periodic" final String CURRENCY_NAME = "USD" final String CONSOLIDATION_NAME = "FCCS_Amount Override" /* The export includes the Movement members listed here. */ final List<String> MOVEMENT_NAMES = [ "FCCS_Mvmts_NetIncome", "FCCS_Mvmts_OtherCurrentLiabilities" ] /* The Years dimension is included in the Point-of-View field. */ final List<String> YEAR_NAMES = [ "FY23", "FY24", "FY25", "FY26" ] /* Period columns in fiscal-year order. */ final List<String> PERIOD_NAMES = [ "Oct", "Nov", "Dec", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep" ] /* Use the Point-of-View dimension order from a native export of the target cube. Update the custom dimensions for your application. Account and Period have their own CSV columns. */ final List<String> POV_DIMENSION_NAMES = [ "Consolidation", "Data Source", "Currency", "Intercompany", "Operations", // Update custom dimensions for the target cube. "Scenario", "Years", "View", "Entity", "Movement" ] /* Include the hierarchy root when true. When false, export to parent rollups below the root. */ final boolean INCLUDE_HIERARCHY_ROOT = true /* Skip a source row when all configured periods are missing. */ final boolean SKIP_ALL_MISSING_ROWS = true /* ============================================================ 2. APPLICATION AND CUBE ============================================================ */ if (ENTITY_HIERARCHY_ROOT == "<YOUR_ENTITY_HIERARCHY_ROOT>") { throwVetoException("Set ENTITY_HIERARCHY_ROOT to the parent Entity for your application.") } Application application = operation.application Cube cube = application.getCube(CUBE_NAME) if (cube == null) { throwVetoException( "Cube not found: " + CUBE_NAME ) } /* ============================================================ 3. REQUIRED DIMENSIONS ============================================================ */ Dimension accountDimension = application.getDimension("Account", cube) Dimension periodDimension = application.getDimension("Period", cube) Dimension entityDimension = application.getDimension("Entity", cube) Dimension movementDimension = application.getDimension("Movement", cube) Dimension consolidationDimension = application.getDimension("Consolidation", cube) Dimension dataSourceDimension = application.getDimension("Data Source", cube) Dimension currencyDimension = application.getDimension("Currency", cube) Dimension intercompanyDimension = application.getDimension("Intercompany", cube) Dimension scenarioDimension = application.getDimension("Scenario", cube) Dimension yearDimension = application.getDimension("Years", cube) Dimension viewDimension = application.getDimension("View", cube) if (accountDimension == null) { throwVetoException( "Account dimension not found in cube " + CUBE_NAME + "." ) } if (periodDimension == null) { throwVetoException( "Period dimension not found in cube " + CUBE_NAME + "." ) } if (entityDimension == null) { throwVetoException( "Entity dimension not found in cube " + CUBE_NAME + "." ) } if (movementDimension == null) { throwVetoException( "Movement dimension not found in cube " + CUBE_NAME + "." ) } if (consolidationDimension == null) { throwVetoException( "Consolidation dimension not found in cube " + CUBE_NAME + "." ) } if (dataSourceDimension == null) { throwVetoException( "Data Source dimension not found in cube " + CUBE_NAME + "." ) } if (currencyDimension == null) { throwVetoException( "Currency dimension not found in cube " + CUBE_NAME + "." ) } if (intercompanyDimension == null) { throwVetoException( "Intercompany dimension not found in cube " + CUBE_NAME + "." ) } if (scenarioDimension == null) { throwVetoException( "Scenario dimension not found in cube " + CUBE_NAME + "." ) } if (yearDimension == null) { throwVetoException( "Years dimension not found in cube " + CUBE_NAME + "." ) } if (viewDimension == null) { throwVetoException( "View dimension not found in cube " + CUBE_NAME + "." ) } /* ============================================================ 4. CONFIGURED POV DIMENSION ORDER ============================================================ */ List<Dimension> povDimensions = new ArrayList<Dimension>() for (String povDimensionName : POV_DIMENSION_NAMES) { Dimension povDimension = application.getDimension(povDimensionName, cube) if (povDimension == null) { throwVetoException( "Configured POV dimension not found: " + povDimensionName ) } povDimensions.add(povDimension) } /* ============================================================ 5. POV DIMENSION VALIDATION ============================================================ */ List<Dimension> cubeDimensions = new ArrayList<Dimension>(application.getDimensions(cube)) Set<String> actualPovDimensionKeys = new LinkedHashSet<String>() for (Dimension cubeDimension : cubeDimensions) { String dimensionName = cubeDimension.getName() if (dimensionName.equalsIgnoreCase( "Account")) { continue } if (dimensionName.equalsIgnoreCase( "Period")) { continue } actualPovDimensionKeys.add(dimensionName.toLowerCase()) } Set<String> configuredPovDimensionKeys = new LinkedHashSet<String>() for (String configuredPovDimensionName : POV_DIMENSION_NAMES) { configuredPovDimensionKeys.add(configuredPovDimensionName.toLowerCase()) } Set<String> missingFromPovConfiguration = new LinkedHashSet<String>(actualPovDimensionKeys) missingFromPovConfiguration.removeAll(configuredPovDimensionKeys) Set<String> unknownPovDimensions = new LinkedHashSet<String>(configuredPovDimensionKeys) unknownPovDimensions.removeAll(actualPovDimensionKeys) if (!missingFromPovConfiguration.isEmpty()) { throwVetoException( "Cube dimensions missing from " + "POV_DIMENSION_NAMES: " + missingFromPovConfiguration.join(", ") ) } if (!unknownPovDimensions.isEmpty()) { throwVetoException( "POV_DIMENSION_NAMES contains dimensions outside the cube: " + unknownPovDimensions.join(", ") ) } /* ============================================================ 6. FIXED MEMBERS ============================================================ */ Member hierarchyRootMember = entityDimension.getMember(ENTITY_HIERARCHY_ROOT, cube) Member overrideAccountRootMember = accountDimension.getMember(OVERRIDE_ACCOUNT_ROOT, cube) Member scenarioMember = scenarioDimension.getMember(SCENARIO_NAME, cube) Member viewMember = viewDimension.getMember(VIEW_NAME, cube) Member currencyMember = currencyDimension.getMember(CURRENCY_NAME, cube) Member consolidationMember = consolidationDimension.getMember(CONSOLIDATION_NAME, cube) if (hierarchyRootMember == null) { throwVetoException( "Entity member not found: " + ENTITY_HIERARCHY_ROOT ) } if (overrideAccountRootMember == null) { throwVetoException( "Account member not found: " + OVERRIDE_ACCOUNT_ROOT ) } if (scenarioMember == null) { throwVetoException( "Scenario member not found: " + SCENARIO_NAME ) } if (viewMember == null) { throwVetoException( "View member not found: " + VIEW_NAME ) } if (currencyMember == null) { throwVetoException( "Currency member not found: " + CURRENCY_NAME ) } if (consolidationMember == null) { throwVetoException( "Consolidation member not found: " + CONSOLIDATION_NAME ) } /* ============================================================ 7. MOVEMENT MEMBERS ============================================================ */ List<Member> movementMembers = new ArrayList<Member>() Set<String> validMovementKeys = new LinkedHashSet<String>() for (String movementName : MOVEMENT_NAMES) { Member movementMember = movementDimension.getMember(movementName, cube) if (movementMember == null) { throwVetoException( "Movement member not found: " + movementName ) } movementMembers.add(movementMember) validMovementKeys.add(movementName.toLowerCase()) } if (movementMembers.isEmpty()) { throwVetoException("Configure at least one Movement member.") } /* ============================================================ 8. YEAR MEMBERS ============================================================ */ List<Member> yearMembers = new ArrayList<Member>() Set<String> validYearKeys = new LinkedHashSet<String>() for (String yearName : YEAR_NAMES) { Member yearMember = yearDimension.getMember(yearName, cube) if (yearMember == null) { throwVetoException( "Year member not found: " + yearName ) } yearMembers.add(yearMember) validYearKeys.add(yearName.toLowerCase()) } /* ============================================================ 9. PERIOD MEMBERS ============================================================ */ List<Member> periodMembers = new ArrayList<Member>() for (String periodName : PERIOD_NAMES) { Member periodMember = periodDimension.getMember(periodName, cube) if (periodMember == null) { throwVetoException( "Period member not found: " + periodName ) } periodMembers.add(periodMember) } /* ============================================================ 10. SOURCE ROW DIMENSIONS The DataExporter returns all dimensions except Period in the source tuple. The POV configuration sets the final CSV column order. ============================================================ */ List<Dimension> sourceRowDimensions = new ArrayList<Dimension>() for (int firstIndex = 0; firstIndex < cubeDimensions.size() - 1; firstIndex++) { for (int secondIndex = firstIndex + 1; secondIndex < cubeDimensions.size(); secondIndex++) { Dimension firstDimension = cubeDimensions.get(firstIndex) Dimension secondDimension = cubeDimensions.get(secondIndex) if (firstDimension.getPosition(cube) > secondDimension.getPosition(cube)) { cubeDimensions.set(firstIndex, secondDimension) cubeDimensions.set(secondIndex, firstDimension) } } } for (Dimension cubeDimension : cubeDimensions) { if (cubeDimension.getName().equalsIgnoreCase( "Period")) { continue } sourceRowDimensions.add(cubeDimension) } /* ============================================================ 11. LEVEL-0 ENTITIES ============================================================ */ String baseEntitySelection = "ILvl0Descendants(" + hierarchyRootMember.getFixValue() + ")" List<Member> evaluatedBaseEntities = entityDimension.getEvaluatedMembers(baseEntitySelection, cube) Map<String, Member> baseEntityByKey = new LinkedHashMap<String, Member>() for (Member evaluatedBaseEntity : evaluatedBaseEntities) { String baseEntityName = evaluatedBaseEntity.getName(MemberNameType.MEMBER_NAME) String baseEntityKey = baseEntityName.toLowerCase() if (!baseEntityByKey.containsKey( baseEntityKey)) { Member commonBaseEntity = entityDimension.getMember(baseEntityName, cube) if (commonBaseEntity == null) { throwVetoException( "Common/base Entity not found: " + baseEntityName ) } baseEntityByKey.put(baseEntityKey, commonBaseEntity) } } List<Member> baseEntities = new ArrayList<Member>(baseEntityByKey.values()) if (baseEntities.isEmpty()) { throwVetoException( "No level-0 entities found under " + ENTITY_HIERARCHY_ROOT + "." ) } /* ============================================================ 12. AMOUNT OVERRIDE ACCOUNTS ============================================================ */ String overrideAccountSelection = "ILvl0Descendants(" + overrideAccountRootMember.getFixValue() + ")" List<Member> evaluatedOverrideAccounts = accountDimension.getEvaluatedMembers(overrideAccountSelection, cube) Map<String, Member> overrideAccountByKey = new LinkedHashMap<String, Member>() for (Member evaluatedOverrideAccount : evaluatedOverrideAccounts) { String accountName = evaluatedOverrideAccount.getName(MemberNameType.MEMBER_NAME) String accountKey = accountName.toLowerCase() if (!overrideAccountByKey.containsKey( accountKey)) { Member commonAccount = accountDimension.getMember(accountName, cube) if (commonAccount == null) { throwVetoException( "Common/base Account not found: " + accountName ) } overrideAccountByKey.put(accountKey, commonAccount) } } List<Member> overrideAccounts = new ArrayList<Member>(overrideAccountByKey.values()) if (overrideAccounts.isEmpty()) { throwVetoException( "No level-0 accounts found under " + OVERRIDE_ACCOUNT_ROOT + "." ) } /* ============================================================ 13. PARENT ENTITY OCCURRENCES ============================================================ */ String hierarchySelection = "IDescendants(" + hierarchyRootMember.getFixValue() + ")" List<Member> hierarchyEntities = entityDimension.getEvaluatedMembers(hierarchySelection, cube) List<Member> parentOccurrences = new ArrayList<Member>() Set<String> uniqueParentNames = new LinkedHashSet<String>() boolean hierarchyRootWasReturned = false for (Member hierarchyEntity : hierarchyEntities) { String hierarchyEntityName = hierarchyEntity.getName(MemberNameType.MEMBER_NAME) String hierarchyEntityKey = hierarchyEntityName.toLowerCase() boolean isBaseEntity = baseEntityByKey.containsKey(hierarchyEntityKey) boolean isHierarchyRoot = hierarchyEntityName.equalsIgnoreCase(ENTITY_HIERARCHY_ROOT) if (isHierarchyRoot) { hierarchyRootWasReturned = true } if (isBaseEntity) { continue } if (!INCLUDE_HIERARCHY_ROOT && isHierarchyRoot) { continue } String parentUniqueName = hierarchyEntity.getName(MemberNameType.UNIQUE_ESSBASE_NAME) if (!uniqueParentNames.contains( parentUniqueName)) { parentOccurrences.add(hierarchyEntity) uniqueParentNames.add(parentUniqueName) } } /* Add the configured root if the evaluated selection did not return it. */ if (INCLUDE_HIERARCHY_ROOT && !hierarchyRootWasReturned) { String rootUniqueName = hierarchyRootMember.getName(MemberNameType.UNIQUE_ESSBASE_NAME) if (!uniqueParentNames.contains( rootUniqueName)) { parentOccurrences.add(hierarchyRootMember) uniqueParentNames.add(rootUniqueName) } } if (parentOccurrences.isEmpty()) { throwVetoException( "No parent entities found under " + ENTITY_HIERARCHY_ROOT + "." ) } /* ============================================================ 14. BASE ENTITY -> PARENT ENTITY MAPPING ============================================================ */ Map<String, Set<String>> parentsByBaseEntity = new LinkedHashMap<String, Set<String>>() for (Member parentOccurrence : parentOccurrences) { String targetParentUniqueName = parentOccurrence.getName(MemberNameType.UNIQUE_ESSBASE_NAME) String parentBaseSelection = "ILvl0Descendants(" + parentOccurrence.getFixValue() + ")" List<Member> parentBaseDescendants = entityDimension.getEvaluatedMembers(parentBaseSelection, cube) for (Member parentBaseDescendant : parentBaseDescendants) { String baseEntityName = parentBaseDescendant.getName(MemberNameType.MEMBER_NAME) String baseEntityKey = baseEntityName.toLowerCase() if (!baseEntityByKey.containsKey( baseEntityKey)) { continue } Set<String> mappedParents = parentsByBaseEntity.get(baseEntityKey) if (mappedParents == null) { mappedParents = new LinkedHashSet<String>() parentsByBaseEntity.put(baseEntityKey, mappedParents) } mappedParents.add(targetParentUniqueName) } } if (parentsByBaseEntity.isEmpty()) { throwVetoException("No base Entity to parent Entity mappings were created.") } /* ============================================================ 15. SOURCE FILTER Filter by Scenario, View, Currency, Consolidation, Movement, Years, base Entity and amount override Account. Each row keeps its Data Source. ============================================================ */ List<Object> sourceFilters = new ArrayList<Object>() sourceFilters.add(scenarioMember) sourceFilters.add(viewMember) sourceFilters.add(currencyMember) sourceFilters.add(consolidationMember) /* Movement filter. */ sourceFilters.addAll(movementMembers) sourceFilters.addAll(yearMembers) sourceFilters.addAll(baseEntities) sourceFilters.addAll(overrideAccounts) Object[] sourceFilterArray = sourceFilters.toArray( new Object[ sourceFilters.size() ] ) /* ============================================================ 16. DATA EXPORTER Read source records through the DataExporter iterator and write the custom format with CsvWriter. ============================================================ */ DataExporter sourceExporter = cube.createDataExporter() .setDataExportLevel(DataExportLevel.LEVEL0) .setColumnDimension(periodDimension) .setColumnMemberNames(periodMembers) .setRowDimensions(sourceRowDimensions) .setIgnoreUnknownMembers(false) .setRowFilterCriteria(sourceFilterArray) .setErrorFileName(EXPORT_ERROR_FILE_NAME) /* ============================================================ 17. EXPORT SETTINGS LOG ============================================================ */ println("==================================================") println("Parent Amount Override custom CSV export started") println( "Cube: " + CUBE_NAME ) println( "Output file: " + OUTPUT_FILE_NAME ) println( "Entity hierarchy: " + ENTITY_HIERARCHY_ROOT ) println( "Account hierarchy: " + OVERRIDE_ACCOUNT_ROOT ) println( "Movement filter: " + MOVEMENT_NAMES.join(", ") ) println( "Years: " + YEAR_NAMES.join(", ") ) println( "Periods: " + PERIOD_NAMES.join(", ") ) println( "POV dimension order: " + POV_DIMENSION_NAMES.join(", ") ) println( "Base Entity count: " + baseEntities.size() ) println( "Parent occurrence count: " + parentOccurrences.size() ) println( "Override Account count: " + overrideAccounts.size() ) println( "Movement member count: " + movementMembers.size() ) println("Data Source filter: NONE") println("Native exportDataToFile: NOT USED") println("Expected header:") println( "Account," + PERIOD_NAMES.join(",") + ",Point-of-View,Data Load Cube Name" ) println("==================================================") /* ============================================================ 18. CSV FILE GENERATION ============================================================ */ CloseableIterator<RowData> exportIterator = null CsvWriter outputWriter = null long sourceRowCount = 0L long outputRowCount = 0L long skippedUnexpectedAccountCount = 0L long skippedUnexpectedEntityCount = 0L long skippedUnexpectedMovementCount = 0L long skippedFixedPovCount = 0L long skippedNoParentCount = 0L long skippedAllMissingCount = 0L try { exportIterator = sourceExporter.exportData() outputWriter = csvWriter(OUTPUT_FILE_NAME, false) /* Write one header row for the custom import file. */ List<String> headerRow = new ArrayList<String>() headerRow.add("Account") headerRow.addAll(PERIOD_NAMES) headerRow.add("Point-of-View") headerRow.add("Data Load Cube Name") outputWriter.writeNext(headerRow) while (exportIterator.hasNext()) { RowData sourceRow = exportIterator.next() sourceRowCount++ Tuple sourceTuple = sourceRow.getRowTuple(true) Member sourceAccount = (Member) sourceTuple.get(accountDimension) Member sourceEntity = (Member) sourceTuple.get(entityDimension) Member sourceMovement = (Member) sourceTuple.get(movementDimension) Member sourceScenario = (Member) sourceTuple.get(scenarioDimension) Member sourceYear = (Member) sourceTuple.get(yearDimension) Member sourceView = (Member) sourceTuple.get(viewDimension) Member sourceCurrency = (Member) sourceTuple.get(currencyDimension) Member sourceConsolidation = (Member) sourceTuple.get(consolidationDimension) if (sourceAccount == null || sourceEntity == null || sourceMovement == null || sourceScenario == null || sourceYear == null || sourceView == null || sourceCurrency == null || sourceConsolidation == null) { skippedFixedPovCount++ continue } String sourceAccountName = sourceAccount.getName(MemberNameType.MEMBER_NAME) String sourceAccountKey = sourceAccountName.toLowerCase() /* Recheck the Account against the configured scope. */ if (!overrideAccountByKey.containsKey( sourceAccountKey)) { skippedUnexpectedAccountCount++ continue } String sourceEntityName = sourceEntity.getName(MemberNameType.MEMBER_NAME) String sourceEntityKey = sourceEntityName.toLowerCase() /* Recheck the Entity against the configured scope. */ if (!baseEntityByKey.containsKey( sourceEntityKey)) { skippedUnexpectedEntityCount++ continue } String sourceMovementName = sourceMovement.getName(MemberNameType.MEMBER_NAME) String sourceMovementKey = sourceMovementName.toLowerCase() /* Recheck the Movement against the configured scope. */ if (!validMovementKeys.contains( sourceMovementKey)) { skippedUnexpectedMovementCount++ continue } String rowScenarioName = sourceScenario.getName(MemberNameType.MEMBER_NAME) String rowYearName = sourceYear.getName(MemberNameType.MEMBER_NAME) String rowViewName = sourceView.getName(MemberNameType.MEMBER_NAME) String rowCurrencyName = sourceCurrency.getName(MemberNameType.MEMBER_NAME) String rowConsolidationName = sourceConsolidation.getName(MemberNameType.MEMBER_NAME) /* Recheck the fixed point of view. */ if (!rowScenarioName.equalsIgnoreCase( SCENARIO_NAME) || !validYearKeys.contains( rowYearName.toLowerCase()) || !rowViewName.equalsIgnoreCase( VIEW_NAME) || !rowCurrencyName.equalsIgnoreCase( CURRENCY_NAME) || !rowConsolidationName.equalsIgnoreCase( CONSOLIDATION_NAME)) { skippedFixedPovCount++ continue } Set<String> targetParentUniqueNames = parentsByBaseEntity.get(sourceEntityKey) if (targetParentUniqueNames == null || targetParentUniqueNames.isEmpty()) { skippedNoParentCount++ continue } /* Read one value for each configured period. */ List<String> periodValues = new ArrayList<String>() boolean rowHasData = false for (String periodName : PERIOD_NAMES) { String periodValue = sourceRow.getValue(periodName) if (periodValue == null || periodValue.trim().length() == 0) { periodValue = "#Mi" } if (!periodValue.equalsIgnoreCase( "#Mi")) { rowHasData = true } periodValues.add(periodValue) } if (SKIP_ALL_MISSING_ROWS && !rowHasData) { skippedAllMissingCount++ continue } /* Write a separate row for each eligible parent occurrence. */ for (String targetParentUniqueName : targetParentUniqueNames) { List<String> povMemberNames = new ArrayList<String>() for (Dimension povDimension : povDimensions) { String povDimensionName = povDimension.getName() /* Replace Entity with the unique name of the target parent occurrence. */ if (povDimensionName.equalsIgnoreCase( "Entity")) { povMemberNames.add(targetParentUniqueName) continue } Member sourcePovMember = (Member) sourceTuple.get(povDimension) if (sourcePovMember == null) { throwVetoException( "POV member is missing. " + "Dimension: " + povDimensionName + ", Account: " + sourceAccountName + ", Source Entity: " + sourceEntityName + ", Movement: " + sourceMovementName ) } String sourcePovMemberName = sourcePovMember.getName(MemberNameType.MEMBER_NAME) /* Keep the original member for every other dimension. */ povMemberNames.add(sourcePovMemberName) } String pointOfView = povMemberNames.join(",") List<String> outputRow = new ArrayList<String>() outputRow.add(sourceAccountName) outputRow.addAll(periodValues) outputRow.add(pointOfView) outputRow.add(CUBE_NAME) outputWriter.writeNext(outputRow) outputRowCount++ } } } finally { if (outputWriter != null) { outputWriter.close() } if (exportIterator != null) { exportIterator.close() } } /* ============================================================ 19. EXPORT RESULTS LOG ============================================================ */ println("==================================================") println("Parent Amount Override custom CSV export completed") println( "Output file: " + OUTPUT_FILE_NAME ) println( "Export error file: " + EXPORT_ERROR_FILE_NAME ) println( "Source rows read: " + sourceRowCount ) println( "Target rows written: " + outputRowCount ) println( "Skipped unexpected Account rows: " + skippedUnexpectedAccountCount ) println( "Skipped unexpected Entity rows: " + skippedUnexpectedEntityCount ) println( "Skipped unexpected Movement rows: " + skippedUnexpectedMovementCount ) println( "Skipped fixed POV mismatch rows: " + skippedFixedPovCount ) println( "Skipped rows without parent mapping: " + skippedNoParentCount ) println( "Skipped all-missing rows: " + skippedAllMissingCount ) println("Generated header:") println( "Account," + PERIOD_NAMES.join(",") + ",Point-of-View,Data Load Cube Name" ) println("Movement members exported:") println(MOVEMENT_NAMES.join(", ")) println("Point-of-View order:") println(POV_DIMENSION_NAMES.join(",")) println("Data Source members preserved: YES") println("Native Oracle export format used: NO") println("Import Mode: MERGE") println("Accumulation Type: WITHIN FILE") println("==================================================") Import the CSV in Application Overview
- From the FCCS home page, open Application → Overview.
- Open Actions → Import Data, then select Create.
- For a manual load, download the file from Inbox/Outbox Explorer. Choose Local and browse for
ParentAmountOverrideImport.csv. If the file is already in the FCCS Inbox, choose Inbox and provide its file name. - Set File Type to Comma delimited, Import Mode to Merge, Accumulation Type to Within File, and Missing Data Label to
#Mi. - For a local file, validate and run the import. Review the job details, and check a sample parent override intersection in the cube. Save the Inbox-based import definition if you plan to run it as an automated job.
For example, two rows with the same target POV containing 100 and 60 USD become a 160 USD parent override. Merge writes that total to the target cell, and Within File sums the rows supplied in this file.
Oracle · Loading the Data Import FileOracle · Load Method Examples
None for Accumulation Type. Use Within File and match the file’s #Mi missing-data label. Oracle tutorial.Recalculate eliminations with FCCS_25 and translate the full hierarchy
In the Consolidation Process flow, open Translated → Before Foreign Exchange (FX) Calculations. Use Calc Manager to deploy FCCS_25_Before FX_Calcs before the final Translate run. The first block sets the elimination for each override account to the opposite of its approved USD override. The second block rebuilds the related plug account from the sum of the USD overrides mapped to that plug.
Replace the account, plug, hierarchy, and Operations placeholders before validating in Calc Manager. Use one plug block per mapping and include any existing elimination adjustments required for that plug. Each block checks the corresponding Entity Currency elimination. If it is missing, the target is cleared. Scope the rule to intersections where Parent Currency represents USD. The sample selects non-base descendants of the configured hierarchy root.
Run Translate on the full hierarchy after the parent CSV import. The FCCS_25 code writes eliminations. In the tested case the subsequent consolidation produced the expected CTA as well.
Oracle · Configurable Calculation RulesOracle · Deploying a Configurable Calculation
/* * FCCS_25 - Intercompany eliminations using historical USD amount overrides * * Replace OVERRIDE_HIERARCHY_ROOT and TARGET_OPERATIONS with your members. * Use this template where the target Parent Currency represents USD. * * List all relevant override accounts in the first FIX. In the second FIX, * map one related plug to its contributing override accounts. Add a plug * block for each additional mapping and adjust the source list as needed. * Include any existing elimination adjustments required by a specific plug. */ FIX( "Parent Currency", "FCCS_Entity Consolidation", "FCCS_Periodic", "FCCS_Mvmts_OtherCurrentLiabilities", @RELATIVE("FCCS_Intercompany Top", 0), "TARGET_OPERATIONS" ) /* Override accounts: eliminate the approved USD amount. */ FIX(@LIST("OVERRIDE_ACCOUNT_1", "OVERRIDE_ACCOUNT_2")) "FCCS_Intercompany Eliminations" ( @CALCMODE(BLOCK); IF ( @ISDESC("OVERRIDE_HIERARCHY_ROOT") AND NOT @ISLEV("Entity", 0) ) IF ( "FCCS_Intercompany Eliminations"->"Entity Currency" <> #MISSING ) "FCCS_Intercompany Eliminations" = -1 * "FCCS_TotalInputAndAdjusted"->"FCCS_Amount Override"->"USD"; ELSE "FCCS_Intercompany Eliminations" = #MISSING; ENDIF ENDIF ) ENDFIX /* Related plug account: sum the USD overrides mapped to this plug. */ FIX("RELATED_PLUG_ACCOUNT") "FCCS_Intercompany Eliminations" ( @CALCMODE(BLOCK); IF ( @ISDESC("OVERRIDE_HIERARCHY_ROOT") AND NOT @ISLEV("Entity", 0) ) IF ( "FCCS_Intercompany Eliminations"->"Entity Currency" <> #MISSING ) "FCCS_Intercompany Eliminations" = "OVERRIDE_ACCOUNT_1"->"FCCS_TotalInputAndAdjusted"->"FCCS_Amount Override"->"USD" + "OVERRIDE_ACCOUNT_2"->"FCCS_TotalInputAndAdjusted"->"FCCS_Amount Override"->"USD"; ELSE "FCCS_Intercompany Eliminations" = #MISSING; ENDIF ENDIF ) ENDFIX ENDFIX Reconcile FCCS and Planning, then automate
- Base to parent. Trace selected HFM or approved base USD amounts through the export to the loaded parent cells. Check the contributing entities, movement, data source, and ICP.
- Parent to reporting. Validate the final eliminations and plug accounts, then reconcile CTA and the reporting-currency balances at the relevant parent and group levels.
- FCCS to Planning. Send the agreed Actuals slice after the final Translate. Compare the mapped account, entity and period, currency, periodic or YTD view, and the inclusion of eliminations at the same reporting level.
Chain the close steps in a pipeline and advance after each job succeeds. For a legal-entity-by-legal-entity close, extend the exporter to accept a LegalEntity parameter from the pipeline and use it to identify the loaded branch. A shared parent needs a complete set of base contributions for each reloaded intersection. For example, if two legal branches contribute to the same parent cell, rebuilding that cell from just the current branch would replace the full total with a partial amount under Merge / Within File.
For the automated handoff, make the generated Outbox file available in the saved native Import Data job’s input location. Invoke that job from your orchestration with the Cloud EPM REST API or EPM Automate importData. Check the import job before starting the second Translate, then run the approved Actuals feed to Planning.
Oracle · PipelineOracle · Import Data REST APIOracle · EPM Automate importData
