blng__BillingSchedule__c

Represents information about the order product that’s invoiced based on the invoice plan billing frequency.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), undelete(), update(), upsert()

Fields 

CurrencyIsoCode 

Type: picklist

Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The three-letter ISO 4217 currency code associated with the billing schedule’s order product when multiple currencies are enabled.

The default value is USD.

Name 

Type: string

Properties: Create, Defaulted on create, Filter, Group, idLookup, Nillable, Sort, Update

Description: The name of the billing schedule.

OwnerId 

Type: reference

Properties: Create, Defaulted on create, Filter, Group, Sort, Update

Description: The ID of the user who created the billing schedule.

This field is a polymorphic relationship field.

Relationship Name: Owner

Relationship Type: Lookup

Refers To: Group, User

blng__Amount__c 

Type: currency

Properties: Create, Filter, Nillable, Sort, Update

Description: The total amount that has been invoiced for the order product, excluding tax.

blng__BilledAmount__c 

Type: currency

Properties: Filter, Nillable, Sort

Description: The total amount that has been billed for the order product related to the billing schedule, based on the order product’s invoice plan lines.

This field is a calculated field.

blng__InvoicePlan__c 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The invoice plan associated with the billing schedule.

This field is a relationship field.

Relationship Name: blng__InvoicePlan__r

Relationship Type: Lookup

Refers To: blng__InvoicePlan__c

blng__NumberOfBilledBillingTransactions__c 

Type: double

Properties: Filter, Nillable, Sort

Description: The number of billing transactions that are associated with the billing schedule with the status as Billed.

This field is a calculated field.

blng__NumberOfBillingTransactions__c 

Type: double

Properties: Filter, Nillable, Sort

Description: The number of billing transactions that are associated with the billing schedule.

This field is a calculated field.

blng__NumberOfCanceledBillingTransactions__c 

Type: double

Properties: Filter, Nillable, Sort

Description: The number of billing transactions associated with the billing schedule with the status as Canceled.

This field is a calculated field.

blng__OrderProduct__c 

Type: reference

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The order product associated with the billing schedule.

This field is a relationship field.

Relationship Name: blng__OrderProduct__r

Relationship Type: Lookup

Refers To: OrderItem

blng__Source__c 

Type: picklist

Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description: The source of the billing schedule.

Valid values are:

  • External
  • Standard

blng__Status__c 

Type: string

Properties: Filter, Nillable, Sort

Description: The status of the billing schedule. The formula for calculating the status is

1IF(blng__BilledAmount__c == blng__Amount__c, "Billed", 
2  IF((blng__NumberOfBillingTransactions__c != 0 && blng__NumberOfBillingTransactions__c = blng__NumberOfCanceledBillingTransactions__c), "Cancelled", "Pending")
3)

This field is a calculated field.

blng__TaxCity__c 

Type: string

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The city of the address that Salesforce Billing uses to calculate tax for the billing schedule’s order product.

blng__TaxCountry__c 

Type: string

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The country of the address that Salesforce Billing uses to calculate tax for the billing schedule’s order product.

blng__TaxState__c 

Type: string

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The state of the address that Salesforce Billing uses to calculate tax for the billing schedule’s order product.

blng__TaxStreet__c 

Type: string

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The street of the address that Salesforce Billing uses to calculate tax for the billing schedule’s order product.

blng__TaxZipCode__c 

Type: string

Properties: Create, Filter, Group, Nillable, Sort, Update

Description: The postal code of the address that Salesforce Billing uses to calculate tax for the billing schedule’s order product.