> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# RejectedDataSetRecord オブジェクト（IRejectedDataSetRecord インターフェイス）

このオブジェクトは、データセットへの書き込みに失敗したレコードを表します。主な理由としては、主キーが一意でない、一部の必須フィールドが未入力である、などが挙げられます。各レコードの詳細を取得するには、**ErrorMessage** プロパティを使用します。

## Properties

| **Name** | **Type** | **Description** |
| - | - | - |
| **AsBusinessUnitRecord** | [**BusinessUnitRecord**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/businessunitrecord.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | レコードを事業部門レコードとして返します。このレコードが事業部門データベースのレコードでない場合は NULL を返します。 請求書プロジェクトでのみ使用されます。 |
| **AsDataSetTableRecord** | [**DataSetTableRecord**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/datasettablerecord.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | レコードを汎用のデータセットレコードとして返します。 |
| **AsVendorRecord** | [**VendorRecord**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/vendorrecord.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | レコードをベンダーレコードとして返します。このレコードがベンダーデータベースのレコードでない場合は NULL を返します。 請求書プロジェクトでのみ使用されます。 |
| **ErrorMessage** | [**String**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/propertiestypes.md)、読み取り専用 | [**DataSetTableRecords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/datasettablerecords.md)、[**VendorRecords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/vendorrecords.md)、または [**BusinessUnitRecords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/businessunitrecords.md) オブジェクトの [**Commit**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/datasettablerecords-commit.md) メソッドを呼び出した際に、このレコードをデータセットに書き込めなかった理由を示すエラーメッセージです。 |
| **RecordType** | [**InvoicesDatasetType**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/invoicesdatasettype.md)、[読み取り専用](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md#readonly-properties) | 請求書関連のデータセットにおけるレコードの型 (ベンダーまたは事業部門) です。 請求書プロジェクトでのみ使用されます。 |

## 関連オブジェクト

![](https://mintcdn.com/abbyy/DG4YBah30S0eFFo5/images/flexi-capture/sdk/RejectedDataSetRecord.gif?s=b4fc3e29e98ca3645e0fe64ea0421cbe)

## 出力パラメーター

このオブジェクトは、[**RejectedDataSetRecords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/rejecteddatasetrecords.md) オブジェクトの [**Item**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/item.md) メソッドの出力パラメーターです。

## 関連項目

[**RejectedDataSetRecords**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/rejecteddatasetrecords.md)

[Properties の操作](https://docs.abbyy.com/ja/flexi-capture/sdk/guided-tour/properties.md)
