update_journal_period
Modify the accounting period for a journal in Oracle EPM Cloud FCCS to align financial data with correct reporting cycles.
Instructions
Update the period of a journal / Atualizar o periodo de um diario
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| journal_label | Yes | The journal label | |
| new_period | Yes | New period to set | |
| parameters | No | Additional parameters |
Implementation Reference
- fccs_agent/tools/journals.py:117-135 (handler)Main handler function that executes the update_journal_period tool by calling the FCCS client.async def update_journal_period( journal_label: str, new_period: str, parameters: Optional[dict[str, Any]] = None ) -> dict[str, Any]: """Update the period of a journal / Atualizar o periodo de um diario. Args: journal_label: The journal label. new_period: New period to set. parameters: Additional parameters. Returns: dict: Update result. """ result = await _client.update_journal_period( _app_name, journal_label, new_period, parameters ) return {"status": "success", "data": result}
- fccs_agent/tools/journals.py:215-227 (schema)Input schema and definition for the update_journal_period tool within TOOL_DEFINITIONS list.{ "name": "update_journal_period", "description": "Update the period of a journal / Atualizar o periodo de um diario", "inputSchema": { "type": "object", "properties": { "journal_label": {"type": "string", "description": "The journal label"}, "new_period": {"type": "string", "description": "New period to set"}, "parameters": {"type": "object", "description": "Additional parameters"}, }, "required": ["journal_label", "new_period"], }, },
- fccs_agent/agent.py:155-155 (registration)Registration of the tool handler in the central TOOL_HANDLERS dictionary."update_journal_period": journals.update_journal_period,