# AccountsFullTextSearch: Exact Online Accounts Full-Text Search Search for legal counter parties using a text query. - Catalog: `ExactOnlineREST` - Schema: `CRM` - Primary Keys: `ID` - Label: Accounts Full-Text Search The data in this table is partitioned per value of the `Division` column. This is a read-only table function. The Exact Online API may not support changing the data or the Invantive UniversalSQL driver for Exact Online does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Exact Online API. ## Parameters of Table Function The following parameters can be used to control the behaviour of the table function `AccountsFullTextSearch`. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values. Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three. Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third. | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `division` | `int32` | ☐ | | ID of the division to retrieve data for. | | `searchText` | `varchar2` | ☑ | | | ## Columns of Table Function The columns of the table function `AccountsFullTextSearch` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `Accountant` | `guid` | Accountant | ☐ | | | `AccountManager` | `guid` | Account Manager | ☐ | | | `AccountManagerFullName` | `varchar2`(240) | Account Manager Full Name | ☐ | | | `AccountManagerHID` | `int32` | Account Manager HID | ☐ | | | `ActivitySector` | `guid` | Activity Sector | ☐ | | | `ActivitySubSector` | `guid` | Activity Subsector | ☐ | | | `AddressLine1` | `varchar2`(80) | Address Line 1 | ☐ | Visit address first line. | | `AddressLine2` | `varchar2`(80) | Address Line 2 | ☐ | Second address line. | | `AddressLine3` | `varchar2`(80) | Address Line 3 | ☐ | Third address line. | | `AddressSource` | `int16` | Address Source | ☐ | | | `AutomaticProcessProposedEntry` | `int16` | Automatic Process Proposed Entry | ☐ | | | `Blocked` | `char` | Blocked | ☐ | | | `BRIN` | `guid` | BRIN | ☐ | | | `BSN` | `varchar2` | Social Security Number | ☐ | Citizen Service Number for the Netherlands. | | `BusinessType` | `guid` | Business Type | ☐ | | | `CanDropShip` | `char` | Can Drop Ship | ☐ | | | `ChamberOfCommerce` | `varchar2`(60) | Chamber of Commerce | ☐ | Chamber of commerce number. | | `City` | `varchar2`(30) | City | ☐ | City. | | `Classification` | `varchar2` | Classification | ☐ | | | `Classification1` | `guid` | Classification 1 | ☐ | | | `Classification2` | `guid` | Classification 2 | ☐ | | | `Classification3` | `guid` | Classification 3 | ☐ | | | `Classification4` | `guid` | Classification 4 | ☐ | | | `Classification5` | `guid` | Classification 5 | ☐ | | | `Classification6` | `guid` | Classification 6 | ☐ | | | `Classification7` | `guid` | Classification 7 | ☐ | | | `Classification8` | `guid` | Classification 8 | ☐ | | | `ClassificationDescription` | `varchar2` | Classification Description | ☐ | | | `Code` | `varchar2` | Code | ☐ | | | `CodeAtSupplier` | `varchar2`(20) | Code at Supplier | ☐ | Code under which your own company is known at the account. | | `CompanySize` | `guid` | Company Size | ☐ | | | `ConsolidationScenario` | `int16` | Consolidation Scenario | ☐ | | | `ControlledDate` | `datetime` | Date Checked | ☐ | | | `Costcenter` | `varchar2`(8) | Cost Centre | ☐ | | | `CostcenterDescription` | `varchar2`(60) | Cost Centre Description | ☐ | | | `CostPaid` | `int16` | Cost Paid | ☑ | | | `Country` | `varchar2`(30) | Country | ☐ | Country code. | | `CountryName` | `varchar2` | Country Name | ☐ | Country name. | | `Created` | `datetime` | Created | ☐ | Creation date. | | `CreatedUtc` | `datetime` | Created (UTC) | ☐ | Creation date in UTC. | | `Creator` | `guid` | Creator | ☐ | User ID of creator. | | `CreatorFullName` | `varchar2`(240) | Creator Full Name | ☐ | Name of creator. | | `CreditLinePurchase` | `double` | Credit Line for Purchase | ☐ | | | `CreditLineSales` | `double` | Credit Line for Sales | ☐ | | | `Currency` | `varchar2`(30) | Currency | ☐ | Code of Currency. | | `CustomerSince` | `datetime` | Customer Since | ☐ | | | `CustomField` | `varchar2` | Custom Field | ☐ | | | `DatevCreditorCode` | `varchar2`(30) | DATEV Creditor Code | ☐ | | | `DatevDebtorCode` | `varchar2`(30) | DATEV Debtor Code | ☐ | | | `DeliveryAdvice` | `int16` | Delivery Advice | ☐ | | | `DiscountPurchase` | `double` | Discount for Purchase | ☐ | | | `DiscountSales` | `double` | Discount for Sales | ☐ | | | `Division` | `int32` | Division | ☐ | | | `DivisionCompanyCoCNumber` | `varchar2`(60) | Division Chamber of Commerce Number | ☐ | Chamber of commerce number of the Exact Online division. | | `DivisionCompanyIBANNumber` | `varchar2`(50) | Division IBAN Number | ☐ | IBAN number of the Exact Online division. | | `DivisionCompanyName` | `varchar2`(50) | Division Company Name | ☑ | Company name of the Exact Online division. | | `DivisionCompanyRSINNumber` | `varchar2`(9) | Division RSIN Number | ☐ | RSIN number of the Exact Online division. | | `DivisionCompanyVATNumber` | `varchar2`(35) | Division VAT Number | ☐ | VAT number of the Exact Online division. | | `DivisionCompanyWageTaxNumber` | `varchar2`(60) | Division Wage Tax Number | ☐ | Wage tax number of the Exact Online division. | | `DivisionLabel` | `varchar2`(128) | Division Label | ☑ | Label of the Exact Online division. | | `DivisionName` | `varchar2`(50) | Administration Name | ☑ | Name of the Exact Online division. | | `DivisionOwnerCompanyName` | `varchar2`(50) | Subscription Holder Name | ☑ | Name of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionOwnerCompanyNumber` | `varchar2`(18) | Subscription Holder Number | ☑ | Number of the customer account in division 1 owning the Exact Online subscription to which this division belongs. | | `DivisionShortName` | `int64` | Division Short Name | ☑ | Short name of the Exact Online division. | | `Document` | `guid` | Document | ☐ | | | `DunsNumber` | `varchar2`(9) | DUNS Number | ☐ | | | `Email` | `varchar2`(128) | Email | ☐ | | | `EnableSalesPaymentLink` | `char` | Enable Sales Payment Link | ☐ | | | `EndDate` | `datetime` | End Date | ☐ | | | `EORINumber` | `varchar2` | EORI Number | ☐ | EORI number (United Kingdom). | | `EstablishedDate` | `datetime` | Established Date | ☐ | | | `Fax` | `varchar2`(25) | Fax | ☐ | Fax number. | | `GLAccountPurchase` | `guid` | GL Account for Purchase | ☐ | | | `GLAccountSales` | `guid` | GL Account for Sales | ☐ | | | `GLAP` | `guid` | Accounts Payables General Ledger | ☐ | | | `GLAR` | `guid` | Accounts Receivables General Ledger | ☐ | | | `GlnNumber` | `varchar2`(13) | GLN Number | ☐ | Global Location Number can be used by companies to identify their locations, giving them complete flexibility to identify any type or level of location required. | | `HasWithholdingTaxSales` | `char` | Has Withholding Tax Sales | ☐ | | | `ID` | `guid` | ID | ☑ | | | `IgnoreDatevWarningMessage` | `char` | Ignore DATEV Warning Message | ☑ | | | `IncotermAddressPurchase` | `varchar2` | Incoterm Address Purchase | ☐ | | | `IncotermAddressSales` | `varchar2` | Incoterm Address Sales | ☐ | | | `IncotermCodePurchase` | `varchar2` | Incoterm Code Purchase | ☐ | | | `IncotermCodeSales` | `varchar2` | Incoterm Code Sales | ☐ | | | `IncotermVersionPurchase` | `int16` | Incoterm Version Purchase | ☐ | | | `IncotermVersionSales` | `int16` | Incoterm Version Sales | ☐ | | | `IntraStatArea` | `varchar2` | Intrastat Area | ☐ | | | `IntraStatDeliveryTerm` | `varchar2` | Intrastat Delivery Term | ☐ | | | `IntraStatSystem` | `varchar2`(5) | Intrastat System | ☐ | | | `IntraStatTransactionA` | `varchar2`(1) | Intrastat Transaction A | ☐ | | | `IntraStatTransactionB` | `varchar2`(1) | Intrastat Transaction B | ☐ | | | `IntraStatTransportMethod` | `varchar2`(1) | Intrastat Transport Method | ☐ | | | `InvoiceAccount` | `guid` | Invoice Account | ☐ | | | `InvoiceAccountCode` | `varchar2`(18) | Invoice Account Code | ☐ | | | `InvoiceAccountName` | `varchar2`(50) | Invoice Account Name | ☐ | Name of account. | | `InvoiceAttachmentType` | `int32` | Invoice Attachment Type | ☐ | | | `InvoicingMethod` | `int32` | Invoicing Method | ☐ | | | `IsAccountant` | `int16` | Is Accountant | ☑ | | | `IsAgency` | `int16` | Is Agency | ☑ | | | `IsAnonymised` | `int16` | Is Anonymised | ☑ | Indicates whether the account is anonymised. | | `IsBank` | `char` | Is Bank | ☐ | | | `IsCompetitor` | `int16` | Is Competitor | ☑ | | | `IsExtraDuty` | `char` | Is Extra Duty | ☐ | | | `IsMailing` | `int16` | Is Mailing | ☑ | | | `IsMember` | `char` | Is Member | ☐ | | | `IsPilot` | `char` | Is Pilot | ☐ | | | `IsPurchase` | `char` | Is Purchase | ☐ | | | `IsReseller` | `char` | Is Reseller | ☐ | | | `IsSales` | `char` | Is Sales | ☐ | | | `IsSupplier` | `char` | Is Supplier | ☐ | | | `Language` | `varchar2`(30) | Language | ☐ | Language code. | | `LanguageDescription` | `varchar2`(60) | Language Description | ☐ | Language description. | | `Latitude` | `double` | Latitude | ☐ | | | `LeadPurpose` | `guid` | Lead Purpose | ☐ | Reference to Lead Purpose of an account. | | `LeadSource` | `guid` | Lead Source | ☐ | | | `Logo` | `blob` | Logo | ☐ | | | `LogoFileName` | `varchar2` | Logo File Name | ☐ | | | `LogoThumbnailUrl` | `varchar2` | Logo Thumbnail (URL) | ☐ | | | `LogoUrl` | `varchar2` | Logo (URL) | ☐ | | | `Longitude` | `double` | Longitude | ☐ | | | `MainContact` | `guid` | Main Contact | ☐ | | | `Modified` | `datetime` | Modified | ☐ | Last modified date. | | `ModifiedUtc` | `datetime` | Modified (UTC) | ☐ | Last modified date in UTC. | | `Modifier` | `guid` | Modifier | ☐ | User ID of modifier. | | `ModifierFullName` | `varchar2`(240) | Modified Full Name | ☐ | Name of modifier. | | `Name` | `varchar2`(50) | Name | ☐ | Name of account. | | `OINNumber` | `varchar2`(20) | OIN Number | ☐ | Dutch government identification number. | | `Parent` | `guid` | Parent | ☐ | | | `PayAsYouEarn` | `varchar2` | Pay-as-you-Earn | ☐ | | | `PaymentConditionPurchase` | `varchar2`(2) | Payment Condition Purchase | ☐ | | | `PaymentConditionPurchaseDescription` | `varchar2`(60) | Payment Condition Purchase Description | ☐ | | | `PaymentConditionSales` | `varchar2`(2) | Payment Condition Sales | ☐ | | | `PaymentConditionSalesDescription` | `varchar2`(60) | Payment Condition Sales Description | ☐ | | | `PeppolIdentifier` | `varchar2` | Peppol Identifier | ☐ | | | `PeppolIdentifierType` | `int32` | Peppol Identifier Type | ☐ | | | `Phone` | `varchar2`(25) | Phone | ☐ | Phone number. | | `PhoneExtension` | `varchar2`(15) | Phone Extension | ☐ | Phone number extension. | | `Postcode` | `varchar2`(20) | Postal Code | ☐ | Postcode. | | `PriceList` | `guid` | Price List | ☐ | | | `PurchaseCurrency` | `varchar2`(30) | Purchase Currency | ☐ | Currency of purchase. | | `PurchaseCurrencyDescription` | `varchar2`(60) | Purchase Currency Description | ☐ | Description of purchase currency. | | `PurchaseLeadDays` | `int32` | Purchase Lead Days | ☐ | | | `PurchaseVATCode` | `varchar2`(3) | Purchase VAT Code | ☐ | Purchase VAT code. | | `PurchaseVATCodeDescription` | `varchar2`(60) | Purchase VAT Code Description | ☐ | Description of Purchase VAT code. | | `RecepientOfCommissions` | `char` | Recipient of Commissions | ☐ | | | `Remarks` | `varchar2` | Remarks | ☐ | | | `Reseller` | `guid` | Reseller | ☐ | | | `ResellerCode` | `varchar2`(18) | Reseller Code | ☐ | Code of Reseller. | | `ResellerName` | `varchar2`(50) | Reseller Name | ☐ | Name of reseller. | | `RSIN` | `varchar2` | RSIN Number | ☐ | Fiscal number for NL legislation. | | `SalesCurrency` | `varchar2`(30) | Sales Currency | ☐ | Currency of sales price. | | `SalesCurrencyDescription` | `varchar2`(60) | Sales Currency Description | ☐ | Description of sales currency. | | `SalesTaxSchedule` | `guid` | Sales Tax Schedule | ☐ | | | `SalesTaxScheduleCode` | `varchar2` | Sales Tax Schedule Code | ☐ | | | `SalesTaxScheduleDescription` | `varchar2` | Sales Tax Schedule Description | ☐ | | | `SalesVATCode` | `varchar2`(3) | Sales VAT Code | ☐ | Sales VAT code. | | `SalesVATCodeDescription` | `varchar2`(60) | Sales VAT Code Description | ☐ | Description of Sales VAT code. | | `SearchCode` | `varchar2`(15) | Search Code | ☐ | Search code. | | `SecurityLevel` | `int32` | Security Level | ☐ | | | `SeparateInvPerProject` | `int16` | Separate Invoice per Project | ☑ | | | `SeparateInvPerSubscription` | `int16` | Separate Invoice per Subscription | ☑ | | | `ShippingLeadDays` | `int32` | Shipping Lead Days | ☐ | | | `ShippingMethod` | `guid` | Shipping Method | ☐ | | | `ShowRemarkForSales` | `char` | Show Remark for Sales | ☐ | | | `Source` | `int16` | Source | ☐ | | | `StartDate` | `datetime` | Start Date | ☐ | | | `State` | `varchar2`(30) | State | ☐ | State/Province code. | | `StateName` | `varchar2`(60) | Province Name | ☐ | Name of state/province. | | `Status` | `varchar2`(1) | Status | ☐ | If the status field is filled this means the account is a customer. The value indicates the customer status. Possible values: A=None, S=Suspect, P=Prospect, C=Customer. | | `StatusSince` | `datetime` | Status Since | ☐ | | | `TradeName` | `varchar2`(50) | Tradename | ☐ | | | `Type` | `varchar2`(1) | Type | ☐ | Account type: Values: A = Relation, D = Division. | | `UniqueTaxpayerReference` | `varchar2` | Unique Taxpayer Reference | ☐ | | | `VATLiability` | `varchar2` | VAT Liability | ☐ | | | `VATNumber` | `varchar2`(35) | VAT Number | ☐ | VAT number. | | `Website` | `varchar2`(128) | Website | ☐ | Website of the account. |