# BuySellBooking - Name: `BuySellBooking` - Catalog: `Octopus` - Schema: `OctopusWS` ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `bookyearKey_id` | `int32` | ☐ | | | | `COMPANY_CODE` | `string` | ☐ | | | | `documentSequenceNr` | `int32` | ☐ | | | | `journalKey` | `string` | ☐ | | | ## Table Columns The columns of the table `BuySellBooking` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `AMOUNT` | `double` | Amount | | | | `BOOKINGLINES_ACCOUNTKEY` | `int32` | General Ledger Account Key | | | | `BOOKINGLINES_BASEAMOUNT` | `double` | Base Amount | | | | `BOOKINGLINES_COMMENT` | `string` | Comment | | | | `BOOKINGLINES_COSTCENTREKEY` | `string` | Cost Center Key | | | | `BOOKINGLINES_COSTCENTREKEY_ID` | `int32` | Cost Center Key ID | | | | `BOOKINGLINES_VATAMOUNT` | `double` | VAT Amount | | | | `BOOKINGLINES_VATCODEKEY` | `string` | VAT Code Key | | | | `BOOKINGLINES_VATRECUPPERCENTAGE` | `double` | VAT Recovery Percentage | | | | `BOOKYEARKEY` | `string` | Financial Year Key | | | | `BOOKYEARKEY_ID` | `int32` | Financial Year Key ID | | | | `BOOKYEARPERIODENR` | `int32` | Period Number | | | | `COMMENT` | `string` | Comment | | | | `COMPANY_CODE` | `string` | Partition Code | ☑ | | | `COMPANY_NAME` | `string` | Partition Name | ☑ | | | `CURRENCYCODE` | `string` | Currency Code | | | | `DOCUMENTDATE` | `datetime` | Document Date | | | | `DOCUMENTSEQUENCENR` | `int32` | Document Number | | | | `EXCHANGERATE` | `double` | Exchange Rate | | | | `EXPIRYDATE` | `datetime` | Expiry Date | | | | `EXTERNALRELATIONID` | `int32` | External Relation ID | | | | `JOURNALKEY` | `string` | Journal Key | | | | `REFERENCE` | `string` | Reference | | | | `RELATIONKEY` | `string` | Relation Key | | | | `RELATIONKEY_ID` | `int32` | Relation Key ID | | |