立即开始
Salesforce Tools

Salesforce Add Opportunity Line Item

通过 Aident Loadout 使用 Salesforce Tools 的 Salesforce Add Opportunity Line Item。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Adds a product (line item) to an opportunity. The product must exist in a pricebook entry that's associated with the opportunity's pricebook.

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • discountnumber
    Discount percentage (0-100). Cannot be used with TotalPrice.
  • quantitynumber
    必填
    The quantity of the product to add.
  • unit_pricenumber
    The sales price per unit. If not specified, uses the standard price from the pricebook entry.
  • descriptionstring
    Optional description for this line item.
  • total_pricenumber
    The total price for this line item. Cannot be used with UnitPrice or Discount.
  • service_datestring
    Service date for the product in YYYY-MM-DD format.
  • custom_fieldsobject
    Dictionary of custom field API names and their values. Custom field names typically end with '__c'.
  • opportunity_idstring
    必填
    The Salesforce ID of the opportunity to add a product to.
  • pricebook_entry_idstring
    必填
    The ID of the PricebookEntry that contains the product and price information. This links to a specific product in a specific pricebook. Entry must be active and match the opportunity's pricebook and currency; mismatches cause REQUIRED_FIELD_MISSING or INVALID_CROSS_REFERENCE_KEY…

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源