> 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/infor-ji-cheng-yu-pei-zhi/importing-customer-master-data/m3/auto-accounting.md).

# 使用 Infor M3 自动会计

使用本指南规划 DocBits 中 M3 自动会计所需的主数据。仅启用设置不会导入科目或成本要素。您的 Infor 管理员必须确认 BOD 映射、DocBits API 操作，以及您所在组织中的处理结果。

## 检查 DocBits 设置

管理员可以打开 **Settings → Module → Order & Finance → Auto accounting**。**Type** 菜单提供 **LN** 和 **M3** 选项。仅在集成使用 M3 时选择 **M3**，并在验证数据流和所需主数据后启用开关。截图展示的是英文版 **DocBits Documentation Test A** 沙盒。该沙盒中的开关处于**关闭**状态，当前 Type 为 **LN**；打开菜单不会保存或更改设置。

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-18844607d20cfa833d804a0fe23e950c4c0652c9%2Fdbdc207-auto-accounting-settings-en.png?alt=media" alt="英文版 DocBits Order and Finance 设置，其中 Auto accounting 已停用，Type 设为 LN"><figcaption><p>在 Order &#x26; Finance 中找到 Auto accounting；此沙盒示例中的功能处于停用状态。</p></figcaption></figure>

<figure><img src="https://1870485400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlPczlNw8zzYNLfjfispX%2Fuploads%2Fgit-blob-0a2c3fd0fc97fe22625b529a5b184e3890cba785%2Fdbdc207-auto-accounting-type-options-en.png?alt=media" alt="打开英文版 DocBits 沙盒中的 Auto accounting Type 菜单，显示 LN 和 M3 选项"><figcaption><p>Type 菜单提供 LN 和 M3 选项。此示例中未选择任何选项。</p></figcaption></figure>

## 准备 M3 数据流

1. 确定要交换数据的 M3 公司和 DocBits 组织。向 DocBits 管理员确认当前哪个 API 操作可接收会计主数据。不要从旧租户的截图中复制端点或凭据。
2. 在 M3 中，确认已为相关会计实体启用所需的 BOD。此前的租户示例使用 `Sync.ChartOfAccounts` 和 `Sync.CodeDefinition` 处理会计维度。请根据您的 M3 配置和接收端 API 契约确认确切的 noun、版本和字段。Infor 介绍了[如何启用 BOD 发布](https://docs.infor.com/m3core/2025.x/en-us/useradminlib_cloud/m3cecoreag_cloud/wbr1509377469290.html)。
3. 在 **ION Desk → Connect → Connection Points** 中配置 M3 源和 API 目标，并指定经批准的 DocBits 操作和服务账户。在 **Data Flows** 中仅路由经批准的文档，检查筛选条件和字段映射，然后保存并激活数据流。请参阅 [Infor 连接点列表](https://docs.infor.com/inforos/latest/en-us/useradminlib_cloud/iondeskceug/documentflowdesk_connectionpointmasterlist.html)和[数据流激活说明](https://docs.infor.com/inforos/latest/en-us/useradminlib_cloud/iondeskceug/lsm1436532178755.html)。
4. 从 M3 发布一个不含敏感信息的测试标识符。初始加载可能会使用 M3 **EVS006**；具体操作和表名称取决于已安装的 M3 版本。请遵循 [Infor 初始加载说明](https://docs.infor.com/m3core/2025.x/en-us/useradminlib_cloud/m3cecoreag_cloud/pbi1544012609638.html)。在 **ION OneView** 中跟踪该标识符经过数据流的情况，并使用 [Infor OneView](https://docs.infor.com/inforos/latest/en-us/useradminlib_cloud/iondeskceug/lsm1436532196155.html) 检查 API 结果。
5. 在 DocBits **Settings → Document Processing → Lookup Master Data** 中检查同一标识符。[M3 到 DocBits 的 API 指南](/chinese/infor-ji-cheng-yu-pei-zhi/importing-customer-master-data/m3/import-from-infor-m3-to-docbits-via-api.md)介绍了导入检查。只有在所需记录已存在且管理员已验证映射后，才启用 M3 自动会计。

## 成本要素

此前的租户示例从 M3 **PPS280** 导出成本要素到 Excel，删减列后通过旧版 HTTP API 页面上传 CSV。这组截图所示流程并非通用的安全导入步骤：需要针对当前环境确认列名、分隔符、端点和身份验证方式。请使用最新的[成本要素表格指南](/chinese/infor-ji-cheng-yu-pei-zhi/importing-customer-master-data/m3/table-extraction-for-costing-element.md)准备文件，并查看 DocBits 中可用的 CSV 控件。管理员检查文件列是否与目标表匹配之前，请勿上传文件。

如果 BOD 已到达 ION，但 DocBits 中没有出现行，请先检查 ION 路由、API 响应、组织、标识符和映射，再启用该功能。不要仅凭数据流已激活或已有演示数据就判断处理成功。

本页以当前 DocBits 控件和带有来源链接的步骤，替代了一个较早 Infor 租户的 43 张截图。由于无法访问 Infor 租户或实时 BOD 传输，未进行端到端测试；您的租户管理员必须验证最终映射、导入和会计结果。


---

# 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/infor-ji-cheng-yu-pei-zhi/importing-customer-master-data/m3/auto-accounting.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.
