> For the complete documentation index, see [llms.txt](https://docs.docbits.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docbits.com/chinese/gai-shu-yu-ji-chu/faq/infor-ln-ln-integration/export-error-error-exporting-document-to-ln.-status-code-500/request-validation-attr.-receiptline-value-the-value-must-be-numeric..md).

# 请求验证；属性 'ReceiptLine'，值 " "：值必须为数字。

## **步骤 1：调查采购订单**

**1. 在仪表板中检查采购订单**

* 如果文档状态为 **导出错误**：
  1. 在仪表板中找到该文档。
  2. 点击该文档，然后选择 **字段验证** 按钮，返回字段验证屏幕。
* 如果文档状态为 **待验证**：
  1. 点击该文档，直接进入 **字段验证** 屏幕。
* 如果文档处于 **待审批** 状态：
  1. 转到 **审批屏幕**。
  2. 在 **发票行项目** 旁边找到 **采购订单表**。
  3. 转到“3. 检查交货编号”步骤。

**2. 验证采购订单**

1. 在 **字段验证** 屏幕中，确保已选择正确的采购订单。
2. 确认采购订单无误后，点击提取表格旁的采购订单，打开 **采购订单表** 视图。

**3. 检查交货编号**

* 在采购订单表中，查找 **交货编号** 列：
  * **如果存在交货编号**，转到 **审批屏幕**，再次检查该编号是否存在；如果存在，请转到 **步骤 3**。
  * **如果不存在交货编号**，请按照 **步骤 2** 解决此问题。

## 步骤 2：在 LN 中验证采购订单

将采购订单发送到 DocBits 之前，请确认已在 **LN** 中正确分配 **交货编号**。检查 **LN** 中的 **采购订单** 详情，确保信息完整且准确。如果缺少交货编号或编号不正确，这可能是导致导出错误的原因。

如果 **采购订单** 看起来正确且包含所需详情，请继续下一步。

## **步骤 3：打开 DocBits 设置**

1. 打开 **DocBits**，转到 **设置** 部分。
2. 转到 **文档处理**。
3. 选择 **导出**。
4. 在 **导出** 部分，点击无法正常工作的导出项旁边的 **三个点** 图标，然后选择 **编辑**。
5. 在 **编辑导出设置** 菜单中，点击 **下载 LN-Mapping** 文件。

## **步骤 3：编辑 LN-Mapping 文件**

1. 打开下载的 **LN-Mapping** 文件。
2. 搜索字段 **IRF\_ReceiptLine**。
   * 如果字段 **IRF\_ReceiptLine** 存在且为空，请将其更新为 **TF\_delivery\_line**。
   * 如果字段 **IRF\_ReceiptLine** 不存在，请将其添加到文件中，并将值设为 **TF\_delivery\_line**。
3. 对于字段 **InvoiceReceiptFields，** 请在值中添加 **ReceiptLine**。

文件应如下所示：

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-5b804275c58b540f059f9e1898083b4de00eeeae%2Fimage%20(117).png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

## **步骤 4：将更新后的文件添加回 DocBits**

1. 返回 DocBits 中之前下载 **LN-Mapping** 文件所在的 **导出** 部分。
2. 上传编辑后的 **LN-Mapping** 文件及其更新内容。

## 步骤 5：重试导出

确认 **采购订单** 包含 **交货编号**，并确保 **导出文件正确** 后，请按以下步骤重试导出：

1. **返回仪表板：**
   * 返回仪表板，找到出现导出错误的文档。
2. **重试导出流程：**
   * 点击出现导出错误的文档。
   * 如果 **采购订单** 包含有效的 **交货编号**，且 **导出文件** 正确，请重试导出。
3. **检查导出结果：**
   * 重试后，再次检查导出流程，确认问题是否已解决，以及文档是否不再显示为导出错误。
   * 如果导出成功，问题应已解决。
4. **进一步排查（如果问题仍然存在）：**
   * 如果重试导出后问题仍然存在，请联系支持团队，进一步排查可能的配置或系统问题。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docbits.com/chinese/gai-shu-yu-ji-chu/faq/infor-ln-ln-integration/export-error-error-exporting-document-to-ln.-status-code-500/request-validation-attr.-receiptline-value-the-value-must-be-numeric..md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
