# ReportHistoryAccount - Name: `ReportHistoryAccount` - Catalog: `Octopus` - Schema: `OctopusWS` ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `COMPANY_CODE` | `string` | ☐ | | | | `historyAccountQueryData_accountNr` | `int32` | ☐ | | | | `historyAccountQueryData_fromBookyearKey` | `string` | ☐ | | | | `historyAccountQueryData_fromBookyearKey_id` | `int32` | ☐ | | | | `historyAccountQueryData_fromBookyearPeriodNr` | `int32` | ☐ | | | | `historyAccountQueryData_toBookyearKey` | `string` | ☐ | | | | `historyAccountQueryData_toBookyearKey_id` | `int32` | ☐ | | | | `historyAccountQueryData_toBookyearPeriodNr` | `int32` | ☐ | | | ## Table Columns The columns of the table `ReportHistoryAccount` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `BOOKYEARKEY` | `string` | Financial Year Key | | | | `BOOKYEARKEY_ID` | `int32` | Financial Year Key ID | | | | `BOOKYEARPERIODNR` | `int32` | Financial Period Number | | | | `COMMENT` | `string` | Comment | | | | `COMPANY_CODE` | `string` | Partition Code | ☑ | | | `COMPANY_NAME` | `string` | Partition Name | ☑ | | | `CREDITBOOKINGAMOUNT` | `double` | Credit Booking Amount | | | | `CREDITDOCUMENTAMOUNT` | `double` | Credit Document Amount | | | | `CURRENCYCODE` | `string` | Currency Code | | | | `DEBETBOOKINGAMOUNT` | `double` | Debit Booking Amount | | | | `DEBETDOCUMENTAMOUNT` | `double` | Debet Document Amount | | | | `DOCUMENTDATE` | `datetime` | Document Date | | | | `DOCUMENTSEQUENCENR` | `int32` | Document Number | | | | `EXCHANGERATE` | `double` | Exchange Rate | | | | `JOURNALKEY` | `string` | Journal Key | | | | `REFERENCE` | `string` | Reference | | |