> 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/guan-li-yu-she-zhi/workflow/cards-overview/and/compare-with-purchase-order/order-data-in-order-confirmation.md).

# 订单确认中的订单数据

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

## **用途**

此工作流卡用于比较订单确认和采购订单中的特定字段——**单价**、**折扣**或**数量**，确保内容一致并符合约定条款。根据比较结果，当条件判断为 **true** 或 **false** 时，此卡可以将指定文本写入选定字段，从而简化文档处理并减少人工干预。

## **卡片组件**

1. **订单数据**
   * **说明：** 指定要在订单确认和采购订单之间进行比较的字段。
   * **选项：**
     * **单价**：比较两份文档中的单价。
     * **折扣**：比较折扣百分比或金额。
     * **数量**：比较订购数量。
2. **运算符**
   * **说明：** 定义比较时应用的条件。
   * **选项：**
     * **等于 (=)：** 检查订单确认和采购订单中所选字段的值是否一致。
     * **不等于 (≠)：** 检查两份文档中所选字段的值是否不同。
3. **文本**
   * **说明：** 指定条件判断后要写入目标字段的文本。
   * **详情：** 此文本可以包含自定义备注、状态更新或预定义值。
4. **字段名称**
   * **说明：** 指定要写入文本的字段。
   * **详情：** 从系统中可编辑的字段里选择目标字段。
5. **条件结果**
   * **说明：** 根据比较结果确定何时写入文本。
   * **选项：**
     * **True（真）：** 如果比较条件成立，则写入文本。
     * **False（假）：** 如果比较条件不成立，则写入文本。

## **功能**

* **比较评估：** 系统使用指定的运算符，比较订单确认和采购订单中的所选字段。
* **执行操作：** 如果条件判断为 **true** 或 **false**，系统会将指定文本写入指定字段。

## **设置与配置**

* 要设置此卡，用户首先选择要比较的字段——**单价**、**折扣**或**数量**。然后选择运算符来定义比较条件，例如**等于**或**不等于**。用户指定要写入目标字段的文本，并根据条件结果（**true** 或 **false**）选择何时执行此操作。

## **示例场景**

* 订单确认中某产品的单价为 $50，而采购订单中的价格为 $45。使用**不等于 (≠)** 运算符时，此卡会识别出差异，并在条件判断为 **true** 时将文本 "Price Mismatch" 写入指定字段。

## **结论**

“\[单价/折扣/数量] in Order Confirmation”工作流卡为确保文档一致性提供了实用方案。它可以自动标记差异，并将相关文本写入指定字段，从而提升订单管理流程的效率并减少错误。


---

# 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/guan-li-yu-she-zhi/workflow/cards-overview/and/compare-with-purchase-order/order-data-in-order-confirmation.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.
