PaymentSchedule
Represents information about a set of payments that a customer wants to collect at different times for a certain record. A schedule contains one or more payment schedule items, where each item represents one payment to be processed. Each of a schedule’s items can have different payment configuration fields, such as payment methods, payment dates, and payment accounts. When a payment scheduler launches a payment run, the run evaluates active payment schedule items, and picks them up for payment processing if they match the scheduler’s payment criteria. This object is available in API version 64.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()
You need the Revenue Cloud Billing license, and the Payment Admin permission set or the Payment Operations User permission set to access this object.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The payment schedule’s remaining amount available for the creation of payment schedule items. This value is calculated by deducting the
TotalLineRequestedAmountvalue from theTotalRequestedAmountvalue.
This field is a calculated field.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The collection plan item for the payment schedule that’s related to an invoice.
This field is a relationship field.
- Relationship Name: CollectionPlanItem
- Refers To: CollectionPlanItem
- Type: textarea
- Properties: Create, Filter, Nillable, Sort, Update
- Description: Additional details about the payment schedule.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: When a payment run creates payments from a payment schedule item, it sets the payment’s account to the item’s
PaymentAccountIdvalue. When the payment schedule item is created, the item’sPaymentAccountIdinherits the schedule’sDefaultPaymentAccountId. However, you can override thePaymentAccountIdwith a different account as needed. If you do, future payments made from the item use the new account.
This field is a relationship field.
- Relationship Name: DefaultPaymentAccount
- Refers To: Account
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: When a payment run creates payments from a payment schedule item, it sets the payment’s payment method to the item’s
PaymentMethodId. When the payment schedule item is created, the item’sPaymentMethodIdinherits the schedule’sDefaultPaymentMethodId. However, you can override thePaymentMethodIdwith a different method as needed. If you do, future payments made from the item will use the new method.
This field is a polymorphic relationship field.
- Relationship Name: DefaultPaymentMethod
- Refers To: CardPaymentMethod, SavedPaymentMethod
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The timestamp when the current user last viewed this record or list view. If this value is null, and
LastReferenceDateis not null, the user accessed this record or list view indirectly.
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: Required. The ID of the owner of the Payment Schedule record.
This field is a polymorphic relationship field.
- Relationship Name: Owner
- Refers To: Group, User
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: Required. The auto-generated reference number for the payment schedule.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description:
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The object record that receives payments as a result of the related payment schedule items that are processed.
This field is a polymorphic relationship field.
- Relationship Name: ReferenceEntity
- Refers To: CollectionPlan, Contract, Invoice, Order, Quote
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The total pending amount of payment schedule items that haven’t yet been processed for payment. This value is calculated by deducting the
TotalProcessedAmountvalue from theTotalLineRequestedAmountvalue.
This field is a calculated field.
- Type: picklist
- Properties: Create, Filter, Group, Restricted picklist, Sort, Update
- Description: Required. The status of the payment schedule.
Valid values are:
Canceled—Payment runs can’t evaluate payment schedules or use them to create payments.Completed—All of the payment schedule’s payment schedule items have been processed for payments.Draft—The payment schedule can be edited and configured. Payment runs don’t evaluate draft payment schedules.Open—The payment schedule is available for payment run evaluation.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The amount of all the related payment schedule items that have been applied to payments.
This field is a calculated field.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of all
RequestedAmountvalues of all the related payment schedule items with a status ofCanceled.
This field is a calculated field.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The total amount allocated from the payment schedule to its payment schedule items. This value is calculated by deducting the sum of each payment schedule item’s
CanceledAmountfrom the sum of each payment schedule item’sRequestedAmount.
This field is a calculated field.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of all the total payment received for all the related payment schedule items.
This field is a calculated field.
- Type: currency
- Properties: Filter, Nillable, Sort
- Description: The sum of
ProcessedAmountvalues of all the related payment schedule items with a status ofProcessed.
This field is a calculated field.
- Type: currency
- Properties: Create, Filter, Sort, Update
- Description: Required. The total amount available for a payment schedule to distribute to its payment schedule items. The sum of payment schedule items can’t be greater than the
TotalLineRequestedAmountvalue of the parent payment schedule.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: The feature using the payment schedule.
Valid value is CollectionPlan