您在此处:
使用 Flow 或 Apex 创建文档生成过程记录
通过使用创建记录元素创建流或通过配置 Apex 类,创建文档生成过程记录。
通过使用创建记录元素创建流或通过配置 Apex 类,创建文档生成过程记录。
| 适用于:Lightning Experience |
| 适用于:具有 Revenue Cloud Billing 许可证的 Enterprise、Unlimited 和 Developer Edition。联系您的 Salesforce 客户主管了解更多信息。 |
| 所需用户权限 | |
|---|---|
| 要创建流: | 管理流 |
| 配置 Apex 类: | 作者 Apex |
| 创建文档生成流程记录: | 开单管理员权限集 或者 开单操作用户权限集 |
| 生成发票 PDF 文档: | DocGen 用户权限集 |
如果您创建流,请添加元素,以获取用于生成发票 PDF 文档的文档模板。然后,添加具有这些值的创建记录元素:
{"Id":"<Enter Invoice ID>"}格式输入 JSON 输入作为数据映射器输入。
{"keepIntermediate":false,"title":"<Enter Invoice
Number/ Document Number>"}格式输入 JSON 输入作为请求输入。
如果您配置 Apex 类,请指定为创建记录元素提及的相同值。

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.