BillSchdCreatedEventDetail

Contains details about each order item in the /commerce/invoicing/billing-schedules/actions/create request and any errors that occurred while processing the request. This object is included in an BillingScheduleCreatedEvent message. You can’t subscribe to the BillSchdCreatedEventDetail platform event directly. This object is available in API version 63.0 and later.

Supported Calls 

describeSObjects()

Special Access Rules 

This object is available when Billing is enabled in your org.

Fields 

BillingScheduleId 

  • Type: reference
  • Properties: Nillable
  • Description: If the request was successful, this field contains the ID of the billing schedule for the order item.

This field is a relationship field.

  • Relationship Name: BillingSchedule
  • Refers To: BillingSchedule

ErrorCode 

  • Type: string
  • Properties: Nillable
  • Description: If the request wasn’t successful, this field contains the error code.

ErrorMessage 

  • Type: string
  • Properties: Nillable
  • Description: If the request wasn’t successful, this field contains the error message.

EventUuid 

  • Type: string
  • Properties: Nillable
  • Description: A universally unique identifier (UUID) that identifies a platform event message.

IsSuccess 

  • Type: boolean
  • Properties: Defaulted on create
  • Description: Indicates whether the request to create a billing schedule for the order item is successful (true) or not (false).

The default value is false.

OrderItemId 

  • Type: reference
  • Properties:
  • Description: The ID of the order item used in the /actions/standardCreateBillingScheduleFromOrderItem REST request.

This field is a relationship field.

  • Relationship Name: OrderItem
  • Refers To: OrderItem