# 検索結果０件の場合にあらかじめ指定したレコードを表示する

## **機能概要**

カスタムマスターの検索で該当のレコードが存在しない場合に、「NotFoundRecord」レコードに指定した値を表示する機能です。

<div align="left"><figure><img src="/files/uHsKRzKcy9ZX5zW7NYI3" alt=""><figcaption></figcaption></figure></div>

## **設定手順**

1. **レコードの登録**\
   レコードキーを”NotFoundRecord”として、CSV または CustomMasterInputSheet.xlsbに行を追加し取り込みます。\
   このレコードが、該当のレコードが存在しない場合（検索結果０件の場合）に表示されます。<br>

   * CSVの場合<br>

     <div align="left"><figure><img src="/files/QgyES8dIr1STJaFHJBfN" alt=""><figcaption></figcaption></figure></div>
   * CustomMasterInputSheet.xlsbの場合<br>

     <div align="left"><figure><img src="/files/sOTqwhmkSd8elI1jNDPL" alt=""><figcaption></figcaption></figure></div>

2. **マスター選択クラスターの設定**\
   i-Repo Designerの 入力パラメーター設定画面で「検索結果０件の場合にあらかじめ指定したレコードを表示する」にチェックをいれます。<br>

   <div align="left"><figure><img src="/files/8jRWtMD5dWzEsoB0uEBG" alt=""><figcaption></figcaption></figure></div>


---

# 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://manuals.i-reporter.jp/input-features/custom-master/settings-in-designer/custommastershow0.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.
