製品をチェック

無償トライアル:

無償トライアルへ

製品の情報と無償トライアルへ:

Workday JDBC Driver

Workday データを組み込んだパワフルなJava アプリケーションを短時間・低コストで作成して配布できます。

データ連携でお困りですか?

お問い合わせ

Crystal Reports でWorkday データに連携して帳票を作成


レポートウィザードを使って、最新のWorkday 連携データを使った帳票を作成。


workday ロゴ画像
jdbc ロゴ画像

JDBC

SAP Crystal Reports ロゴ画像


Crystal Reports には、JDBC 標準向けのサポートが組み込まれています。この記事では、Workday の機能を持つ帳票を作成するレポート作成ウィザードの使い方を説明します。

Workday JDBC Driver のインストール

CData JDBC Driver for Workday を、ドライバーのJAR をCrystal Reports のクラスパスに含めてインストール:DataDriverCommonElement の下のClassPath element のパスに、 .jar を含むファイルのフルパスを追加します。

CRConfig.xml は通常C:\Program Files (x86)\SAP BusinessObjects\SAP BusinessObjects Enterprise XI 4.0\java に配置されます。— パスはインストールによって若干異なる場合があります。ドライバーのJAR はインストールディレクトリの[lib]サブフォルダ内にあります。

ClassPath にJAR を追加したら、Crystal Reports を再起動します。

Workday データに接続

下記の手順に従って、レポート作成ウィザードを使ってWorkday 接続を作成します。

  1. 新しい空の帳票で、[Create New Connection]>[JDBC (JNDI)]をクリックします。
  2. ウィザードでJDBC 接続URL を選択します。

    jdbc:workday:User=myuser;Password=mypassword;Tenant=mycompany_gm1;Host=https://wd3-impl-services1.workday.com
  3. ドライバーのクラス名を設定:

    cdata.jdbc.workday.WorkdayDriver

    To connect, there are three pieces of information required: Authentication, API URL, and WSDL URL.

    Authentication

    To authenticate, specify your User and Password. Note that you must append your Tenant to your User separated by an '@' character. For instance, if you normally log in with 'geraldg' and your Tenant is 'mycompany_mc1', then your User should be specified as 'geraldg@mycompany_mc1'.

    API URL

    The API URL may be specified either directly via APIURL, or it may be constructed from the Tenant, Service, and Host. The APIURL is constructed in the following format: <Host>/ccx/service/<Tenant>/<Service>.

    WSDL URL

    The WSDLURL may be specified in its entirety, or may be constructed from the Service and WSDLVersion connection properties. The WSDLURL is constructed in the following format: https://community.workday.com/sites/default/files/file-hosting/productionapi/<Service>/<WSDLVersion>/<Service>.wsdl

帳票をデザイン

JDBC 接続をWorkday に追加したら、レポート作成ウィザードを使ってWorkday を帳票に追加できます。

  1. 帳票に必要なテーブルやフィールドを選択して、データソースを設定します。この例では、Workers テーブルのWorker_Reference_WID およびLegal_Name_Last_Name カラムを使います。

    Workday data accessible as tables and columns in the Report Wizard. (Salesforce is shown.)
  2. チャートの種類を設定 ウィザードを完了すると、Crystal Reports はWorkday data に実行されるSQL クエリをビルドします。ドライバーは、ライブWorkday data に対してクエリを実行します。

    Chart type, axes, and summary type in the Report Wizard. (Salesforce is shown.)
  3. 必要に応じて、ほかのフィルタや帳票テンプレートを設定します。
  4. データのインポートが終わったら、データをサマライズもしくはソートするチャートやレポートオブジェクトを作成できます。[Insert]>[Chart]をクリックして、チャートエキスパートを開きます。Total Legal_Name_Last_Name by Worker_Reference_WID を表すグラフを作成するには、Worker_Reference_WID を[On Change Of]メニューセレクションの下のボックスに追加してからLegal_Name_Last_Name を[Show Values]の下のボックスに追加します。

    The x and y axes of the chart.

完成した帳票をプレビューして、チャートにデータが入っていることを確認します。Null 値を取り除きたい場合は、SelectionFormula を使います。

A chart with null values filtered out. (Salesforce is shown.)