Loading
Connect in real time with the Trailblazer Community in Slack Open BetaRead More
Media Cloud
Salesforce Billing Integration Component List

Salesforce Billing Integration Component List

Advertising Sales Management integrates with Salesforce Billing, to enable you to easily generate and send invoices to your customers. Here is a list of core components used in the Advertising Sales Management and Salesforce Billing integration.

Managed Package Icon This is an Advertising Sales Management on Managed Package feature. For Advertising Sales Management on Salesforce Platform, see Advertising Sales Management on Salesforce Platform.

For the Winter '23 components list, download the Salesforce Industries Billing Components Winter '23 YAML file.

Interfaces

Following is a list of Interfaces used in the Advertising Sales Management and Salesforce Billing integration.

  • MyInvoicesInterface. This Interface provides flexibility in getting all invoice record details and displaying them in the SelfCare portal.

  • BillingProfileInterface. This Interface provides flexibility in setting profiles. This interface is called during onboarding.

  • ProcessBillingInterface. This Interface provides flexibility in updating all billing fields. This interface is called after an Order is generated.

Apex Classes

Following is a list of Apex Classes used in the Advertising Sales Management and Salesforce Billing integration.

  • MediasfBillingHandler. This Apex class calls the appropriate Interfaces and passes the data.

  • SFMediaProcessBilling. This Apex class processes Salesforce Billing records and updates the Salesforce Billing fields, including Billable Unit Price, Unit Price, Start Date, and End Date.

  • SFBillingProfileImplementation. This Apex class updates the Account.Bill_To_Contact field in the Account, which is used in email distribution.

  • SFBillingMyInvoicesImplementation. This Apex class queries all invoices related to an account, and displays them in the UI.

FlexCards

Following is a list of FlexCards used in the Advertising Sales Management and Salesforce Billing integration.

  • sfiBillingMyInvoices. This FlexCard displays invoice data fetched from MyInvoicesInterface.

Lightning Web Components

Following is a list of Lightning Web Components (LWCs) used in the Advertising Sales Management and Salesforce Billing integration.

  • SfiBillingMyInvoiceHandler. This LWC is a handler which allows users to download invoices if there is no generated PDF. This LWC works with the sfiBillingMyInvoices FlexCard.

Omnistudio Data Mappers

Following is a list of Data Mappers used in the Advertising Sales Management and Salesforce Billing integration.

  • sfiAdsExtractPaymentTerms. This Data Mapper extracts the payment terms from the account, and is later set in the Order.

  • sfiAdsUpdateInvoiceBatchInOrder. This Data Mapper updates the invoice batch in the Order. By default, Orders created on even dates are designated Batch 1, while orders created on odd dates are designated Batch 2.

Integration Procedures

Following is a list of Integration Procedures used in the Advertising Sales Management and Salesforce Billing integration.

  • sfiAds_BillingProfileSetUp. This Integration Procedure calls the SFBillingProfileImplementation Apex class.

  • sfiAds_getAllInvoices. This Integration Procedure calls the SFBillingMyInvoicesImplementation Apex class. The sfiAds_getAllInvoices Integration Procedure is used by the sfBillingMyInvoices FlexCard to fetch invoices data.

  • sfiAds_processBilling. This Integration Procedure is called after an Order is created. The sfiAds_processBilling Integration Procedure calls the SFMediaProcessBilling Apex class after checked whether billing has been enabled.

Fields

Following is a list of account-level fields used in the Advertising Sales Management and Salesforce Billing integration.

  • Account_Balance__c

  • PaymentTerm__c

  • Total_Credit_Balance__c

  • Total_Debit_Balance__c

  • Total_Invoice_Balance__c

Layouts

Following is a list of Layouts used in the Advertising Sales Management and Salesforce Billing integration.

  • Vlocity Media AdSales Billing Layout

 
Loading
Salesforce Help | Article