generate_intercompany_matching_report
Generate intercompany matching reports in Oracle EPM Cloud FCCS to identify and reconcile transactions between related entities for accurate financial consolidation.
Instructions
Generate intercompany matching report / Gerar relatorio de correspondencia ICP
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No | Report parameters (scenario, year, period, etc.) |
Implementation Reference
- fccs_agent/tools/consolidation.py:66-78 (handler)The main tool handler function that wraps the client call and returns formatted result.async def generate_intercompany_matching_report( parameters: Optional[dict[str, Any]] = None ) -> dict[str, Any]: """Generate intercompany matching report / Gerar relatorio de correspondencia ICP. Args: parameters: Report parameters (scenario, year, period, etc.). Returns: dict: Job submission result. """ result = await _client.generate_intercompany_matching_report(_app_name, parameters) return {"status": "success", "data": result}
- The input schema definition for the tool in TOOL_DEFINITIONS list.{ "name": "generate_intercompany_matching_report", "description": "Generate intercompany matching report / Gerar relatorio de correspondencia ICP", "inputSchema": { "type": "object", "properties": { "parameters": { "type": "object", "description": "Report parameters (scenario, year, period, etc.)", }, }, }, },
- fccs_agent/agent.py:132-137 (registration)Registration of the tool handler in the central TOOL_HANDLERS dictionary in agent.py"export_consolidation_rulesets": consolidation.export_consolidation_rulesets, "import_consolidation_rulesets": consolidation.import_consolidation_rulesets, "validate_metadata": consolidation.validate_metadata, "generate_intercompany_matching_report": consolidation.generate_intercompany_matching_report, "import_supplementation_data": consolidation.import_supplementation_data, "deploy_form_template": consolidation.deploy_form_template,
- Underlying client method that makes the actual API call to submit the INTERCOMPANYMATCHING job.async def generate_intercompany_matching_report( self, app_name: str, parameters: Optional[dict[str, Any]] = None ) -> dict[str, Any]: """Generate intercompany matching report / Gerar relatorio ICP.""" if self.config.fccs_mock_mode: return {"jobId": "501", "status": "Submitted", "jobType": "IntercompanyMatching"} payload = {"jobType": "INTERCOMPANYMATCHING", **(parameters or {})} response = await self._client.post( f"/{app_name}/jobs{self._get_query_params()}", json=payload ) response.raise_for_status() return response.json()