> 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/out-of-tolerance-unit-price.md).

# 超出容差的单价

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

## **用途：**

此工作流卡用于评估单价与指定字段值的组合是否超过或低于设定的阈值。它有助于识别单价与其他字段值组合后超出容差的情况，确保价格条件符合预期，并标记任何问题以供审核或采取进一步措施。

## **卡片组件：**

1. **字段名称：**
   * **描述**：指定包含待与单价组合的值的文档字段。
   * **详情**：此字段中的值将与单价组合，生成用于比较的组合总值。
2. **运算符：**
   * **描述**：定义如何将单价与字段值的组合值和指定值进行比较。
   * **选项**：
     * **等于 (=)**：验证单价与字段值的组合是否等于指定值。
     * **不等于 (≠)**：确保单价与字段值的组合不等于指定值。
     * **大于 (>)**：验证单价与字段值的组合是否大于指定值。
     * **大于或等于 (≥)**：验证单价与字段值的组合是否大于或等于指定值。
     * **小于 (<)**：验证单价与字段值的组合是否小于指定值。
     * **小于或等于 (≤)**：验证单价与字段值的组合是否小于或等于指定值。
3. **值：**
   * **描述**：指定用于与单价和字段值的组合进行比较的值。
   * **详情**：此数值表示比较阈值。根据所选运算符，如果单价与字段值的组合超过或低于此值，就会触发指定操作。

## **功能：**

* \*\*条件评估：\*\*系统根据配置，将单价与字段值相乘或相加，以计算组合值。随后，系统使用所选运算符将结果与指定值进行比较。如果满足条件（即组合值超出容差），工作流将进入下一步，例如审批、拒绝或进一步审核。
* **执行操作：**
  * **条件为真**：如果比较结果为真（即组合值满足条件），工作流将触发与真条件关联的操作（例如审批或通知）。
  * **条件为假**：如果比较结果为假（即组合值不满足条件），工作流将不会继续。

## **设置与配置：**

* 用户选择包含待与单价组合的值的字段。接着，用户选择合适的运算符，以确定如何将组合值与指定值进行比较。最后，用户设置用于与组合价格进行比较的值。

## **示例场景：**

* 某张发票列出一种产品，共 50 件，每件 $30，总计 $1500。相关文档中的数量字段值为 10。通过将单价 ($30) 与数量 (10) 相乘，得出组合价格 $300。随后，卡片将此组合值与阈值 $250 进行比较。使用“大于”运算符时，卡片会判定 $300 大于 $250，并触发该文档的审批流程。

## **结论：**

“单价与字段组合后超出容差”工作流卡有助于确保价格和字段值符合业务规则。通过自动执行此检查，组织可以及早发现差异，并标记超出容差的单价以供审核或采取必要措施。


---

# 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/out-of-tolerance-unit-price.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.
