CData Sync App は、Wave Financial データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Wave Financial コネクタはCData Sync アプリケーションから使用可能で、Wave Financial からデータを取得して、サポートされている任意の同期先に移動できます。
Sync App はWave Financial API を利用してWave Financial への双方向アクセスを実現します。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
以下のサブセクションでは、3つの一般的な認証フローでのWave Financial への認証について詳しく説明します。
カスタムOAuth アプリケーションの作成についての情報と、組み込みOAuth 認証情報を持つ認証フローでもカスタムOAuth アプリケーションを作成したほうがよい場合の説明については、カスタムOAuth アプリケーションの作成 を参照してください。
Wave Financial で利用可能な接続文字列プロパティの全リストは、Connection を参照してください。
Sync App はアクセストークンの期限が切れると自動的にリフレッシュします。
OAuth アクセストークンの自動リフレッシュ
Sync App がOAuth アクセストークンを自動的にリフレッシュするようにするには、次のように設定します。
OAuth アクセストークンの手動リフレッシュ
OAuth アクセストークンを手動でリフレッシュするために必要な唯一の値は、OAuth リフレッシュトークンです。
OAuth リフレッシュトークンを保存し、OAuth アクセストークンの有効期限が切れた後に手動でリフレッシュできるようにします。
このセクションでは、Wave Financial Sync App の高度な機能を厳選して説明します。
Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
詳しくは、クエリ処理 を参照してください。
デフォルトでは、Sync App はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Sync App はWave Financial オブジェクトをリレーショナルテーブルおよびビューとしてモデル化します。
Wave Financial オブジェクトは他のオブジェクトとリレーションを持ちます。テーブルでは、これらのリレーションは外部キーを使用して表されます。 次のセクションでは、利用可能なAPI オブジェクトを示し、Wave Financial API へのSQL の実行について詳しく説明します。
ほとんどのデータベースオブジェクトのスキーマは、シンプルなテキストベースのコンフィギュレーションファイルで定義されます。
ビュー では、利用可能なビューを説明します。ビューは、Accounts、Customers、Products などを静的にモデル化するように定義されています。
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| Accounts | Chart of Accounts for the business. |
| AccountSubtypes | List subtypes of accounts. |
| AccountTypes | List types of accounts. |
| Businesses | List businesses. |
| Countries | List countries. |
| Currencies | List currencies. |
| Customers | List of customers for the business. |
| InvoiceItems | The line items (product, unit and price) that make up the invoiced sale. |
| InvoiceItemTaxes | List of taxes applied to an invoice item. |
| Invoices | List of invoices for the business. |
| ProductDefaultSalesTaxes | Default sales taxes to apply on product. |
| ProductDefaultSalesTaxRates | Tax rates with their effective dates of application. |
| Products | List of products (and services) for the business. |
| Provinces | List of principal subdivisions. |
| SalesTaxes | List of sales taxes for the business. |
| SalesTaxRates | Tax rates with their effective dates of application |
| Vendors | List of vendors for the business. |
Chart of Accounts for the business.
SELECT * FROM Accounts WHERE Id = 'QWNjb3VudDo4MDEyMDg4OD3MWUwYWYtZDZiZS00OGI3LWE1ZTAtNmYyNzU4N2IwNGNi'
SELECT * FROM Accounts WHERE BusinessId = 'QnVzaW5lc3M6MDU3MWUwYWYtZDZiZS00OGI3LWE1ZTAtNmYyNzU4N2IwNGNi'
SELECT * FROM Accounts WHERE Name = 'Accounting Fees'
SELECT * FROM Accounts WHERE TypeValue = 'EXPENSE'
SELECT * FROM Accounts WHERE SubtypeValue = 'CASH_AND_BANK'
SELECT * FROM Accounts WHERE IsArchived = true
SELECT * FROM Accounts WHERE TypeValue IN ('EXPENSE', 'LIABILITY')
SELECT * FROM Accounts WHERE SubtypeValue IN ('COST_OF_GOODS_SOLD', 'EXPENSE')
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | Unique identifier for the account. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| Name | String | Name of the account. | ||
| Description | String | User defined description for the account. | ||
| DisplayId | String | User defined id for the account. | ||
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| TypeValue | String | Account type value. | ||
| SubtypeValue | String | Account subtype value. | ||
| NormalBalanceType | String | Credit or Debit. | ||
| IsArchived | Bool | Indicates whether the account is hidden from view by default. | ||
| Sequence | Int | Numerically increasing version, each representing a revision of account data. As soon as something modifies an account, its sequence is incremented. | ||
| Balance | Decimal | The balance of the account as of the current date. | ||
| BalanceInBusinessCurrency | Decimal | The balance of the account as of the current date in the business currency. |
List subtypes of accounts.
| Name | Type | References | SupportedOperators | Description |
| Value [KEY] | String | Account subtype value. | ||
| Name | String | Account subtype name. | ||
| AccountTypeName | String | Account type name for the subtype. | ||
| Archivable | Bool | Indicates if accounts of this subtype can be archived. | ||
| SystemCreated | Bool | Indicates if accounts of this subtype is system created accounts. |
List types of accounts.
SELECT * FROM AccountTypes
| Name | Type | References | SupportedOperators | Description |
| Value [KEY] | String | Account type value. | ||
| Name | String | Account type name. | ||
| NormalBalanceType | String | Normal balance type of the account type. |
List businesses.
SELECT name FROM Businesses WHERE Id = 'QnVzaW5lc3M6MDU3MWUwYWYtGI3LWE1ZTAtNmYyNzU4N2IwNGNi'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | The unique identifier for the business. | ||
| Name | String | The name of the business. | ||
| IsPersonal | Bool | Is the business a personal one with limited functionality compared to regular businesses. | ||
| OrganizationalType | String | The organization type of the business. | ||
| TypeName | String | The description of the business type in human-friendly form. | ||
| TypeValue | String | The enum value of the business type. | ||
| SubtypeName | String | The description of the business subtype in human-friendly form. | ||
| SubtypeValue | String | The enum value of the business subtype. | ||
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| Timezone | String | The timezone of the business. | ||
| AddressLine1 | String | Address line 1 (Street address/PO Box/Company name). | ||
| AddressLine2 | String | Address line 2 (Apartment/Suite/Unit/Building). | ||
| AddressCity | String | City/District/Suburb/Town/Village. | ||
| AddressProvinceCode | String |
Provinces.Code | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | |
| AddressCountryCode | String |
Countries.Code | Country code. | |
| AddressPostalCode | String | Zip/Postal Code. | ||
| Phone | String | The phone number of the business. | ||
| Fax | String | The fax number of the business. | ||
| Mobile | String | The mobile/cell number of the business. | ||
| TollFree | String | The toll free number of the business. | ||
| Website | String | The website of the business. | ||
| IsArchived | Bool | Is the business hidden from view by default. | ||
| CreatedAt | Datetime | When the business was created. | ||
| ModifiedAt | Datetime | When the business was last modified. |
List countries.
SELECT * FROM Countries WHERE Code = 'US'
| Name | Type | References | SupportedOperators | Description |
| Code [KEY] | String | Country code. | ||
| Name | String | Plain-language representation. | ||
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| NameWithArticle | String | Name of the country with the appropriate article. |
List currencies.
SELECT * FROM Currencies WHERE Code = 'USD'
| Name | Type | References | SupportedOperators | Description |
| Code [KEY] | String | Currency code. | ||
| Symbol | String | Symbol used to denote that a number is a monetary value. | ||
| Name | String | Plain-language representation. | ||
| Plural | String | Plural version of currency name. | ||
| Exponent | Int | Expresses the relationship between a major currency unit and its minor currency unit. The number of digits found to the right of the decimal place to represent the fractional part of this currency (assumes a base of 10). |
List of customers for the business.
SELECT * FROM Customers WHERE Id = 'QnVzaW5lc3M6NjE2MtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdlO0N1c3RvbWVyOjMyNzkyMTY1' SELECT * FROM Customers WHERE BusinessId = 'QnVYtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdl' SELECT * FROM Customers WHERE ModifiedAt > '2019-10-30 07:14:55.0' AND ModifiedAt < '2019-10-30 07:18:03.0'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | Unique identifier for the customer. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| Name | String | Name or business name of the customer. | ||
| FirstName | String | First name of the principal contact. | ||
| LastName | String | Last name of the principal contact. | ||
| String | Email of the principal contact. | |||
| AddressAddressLine1 | String | Address line 1 (Street address/PO Box/Company name). | ||
| AddressAddressLine2 | String | Address line 2 (Apartment/Suite/Unit/Building). | ||
| AddressCity | String | City/District/Suburb/Town/Village. | ||
| AddressProvinceCode | String |
Provinces.Code | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | |
| AddressCountryCode | String |
Countries.Code | Country code. | |
| AddressPostalCode | String | Zip/Postal Code. | ||
| DisplayId | String | User defined id for the customer. Commonly referred to as Account Number. | ||
| Mobile | String | Mobile telephone number of the principal contact. | ||
| Phone | String | Telephone number of the customer. | ||
| Fax | String | Fax number of the customer. | ||
| TollFree | String | Toll-free number of the customer. | ||
| Website | String | Website address of the customer. | ||
| InternalNotes | String | Internal notes about the customer. | ||
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| ShippingName | String | Name or business name of the customer. | ||
| ShippingAddressLine1 | String | Address line 1 (Street address/PO Box/Company name). | ||
| ShippingAddressLine2 | String | Address line 2 (Apartment/Suite/Unit/Building). | ||
| ShippingAddressCity | String | City/District/Suburb/Town/Village. | ||
| ShippingAddressProvinceCode | String |
Provinces.Code | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | |
| ShippingAddressCountryCode | String |
Countries.Code | Country code. | |
| ShippingAddressPostalCode | String | Zip/Postal Code. | ||
| ShippingPhone | String | Telephone number of the customer. | ||
| ShippingInstructions | String | Delivery instructions for handling. | ||
| CreatedAt | Datetime | When the customer was created. | ||
| ModifiedAt | Datetime | When the customer was last modified. | ||
| IsArchived | Bool | Whether or not the customer is archived. |
The line items (product, unit and price) that make up the invoiced sale.
SELECT * FROM InvoiceItems WHERE InvoiceId = 'QnVzaW5lc3M6MTY4NTYtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdl'
| Name | Type | References | SupportedOperators | Description |
| ProductId [KEY] | String |
Products.Id | Unique identifier for the associated product. | |
| InvoiceId [KEY] | String |
Invoices.Id | Unique identifier for the invoice. | |
| Quantity | Decimal | Number of units. | ||
| UnitPrice | Decimal | Price per unit. | ||
| SubtotalValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| SubtotalCurrencyCode | String |
Currencies.Code | Currency code. | |
| TotalValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| TotalCurrencyCode | String |
Currencies.Code | Currency code. | |
| AccountId | String | Unique identifier for the account. |
List of taxes applied to an invoice item.
SELECT * FROM InvoiceItemTaxes
| Name | Type | References | SupportedOperators | Description |
| SalesTaxId [KEY] | String | The unique identifier for the sales tax. | ||
| ProductId [KEY] | String |
Products.Id | Associated product Id. | |
| AmountValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| AmountCurrencyCode | String |
Currencies.Code | Currency code. |
List of invoices for the business.
SELECT * FROM Invoices WHERE BusinessId = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdl' SELECT * FROM Invoices WHERE CustomerID = 'QnVzaW5lc3M6NjE2MTY4NzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdlO0N1c3RvbWVyOjMyNzkyMTEz' SELECT * FROM Invoices WHERE ModifiedAt < '2020-02-26 18:02:06.171' SELECT * FROM Invoices WHERE InvoiceDate >= '2020-07-03' SELECT * FROM Invoices WHERE Status = 'SENT' SELECT * FROM Invoices WHERE CurrencyCode = 'USD'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | Unique identifier for the invoice. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| CreatedAt | Datetime | When the invoice was created. | ||
| ModifiedAt | Datetime | When the invoice was last modified. | ||
| PdfUrl | String | URL to access PDF representation of the invoice. | ||
| ViewUrl | String | URL to view the invoice online as seen by a customer. | ||
| CustomerId | String |
Customers.id | Unique identifier for the customer. | |
| CustomerName | String | The customer's name. | ||
| Status | String | Status of the Invoice.
使用できる値は次のとおりです。DRAFT, OVERDUE, PAID, PARTIAL, SAVED, SENT, UNPAID, VIEWED | ||
| Title | String | Invoice title at the top of the document. | ||
| Subhead | String | Invoice subheading text. | ||
| InvoiceNumber | String | Unique number assigned to the invoice. | ||
| PoNumber | String | Purchase order or sales order number for the invoice. | ||
| InvoiceDate | Date | Date when invoice is issued. | ||
| DueDate | Date | Date when payment is due. | ||
| AmountDueValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| AmountDueCurrencyCode | String |
Currencies.Code | Currency code. | |
| AmountPaidValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| AmountPaidCurrencyCode | String |
Currencies.Code | Currency code. | |
| TaxTotalValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| TaxTotalCurrencyCode | String |
Currencies.Code | Currency code. | |
| TotalValue | Decimal | Amount represented as a combination of the major and minor currency unit (uses a decimal separator). | ||
| TotalCurrencyCode | String |
Currencies.Code | Currency code. | |
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| ExchangeRate | Decimal | Exchange rate to business's currency from the invoice's currency. Used to value the invoice income within Wave's accounting transactions. | ||
| Memo | String | Invoice memo (notes) text. | ||
| Footer | String | Invoice footer text. | ||
| DisableCreditCardPayments | Bool | Within a business that is enabled to accept credit card payments, indicates if this individual invoice has been marked to not be payable by card. | ||
| DisableBankPayments | Bool | Within a business that is enabled to accept bank payments, indicates if this individual invoice has been marked to not be payable by bank payment. | ||
| ItemTitle | String | The label for the 'Item' column in the line items listing. | ||
| UnitTitle | String | The label for the 'Unit' column in the listing of line items on the invoice. | ||
| PriceTitle | String | The label for the 'Price' column in the listing of line items on the invoice. | ||
| AmountTitle | String | The label for the 'Amount' (= unit x price) column in the listing of line items on the invoice. | ||
| HideName | Bool | Indicates whether item's product name in item column is hidden in the line items listing. | ||
| HideDescription | Bool | Indicates whether item's description in item column is hidden in the line items listing. | ||
| HideUnit | Bool | Indicates whether item's unit is hidden in the line items listing. | ||
| HidePrice | Bool | Indicates whether item's price is hidden in the line items listing. | ||
| HideAmount | Bool | Indicates whether item's amount is hidden in the line items listing. | ||
| LastSentAt | Datetime | When the invoice was last sent. | ||
| LastSentVia | String | How the invoice was last sent. | ||
| LastViewedAt | Datetime | When the invoice was last viewed by the customer. | ||
| DisableAmexPayments | Bool | Within a business that is enabled to accept credit card payments, indicates if this individual invoice has been marked to not be payable by American Express. |
Default sales taxes to apply on product.
SELECT * FROM ProductDefaultSalesTaxes WHERE ProductId = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y' SELECT * FROM ProductDefaultSalesTaxes WHERE BusinessId = 'QnVzaW5lc3M6NjE2MTY4NzVlMSyOjMyNzkyMTEz'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | The unique identifier for the sales tax. | ||
| ProductId [KEY] | String |
Products.Id | Unique identifier for the product. | |
| BusinessId | String |
Businesses.Id | The unique identifier for the business. | |
| Name | String | Name of the tax. | ||
| Abbreviation | String | A short form or code representing the sales tax. | ||
| Description | String | User defined description for the sales tax. | ||
| TaxNumber | String | The tax's issued identification number from a taxing authority. | ||
| ShowTaxNumberOnInvoices | Bool | Display tax number beside the tax name on an invoice. | ||
| Rate | Decimal | Tax rate effective on 'for' date, or current date if no parameter, as a decimal (e.g. 0.15 represents 15%). | ||
| IsCompound | Bool | Is a compound tax, or stacked tax. This tax is calculated on top of the subtotal and other tax amounts. | ||
| IsRecoverable | Bool | Is a recoverable tax. It is recoverable if you can deduct the tax that you as a business paid from the tax that you have collected. | ||
| IsArchived | Bool | Is the sales tax hidden from view by default. | ||
| CreatedAt | Datetime | When the sales tax was created. | ||
| ModifiedAt | Datetime | When the sales tax was last modified. |
Tax rates with their effective dates of application.
SELECT * FROM ProductDefaultSalesTaxRates WHERE ProductId = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y' SELECT * FROM ProductDefaultSalesTaxRates WHERE BusinessId = 'QnVzaW5lc3M6NjE2MTY4NzVlMSyOjMyNzkyMTEz'
| Name | Type | References | SupportedOperators | Description |
| SalesTaxId [KEY] | String | The unique identifier for the sales tax. | ||
| ProductId [KEY] | String |
Products.Id | Unique identifier for the product. | |
| BusinessId | String |
Businesses.Id | The unique identifier for the business. | |
| Effective | Date | Date from which the sales tax rate applies. | ||
| Rate | Decimal | Tax rate applying from the effective date as a decimal (e.g. 0.15 represents 15%). |
List of products (and services) for the business.
SELECT * FROM Products WHERE BusinessId = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdl' SELECT * FROM Products WHERE Id = 'QzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdlO0N1c3RvbWVyOjMyNzkyMTEz' SELECT * FROM Products WHERE IsSold = true SELECT * FROM Products WHERE IsBought = true SELECT * FROM Products WHERE IsArchived = true SELECT * FROM Products WHERE ModifiedAt < '2020-07-03 08:28:56.0'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | Unique identifier for the product. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| Name | String | Name of the product. | ||
| Description | String | Description of the product. | ||
| UnitPrice | Decimal | Price per unit in the major currency unit. | ||
| IsSold | Bool | Is product sold by the business. Allow this product or service to be added to Invoices. | ||
| IsBought | Bool | Is product bought by the business. Allow this product or service to be added to Bills. | ||
| IncomeAccountId | String |
Accounts.Id | Unique identifier for the account. | |
| ExpenseAccountId | String |
Accounts.Id | Unique identifier for the account. | |
| IsArchived | Bool | Is the product hidden from view by default. | ||
| CreatedAt | Datetime | When the product was created. | ||
| ModifiedAt | Datetime | When the product was last modified. |
List of principal subdivisions.
SELECT * FROM Provinces WHERE CountryCode = 'US'
| Name | Type | References | SupportedOperators | Description |
| Code [KEY] | String | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | ||
| CountryCode | String |
Countries.Code | Country code. | |
| Name | String | Plain-language representation. |
List of sales taxes for the business.
SELECT * FROM SalesTaxes WHERE Id = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdl' SELECT * FROM SalesTaxes WHERE BusinessId = 'QnVzaW5lc3M6NjE2MTY4NzVlMS00YzkyLTg0Y2EtNzA0ZDM4MTcyNTdlO0N1c3RvbWVyOjMyNzkyMTEz' SELECT * FROM SalesTaxes WHERE ModifiedAt < '2020-02-26 18:02:06.171' SELECT * FROM SalesTaxes WHERE IsArchived = true
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | The unique identifier for the sales tax. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| Name | String | Name of the tax. | ||
| Abbreviation | String | A short form or code representing the sales tax. | ||
| Description | String | User defined description for the sales tax. | ||
| TaxNumber | String | The tax's issued identification number from a taxing authority. | ||
| ShowTaxNumberOnInvoices | Bool | Display tax number beside the tax name on an invoice. | ||
| Rate | Decimal | Tax rate effective on 'for' date, or current date if no parameter, as a decimal (e.g. 0.15 represents 15%). | ||
| IsCompound | Bool | Is a compound tax, or stacked tax. This tax is calculated on top of the subtotal and other tax amounts. | ||
| IsRecoverable | Bool | Is a recoverable tax. It is recoverable if you can deduct the tax that you as a business paid from the tax that you have collected. | ||
| IsArchived | Bool | Is the sales tax hidden from view by default. | ||
| CreatedAt | Datetime | When the sales tax was created. | ||
| ModifiedAt | Datetime | When the sales tax was last modified. |
Tax rates with their effective dates of application
| Name | Type | References | SupportedOperators | Description |
| SalesTaxId [KEY] | String |
SalesTaxes.Id | The unique identifier for the sales tax. | |
| BusinessId | String |
Businesses.Id | The unique identifier for the business. | |
| Effective | Date | Date from which the sales tax rate applies. | ||
| Rate | Decimal | Tax rate applying from the effective date as a decimal (e.g. 0.15 represents 15%). |
List of vendors for the business.
SELECT * FROM Vendors WHERE Id = 'QnVzaW5lc3M6NjE2MTYtYzVlMS00YzkyLTg0Y2DM4MTcyNTdl' SELECT * FROM Vendors WHERE ModifiedAt < '2020-02-26 18:02:06.171'
| Name | Type | References | SupportedOperators | Description |
| Id [KEY] | String | Unique identifier for the customer. | ||
| BusinessId | String |
Businesses.id | The unique identifier for the business. | |
| Name | String | Name or business name of the vendor. | ||
| AddressLine1 | String | Address line 1 (Street address/PO Box/Company name). | ||
| AddressLine2 | String | Address line 2 (Apartment/Suite/Unit/Building). | ||
| AddressCity | String | City/District/Suburb/Town/Village. | ||
| AddressProvinceCode | String |
Provinces.Code | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | |
| AddressCountryCode | String |
Countries.Code | Country code. | |
| AddressPostalCode | String | Zip/Postal Code. | ||
| FirstName | String | The first name of the principal contact. | ||
| LastName | String | The last name of the principal contact. | ||
| DisplayId | String | User defined id for the vendor. Commonly referred to as Account Number. | ||
| String | Email of the principal vendor. | |||
| Mobile | String | The mobile number of the vendor. | ||
| Phone | String | The phone number of the vendor. | ||
| Fax | String | Fax number of the vendor. | ||
| TollFree | String | Toll-free number of the vendor. | ||
| Website | String | Website address of the vendor. | ||
| InternalNotes | String | Internal notes about the vendor. | ||
| CurrencyCode | String |
Currencies.Code | Currency code. | |
| ShippingName | String | Name or business name of the customer. | ||
| ShippingAddressLine1 | String | Address line 1 (Street address/PO Box/Company name). | ||
| ShippingAddressLine2 | String | Address line 2 (Apartment/Suite/Unit/Building). | ||
| ShippingAddressCity | String | City/District/Suburb/Town/Village. | ||
| ShippingAddressProvinceCode | String |
Provinces.Code | [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) identifier. | |
| ShippingAddressCountryCode | String |
Countries.Code | Country code. | |
| ShippingAddressPostalCode | String | Zip/Postal Code. | ||
| ShippingPhone | String | Telephone number of the customer. | ||
| ShippingInstructions | String | Delivery instructions for handling. | ||
| CreatedAt | Datetime | When the vendor was created. | ||
| ModifiedAt | Datetime | When the vendor was last modified. | ||
| IsArchived | Bool | Whether or not the vendor is archived. |
| プロパティ | 説明 |
| AuthScheme | The type of authentication to use when connecting to Wave Financial. |
| APIToken | The API token obtained when you register a Wave Financial application. |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバー(ProxyServer 接続プロパティで設定)のTCP ポート。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーに紐付けられたパスワード。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプ。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
| プロパティ | 説明 |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| Other | 特定のユースケースに対して追加の隠しプロパティを指定します。これらは通常のprovider の機能では必要ありません。複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | The type of authentication to use when connecting to Wave Financial. |
| APIToken | The API token obtained when you register a Wave Financial application. |
The type of authentication to use when connecting to Wave Financial.
The API token obtained when you register a Wave Financial application.
You can obtain an API Token using the following steps:
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
TLS/SSL 接続を使用する場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。コンピュータによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint (hex 値はスペースおよびコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint (hex 値はスペースおよびコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
Note:デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し、次のプロキシタイプのいずれかに接続するには、ProxyAutoDetect をfalse に設定します。
次の表は、サポートされている各プロトコルのポート番号情報です。
| プロトコル | デフォルトポート | 説明 |
| TUNNEL | 80 | Sync App がWave Financial への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。 |
| SOCKS4 | 1080 | Sync App がWave Financial への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。 |
| SOCKS5 | 1080 | Sync App がWave Financial にデータを送信するポート。SOCKS 5 プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで使用するTCP ポートを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバー(ProxyServer 接続プロパティで設定)のTCP ポート。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーに紐付けられたパスワード。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプ。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。 |
provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
この接続プロパティをTrue に設定すると、Sync App は既存のプロキシサーバー構成についてシステムプロキシ設定をチェックします(プロキシサーバーの詳細を手動で入力する必要はありません)。
この接続プロパティは他のプロキシ設定より優先されます。特定のプロキシサーバーに接続するためにSync App を手動で構成する場合は、False に設定します。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーを通じてのみHTTP トラフィックをルーティングします。ProxyAutoDetect がTrue に設定されている場合(デフォルト)、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーを介してHTTP トラフィックをルーティングします。
クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバー(ProxyServer 接続プロパティで設定)のTCP ポート。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーポートを通じてのみHTTP トラフィックをルーティングします。ProxyAutoDetect がTrue に設定されている場合(デフォルト)、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーポートを介してHTTP トラフィックをルーティングします。
その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
認証タイプは次のいずれかです。
"NONE" 以外のすべての値については、ProxyUser およびProxyPassword 接続プロパティも設定する必要があります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyUser に設定する値 |
| BASIC | プロキシサーバーに登録されているユーザーのユーザー名。 |
| DIGEST | プロキシサーバーに登録されているユーザーのユーザー名。 |
| NEGOTIATE | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NTLM | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このユーザー名を使用します。ProxyAutoDetect がTrue に設定されている場合(デフォルト)、Sync App は代わりにシステムのプロキシ設定で指定されているユーザー名を使用します。
ProxyUser 接続プロパティで指定されたユーザーに紐付けられたパスワード。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyPassword に設定する値 |
| BASIC | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| DIGEST | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| NEGOTIATE | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NTLM | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このパスワードを使用します。ProxyAutoDetect がTrue に設定されている場合(デフォルト)、Sync App は代わりにシステムのプロキシ設定で指定されているパスワードを使用します。
ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプ。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この接続プロパティには、以下の値を設定できます。
| AUTO | デフォルト設定。ProxyServer がHTTPS URL に設定されている場合、Sync App は、TUNNEL オプションを使用します。ProxyServer がHTTP URL に設定されている場合、コンポーネントはNEVER オプションを使用します。 |
| ALWAYS | 接続は、常にSSL 有効となります。 |
| NEVER | 接続は、SSL 有効になりません。 |
| TUNNEL | 接続はトンネリングプロキシ経由で行われます。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリスト。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Sync App はデフォルトでシステムプロキシ設定を使用するため、それ以上の設定は必要ありません。この接続にプロキシ例外を明示的に設定する場合は、ProxyAutoDetect をFalse に設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
このプロパティは、含めるログモジュールを指定することでログファイルの内容をカスタマイズすることができます。 ログモジュールは、クエリ実行、メタデータ、SSL 通信などの異なる領域にログ情報を分類します。 各モジュールは4文字のコードで表され、文字の名前の場合は末尾にスペースが必要なものもあります。
例えば、EXEC はクエリ実行をログに記録し、INFO は一般的なプロバイダーメッセージをログに記録します。 複数のモジュールを含めるには、次のように名前をセミコロンで区切ります:INFO;EXEC;SSL。
Verbosity 接続プロパティは、このプロパティで指定されたモジュールベースのフィルタリングよりも優先されます。 Verbosity レベルを満たし、指定されたモジュールに属するログエントリのみが記録されます。 利用可能なすべてのモジュールをログファイルに含めるには、このプロパティを空白のままにします。
利用可能なモジュールの完全なリストとログの設定に関する詳細な手引きについては、ログ の「高度なログの記録」セクションを参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は%APPDATA%\\CData\\WaveFinancial Data Provider\\Schema となり、%APPDATA%はユーザーのコンフィギュレーションディレクトリに設定されます:
| プラットフォーム | %APPDATA% |
| Windows | APPDATA 環境変数の値 |
| Linux | ~/.config |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
データベースによっては、利用可能なすべてのテーブルをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にテーブルのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なテーブルがたくさんあり、すでに作業したいテーブルが決まっている場合、このプロパティを使用して対象のテーブルのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、表示する各テーブルを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するテーブルが混同されることを防ぎます。
レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。
データベースによっては、利用可能なすべてのビューをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にビューのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なビューがたくさんあり、すでに作業したいビューが決まっている場合、このプロパティを使用して対象のビューのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| Other | 特定のユースケースに対して追加の隠しプロパティを指定します。これらは通常のprovider の機能では必要ありません。複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
このプロパティは、集計やGROUP BY 句を含まないクエリに対してSync App が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。
特定のユースケースに対して追加の隠しプロパティを指定します。これらは通常のprovider の機能では必要ありません。複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。
このプロパティは、シニアユーザーが特定のシナリオに対して隠しプロパティを設定できるようにします。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティをセミコロン区切りのリストで定義できます。
Note: 特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。
複数のプロパティをセミコロン区切りリストで指定します。
| DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
| ConvertDateTimeToGMT | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換するかどうかを決定します。 |
| RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"
すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
このプロパティは、Sync App が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Sync App は操作をキャンセルして例外をスローします。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
このプロパティを使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。次に例を示します。
{
"MyView": {
"query": "SELECT * FROM Invoices WHERE MyColumn = 'value'"
},
"MyView2": {
"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
}
}
このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。 例:UserDefinedViews=C:\Path\To\UserDefinedViews.json。 このプロパティを使用すると、指定されたビューのみがSync App によって検知されます。
詳しくは、ユーザー定義ビュー を参照してください。