---
# API: Quality Info Record (A2X)
# File: API_QUALITYINFORECORD_SRV.md
# Version: 1.2.0
# Status: ACTIVE
# Protocol: OData V2
# Source URL: https://api.sap.com/api/API_QUALITYINFORECORD_SRV/overview
# Generated: 2026-07-23 14:17:02
---

# Quality Info Record / 质量信息记录 API

> **API 版本:** 1.2.0 | **状态:** ACTIVE | **协议:** OData V2  
> **技术名称:** `API_QUALITYINFORECORD_SRV`  
> **服务根路径:** `/sap/opu/odata/sap/API_QUALITYINFORECORD_SRV`  
> **SAP 通信场景:** `SAP_COM_0046`

## 概述 / Overview

该服务支持对质量信息记录主数据进行读取操作，用于管理供应商、物料和工厂之间的质量管理数据。

This synchronous inbound OData V2 service provides read access to Quality Info Record master data, managing quality management data between suppliers, materials, and plants.

**API 业务加速器中心:** [https://api.sap.com/api/API_QUALITYINFORECORD_SRV/overview](https://api.sap.com/api/API_QUALITYINFORECORD_SRV/overview)

---

## 实体列表 / Entity List

| # | 实体名称 | 描述 (EN) | 描述 (CN) | 主键 |
|---|----------|-----------|-----------|------|
| 1 | `A_QualityInfoRecord` | Quality Info Record | 质量信息记录 | `QualityInfoRecord` |

---

## 1. A_QualityInfoRecord — 质量信息记录

**实体集合路径:** `A_QualityInfoRecord`  
**主键 (Key):** `QualityInfoRecord` (CHAR 10)  
**ETag:** 支持 (`ETag` 字段)

### 字段列表 / Field List

| 字段名 | 类型 | 长度 | 描述 (EN) | 描述 (CN) |
|--------|------|------|-----------|-----------|
| `QualityInfoRecord` | String | 10 | Quality Info Record | 质量信息记录 (主键) |
| `Material` | String | 40 | Material Number | 物料编号 |
| `Supplier` | String | 10 | Supplier Account Number | 供应商账户号 |
| `Plant` | String | 4 | Plant | 工厂 |
| `QualityInfoRecordCategory` | String | 1 | Category (Q=QM, L=Laboratory) | 质量信息记录类别 |
| `ValidFrom` | DateTime | - | Validity Start Date | 有效期起始日期 |
| `ValidTo` | DateTime | - | Validity End Date | 有效期截止日期 |
| `InspectionLotText` | String | 40 | Inspection Lot Text | 检验批文本 |
| `InspectionType` | String | 4 | Inspection Type | 检验类型 |
| `InspectionIntervalInDays` | Decimal | - | Inspection Interval (Days) | 检验间隔天数 |
| `NumberOfInspectionLots` | Decimal | - | Number of Inspection Lots | 检验批数量 |
| `NumberOfInspectedLots` | Decimal | - | Number of Inspected Lots | 已检批数量 |
| `NumberOfAcceptedLots` | Decimal | - | Number of Accepted Lots | 验收批数量 |
| `BlockFunctionActive` | Boolean | - | Block Function Active | 锁定功能激活 |
| `IsBlocked` | Boolean | - | Blocked Indicator | 冻结标识 |
| `IsDeleted` | Boolean | - | Deletion Indicator | 删除标识 |
| `QualityScore` | Decimal | - | Quality Score | 质量评分 |
| `QualityScoreTolerance` | Decimal | - | Quality Score Tolerance | 质量评分容差 |
| `LastReceiptDate` | DateTime | - | Date of Last Receipt | 最后收货日期 |
| `LastInspectionDate` | DateTime | - | Date of Last Inspection | 最后检验日期 |
| `LastChangeDate` | DateTime | - | Last Change Date | 最后更改日期 |
| `CreatedByUser` | String | 12 | Created By | 创建人 |
| `CreationDate` | DateTime | - | Creation Date | 创建日期 |

### 导航属性 / Navigation Properties

| 属性名 | 目标实体 | 基数 | 描述 |
|--------|----------|------|------|
| `to_Supplier` | A_Supplier | 0..1 | 供应商 |
| `to_Material` | A_Material | 0..1 | 物料 |
| `to_Plant` | A_Plant | 0..1 | 工厂 |

---

## 示例请求 / Sample Requests

### 获取所有质量信息记录

```http
GET /sap/opu/odata/sap/API_QUALITYINFORECORD_SRV/A_QualityInfoRecord
Accept: application/json
```

### 按主键获取单个质量信息记录

```http
GET /sap/opu/odata/sap/API_QUALITYINFORECORD_SRV/A_QualityInfoRecord(QualityInfoRecord='QIR0000001')
Accept: application/json
```
