# サンプルレポート

## Order Listの作成

1. クイックアクセスツールバーの**新規作成**アイコンでレポートを新規作成します。&#x20;
2. データ情報タブで**Data Tree**を右クリックして**ODIの挿入**を選択した後、`orderList.odi`を選択します。(クエリデザインの”データセットの作成”をご参照)
3. ページヘッダーバンド、データバンド、ページフッターバンドを追加します。&#x20;
4. ページヘッダーとページフッターのラベルを追加します。
5. &#x20;データバンドにテーブルコンポーネントを追加した後、フィールドを選択します。&#x20;
6. テーブルセクションの**オプション**をクリックし、下部の**タイトルを固定する**をチェックします。&#x20;
7. テーブルコンポーネントを右クリックして**グループ設定ウィザード**を選択した後、左側のフィールドからCountry,  City, Customername, SalesOrderIDを選択して右側に移動させます。&#x20;
8. `orderList.ozr`として保存します。

![](/files/-Lzk7W192JhIMS04gusQ)

[Run example](http://oz.ozeform.io/oz/eform/orderList.html)

## Order Detailレポートの作成

1. レポートを新規作成します。
2. `orderDetail.odi`を挿入します。
3. 以下画象のようにレポートをデザインします。
4. `orderDetail.ozr`として保存します。

![](/files/-Lzk8kVhKLHLDGPp1_s5)

[Run example](http://oz.ozeform.io/oz/eform/orderDetail.html)

## ODIパラメータを使用したOrder Detailの作成

下記手順で作成するレポートは、`orderID`というODIパラメータを使用し、1つのSalesOrderIDのみで呼び出したデータをリストに表示します。

1. `orderDetail.ozr`のようにレポートを新規作成します。
2. `OrderDetailOdiParam.odi` を新規レポートに挿入すると、ODIパラメータ `orderID` がデータセットのOZParamに表示されます。
3. `oderDetailOdiParam.ozr`というファイル名で保存します。

[Run example](http://oz.ozeform.io/oz/eform/orderDetailOdiParam.html)

## サンプルのダウンロード

{% file src="/files/-M4DQythZFf\_YjE9Q2UF" %}
sample-report.zip
{% endfile %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jp.ozeform.io/report-design-examples/sample-report.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
