Sage 50 UK Connector for CData Sync

Build 25.0.9540
  • Sage 50 UK
    • 接続の確立
    • 高度な機能
      • SSL の設定
      • ファイアウォールとプロキシ
    • データモデル
      • テーブル
        • Commodities
        • Contacts
        • PurchaseOrders
        • SalesCredits
        • SalesInvoices
        • SalesOrders
        • TradingAccounts
      • ビュー
        • BankAccounts
        • FinancialAccounts
        • Interactions
        • Prices
        • Projects
        • PurchaseOrderDeliveries
        • PurchaseOrderDeliveryLineItems
        • PurchaseOrderLineItems
        • Receipts
        • SalesCreditLineItems
        • SalesInvoiceLineItems
        • SalesOrderDeliveries
        • SalesOrderDeliveryLineItems
        • SalesOrderLineItems
        • TaxCodes
        • TradingActivities
      • ストアドプロシージャ
        • ComputePrice
    • 接続文字列オプション
      • Authentication
        • AuthScheme
        • URL
        • User
        • Password
      • SSL
        • SSLServerCert
      • Firewall
        • FirewallType
        • FirewallServer
        • FirewallPort
        • FirewallUser
        • FirewallPassword
      • Proxy
        • ProxyAutoDetect
        • ProxyServer
        • ProxyPort
        • ProxyAuthScheme
        • ProxyUser
        • ProxyPassword
        • ProxySSLType
        • ProxyExceptions
      • Logging
        • LogModules
      • Schema
        • Location
        • BrowsableSchemas
        • Tables
        • Views
      • Miscellaneous
        • MaxRows
        • Other
        • Pagesize
        • PseudoColumns
        • Timeout
        • UserDefinedViews
    • Third Party Copyrights

Sage 50 UK Connector for CData Sync

概要

CData Sync App は、Sage 50 UK データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。

Sage 50 UK コネクタはCData Sync アプリケーションから使用可能で、Sage 50 UK からデータを取得して、サポートされている任意の同期先に移動できます。

Sage 50 UK バージョンサポート

The Sync App models data in Sage 50 UK 2012 and above as relational tables. Note that for v28 and later, you must install the Sdata adapter prior to using Sage 50 UK driver. See the Sage 50 UK documentation for more information.

Sage 50 UK Connector for CData Sync

接続の確立

Sage 50 UK への接続を追加

Sage 50 UK への接続を追加するには:

  1. アプリケーションコンソールで、接続ページに移動します。
  2. 接続の追加パネルで、追加したい接続のアイコンを選択します。
  3. Sage 50 UK アイコンが利用できない場合は、Add More アイコンをクリックしてCData サイトからSage 50 UK コネクタをダウンロードおよびインストールします。

必須プロパティについては、設定タブを参照してください。

通常必須ではない接続プロパティについては、高度な設定タブを参照してください。

接続の前に

v28 以降では、Sage 50 UK のドライバーを使用する前に、Sdata アダプターをインストールする必要があります。詳しくは、Sage 50 UK ドキュメントを参照してください。

Sage 50 UK への接続

Sync App は、Sage 50 UK のインストールに含まれるSData REST API 経由でSage 50 UK データに接続します。SData では、ローカルの企業データセットやネットワークドライブ上のデータセットにアクセスできます。

Sage SData Service を設定したのち、以下の手順で接続すると、URL プロパティに希望する企業データセットのアドレスが設定されます。アドレスを取得するには、以下を行います。

  1. Sage 50 UK ソフトウェアを開いていない場合は、開きます。
  2. Tools -> Internet Options を選択します。
  3. Sdatasettings タブを選択します。
  4. 接続したいSage 50 ソフトウェアアプリケーションの横にあるDetails をクリックします。企業名のリストと対応するデータセットのアドレスを含むウィンドウが開きます。
  5. URL プロパティを、目的の企業の横にあるアドレスフィールドの値に設定します。

Sage 50 UK への認証

User プロパティとPassword プロパティに、有効なSage 50 UK ユーザー資格情報を設定する必要があります。これらの値は、Sage 50 UK ソフトウェアにログインするために使用される値と同じになります。SData サービスへのHTTP ダイジェストで認証するには、AuthScheme をDigest に設定します。それ以外の場合は、Basic AuthScheme が使用されます。

Note:接続先のデータセットが表示されない場合は、Sage 50 UK フォルダの場所の権限が正しくない可能性があります。ネットワークドライブ上のデータセットに接続する場合は、次のことを確認してください。

  • SData プロバイダとして使用しているマシン上のフォルダへのUNC パスを使用します。
  • SData サービスのログイン権限は、ネットワーク共有またはマップドライブに対する完全な権限を持つユーザーに設定します。

Starting the SData Service

The CData Sync App connects to Sage 50 UK via the Sage SData service (which is Sage's Web toolkit for connecting to Sage instances) that is built into the Sage 50 UK software. SData allows for remote access to Sage software applications. By default, Sage UK 2015 instances will have SData turned on and ready for use.

You can follow the steps below to verify that the SData service is started.

  1. If you have not already done so, open Sage 50.
  2. Navigate to Tools > Internet Options. The Internet Options window is displayed.
  3. Select the Sdatasettings tab. A list is displayed of Sage software applications that are currently available.
  4. To turn the SData service on for the application, select the On option.
  5. If the SData Service Status does not read "SData is currently running", click the Advanced button.
  6. In the dialog that is displayed, specify the Port Number desired when making the connection and click the Restart button.
  7. If the Windows Firewall button is enabled, click this button to unblock the port. If you have any additional firewalls on the machine, ensure that they are configured to allow connections to be made on the specified port number.

Once you apply any changes, you can then establish a connection to your Sage 50 UK software.

Enabling HTTPS Support

The Sage SData service provides secure and encrypted connections via HTTPS. Data confidentiality and the authenticity of the server are provided by digital certificates. If you do not have a certificate, use IIS to generate a self-signed certificate.

You can follow the steps below to configure the SData service to use a certificate; the Sync App will validate this certificate against the system trust store by default. If you generated a self-signed certificate, you can add the certificate to this certificate store or set SSLServerCert.

See 高度な機能 for more information on configuring the Sync App for HTTPS.

Fulfilling the Certificate Requirements

The certificate has the following requirements:

  • The certificate must have a full valid trust chain.
  • The common name (CN) for the certificate must match the machine/domain name where the SData service is running. To ensure that the CN is correct, generate the self-signed certificate on the machine where Sage 50 SData is running.
  • The certificate must be added to the personal My certificate store for the Local Machine account.

Configuring the SData Service for TLS/SSL

You can then configure the SData service to use the certificate:

  1. Navigate to C:\Program Files (x86)\Common Files\Sage SData and open Sage.SData.Service.Config.UI.exe.
  2. Click the Advanced button. The SData Configuration window is displayed.
  3. Select the Enable HTTPS Access option and select the port desired.
  4. If you have any firewalls on your machine, make sure the ports specified are not blocked.
  5. Click the button next to the Certificate box.
  6. In the resulting dialog, select the certificate.

    If you select a certificate and do not see the certificate name populated in the Certificate textbox, this is most likely due to missing extended properties within the certificate. The extended properties include thumbprint, thumbprint algorithm, key usage, and enhanced key usage.

    Use IIS to avoid this issue: IIS automatically populates these fields when generating a self-signed certificate.

  7. Click OK to restart the server.
  8. Verify that the Enable HTTPS option is selected in the SData configuration window.

Troubleshooting

If the SData configuration window is closed and reopened but the Enable HTTPS option is not enabled, this is most likely caused by the Sage.SData.Service.exe.config file not being updated properly. Follow the steps below to use the alternate configuration file below.

You will need the certificate thumbprint. Note that the thumbprint data includes spaces. The thumbprint data can be obtained using Windows services. You can also access the thumbprint in the SData configuration window:

  1. If you have not already done so, open the Sage.SData.Service.Config.UI.exe application and open the advanced settings.
  2. Click the button next to the Certificate box.
  3. In the Windows security dialog, click "Click here to view certificate properties". The Certificate Details window is displayed.
  4. On the Details tab, copy the value in the Thumbprint field.
Use this value in the CertificateLookupValue setting in the configuration file. For example:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="Sage.SData.Service.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="Sage.Integration.Server.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
<section name="Sage.Common.Syndication.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<applicationSettings>
<Sage.SData.Service.Properties.Settings>
<setting name="DigestTimeout" serializeAs="String">
<value>12000000000</value>
</setting>
<setting name="EnableBasicAuthentication" serializeAs="String">
<value>True</value>
</setting>
<setting name="WebAppPath" serializeAs="String">
<value />
</setting>
<setting name="EnableSSL" serializeAs="String">
<value>True</value>
</setting>
<setting name="Port" serializeAs="String">
<value>443</value>
</setting>
</Sage.SData.Service.Properties.Settings>
<Sage.Integration.Server.Properties.Settings>
<setting name="EnableBroadcast" serializeAs="String">
<value>False</value>
</setting>
</Sage.Integration.Server.Properties.Settings>
<Sage.Common.Syndication.Properties.Settings>
<setting name="IPAddress" serializeAs="String">
<value />
</setting>
<setting name="Server" serializeAs="String">
<value>sdata</value>
</setting>
<setting name="EnableSSLPort" serializeAs="String">
<value>True</value>
</setting>
<setting name="Port" serializeAs="String">
<value>5493</value>
</setting>
<setting name="SettingsProviderType" serializeAs="String">
<value>Sage.Common.Syndication.ConfigurationSyndicationSettings, Sage.Common.Syndication</value>
</setting>
<setting name="PathPrefix" serializeAs="String">
<value />
</setting>
<setting name="DoNotUseRegistry" serializeAs="String">
<value>False</value>
</setting>
<setting name="EnableStandardPort" serializeAs="String">
<value>True</value>
</setting>
<setting name="SSLPort" serializeAs="String">
<value>5494</value>
</setting>
<setting name="CertificateLookupValue" serializeAs="String">
<value>ENTER YOUR CERTIFICATE THUMBPRINT HERE</value>
</setting>
<setting name="CertificateLookupType" serializeAs="String">
<value>Thumbprint</value>
</setting>
</Sage.Common.Syndication.Properties.Settings>
</applicationSettings>
</configuration>

Sage 50 UK Connector for CData Sync

高度な機能

このセクションでは、Sage 50 UK Sync App の高度な機能を厳選して説明します。

ユーザー定義ビュー

Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。

SSL の設定

SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。

ファイアウォールとプロキシ

Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。

クエリ処理

Sync App は、Sage 50 UK にできるだけ多くのSELECT ステートメント処理をオフロードし、残りのクエリをクライアント側のインメモリで処理します。

詳しくは、クエリ処理 を参照してください。

ログ

CData ログを調整するために使用可能な設定の概要については、ログ を参照してください。基本的なロギングに必要なのは2つの接続プロパティだけですが、より詳細なロギングをサポートする多くの機能があり、LogModules 接続プロパティを使用してロギングする情報のサブセットを指定することができます。

Sage 50 UK Connector for CData Sync

SSL の設定

SSL 設定のカスタマイズ

TLS を有効化するには、以下を設定します。

  • URL:接続文字列の前にhttps:// を付加します。

この設定により、Sync App はサーバーとのTLS ネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。

別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。

Sage 50 UK Connector for CData Sync

ファイアウォールとプロキシ

Firewall またはProxy 経由の接続

HTTP プロキシ

HTTP プロキシへの認証には、以下のように設定します。

  • ProxyServer:HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレス。
  • ProxyPort:プロキシサーバーが起動しているTCP ポート。
  • ProxyAuthScheme:プロキシサーバーに対して認証する際にSync App が使用する認証方法。
  • ProxyUser:プロキシサーバーに登録されているユーザーアカウントのユーザー名。
  • ProxyPassword:ProxyUser に紐付けられたパスワード。

その他のプロキシ

次のプロパティを設定します。

  • プロキシベースのファイヤーウォールを使用するには、FirewallType、FirewallServer、およびFirewallPort を設定します。
  • 接続をトンネルするには、FirewallType をTUNNEL に設定します。
  • 認証するには、FirewallUser とFirewallPassword を設定します。
  • SOCKS プロキシへの認証には、さらにFirewallType をSOCKS5 に設定します。

Sage 50 UK Connector for CData Sync

データモデル

CData Sync App は、Sage 50 UK エンティティをリレーショナルテーブルおよびビューにモデル化します。

テーブル

テーブル では、利用可能なテーブルを説明します。

ビュー

ビュー は変更ができないテーブルです。一般的に、読み取り専用のデータはビューとして表示されます。

Sage 50 UK Connector for CData Sync

テーブル

Sync App はSage 50 UK のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。

Sage 50 UK Connector for CData Sync テーブル

Name Description
Commodities Create, Update and Query Commodities (Products and Services) within Sage UK 50 Accounts.
Contacts Create, Update, Delete, and Query Contacts within Sage UK 50 Accounts.
PurchaseOrders Create, Update, Delete, and Query PurchaseOrders within Sage UK 50 Accounts.
SalesCredits Query SalesCredits within Sage UK 50 Accounts.
SalesInvoices Query SalesInvoices within Sage UK 50 Accounts.
SalesOrders Create, Update, Delete, and Query SalesOrders within Sage UK 50 Accounts.
TradingAccounts Create, Update, Delete, and Query TradingAccounts within Sage UK 50 Accounts.

Sage 50 UK Connector for CData Sync

Commodities

Create, Update and Query Commodities (Products and Services) within Sage UK 50 Accounts.

Table Specific Information

The Commodities table allows you to select, insert, and update Commodities (Products and Services) within a Sage 50 UK company dataset.

Select

The Commodities table returns the products and services for a Sage 50 UK company dataset.

SELECT * FROM Commodities WHERE ProductCode LIKE 'ABC%'

Insert

To create a new Commodity record, the Description field is required.


INSERT INTO Commodities (ProductCode, Description, SupplierReference, CatalogueNumber, WebDescription, Cost)
VALUES ('MNP', 'MyNewProduct', 'UNI001', 'U143', 'My Web Description', 5.49)

Update

Any field that is not read-only can be updated.


UPDATE Commodities SET Description = 'My New Description' WHERE CommodityUUID = '8c47b43a-7115-7419-9679-7c72586e67d1'

Columns

Name Type ReadOnly Description
CommodityUUID [KEY] String True

Commodity UUID

CommodityIdentifierType String False

Commodity CommodityIdentifier Type

ProductCode String False

Commodity Product Code

Reference2 String False

Commodity Reference2

Status String False

Commodity Status

Description String False

Commodity Description

WebDescription String False

Commodity Web Description

AlternativeDescription2 String False

Commodity Alternative Description 2

Type String True

Commodity Type (Category)

BuyingAllowedFlag Boolean False

Commodity Buying Allowed Flag

SellingAllowedFlag Boolean False

Commodity Selling Allowed Flag

CatalogueNumber String False

Commodity Catalogue (Part) Number

SupplierReference String False

Commodity Supplier reference

ManufacturerCompany String False

Commodity Manufacturer Company

Weight Decimal False

Commodity Weight

Classification String False

Commodity Classification

Cost Decimal False

Commodity Cost

InStock Decimal True

Commodity Amount in Stock

Allocated Decimal True

Commodity Amount Allocated

FreeStock Decimal True

Commodity Free Stock

OnOrder Decimal True

Commodity Amount on Order

SalesPrice Decimal True

Commodity Sales Price in base currency

UnitDescription String True

Commodity UnitOfMeasure Description

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

Contacts

Create, Update, Delete, and Query Contacts within Sage UK 50 Accounts.

Table Specific Information

The Contacts table allows you to select, insert, update, and delete contacts within a Sage 50 UK company dataset.

Select

The Contacts table returns the contacts contained within a Sage 50 UK company dataset.

SELECT * FROM Contacts WHERE TradingAccountReference = 'ABC123'

Insert

To create a new Contacts record, the TradingAccountReference and Type fields are required.


INSERT INTO Contacts (Title, FirstName, MiddleName, FamilyName, Suffix, TradingAccountReference, Type, PostalAddressAddress1, PostalAddressTownCity, PostalAddressStateRegion, PostalAddressZipPostCode, PostalAddressType, PostalAddressDescription, Phone1Text, Phone1Type, Phone2Text, Phone2Type, EmailAddress) 
VALUES (True, 'Dr.', 'INSERT', 'ME', 'NOW', 'Jr.', 'CNTCTEST', 'Customer Delivery Contact', '123 Main St', 'Durham', 'NC', '12345', 'Shipping', 'NEW Description', '123-456-7890', 'Business Phone', '555-444-1111', 'Fax', '[email protected]')

Update

Any field that is not read-only can be updated. Requirements exist for some fields of a Contact record:

  • To update an existing postal address, PostalAddressUUID is required. Otherwise if postal address is null, specify the details and leave the UUID empty.
  • To update an existing Phone1, Phone1UUID is required. Otherwise if Phone1 is empty, specify the details and leave the UUID empty.
  • To update an existing Phone2, Phone2UUID is required. Otherwise if Phone2 is empty, specify the details and leave the UUID empty.
  • To update an existing email address, EmailUUID is required. Otherwise if email is empty, specify the details and leave the UUID empty.


UPDATE Contacts SET EmailAddress = '[email protected]', Phone1Text = '999-999-9999'
WHERE ContactUUID = '96df2e1e-72c6-4b52-b39a-eeb42c840f87' AND Phone1UUID = 'bd621624-f78e-4dec-abf3-b8b94d8fe7a3' AND EmailUUID = 'a3f6ff1b-a80b-4019-ae5e-b1fa1bb4044d'

Delete

Deleting a Contact record will also delete all postal addresses, phone numbers, and emails associated with the Contact.


DELETE FROM Contacts WHERE ContactUUID = '96df2e1e-72c6-4b52-b39a-eeb42c840f87'

Columns

Name Type ReadOnly Description
ContactUUID [KEY] String True

Contact UUID

TradingAccountReference String False

Contact Trading Account Reference

Reference2 String False

Contact Reference2

Type String False

Contact Type

FullName String False

Contact Full Name. In the form: [Title] [FirstName] [MiddleName] [FamilyName] [Suffix].

Title String False

Contact Title

FirstName String False

Contact First Name

MiddleName String False

Contact Middle Name

FamilyName String False

Contact Family Name

Suffix String False

Contact Suffix

TaxReference String False

Contact Tax Reference

PrimacyIndicator Boolean False

Contact Primacy Indicator

PostalAddressUUID String True

Contact PostalAddress UUID

PostalAddressActive Boolean False

Contact PostalAddress Active Flag

PostalAddressReference String False

Contact PostalAddress Reference

PostalAddressName String False

Contact PostalAddress Name

PostalAddressDescription String False

Contact PostalAddress Description

PostalAddressAddress1 String False

Contact PostalAddress Address 1

PostalAddressAddress2 String False

Contact PostalAddress Address 2

PostalAddressTownCity String False

Contact PostalAddress TownCity

PostalAddressCounty String False

Contact PostalAddress StateRegion

PostalAddressZipPostCode String False

Contact PostalAddress ZipPost Code

PostalAddressCountry String False

Contact PostalAddress Country

PostalAddressPrimacyIndicator Boolean False

Contact PostalAddress Primacy Indicator

PostalAddressType String False

Contact PostalAddress Type

Phone1UUID String True

Contact PhoneNumber UUID

Phone1Active Boolean False

Contact PhoneNumber Active Flag

Phone1Reference String False

Contact PhoneNumber Reference

Phone1Reference2 String False

Contact PhoneNumber Reference2

Phone1Type String False

Contact PhoneNumber Type

Phone1Name String False

Contact PhoneNumber Name

Phone1Text String False

Contact PhoneNumber Text

Phone1PrimacyIndicator Boolean False

Contact PhoneNumber Primacy Indicator

Phone2UUID String True

Contact PhoneNumber UUID

Phone2Active Boolean False

Contact PhoneNumber Active Flag

Phone2Reference String False

Contact PhoneNumber reference

Phone2Reference2 String False

Contact PhoneNumber Reference2

Phone2Type String False

Contact PhoneNumber Type

Phone2Name String False

Contact PhoneNumber Name

Phone2Text String False

Contact PhoneNumber Text

Phone2PrimacyIndicator Boolean False

Contact PhoneNumber Primacy Indicator

EmailUUID String True

Contact Email UUID

EmailActive Boolean False

Contact Email Active Flag

EmailReference String False

Contact Email Reference

EmailReference2 String False

Contact Email Reference

EmailType String False

Contact Email Type

EmailAddress String False

Contact Email Address

EmailUrl String False

Contact Email mailto:URL

EmailPrimacyIndicator Boolean False

Contact Email Primacy Indicator

EmailLabel String False

Contact Email Label

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

PurchaseOrders

Create, Update, Delete, and Query PurchaseOrders within Sage UK 50 Accounts.

Table Specific Information

The PurchaseOrders table allows you to select, insert, update, and delete purchase orders within a Sage 50 UK company dataset.

Select

The PurchaseOrders table returns the purchase orders for a Sage 50 UK company dataset.

SELECT * FROM PurchaseOrders WHERE Date >= '1/1/2015' AND Date < '2/1/2015'

Insert

To create a new PurchaseOrder record, the TradingAccountUUID field is required.

Purchase Order Line Items are specified via an XML aggregate within the ItemsAggregate column. The columns that may be used in these aggregates are defined in the PurchaseOrderLineItems table.

The following example demonstrates how to insert a new PurchaseOrder with two line items:

INSERT INTO PurchaseOrders (TradingAccountUUID, DeliveryDate, PostalAddressName, PostalAddressType, PostalAddressAddress1, PostalAddressTownCity, PostalAddressStateRegion, ItemsAggregate) 
VALUES ('b83c940f-9d2b-4a35-bf42-28bbe07ef994', '05/05/2015', 'Purchase Order Billing Address', 'Billing', '123 Main St', 'Chapel Hill', 'NC', 
'<PurchaseOrderLineItems>
<Row><CommodityUUID>0a47b43d-7115-4863-9689-1a53123e67c8</CommodityUUID><Quantity>1</Quantity><ActualPrice>1.99</ActualPrice></Row>
<Row><CommodityUUID>586df2bb-7702-4228-b464-e8d509148547</CommodityUUID><Quantity>4</Quantity><ActualPrice>4.99</ActualPrice></Row>
</PurchaseOrderLineItems>')

Update

Any field that is not read-only can be updated.

When updating a PurchaseOrder record, PostalAddressUUID is required when updating a postal address. Note that purchase order line items cannot be updated nor deleted.


UPDATE PurchaseOrders SET PostalAddressZipPostCode = '12345'
WHERE PurchaseOrderUUID = '1b47b43a-7115-4863-9679-1a78636e67c1' AND PostalAddressUUID = '28915e09-b2a1-47e1-b193-741b32ba8ba0'

Delete

Deleting a PurchaseOrder record will also delete all line items and postal addresses associated with the PurchaseOrder.


DELETE FROM PurchaseOrders WHERE PurchaseOrderUUID = '1b47b43a-7115-4863-9679-1a78636e67c1'

Columns

Name Type ReadOnly Description
PurchaseOrderUUID [KEY] String True

PurchaseOrder UUID

TradingAccountUUID String False

Trading Account UUID associated with the PurchaseOrder

ContactUUID String True

PurchaseOrder Seller Contact UUID

PurchaseOrderNumber String False

PurchaseOrder Reference

Reference2 String False

PurchaseOrder Reference2

Status String False

PurchaseOrder Status

StatusFlagText String False

PurchaseOrder Status Flag Text

SupplierReference String False

PurchaseOrder Supplier Reference

CopyFlag Boolean False

PurchaseOrder Copy Flag

DeliveryDate Date False

PurchaseOrder Delivery Date

CarrierNetPrice Decimal False

PurchaseOrder Carrier Net Price

CarrierTaxPrice Decimal False

PurchaseOrder Carrier Tax Price

CarrierTotalPrice Decimal False

PurchaseOrder Carrier Gross Price

CarrierReference String False

PurchaseOrder Carrier reference

Currency String False

PurchaseOrder Currency

OCCurrencyExchangeRate Decimal False

PurchaseOrder Operating Company Currency Exchange Rate

OCCurrencyExchangeRateOperator String False

PurchaseOrder Operating Company Currency Exchange Rate Operator

Date Date False

PurchaseOrder Date

User String False

PurchaseOrder User

LineCount Decimal True

PurchaseOrder Line Count

Text1 String False

PurchaseOrder Text1

Text2 String False

PurchaseOrder Text2

NetTotal Decimal True

PurchaseOrder Net Total

TaxTotal Decimal True

PurchaseOrder Tax Total

GrossTotal Decimal True

PurchaseOrder Gross Total

OnOrder String False

PurchaseOrder On Order Status

ItemsAggregate String False

An aggregate of the line item data, which is used for adding a purchase order and its line items.

PostalAddressUUID String True

PurchaseOrder PostalAddress UUID

PostalAddressActive Boolean False

PurchaseOrder PostalAddress Active Flag

PostalAddressReference String False

PurchaseOrder PostalAddress Reference

PostalAddressName String False

PurchaseOrder PostalAddress Name

PostalAddressDescription String False

PurchaseOrder PostalAddress Description

PostalAddressAddress1 String False

PurchaseOrder PostalAddress Address 1

PostalAddressAddress2 String False

PurchaseOrder PostalAddress Address 2

PostalAddressAddress3 String False

PurchaseOrder PostalAddress Address 3

PostalAddressAddress4 String False

PurchaseOrder PostalAddress Address 4

PostalAddressTownCity String False

PurchaseOrder PostalAddress TownCity

PostalAddressCounty String False

PurchaseOrder PostalAddress County

PostalAddressStateRegion String False

PurchaseOrder PostalAddress StateRegion

PostalAddressZipPostCode String False

PurchaseOrder PostalAddress ZipPost Code

PostalAddressCountry String False

PurchaseOrder PostalAddress Country

PostalAddressPrimacyIndicator Boolean False

PurchaseOrder PostalAddress Primacy Indicator

PostalAddressType String False

PurchaseOrder PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesCredits

Query SalesCredits within Sage UK 50 Accounts.

Table Specific Information

The SalesCredits table allows you to select, insert, update, and delete sales credits within a Sage 50 UK company dataset.

Select

The SalesCredits table returns the sales credits for a Sage 50 UK company dataset.

SELECT * FROM SalesCredits WHERE Date >= '1/1/2015' AND Date < '2/1/2015'

Insert

To create a new SalesCredits record, the TradingAccountUUID field is required.

Sales Credit Line Items are specified via an XML aggregate within the ItemsAggregate column. The columns that may be used in these aggregates are defined in the SalesCreditLineItems table.

The following example demonstrates how to insert a new PurchaseOrder with two line items:

INSERT INTO SalesCredits (TradingAccountUUID, Type,  PostalAddress1Name, PostalAddress1Type, PostalAddress1Address1, PostalAddress1TownCity, PostalAddress1StateRegion, PostalAddress2Name, PostalAddress2Type, PostalAddress2Address1, PostalAddress2TownCity, PostalAddress2StateRegion, ItemsAggregate) 
VALUES ('b83c940f-9d2b-4a35-bf42-28bbe07ef994', 'Product Credit Note',  'Sales Order Delivery Address', 'Shipping', '123 Main St', 'Chapel Hill', 'NC', 'Sales Order Billing Address', 'Billing', '987 Center Road', 'Chapel Hill', 'NC', 
'<SalesCreditLineItems>
<Row><CommodityUUID>03ecf74f-0f08-4667-8a59-07e6338a8b32</CommodityUUID><Quantity>1</Quantity><ActualPrice>2.99</ActualPrice></Row>
<Row><CommodityUUID>0a47b43d-7115-4863-9689-1a53123e67c8</CommodityUUID><Quantity>2</Quantity><ActualPrice>3.99</ActualPrice></Row>
</SalesCreditLineItems>')

Update

Any field that is not read-only can be updated.

When updating a SalesCredits record, PostalAddress1UUID or PostalAddress2UUID are required when updating the respective postal address. Note that sales credit line items cannot be updated nor deleted.


UPDATE SalesCredits SET PostalAddress2ZipPostCode = '12345'
WHERE SalesCreditUUID = '392235af-f45a-4c43-a275-897130e4fdc4' AND PostalAddress2UUID = '28915e09-b2a1-47e1-b193-741b32ba8ba0'

Delete

Deleting a SalesCredit record will also delete all line items and postal addresses associated with the SalesCredit.


DELETE FROM SalesCredits WHERE SalesCreditUUID = '392235af-f45a-4c43-a275-897130e4fdc4'

Columns

Name Type ReadOnly Description
SalesCreditUUID [KEY] String True

SalesCredit UUID

TradingAccountUUID String False

SalesCredit Trading Account UUID

ContactUUID String True

SalesCredit Buyer Contact UUID

CreditNumber String False

SalesCredit Reference

SalesOrderNumber String False

SalesCredit Invoice Reference

Status String False

SalesCredit Status

Type String False

SalesCredit Type

CustomerOrderNumber String False

SalesCredit Customer Reference

CopyFlag Boolean False

SalesCredit Copy Flag

Date Date False

SalesCredit Date

TaxDate Date False

SalesCredit Tax Date

CarrierNetPrice Decimal False

SalesCredit Carrier Net Price

CarrierTaxPrice Decimal False

SalesCredit Carrier Tax Price

CarrierTotalPrice Decimal False

SalesCredit Carrier Gross Price

Currency String False

SalesCredit Currency

OCCurrencyExchangeRate Decimal False

SalesCredit OperatingCompany Currency Exchange Rate

OCCurrencyExchangeRateOperator String False

SalesCredit OperatingCompany Currency Exchange Rate Operator

LineCount Decimal False

SalesCredit Line Count

SettlementDiscountAmount Decimal False

SalesCredit Settlement Discount Amount

SettlementDiscountPercent Decimal False

SalesCredit Settlement Discount Percent

SettlementDiscountIncludedInTotal Boolean False

SalesCredit Settlement Discount Included In Total

InvoiceDiscountAmount Decimal False

SalesCredit Invoice Discount Amount

InvoiceDiscountPercent Decimal False

SalesCredit Invoice Discount Percent

NetTotal Decimal True

SalesCredit Net Total

TaxTotal Decimal True

SalesCredit Tax Total

GrossTotal Decimal True

SalesCredit Gross Total

Text1 String False

SalesCredit Text1

Text2 String False

SalesCredit Text2

User String False

SalesCredit User

ItemsAggregate String False

An aggregate of the line item data, which can be used for adding a purchase order and its line items.

PostalAddress1UUID String True

SalesCredit PostalAddress UUID

PostalAddress1Active Boolean False

SalesCredit PostalAddress Active Flag

PostalAddress1Reference String False

SalesCredit PostalAddress Reference

PostalAddress1Name String False

SalesCredit PostalAddress Name

PostalAddress1Description String False

SalesCredit PostalAddress Description

PostalAddress1Address1 String False

SalesCredit PostalAddress Address 1

PostalAddress1Address2 String False

SalesCredit PostalAddress Address 2

PostalAddress1Address3 String False

SalesCredit PostalAddress Address 3

PostalAddress1Address4 String False

SalesCredit PostalAddress Address 4

PostalAddress1TownCity String False

SalesCredit PostalAddress TownCity

PostalAddress1County String False

SalesCredit PostalAddress County

PostalAddress1StateRegion String False

SalesCredit PostalAddress StateRegion

PostalAddress1ZipPostCode String False

SalesCredit PostalAddress ZipPost Code

PostalAddress1Country String False

SalesCredit PostalAddress Country

PostalAddress1PrimacyIndicator Boolean False

SalesCredit PostalAddress Primacy Indicator

PostalAddress1Type String False

SalesCredit PostalAddress Type. Sample values: Billing, Shipping.

PostalAddress2UUID String True

SalesCredit PostalAddress UUID

PostalAddress2Active Boolean False

SalesCredit PostalAddress Active Flag

PostalAddress2Reference String False

SalesCredit PostalAddress Reference

PostalAddress2Name String False

SalesCredit PostalAddress Name

PostalAddress2Description String False

SalesCredit PostalAddress Description

PostalAddress2Address1 String False

SalesCredit PostalAddress Address 1

PostalAddress2Address2 String False

SalesCredit PostalAddress Address 2

PostalAddress2Address3 String False

SalesCredit PostalAddress Address 3

PostalAddress2Address4 String False

SalesCredit PostalAddress Address 4

PostalAddress2TownCity String False

SalesCredit PostalAddress TownCity

PostalAddress2County String False

SalesCredit PostalAddress County

PostalAddress2StateRegion String False

SalesCredit PostalAddress StateRegion

PostalAddress2ZipPostCode String False

SalesCredit PostalAddress ZipPost Code

PostalAddress2Country String False

SalesCredit PostalAddress Country

PostalAddress2PrimacyIndicator Boolean False

SalesCredit PostalAddress Primacy Indicator

PostalAddress2Type String False

SalesCredit PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesInvoices

Query SalesInvoices within Sage UK 50 Accounts.

Table Specific Information

The SalesInvoices table allows you to select, insert, update, and delete sales invoices within a Sage 50 UK company dataset.

Select

The SalesInvoices table returns the sales invoices for a Sage 50 UK company dataset.

SELECT * FROM SalesInvoices WHERE Date >= '1/1/2015' AND Date < '2/1/2015'

Insert

To create a new SalesInvoices record, the TradingAccountUUID field is required.

Sales Invoice Line Items are specified via an XML aggregate within the ItemsAggregate column. The columns that may be used in these aggregates are defined in the SalesInvoiceLineItems table.
Note: For text column in SalesInvoiceLineItems, length of the string must be equal or less than 61 characters, otherwise driver will use first 61 characters.

The following example demonstrates how to insert a new SalesInvoice with two line items:

INSERT INTO SalesInvoices (TradingAccountUUID, Type, PostalAddress1Name, PostalAddress1Type, PostalAddress1Address1, PostalAddress1TownCity, PostalAddress1StateRegion, PostalAddress2Name, PostalAddress2Type, PostalAddress2Address1, PostalAddress2TownCity, PostalAddress2StateRegion, ItemsAggregate) 
VALUES ('b83c940f-9d2b-4a35-bf42-28bbe07ef994', 'Product Invoice', 'Sales Order Delivery Address', 'Shipping', '123 Main St', 'Chapel Hill', 'NC', 'Sales Order Billing Address', 'Billing', '987 Center Road', 'Chapel Hill', 'NC', '<SalesInvoiceLineItems> <Row><CommodityUUID>03ecf74f-0f08-4667-8a59-07e6338a8b32</CommodityUUID><Quantity>2</Quantity><ActualPrice>2.99</ActualPrice></Row> <Row><CommodityUUID>0a47b43d-7115-4863-9689-1a53123e67c8</CommodityUUID><Quantity>1</Quantity><ActualPrice>4.99</ActualPrice></Row>
</SalesInvoiceLineItems>')

Update

Any field that is not read-only can be updated.

When updating a SalesInvoices record, PostalAddress1UUID and PostalAddress2UUID are required when updating a postal address (respectively). Note that sales invoice line items cannot be updated nor deleted.


UPDATE SalesInvoices SET PostalAddress2ZipPostCode = '12345'
WHERE SalesInvoiceUUID = '392235af-f45a-4c43-a275-897130e4fdc4' AND PostalAddress2UUID = '28915e09-b2a1-47e1-b193-741b32ba8ba0'

Delete

Deleting a SalesInvoice record will also delete all line items and postal addresses associated with the SalesInvoice.


DELETE FROM SalesInvoices WHERE SalesInvoiceUUID = '392235af-f45a-4c43-a275-897130e4fdc4'

Columns

Name Type ReadOnly Description
SalesInvoiceUUID [KEY] String True

SalesInvoice UUID

TradingAccountUUID String False

SalesOrder Trading Account UUID

ContactUUID String True

SalesOrder Buyer Contact UUID

InvoiceNumber String False

SalesInvoice Reference

SalesOrderNumber String False

SalesInvoice Reference2

Status String False

SalesInvoice Status

Type String False

SalesInvoice Type

CustomerOrderNumber String False

SalesInvoice Customer Reference

Date Date False

SalesInvoice Date

TaxDate Date False

SalesInvoice Tax Date

CarrierNetPrice Decimal False

SalesInvoice Carrier Net Price

CarrierTaxPrice Decimal False

SalesInvoice Carrier Tax Price

CarrierTotalPrice Decimal False

SalesInvoice Carrier Gross Price

Currency String False

SalesInvoice Currency

OCCurrencyExchangeRate Decimal False

SalesInvoice Operating Company Currency Exchange Rate

OCCurrencyExchangeRateOperator String False

SalesInvoice Operating Company Currency Exchange Rate Operator

LineCount Decimal True

SalesInvoice Line Count

SettlementDiscountAmount Decimal False

SalesInvoice Settlement Discount Amount

SettlementDiscountPercent Decimal False

SalesInvoice Settlement Discount Percent

SettlementDiscountIncludedInTotal Boolean False

SalesInvoice Settlement Discount Included In Total

InvoiceDiscountAmount Decimal False

SalesInvoice Invoice Discount Amount

InvoiceDiscountPercent Decimal False

SalesInvoice Invoice Discount Percent

NetTotal Decimal True

SalesInvoice Net Total

TaxTotal Decimal True

SalesInvoice Tax Total

GrossTotal Decimal True

SalesInvoice Gross Total

Text1 String False

SalesInvoice Text1

Text2 String False

SalesInvoice Text2

User String False

SalesInvoice User

PaymentDue Date True

SalesInvoice Payment Due

ItemsAggregate String False

An aggregate of the line item data, which can be used for adding a purchase order and its line items.

PostalAddress1UUID String True

SalesOrder PostalAddress UUID

PostalAddress1Active Boolean False

SalesOrder PostalAddress Active Flag

PostalAddress1Reference String False

SalesOrder PostalAddress Reference

PostalAddress1Name String False

SalesOrder PostalAddress Name

PostalAddress1Description String False

SalesOrder PostalAddress Description

PostalAddress1Address1 String False

SalesOrder PostalAddress Address 1

PostalAddress1Address2 String False

SalesOrder PostalAddress Address 2

PostalAddress1Address3 String False

SalesOrder PostalAddress Address 3

PostalAddress1Address4 String False

SalesOrder PostalAddress Address 4

PostalAddress1TownCity String False

SalesOrder PostalAddress TownCity

PostalAddress1County String False

SalesOrder PostalAddress County

PostalAddress1StateRegion String False

SalesOrder PostalAddress StateRegion

PostalAddress1ZipPostCode String False

SalesOrder PostalAddress ZipPost Code

PostalAddress1Country String False

SalesOrder PostalAddress Country

PostalAddress1PrimacyIndicator Boolean False

SalesOrder PostalAddress Primacy Indicator

PostalAddress1Type String False

SalesOrder PostalAddress Type. Sample values: Billing, Shipping.

PostalAddress2UUID String True

SalesOrder PostalAddress UUID

PostalAddress2Active Boolean False

SalesOrder PostalAddress Active Flag

PostalAddress2Reference String False

SalesOrder PostalAddress Reference

PostalAddress2Name String False

SalesOrder PostalAddress Name

PostalAddress2Description String False

SalesOrder PostalAddress Description

PostalAddress2Address1 String False

SalesOrder PostalAddress Address 1

PostalAddress2Address2 String False

SalesOrder PostalAddress Address 2

PostalAddress2Address3 String False

SalesOrder PostalAddress Address 3

PostalAddress2Address4 String False

SalesOrder PostalAddress Address 4

PostalAddress2TownCity String False

SalesOrder PostalAddress TownCity

PostalAddress2County String False

SalesOrder PostalAddress County

PostalAddress2StateRegion String False

SalesOrder PostalAddress StateRegion

PostalAddress2ZipPostCode String False

SalesOrder PostalAddress ZipPost Code

PostalAddress2Country String False

SalesOrder PostalAddress Country

PostalAddress2PrimacyIndicator Boolean False

SalesOrder PostalAddress Primacy Indicator

PostalAddress2Type String False

SalesOrder PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesOrders

Create, Update, Delete, and Query SalesOrders within Sage UK 50 Accounts.

Table Specific Information

The SalesOrders table allows you to select, insert, update, and delete sales orders within a Sage 50 UK company dataset.

Select

The SalesOrders table returns the sales orders for a Sage 50 UK company dataset.

SELECT * FROM SalesOrders WHERE Date >= '1/1/2015' AND Date < '2/1/2015'

Insert

To create a new SalesOrder record, the TradingAccountUUID field is required.

Sales Order Line Items are specified via an XML aggregate within the ItemsAggregate column. The columns that may be used in these aggregates are defined in the SalesOrderLineItems table. Note: a CommodityUUID must be set when adding a SalesOrderLineItem, as only existing Commodities can be referenced (to create a new Commodity, the Commodities table can be used).

The following example demonstrates how to insert a new SalesOrder with two line items:

INSERT INTO SalesOrders (TradingAccountUUID, DueDate, PostalAddress1Name, PostalAddress1Type, PostalAddress1Address1, PostalAddress1TownCity, PostalAddress1StateRegion, ItemsAggregate) 
VALUES ('b83c940f-9d2b-4a35-bf42-28bbe07ef994', True, '05/05/2015', 'Sales Order Delivery Address', 'Shipping', '123 Main St', 'Chapel Hill', 'NC', 
'<SalesOrderLineItems>
<Row><CommodityUUID>0a47b43d-7115-4863-9689-1a53123e67c8</CommodityUUID><Quantity>1</Quantity><ActualPrice>1.99</ActualPrice></Row>
<Row><CommodityUUID>586df2bb-7702-4228-b464-e8d509148547</CommodityUUID><Quantity>4</Quantity><ActualPrice>4.99</ActualPrice></Row>
</SalesOrderLineItems>')

Update

Any field that is not read-only can be updated.

When updating a SalesOrder record, PostalAddress1UUID and PostalAddress2UUID are required when updating the respective postal address. Note that sales order line items cannot be updated nor deleted.


UPDATE SalesOrders SET PostalAddress1ZipPostCode = '12345'
WHERE SalesOrderUUID = '957af245-4678-4ca9-904a-162dcce87e5b' AND PostalAddress1UUID = '28915e09-b2a1-47e1-b193-741b32ba8ba0'

Delete

Deleting a SalesOrder record will also delete all line items and postal addresses associated with the SalesOrder.


DELETE FROM SalesOrders WHERE SalesOrderUUID = '957af245-4678-4ca9-904a-162dcce87e5b'

Columns

Name Type ReadOnly Description
SalesOrderUUID [KEY] String True

SalesOrder UUID

TradingAccountUUID String False

SalesOrder Trading Account UUID

ContactUUID String True

SalesOrder Buyer Contact UUID

SalesOrderNumber String False

SalesOrder Reference

InvoiceNumber String False

SalesOrder Invoice Reference

AllocationStatus String False

SalesOrder Allocation Status

DeliveryStatus String False

SalesOrder Delivery Status

InvoiceStatus String False

SalesOrder Invoice Status

CustomerReference String False

SalesOrder Customer reference

Type String False

SalesOrder Type

CopyFlag Boolean False

SalesOrder Copy Flag

DueDate Date False

SalesOrder Due Date

CarrierNetPrice Decimal False

SalesOrder Carrier Net Price

CarrierTaxPrice Decimal False

SalesOrder Carrier Tax Price

CarrierTotalPrice Decimal False

SalesOrder Carrier Gross Price

CarrierReference String False

SalesOrder Carrier Reference

Currency String False

SalesOrder Currency

OCCurrency String False

SalesOrder Operating Company Currency

OCCurrencyExchangeRate Decimal False

SalesOrder Operating Company Currency Exchange Rate

OCCurrencyExchangeRateOperator String False

SalesOrder Operating Company Currency Exchange Rate Operator

Date Date False

SalesOrder Date

User String False

SalesOrder User

LineCount Decimal False

SalesOrder Line Count

OrderDiscountType String False

SalesOrder Order Discount Type

OrderDiscountAmount Decimal False

SalesOrder Order Discount Amount

OrderDiscountPercent Decimal False

SalesOrder Order Discount Percent

Text1 String False

SalesOrder Text1

Text2 String False

SalesOrder Text2

NetTotal Decimal False

SalesOrder Net Total

TaxTotal Decimal False

SalesOrder Tax Total

GrossTotal Decimal False

SalesOrder Gross Total

ItemsAggregate String False

An aggregate of the line item data, which can be used for adding a purchase order and its line items.

PostalAddress1UUID String True

SalesOrder PostalAddress UUID

PostalAddress1Active Boolean False

SalesOrder PostalAddress Active Flag

PostalAddress1Reference String False

SalesOrder PostalAddress Reference

PostalAddress1Name String False

SalesOrder PostalAddress Name

PostalAddress1Description String False

SalesOrder PostalAddress Description

PostalAddress1Address1 String False

SalesOrder PostalAddress Address 1

PostalAddress1Address2 String False

SalesOrder PostalAddress Address 2

PostalAddress1Address3 String False

SalesOrder PostalAddress Address 3

PostalAddress1Address4 String False

SalesOrder PostalAddress Address 4

PostalAddress1TownCity String False

SalesOrder PostalAddress TownCity

PostalAddress1County String False

SalesOrder PostalAddress County

PostalAddress1StateRegion String False

SalesOrder PostalAddress StateRegion

PostalAddress1ZipPostCode String False

SalesOrder PostalAddress ZipPost Code

PostalAddress1Country String False

SalesOrder PostalAddress Country

PostalAddress1PrimacyIndicator Boolean False

SalesOrder PostalAddress Primacy Indicator

PostalAddress1Type String False

SalesOrder PostalAddress Type. Sample values: Billing, Shipping.

PostalAddress2UUID String True

SalesOrder PostalAddress UUID

PostalAddress2Active Boolean False

SalesOrder PostalAddress Active Flag

PostalAddress2Reference String False

SalesOrder PostalAddress Reference

PostalAddress2Name String False

SalesOrder PostalAddress Name

PostalAddress2Description String False

SalesOrder PostalAddress Description

PostalAddress2Address1 String False

SalesOrder PostalAddress Address 1

PostalAddress2Address2 String False

SalesOrder PostalAddress Address 2

PostalAddress2Address3 String False

SalesOrder PostalAddress Address 3

PostalAddress2Address4 String False

SalesOrder PostalAddress Address 4

PostalAddress2TownCity String False

SalesOrder PostalAddress TownCity

PostalAddress2County String False

SalesOrder PostalAddress County

PostalAddress2StateRegion String False

SalesOrder PostalAddress StateRegion

PostalAddress2ZipPostCode String False

SalesOrder PostalAddress ZipPost Code

PostalAddress2Country String False

SalesOrder PostalAddress Country

PostalAddress2PrimacyIndicator Boolean False

SalesOrder PostalAddress Primacy Indicator

PostalAddress2Type String False

SalesOrder PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

TradingAccounts

Create, Update, Delete, and Query TradingAccounts within Sage UK 50 Accounts.

Table Specific Information

The TradingAccounts table allows you to select, insert, and update trading accounts within a Sage 50 UK company dataset.

Select

The TradingAccounts table returns the trading account information for a Sage 50 UK company dataset.

SELECT * FROM TradingAccounts

Insert

To create a new Trading Account record, the Name and CustomerSupplierFlag fields are required.


INSERT INTO TradingAccounts (Name, CustomerSupplierFlag, OpenedDate, Website, FinanceBalance, FinanceLimit, Analysis1, Analysis2, Analysis3)
VALUES ('My Trading Account', 'Customer', '05/10/2015', 'www.cdata.com', 100.00, 1000.00, 'Trade', 'Jenkins', 'National')

Update

Any field that is not read-only can be updated.


UPDATE TradingAccounts SET Analysis3 = 'International' WHERE TradingAccountUUID = '90c7afb4-ad34-41a2-b71d-ef49cc489872'

Delete


DELETE FROM TradingAccounts WHERE TradingAccountUUID = '90c7afb4-ad34-41a2-b71d-ef49cc489872'

Note: When additional resources are tied to the account, the record is not deleted. However, the Sage API will still return an OK response, signalling the record has been deleted. The actual error message can be viewed by attempting to delete the account within the software itself.

Columns

Name Type ReadOnly Description
TradingAccountUUID [KEY] String True

TradingAccount UUID

CustomerSupplierFlag String False

TradingAccount Customer Supplier Flag

CompanyPersonFlag String False

TradingAccount Company Person Flag. Valid values: Company or Person

OpenedDate Date False

TradingAccount Opened Date

TradingAccountReference String True

TradingAccount Reference

Status String False

TradingAccount Status

Name String False

TradingAccount Name

Type String False

TradingAccount Type

Website String False

TradingAccount Web site

DeliveryRule Boolean False

TradingAccount Delivery Rule

Currency String False

TradingAccount Currency

TaxReference String False

TradingAccount Tax reference

TaxationCountry String False

TradingAccount Taxation Country

FinanceBalance Decimal False

TradingAccount Finance Balance

FinanceLimit Decimal False

TradingAccount Finance Limit

FinanceStatusFlag Boolean False

TradingAccount Finance Status Flag

FinanceStatusText String False

TradingAccount Finance Status Text

SettlementDiscountType String False

TradingAccount Settlement Discount Type

SettlementDiscountPercent Decimal False

TradingAccount Settlement Discount Percent

SettlementDiscountTerms String False

TradingAccount Settlement Discount Terms

SettlementDiscountIncludedInTotal Boolean False

TradingAccount Settlement Discount Included In Total

PaymentTerms String False

TradingAccount Payment Terms

OrderLineDiscountPercent Decimal False

TradingAccount Order Line Discount Percent

InvoiceDiscountPercent Decimal False

TradingAccount Invoice Discount Percent

PrimacyIndicator Boolean False

TradingAccount Primacy Indicator

Balance Decimal False

TradingAccount Balance

CreditLimit Decimal False

TradingAccount Credit Limit

MTDTurnover Decimal True

TradingAccount Month To Date Turnover

YTDTurnover Decimal True

TradingAccount Year To Date Turnover

PriorYTDTurnover Decimal True

TradingAccount Prior Year To Date Turnover

FirstInvoiceDate Date True

TradingAccount First Invoice Date

LastInvoiceDate Date True

TradingAccount Last Invoice Date

LastPaymentDate Date True

TradingAccount Last Payment Date

LastCreditReviewDate Date False

TradingAccount Last Credit Review Date

TradingTerms String True

TradingAccount Trading Terms

StandardDiscount Decimal False

TradingAccount Standard Discount

AccountOnHold Boolean False

TradingAccount On Hold

Analysis1 String False

TradingAccount Analysis (Custom) Field 1

Analysis2 String False

TradingAccount Analysis (Custom) Field 2

Analysis3 String False

TradingAccount Analysis (Custom) Field 3

CanChargeCredit Boolean True

TradingAccount Can Charge Credit

NextCreditReviewDate Date False

TradingAccount Next Credit Review Date

AdditionalDiscount String True

TradingAccount Additional Discount Type

CreditAppliedDate Date False

TradingAccount Credit Applied date

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime

An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

ビュー

ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。

クエリは、ビューに対して通常のテーブルと同様に実行することができます。

Sage 50 UK Connector for CData Sync ビュー

Name Description
BankAccounts Query BankAccounts within Sage UK 50 Accounts.
FinancialAccounts Query Financial Accounts within Sage UK 50 Accounts.
Interactions Query Interactions within Sage UK 50 Accounts.
Prices Query Prices within Sage UK 50 Accounts.
Projects Query Projects within Sage UK 50 Accounts.
PurchaseOrderDeliveries Query PurchaseOrderDeliveries within Sage UK 50 Accounts.
PurchaseOrderDeliveryLineItems Query PurchaseOrderDeliveryLineItems within Sage UK 50 Accounts.
PurchaseOrderLineItems Query PurchaseOrderLines within Sage UK 50 Accounts.
Receipts Query Receipts within Sage UK 50 Accounts.
SalesCreditLineItems Query SalesCreditLineItems within Sage UK 50 Accounts.
SalesInvoiceLineItems Query SalesInvoiceLineItems within Sage UK 50 Accounts.
SalesOrderDeliveries Query SalesOrderDeliveries within Sage UK 50 Accounts.
SalesOrderDeliveryLineItems Query SalesOrderDeliveryLineItems within Sage UK 50 Accounts.
SalesOrderLineItems Query SalesOrderLineItems within Sage UK 50 Accounts.
TaxCodes Query Tax Codes within Sage UK 50 Accounts.
TradingActivities Query TradingActivities within Sage UK 50 Accounts.

Sage 50 UK Connector for CData Sync

BankAccounts

Query BankAccounts within Sage UK 50 Accounts.

Table Specific Information

Select

The BankAccounts table returns the bank accounts for a Sage 50 UK company dataset.

SELECT * FROM BankAccounts

Columns

Name Type Description
BankAccountUUID [KEY] String BankAccount UUID
TradingAccountUUID String BankAccount Trading Account UUID
Type String BankAccount Type
TradingAccountReference String BankAccount Reference to the associated Trading Account
Name String BankAccount Name
BranchIdentifier String BankAccount Branch Identifier
AccountNumber String BankAccount Account Number
IBANNumber String BankAccount IBAN Number
BICSwiftCode String BankAccount BIC Swift Code
RollNumber String BankAccount Roll Number
Currency String BankAccount Currency
OperatingCompanyCurrency String BankAccount OperatingCompany Currency
Website String BankAccount Web site
CompanyReference String BankAccount Company Reference. Example values: 'Operating Company Bank Account', 'Supplier Bank Account', 'Customer Bank Account'
PaymentAllowedFlag Boolean BankAccount Payment Allowed Flag
ReceiptAllowedFlag Boolean BankAccount Receipt Allowed Flag
Reference2 String BankAccount Reference2
Balance Decimal BankAccount Balance
Limit Decimal BankAccount Limit
PrimacyIndicator Boolean BankAccount Primacy Indicator
PostalAddressUUID String BankAccount PostalAddress UUID
PostalAddressActive Boolean BankAccount PostalAddress Active Flag
PostalAddressTradingAccountReference String BankAccount PostalAddress Reference
PostalAddressName String BankAccount PostalAddress Name
PostalAddressDescription String BankAccount PostalAddress Description
PostalAddressAddress1 String BankAccount PostalAddress Address 1
PostalAddressAddress2 String BankAccount PostalAddress Address 2
PostalAddressAddress3 String BankAccount PostalAddress Address 3
PostalAddressAddress4 String BankAccount PostalAddress Address 4
PostalAddressTownCity String BankAccount PostalAddress TownCity
PostalAddressCounty String BankAccount PostalAddress County
PostalAddressStateRegion String BankAccount PostalAddress StateRegion
PostalAddressZipPostCode String BankAccount PostalAddress ZipPost Code
PostalAddressCountry String BankAccount PostalAddress Country
PostalAddressPrimacyIndicator Boolean BankAccount PostalAddress Primacy Indicator
PostalAddressType String BankAccount PostalAddress Type

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

FinancialAccounts

Query Financial Accounts within Sage UK 50 Accounts.

Columns

Name Type Description
FinancialAccountUUID [KEY] String FinancialAccount UUID
NominalCode String FinancialAccount Nominal Code
AccountName String FinancialAccount Type
Currency String FinancialAccount Currency
Balance Decimal FinancialAccount Balance
PrimacyIndicator Boolean FinancialAccount Primacy Indicator

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

Interactions

Query Interactions within Sage UK 50 Accounts.

Table Specific Information

Select

The Interactions table returns the customer interaction information for a Sage 50 UK company dataset.

SELECT * FROM Interactions

Columns

Name Type Description
InteractionUUID [KEY] String Interaction UUID
TradingAccountUUID String Interaction Trading Account UUID
Type String Interaction Type
Status String Interaction Status
TradingAccountReference String Interaction Reference
Description String Interaction Description
User String Interaction User
Date Date Interaction Date
Time Time Interaction Time
EndDate Date Interaction End Date
EndTime Time Interaction End Time
Recurrence Boolean Interaction Recurrence
PrivacyFlag Boolean Interaction Privacy Flag
PromisedPaymentDate Date Interaciton Promised Payment Date
FollowUpDate Date Interaction Follow Up Date

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

Prices

Query Prices within Sage UK 50 Accounts.

Table Specific Information

Select

The Prices table returns the product and services pricing information for a Sage 50 UK company dataset.

SELECT * FROM Prices WHERE Price < 10.00

Columns

Name Type Description
PriceUUID [KEY] String Price UUID
ProductCode String Price Reference
Price Decimal Price
IncludesTax Boolean Price Includes Tax
Currency String Price Currency
DecimalPlaces Decimal Price Decimal Places
CustomerSupplierFlag String Price Customer Supplier Flag
OCCurrency String PurchaseOrderDelivery Operating Company Currency
OCCurrencyExchangeRate Decimal PurchaseOrderDelivery Operating Company Currency Exchange Rate
OCCurrencyExchangeRateOperator String PurchaseOrderDelivery Operating Company Currency Exchange Rate Operator

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

Projects

Query Projects within Sage UK 50 Accounts.

Table Specific Information

Select

The Projects table returns project information for a Sage 50 UK company dataset.

SELECT * FROM Projects

Columns

Name Type Description
ProjectUUID [KEY] String Project UUID
ProjectReference String Project Reference
TradingAccountReference String Project Reference2
Name String Project Name
Description String Project Description
Status String Project Status
StartDate Date Project Start Date
EndDate Date Project End Date
Currency String Project Currency
OperatingCompanyCurrency String Project OperatingCompany Currency
OperatingCompanyCurrencyExchangeRate Decimal Project OperatingCompany Currency Exchange Rate
OperatingCompanyCurrencyExchangeRateOperator String Project OperatingCompany Currency Exchange Rate Operator
CurrentCostBalance Decimal Project Current Cost Balance
LastCostTransactionDate Date Project Last Cost Transaction Date
CurrentRevenueBalance Decimal Project Current Revenue Balance
LastRevenueTransactionDate Date Project Last Revenue Transaction Date
CurrentCostBudget Decimal Project Current Cost Budget
CurrentRevenueBudget Decimal Project Current Revenue Budget
CurrentCommittedCostBalance Decimal Project Current Committed Cost Balance

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

PurchaseOrderDeliveries

Query PurchaseOrderDeliveries within Sage UK 50 Accounts.

Table Specific Information

Select

The PurchaseOrderDeliveries table returns purchase order delivery information for a Sage 50 UK company dataset.

SELECT * FROM PurchaseOrderDeliveries

Columns

Name Type Description
PODeliveryUUID [KEY] String PurchaseOrderDelivery UUID
PurchaseOrderUUID String PurchaseOrderDelivery PurchaseOrder UUID
TradingAccountUUID String PurchaseOrderDelivery Trading Account UUID
GoodsReceivedNumber String PurchaseOrderDelivery Reference
SupplierReference String PurchaseOrderDelivery Supplier reference
CarrierReference String PurchaseOrderDelivery Carrier reference
Currency String PurchaseOrderDelivery Currency
OCCurrency String PurchaseOrderDelivery Operating Company Currency
OCCurrencyExchangeRate Decimal PurchaseOrderDelivery Operating Company Currency Exchange Rate
OCCurrencyExchangeRateOperator String PurchaseOrderDelivery Operating Company Currency Exchange Rate Operator
RequestedDeliveryDate Date PurchaseOrderDelivery Requested Delivery Date
ActualDeliveryDate Date PurchaseOrderDelivery Actual Delivery Date
LineCount Decimal PurchaseOrderDelivery Line Count
PostalAddressUUID String PurchaseOrderDelivery PostalAddress UUID
PostalAddressActive Boolean PurchaseOrderDelivery PostalAddress Active Flag
PostalAddressReference String PurchaseOrderDelivery PostalAddress Reference
PostalAddressName String PurchaseOrderDelivery PostalAddress Name
PostalAddressDescription String PurchaseOrderDelivery PostalAddress Description
PostalAddressAddress1 String PurchaseOrderDelivery PostalAddress Address 1
PostalAddressAddress2 String PurchaseOrderDelivery PostalAddress Address 2
PostalAddressAddress3 String PurchaseOrderDelivery PostalAddress Address 3
PostalAddressAddress4 String PurchaseOrderDelivery PostalAddress Address 4
PostalAddressTownCity String PurchaseOrderDelivery PostalAddress TownCity
PostalAddressCounty String PurchaseOrderDelivery PostalAddress County
PostalAddressStateRegion String PurchaseOrderDelivery PostalAddress StateRegion
PostalAddressZipPostCode String PurchaseOrderDelivery PostalAddress ZipPost Code
PostalAddressCountry String PurchaseOrderDelivery PostalAddress Country
PostalAddressPrimacyIndicator Boolean PurchaseOrderDelivery PostalAddress Primacy Indicator
PostalAddressType String PurchaseOrderDelivery PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

PurchaseOrderDeliveryLineItems

Query PurchaseOrderDeliveryLineItems within Sage UK 50 Accounts.

Table Specific Information

Select

The PurchaseOrderDeliveryLineItems table returns purchase order delivery line item information for a Sage 50 UK company dataset.

SELECT * FROM PurchaseOrderDeliveryLineItems WHERE GoodsReceivedNumber = '123'

Columns

Name Type Description
PODeliveryLineItemUUID [KEY] String PurchaseOrderDeliveryLine UUID
CommodityUUID String PurchaseOrderDeliveryLine Commodity UUID
CommodityProductCode String PurchaseOrderDeliveryLine Commodity Product Code
CommodityName String PurchaseOrderDeliveryLine Commodity Name
GoodsReceivedNumber String PurchaseOrderDeliveryLine Reference
Reference2 String PurchaseOrderDeliveryLine Reference2
LineNumber Decimal PurchaseOrderDeliveryLine Number
Text String PurchaseOrderDeliveryLine Text
RequestedQuantity Decimal PurchaseOrderDeliveryLine Requested Quantity
DeliveredQuantity Decimal PurchaseOrderDeliveryLine Delivered Quantity
UnitDescription String PurchaseOrderLine UnitOfMeasure Description

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

PurchaseOrderLineItems

Query PurchaseOrderLines within Sage UK 50 Accounts.

Table Specific Information

Select

The PurchaseOrderLineItems table returns purchase order line item information for a Sage 50 UK company dataset.

SELECT * FROM PurchaseOrderLineItems WHERE PurchaseOrderNumber = 'PO123'

Columns

Name Type Description
PurchaseOrderLineItemUUID [KEY] String PurchaseOrderLine UUID
CommodityUUID String PurchaseOrderLine Commodity UUID
CommodityProductCode String PurchaseOrderLine Commodity Product Code
CommodityName String PurchaseOrderLine Commodity Name
PurchaseOrderNumber String PurchaseOrderLine Reference
LineNumber Decimal PurchaseOrderLine Number
DueDate Date PurchaseOrderLine Due Date
Description String PurchaseOrderLine Text
Quantity Decimal PurchaseOrderLine Quantity
InitialPrice Decimal PurchaseOrderLine Initial Price
ActualPrice Decimal PurchaseOrderLine Actual Price
NetTotal Decimal PurchaseOrderLine Net Total
DiscountTotal Decimal PurchaseOrderLine Discount Total
TaxTotal Decimal PurchaseOrderLine Tax Total
GrossTotal Decimal PurchaseOrderLine Gross Total
UnitDescription String PurchaseOrderLine UnitOfMeasure Description

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

Receipts

Query Receipts within Sage UK 50 Accounts.

Table Specific Information

Select

The Receipts table returns the receipt information for a Sage 50 UK company dataset.

SELECT * FROM Receipts

Columns

Name Type Description
ReceiptUUID [KEY] String Receipt UUID
TradingAccountUUID String Receipt Trading Account UUID
BankAccountUUID String Receipt BankAccount UUID
Type String Receipt Type
Reference String Receipt Reference
Reference2 String Receipt Reference2
Date Date Receipt Date
TradingAccountReference String Receipt TradingAccount reference
Currency String Receipt Currency
OCCurrency String Receipt OperatingCompany Currency
OCCurrencyExchangeRate Decimal Receipt OperatingCompany Currency Exchange Rate
OCCurrencyExchangeRateOperator String Receipt OperatingCompany Currency Exchange Rate Operator
OCCurrencyExchangeRateDate Date Receipt OperatingCompany Currency Exchange Rate Date
BACurrency String Receipt Bank Account Currency
BACurrencyExchangeRate Decimal Receipt Bank Account Currency Exchange Rate
BACurrencyExchangeRateOperator String Receipt Bank Account Currency Exchange Rate Operator
TaxTotal Decimal Receipt Tax Total
GrossTotal Decimal Receipt Gross Total
Description String Receipt Description
LineCount Decimal Receipt Line Count
User String Receipt User

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesCreditLineItems

Query SalesCreditLineItems within Sage UK 50 Accounts.

Table Specific Information

Select

The SalesCreditLineItems table returns sales credit line item information for a Sage 50 UK company dataset.

SELECT * FROM SalesCreditLineItems WHERE CreditNumber = 'CR123'

Columns

Name Type Description
SalesCreditLineItemsUUID [KEY] String SalesCreditLine UUID
CommodityUUID String SalesCreditLine Commodity UUID
CommodityProductCode String SalesCreditLine Commodity Product Code
CommodityName String SalesCreditLine Commodity Name
CreditNumber String SalesCredit Reference
Reference2 String SalesCreditLine Reference2
Type String SalesCreditLine Type
Number Decimal SalesCreditLine Number
Description String SalesCreditLine Text
DeliveryDate Date SalesCreditLine Delivery Date
Quantity Decimal SalesCreditLine Quantity
InitialPrice Decimal SalesCreditLine Initial Price
InvoiceLineDiscountAmount Decimal SalesCreditLine Invoice Line Discount Amount
InvoiceLineDiscountPercent Decimal SalesCreditLine Invoice Line Discount Percent
ActualPrice Decimal SalesCreditLine Actual Price
NetTotal Decimal SalesCreditLine Net Total
DiscountTotal Decimal SalesCreditLine Discount Total
TaxTotal Decimal SalesCreditLine Tax Total
GrossTotal Decimal SalesCreditLine Gross Total
UnitDescription String SalesCreditLine UnitOfMeasure Description

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesInvoiceLineItems

Query SalesInvoiceLineItems within Sage UK 50 Accounts.

Table Specific Information

Select

The SalesInvoiceLineItems table returns sales invoice line item information for a Sage 50 UK company dataset.

SELECT * FROM SalesInvoiceLineItems WHERE InvoiceNumber = 'INV123'

Columns

Name Type Description
SalesInvoiceLineItemUUID [KEY] String SalesInvoiceLine UUID
CommodityUUID String SalesInvoiceLine Commodity UUID
CommodityProductCode String SalesInvoiceLine Commodity Product Code
CommodityName String SalesInvoiceLine Commodity Name
InvoiceNumber String SalesInvoice Reference
Reference2 String SalesInvoice Reference2
Type String SalesInvoiceLine Type
LineNumber Integer SalesInvoiceLine Number
Text String SalesInvoiceLine Text
DeliveryDate Date SalesInvoiceLine Delivery Date
Quantity Decimal SalesInvoiceLine Quantity
InitialPrice Decimal SalesInvoiceLine Initial Price
InvoiceLineDiscountAmount Decimal SalesInvoiceLine Invoice Line Discount Amount
InvoiceLineDiscountPercent Decimal SalesInvoiceLine Invoice Line Discount Percent
ActualPrice Decimal SalesInvoiceLine Actual Price
NetTotal Decimal SalesInvoiceLine Net Total
ChargesTotal Decimal SalesInvoiceLine Charges Total
DiscountTotal Decimal SalesInvoiceLine Discount Total
TaxTotal Decimal SalesInvoiceLine Tax Total
GrossTotal Decimal SalesInvoiceLine Gross Total
UnitDescription String SalesInvoiceLine UnitOfMeasure Description
TaxCodeUUID String SalesOrderLine Tax Code UUID
TaxCodeReference String SalesOrderLine Tax Code
TaxCodeValue Decimal SalesOrderLine Tax Code Value
TaxCodeDescription String SalesOrderLine Tax Code Description
TaxCodeType String SalesOrderLine Tax Code Type

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesOrderDeliveries

Query SalesOrderDeliveries within Sage UK 50 Accounts.

Table Specific Information

Select

The SalesOrderDeliveries table returns sales order delivery information for a Sage 50 UK company dataset.

SELECT * FROM SalesOrderDeliveries

Columns

Name Type Description
SODeliveryUUID [KEY] String SalesOrderDelivery UUID
SalesOrderUUID String SalesOrderDelivery SalesOrder UUID
TradingAccountUUID String SalesOrderDelivery Trading Account UUID
SalesOrderNumber String SalesOrderDelivery Reference
TradingAccountReference String SalesOrderDelivery Reference2
CustomerReference String SalesOrderDelivery Customer reference
CarrierReference String SalesOrderDelivery Carrier reference
Currency String SalesOrderDelivery Currency
OCCurrency String SalesOrderDelivery Operating Company Currency
CustomerCurrencyExchangeRate Decimal SalesOrderDelivery Customer Trading Account Currency Exchange Rate
CustomerCurrencyExchangeRateOperator String SalesOrderDelivery Customer Trading Account Currency Exchange Rate Operator
RequestedDeliveryDate Date SalesOrderDelivery Requested Delivery Date
ActualDeliveryDate Date SalesOrderDelivery Actual Delivery Date
LineCount Decimal SalesOrderDelivery Line Count
PostalAddressUUID String SalesOrderDelivery PostalAddress UUID
PostalAddressActive Boolean SalesOrderDelivery PostalAddress Active Flag
PostalAddressReference String SalesOrderDelivery PostalAddress Reference
PostalAddressName String SalesOrderDelivery PostalAddress Name
PostalAddressDescription String SalesOrderDelivery PostalAddress Description
PostalAddressAddress1 String SalesOrderDelivery PostalAddress Address 1
PostalAddressAddress2 String SalesOrderDelivery PostalAddress Address 2
PostalAddressAddress3 String SalesOrderDelivery PostalAddress Address 3
PostalAddressAddress4 String SalesOrderDelivery PostalAddress Address 4
PostalAddressTownCity String SalesOrderDelivery PostalAddress TownCity
PostalAddressCounty String SalesOrderDelivery PostalAddress County
PostalAddressStateRegion String SalesOrderDelivery PostalAddress StateRegion
PostalAddressZipPostCode String SalesOrderDelivery PostalAddress ZipPost Code
PostalAddressCountry String SalesOrderDelivery PostalAddress Country
PostalAddressPrimacyIndicator Boolean SalesOrderDelivery PostalAddress Primacy Indicator
PostalAddressType String SalesOrderDelivery PostalAddress Type. Sample values: Billing, Shipping.

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesOrderDeliveryLineItems

Query SalesOrderDeliveryLineItems within Sage UK 50 Accounts.

Table Specific Information

Select

The SalesOrderDeliveryLineItems table returns sales order delivery line item information for a Sage 50 UK company dataset.

SELECT * FROM SalesOrderDeliveryLineItems WHERE GoodsDespatchedNumber = '987'

Columns

Name Type Description
SODeliveryLineItemUUID [KEY] String SalesOrderDeliveryLine UUID
CommodityUUID String SalesOrderDeliveryLine Commodity UUID
CommodityProductCode String SalesOrderDeliveryLine Commodity Product Code
CommodityName String SalesOrderDeliveryLine Commodity Name
SalesOrderNumber String SalesOrderDeliveryLine Sales Order Number
GoodsDespatchedNumber String SalesOrderDeliveryLine Reference
Reference2 String SalesOrderDeliveryLine Reference2
LineNumber Decimal SalesOrderDeliveryLine Number
Text String SalesOrderDeliveryLine Text
RequestedDeliveryDate Date SalesOrderDeliveryLine Requested Delivery Date
ActualDeliveryDate Date SalesOrderDeliveryLine Actual Delivery Date
RequestedQuantity Decimal SalesOrderDeliveryLine Requested Quantity
DeliveredQuantity Decimal SalesOrderDeliveryLine Delivered Quantity
UnitDescription String SalesOrderDeliveryLine UnitOfMeasure Description

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

SalesOrderLineItems

Query SalesOrderLineItems within Sage UK 50 Accounts.

Table Specific Information

Select

The SalesOrderLineItems table returns sales order line item information for a Sage 50 UK company dataset.

SELECT * FROM SalesOrderLineItems WHERE SalesOrderNumber = 'SO123'

Columns

Name Type Description
SalesOrderLineItemUUID [KEY] String SalesOrderLine UUID
CommodityUUID String SalesOrderLine Commodity UUID
CommodityProductCode String SalesOrderLine Commodity Product Code
CommodityName String SalesOrderLine Commodity Name
SalesOrderNumber String SalesOrderLine Reference
Reference2 String SalesOrderLine Reference2
LineNumber Decimal SalesOrderLine Number
Type String SalesOrderLine Type
Description String SalesOrderLine Text
DueDate Date SalesOrderLine Due Date
CarrierReference String SalesOrderLine Carrier reference
Quantity Decimal SalesOrderLine Quantity
InitialPrice Decimal SalesOrderLine Initial Price
OrderLineDiscountAmount Decimal SalesOrderLine Order Line Discount Amount
OrderLineDiscountPercent Decimal SalesOrderLine Order Line Discount Perecent
ActualPrice Decimal SalesOrderLine Actual Price
NetTotal Decimal SalesOrderLine Net Total
DiscountTotal Decimal SalesOrderLine Discount Total
TaxTotal Decimal SalesOrderLine Tax Total
GrossTotal Decimal SalesOrderLine Gross Total
UnitDescription String SalesOrderLine UnitOfMeasure Description
TaxCodeUUID String SalesOrderLine Tax Code UUID
TaxCodeReference String SalesOrderLine Tax Code
TaxCodeValue Decimal SalesOrderLine Tax Code Value
TaxCodeDescription String SalesOrderLine Tax Code Description
TaxCodeType String SalesOrderLine Tax Code Type

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

TaxCodes

Query Tax Codes within Sage UK 50 Accounts.

Columns

Name Type Description
TaxCodeUUID [KEY] String Tax Code UUID
TaxCode String Tax Code Reference
Description String Tax Code Description
Type String Tax Code Type
Value Decimal Tax Code Value

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

TradingActivities

Query TradingActivities within Sage UK 50 Accounts.

Table Specific Information

Select

The TradingActivities table returns the trading activity information for a Sage 50 UK company dataset.

SELECT * FROM TradingActivities

Columns

Name Type Description
TradingActivityUUID [KEY] String TradingActivity UUID
ApplicationID String TradingActivity Application ID
Deleted Boolean TradingActivity Deleted
Label String TradingActivity Label
Reference String TradingActivity Reference
TransactionType String TradingActivity TransactionType
Date Date TradingActivity Date
Details String TradingActivity Details
AmountNet Decimal TradingActivity NetAmount
AmountTax Decimal TradingActivity TaxAmount
AmountGross Decimal TradingActivity GrossAmount
Currency String TradingActivity Currency
AmountPaid Decimal TradingActivity PaidAcmount
TradingAccountReference String TradingActivity AccountReference
DueDate Date TradingActivity Due Date
HeaderNumber String TradingActivity Header Number

Pseudo-Columns

Pseudo column fields are used in the WHERE clause of SELECT statements and offer a more granular control over the tuples that are returned from the data source.

Name Type Description
Updated Datetime An input used internally to filter records updated at a specific datetime.

Sage 50 UK Connector for CData Sync

ストアドプロシージャ

ストアドプロシージャはファンクションライクなインターフェースで、Sage 50 UK の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。

ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにSage 50 UK から関連するレスポンスデータを返します。

Sage 50 UK Connector for CData Sync ストアドプロシージャ

Name Description
ComputePrice Computes the Price based on a trading account and a commodity provided.

Sage 50 UK Connector for CData Sync

ComputePrice

Computes the Price based on a trading account and a commodity provided.

Input

Name Type Description
TradingAccount String The UUID of the corresponding trading account.
Commodity String The UUID of the commodity/ies participating in the transaction. In case multiple commodities are to be entered seperate by comma (,).
Quantity String The UUID of the quantity/ies for each commodity in the transaction. In case multiple commodities, their corresponding quantities are to be entered seperate by comma (,).

Result Set Columns

Name Type Description
NetTotal Double The net total amount.
ProfitTotal Double The profit total amount.
GrossTotal Double The gross total amount.
Success Boolean If the request is sucessful.
TaxTotal Double The tax total amount.
DiscountTotal Double The discount total amount.

Sage 50 UK Connector for CData Sync

接続文字列オプション

接続文字列プロパティは、接続を確立するために使用できるさまざまなオプションです。このセクションでは、本プロバイダーの接続文字列で設定できるオプションの一覧を示します。詳細については各リンクをクリックしてください。

接続を確立する方法について詳しくは、接続の確立を参照してください。

Authentication


プロパティ説明
AuthSchemeThe scheme used for authentication. Accepted entries are Basic, Digest, or None.
URLURL to the Sage 50 UK SData service. For example, http://MySite:5493/sdata/accounts50/GCRM/MyDatasetId/.
User認証するユーザーのユーザーID を指定します。
Password認証するユーザーのパスワードを指定します。

SSL


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。

Firewall


プロパティ説明
FirewallTypeprovider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
FirewallServerファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
FirewallPortプロキシベースのファイアウォールで使用するTCP ポートを指定します。
FirewallUserプロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
FirewallPasswordプロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。

Proxy


プロパティ説明
ProxyAutoDetectprovider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
ProxyServerHTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。
ProxyPortクライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。
ProxyAuthSchemeProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
ProxyUserProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。
ProxyPasswordProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。
ProxySSLTypeProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。
ProxyExceptionsProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。

Logging


プロパティ説明
LogModulesログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。

Schema


プロパティ説明
Locationテーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Tablesレポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
Viewsレポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。

Miscellaneous


プロパティ説明
MaxRows集計やGROUP BY を含まないクエリで返される最大行数を指定します。
Other特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
Pagesizeprovider がSage 50 UK にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。
PseudoColumnsテーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
UserDefinedViewsカスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
Sage 50 UK Connector for CData Sync

Authentication

このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。


プロパティ説明
AuthSchemeThe scheme used for authentication. Accepted entries are Basic, Digest, or None.
URLURL to the Sage 50 UK SData service. For example, http://MySite:5493/sdata/accounts50/GCRM/MyDatasetId/.
User認証するユーザーのユーザーID を指定します。
Password認証するユーザーのパスワードを指定します。
Sage 50 UK Connector for CData Sync

AuthScheme

The scheme used for authentication. Accepted entries are Basic, Digest, or None.

解説

Together with Password and User, this field is used to authenticate against the Sage 50 UK Accounts service. Basic is the default option.

  • Basic: Set this to use HTTP Basic authentication.
  • Digest: Set this to use HTTP Digest authentication.

Sage 50 UK Connector for CData Sync

URL

URL to the Sage 50 UK SData service. For example, http://MySite:5493/sdata/accounts50/GCRM/MyDatasetId/.

解説

URL to the Sage 50 UK SData service. For example, http://MySite:5493/sdata/accounts50/GCRM/MyDatasetId/.

The URL can be obtained directly from your Sage 50 UK Accounts software by navigating to Tools > Internet Options > SData Settings > Details (Next to Sage 50 UK Accounts). The address can then be copied for the company dataset desired.

Sage 50 UK Connector for CData Sync

User

認証するユーザーのユーザーID を指定します。

解説

認証サーバーは、ユーザーのID を検証するためにUser とPassword の両方を必要とします。

Sage 50 UK Connector for CData Sync

Password

認証するユーザーのパスワードを指定します。

解説

認証サーバーは、ユーザーのID を検証するためにUser とPassword の両方を必要とします。

Sage 50 UK Connector for CData Sync

SSL

このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。


プロパティ説明
SSLServerCertTLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
Sage 50 UK Connector for CData Sync

SSLServerCert

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

Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。

Sage 50 UK Connector for CData Sync

Firewall

このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。


プロパティ説明
FirewallTypeprovider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
FirewallServerファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
FirewallPortプロキシベースのファイアウォールで使用するTCP ポートを指定します。
FirewallUserプロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
FirewallPasswordプロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。
Sage 50 UK Connector for CData Sync

FirewallType

provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。

解説

プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。

プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。

Note:デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し、次のプロキシタイプのいずれかに接続するには、ProxyAutoDetect をfalse に設定します。

次の表は、サポートされている各プロトコルのポート番号情報です。

プロトコル デフォルトポート 説明
TUNNEL 80 Sync App がSage 50 UK への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。
SOCKS4 1080 Sync App がSage 50 UK への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。
SOCKS5 1080 Sync App がSage 50 UK にデータを送信するポート。SOCKS 5 プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。

HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。

Sage 50 UK Connector for CData Sync

FirewallServer

ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。

解説

プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。

プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。

Sage 50 UK Connector for CData Sync

FirewallPort

プロキシベースのファイアウォールで使用するTCP ポートを指定します。

解説

プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。

プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。

Sage 50 UK Connector for CData Sync

FirewallUser

プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。

解説

プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。

プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。

Sage 50 UK Connector for CData Sync

FirewallPassword

プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。

解説

プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。

プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。

Sage 50 UK Connector for CData Sync

Proxy

このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。


プロパティ説明
ProxyAutoDetectprovider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
ProxyServerHTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。
ProxyPortクライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。
ProxyAuthSchemeProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
ProxyUserProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。
ProxyPasswordProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。
ProxySSLTypeProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。
ProxyExceptionsProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。
Sage 50 UK Connector for CData Sync

ProxyAutoDetect

provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。

解説

この接続プロパティをTrue に設定すると、Sync App は既存のプロキシサーバー構成についてシステムプロキシ設定をチェックします(プロキシサーバーの詳細を手動で入力する必要はありません)。

この接続プロパティは他のプロキシ設定より優先されます。特定のプロキシサーバーに接続するためにSync App を構成する場合は、ProxyAutoDetect をFalse に設定します。

HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。

Sage 50 UK Connector for CData Sync

ProxyServer

HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。

解説

ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーを通じてのみHTTP トラフィックをルーティングします。

ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーを介してHTTP トラフィックをルーティングします。

Sage 50 UK Connector for CData Sync

ProxyPort

クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。

解説

ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたProxyServer ポートを通じてのみHTTP トラフィックをルーティングします。

ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーポートを介してHTTP トラフィックをルーティングします。

その他のプロキシタイプについては、FirewallType を参照してください。

Sage 50 UK Connector for CData Sync

ProxyAuthScheme

ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。

解説

サポートされる認証の種類:

  • BASIC:Sync App はHTTP Basic 認証を行います。
  • DIGEST:Sync App はHTTP ダイジェスト認証を行います。
  • NTLM:Sync App はNTLM トークンを取得します。
  • NEGOTIATE: Sync App は認証において有効なプロトコルに応じて、NTLM もしくはKerberos トークンを取得します。
  • NONE:ProxyServer が認証を必要としないことを示します。

NONE 以外のすべての値については、ProxyUser およびProxyPassword 接続プロパティも設定する必要があります。

SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。

Sage 50 UK Connector for CData Sync

ProxyUser

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 接続プロパティは設定しないでください。

Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このユーザー名を使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているユーザー名を使用します。

Sage 50 UK Connector for CData Sync

ProxyPassword

ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。

解説

ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。

ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。

ProxyAuthScheme の値 ProxyPassword に設定する値
BASIC ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。
DIGEST ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。
NEGOTIATE ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。
NTLM ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。
NONE ProxyPassword 接続プロパティは設定しないでください。

SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。

Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このパスワードを使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているパスワードを使用します。

Sage 50 UK Connector for CData Sync

ProxySSLType

ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。

解説

このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この接続プロパティには、以下の値を設定できます。

AUTOデフォルト設定。ProxyServer がHTTPS URL に設定されている場合、Sync App は、TUNNEL オプションを使用します。ProxyServer がHTTP URL に設定されている場合、コンポーネントはNEVER オプションを使用します。
ALWAYS接続は、常にSSL 有効となります。
NEVER接続は、SSL 有効になりません。
TUNNEL接続はトンネリングプロキシ経由で行われます。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。

Sage 50 UK Connector for CData Sync

ProxyExceptions

ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。

解説

ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。

Note:Sync App はデフォルトでシステムプロキシ設定を使用するため、それ以上の設定は必要ありません。 この接続にプロキシ例外を明示的に設定する場合は、ProxyAutoDetect をFalse に設定します。

Sage 50 UK Connector for CData Sync

Logging

このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。


プロパティ説明
LogModulesログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
Sage 50 UK Connector for CData Sync

LogModules

ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。

解説

Sync App は、実行する各操作の詳細を Logfile 接続プロパティで指定されたログファイルに書き込みます。

ログに記録される各操作は、モジュールと呼ばれるカテゴリに分類されます。各モジュールには対応する短いコードがあり、個々の Sync App の操作がどのモジュールに属するかを示すラベルとして使用されます。

この接続プロパティにモジュールコードをセミコロン区切りのリストで設定すると、指定したモジュールに属する操作のみがログファイルに書き込まれます。この設定は今後のログ記録にのみ適用され、既存のログファイルの内容には影響しません。例: INFO;EXEC;SSL;META;

デフォルトでは、すべてのモジュールの操作がログに含まれます。

モジュールを明示的に除外するには、先頭に「-」を付けます。例: -HTTP

サブモジュールにフィルターを適用するには、<モジュール名>.<サブモジュール名> の構文で指定します。たとえば、次の値を設定すると、Sync App は HTTP モジュールに属するアクションのみをログに記録し、さらに HTTP モジュールの Res サブモジュールに属するアクションを除外します: HTTP;-HTTP.Res

Verbosity 接続プロパティによるログファイルのフィルタリングは、この接続プロパティによるフィルタリングよりも優先されます。そのため、Verbosity 接続プロパティで指定したレベルよりも高い詳細レベルの操作は、この接続プロパティで指定したモジュールに属していても、ログファイルには出力されません。

使用可能なモジュールとサブモジュールは次のとおりです。

モジュール名 モジュールの説明 サブモジュール
INFO 一般情報。接続文字列、製品バージョン(ビルド番号)、および初期接続メッセージが含まれます。
  • Connec — 接続の作成または破棄に関連する情報。
  • Messag — 接続、接続文字列、製品バージョンに関するメッセージの汎用ラベル。これらのメッセージは通常、サービスから直接受信して転送されるものではなく、Sync App 固有のものです。
EXEC クエリ実行。ユーザーが記述した SQL クエリ、解析済み SQL クエリ、正規化済み SQL クエリの実行メッセージが含まれます。クエリおよびクエリページの成功/失敗メッセージもここに表示されます。
  • Messag — クエリ実行に関するメッセージ。これらのメッセージは通常、サービスから直接受信して転送されるものではなく、Sync App 固有のものです。
  • Normlz — クエリの正規化ステップ。クエリの正規化とは、ユーザーが送信したクエリを、最適なパフォーマンスで同じ結果を得られるように書き換える処理です。
  • Origin — ユーザーの元のクエリ(ユーザーが実行した正確で未変更の非正規化クエリ)を記録するメッセージに適用されるラベル。
  • Page — クエリのページングに関連するメッセージ。
  • Parsed — クエリの解析ステップ。解析とは、ユーザーが送信したクエリを、処理しやすい標準化された形式に変換するプロセスです。
HTTP HTTP プロトコルメッセージ。HTTP リクエスト/レスポンス(POST メッセージを含む)、および Kerberos 関連のメッセージが含まれます。
  • KERB — Kerberos に関連する HTTP リクエスト。
  • Messag — HTTP プロトコルに関するメッセージ。これらのメッセージは通常、サービスから直接受信して転送されるものではなく、Sync App 固有のものです。
  • Unpack — サービス API から返された圧縮データを製品が解凍する際のメッセージに適用されるラベル。
  • Res — HTTP レスポンスを含むメッセージ。
  • Req — HTTP リクエストを含むメッセージ。
WSDL WSDL/XSD ファイルの生成に関するメッセージ。 —
SSL SSL 証明書メッセージ。
  • Certif — SSL 証明書に関するメッセージ。
AUTH 認証関連の失敗/成功メッセージ。
  • Messag — 認証に関するメッセージ。これらのメッセージは通常、サービスから直接受信して転送されるものではなく、Sync App 固有のものです。
  • OAuth — OAuth 認証に関連するメッセージ。
  • Krbros — Kerberos 関連の認証メッセージ。
SQL SQL トランザクション、SQL 一括転送メッセージ、および SQL 結果セットメッセージが含まれます。
  • Bulk — 一括クエリ実行に関するメッセージ。
  • Cache — パフォーマンス向上のため、製品のキャッシュへの行データの読み書きに関連するメッセージ。
  • Messag — SQL トランザクションに関するメッセージ。これらのメッセージは通常、サービスから直接受信して転送されるものではなく、Sync App 固有のものです。
  • ResSet — クエリの結果セット。
  • Transc — 実行されたジョブ数やバックアップテーブルの処理に関する情報を含む、トランザクション処理に関連するメッセージ。
META メタデータキャッシュとスキーマメッセージ。
  • Cache — パフォーマンス向上のため、製品のキャッシュ内のカラムおよびテーブル定義の読み取りと変更に関連するメッセージ。
  • Schema — サービススキーマからのメタデータの取得またはサービススキーマの変更に関連するメッセージ。
  • MemSto — インメモリメタデータキャッシュへの書き込みまたは読み取りに関連するメッセージ。
  • Storag — メモリ内ではなく、ディスクまたは外部データストアへのメタデータの保存に関連するメッセージ。
FUNC SQL 関数の実行に関連する情報。
  • Errmsg — SQL 関数の実行に関連するエラーメッセージ。
TCP TCP トランスポートレイヤーメッセージでの送受信生バイト。
  • Send — TCP プロトコル経由で送信された生データ。
  • Receiv — TCP プロトコル経由で受信した生データ。
FTP File Transfer Protocol に関するメッセージ。
  • Info — FTP プロトコルでの通信に関連するステータスメッセージ。
  • Client — FTP 通信中に FTP クライアント(製品)が実行したアクションに関連するメッセージ。
  • Server — FTP 通信中に FTP サーバーが実行したアクションに関連するメッセージ。
SFTP Secure File Transfer Protocol に関するメッセージ。
  • Info — SFTP プロトコルでの通信に関連するステータスメッセージ。
  • To_Server — SFTP 通信中に SFTP クライアント(製品)が実行したアクションに関連するメッセージ。
  • From_Server — SFTP 通信中に SFTP サーバーが実行したアクションに関連するメッセージ。
POP Post Office Protocol 経由で転送されるデータに関するメッセージ。
  • Client — POP 通信中に POP クライアント(製品)が実行したアクションに関連するメッセージ。
  • Server — POP 通信中に POP サーバーが実行したアクションに関連するメッセージ。
  • Status — POP プロトコルでの通信に関連するステータスメッセージ。
SMTP Simple Mail Transfer Protocol 経由で転送されるデータに関するメッセージ。
  • Client — SMTP 通信中に SMTP クライアント(製品)が実行したアクションに関連するメッセージ。
  • Server — SMTP 通信中に SMTP サーバーが実行したアクションに関連するメッセージ。
  • Status — SMTP プロトコルでの通信に関連するステータスメッセージ。
CORE 他のモジュールでカバーされていない、さまざまな製品内部操作に関連するメッセージ。 —
DEMN SQL リモーティングに関連するメッセージ。 —
CLJB 一括データアップロード(クラウドジョブ)に関するメッセージ。
  • Commit — 一括データアップロードの送信。
SRCE 他のモジュールに属さない、製品が生成するその他のメッセージ。 —
TRANCE 低レベルの製品操作に関する高度なメッセージ。 —

Sage 50 UK Connector for CData Sync

Schema

このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。


プロパティ説明
Locationテーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
BrowsableSchemasレポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
Tablesレポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
Viewsレポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。
Sage 50 UK Connector for CData Sync

Location

テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。

解説

Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。

指定しない場合、デフォルトの場所は%APPDATA%\\CData\\Sage50UK Data Provider\\Schema となり、%APPDATA%はユーザーのコンフィギュレーションディレクトリに設定されます:

プラットフォーム %APPDATA%
Windows APPDATA 環境変数の値
Linux ~/.config

Sage 50 UK Connector for CData Sync

BrowsableSchemas

レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。

解説

利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

Sage 50 UK Connector for CData Sync

Tables

レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。

解説

データベースによっては、利用可能なすべてのテーブルをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にテーブルのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

利用可能なテーブルがたくさんあり、すでに作業したいテーブルが決まっている場合、このプロパティを使用して対象のテーブルのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。

Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、表示する各テーブルを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するテーブルが混同されることを防ぎます。

Sage 50 UK Connector for CData Sync

Views

レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。

解説

データベースによっては、利用可能なすべてのビューをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にビューのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。

利用可能なビューがたくさんあり、すでに作業したいビューが決まっている場合、このプロパティを使用して対象のビューのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。

Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。

Sage 50 UK Connector for CData Sync

Miscellaneous

このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。


プロパティ説明
MaxRows集計やGROUP BY を含まないクエリで返される最大行数を指定します。
Other特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
Pagesizeprovider がSage 50 UK にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。
PseudoColumnsテーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
Timeoutprovider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
UserDefinedViewsカスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
Sage 50 UK Connector for CData Sync

MaxRows

集計やGROUP BY を含まないクエリで返される最大行数を指定します。

解説

このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)

MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。

このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。

Sage 50 UK Connector for CData Sync

Other

特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。

解説

このプロパティにより、シニアユーザーはサポートチームのアドバイスに基づいて、特定の状況に対応する隠しプロパティを設定できます。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。

Note:特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。

統合およびフォーマット

プロパティ説明
DefaultColumnSizeデータソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。
ConvertDateTimeToGMT=True日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換します。デフォルト値はFalse(ローカルタイムを使用)です。
RecordToFile=filename基底のソケットデータ転送を指定のファイルに記録します。

Sage 50 UK Connector for CData Sync

Pagesize

provider がSage 50 UK にデータをリクエストするときに返す、ページあたりの最大レコード数を指定します。

解説

クエリを処理する際、Sage 50 UK でクエリされたデータすべてを一度にリクエストする代わりに、Sync App はクエリされたデータをページと呼ばれる部分ごとにリクエストすることができます。

この接続プロパティは、Sync App がページごとにリクエストする結果の最大数を決定します。

Note:大きなページサイズを設定すると全体的なクエリ実行時間が短縮される可能性がありますが、その場合、クエリ実行時にSync App がより多くのメモリを使用することになり、タイムアウトが発生するリスクがあります。

Sage 50 UK Connector for CData Sync

PseudoColumns

テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。

解説

このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。

個々の擬似カラムを指定するには、以下の形式を使用します。

Table1=Column1;Table1=Column2;Table2=Column3

すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:

*=*

Sage 50 UK Connector for CData Sync

Timeout

provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。

解説

タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。

タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。

タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。

Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。

Sage 50 UK Connector for CData Sync

UserDefinedViews

カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。

解説

UserDefinedViews を使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。

次に例を示します。

{
	"MyView": {
		"query": "SELECT * FROM TradingAccounts WHERE MyColumn = 'value'"
	},
	"MyView2": {
		"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
	}
}

このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。 次に例を示します。

UserDefinedViews=C:\Path\To\UserDefinedViews.json
UserDefinedViews でビューを指定すると、Sync App はそのビューだけを参照します。

詳しくは、ユーザー定義ビュー を参照してください。

Sage 50 UK Connector for CData Sync

Third Party Copyrights

LZMA from 7Zip LZMA SDK

LZMA SDK is placed in the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

LZMA2 from XZ SDK

Version 1.9 and older are in the public domain.

Xamarin.Forms

Xamarin SDK

The MIT License (MIT)

Copyright (c) .NET Foundation Contributors

All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

NSIS 3.10

Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.

1. DEFINITIONS

"Contribution" means:

a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:

i) changes to the Program, and

ii) additions to the Program;

where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.

"Contributor" means any person or entity that distributes the Program.

"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.

"Program" means the Contributions distributed in accordance with this Agreement.

"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.

2. GRANT OF RIGHTS

a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.

b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.

c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.

d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.

3. REQUIREMENTS

A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:

a) it complies with the terms and conditions of this Agreement; and

b) its license agreement:

i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;

ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;

iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and

iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.

When the Program is made available in source code form:

a) it must be made available under this Agreement; and

b) a copy of this Agreement must be included with each copy of the Program.

Contributors may not remove or alter any copyright notices contained within the Program.

Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.

4. COMMERCIAL DISTRIBUTION

Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.

For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.

5. NO WARRANTY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.

6. DISCLAIMER OF LIABILITY

EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

7. GENERAL

If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.

If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.

All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.

Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.

This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 25.0.9540