Understanding Integration Messages for Transaction Billing

The integration between PeopleSoft CRM or PeopleSoft Lease Administration and the PeopleSoft Transaction Billing Processor is transaction-based. A PeopleSoft CRM agreement or PeopleSoft Lease Administration transaction creates a contract and contract line, and then all activity that is associated with that agreement is billed and recognized through that contract line.

This section discusses:

  • Asynchronous and synchronous messages.

  • Billing Interface tables.

Note: PeopleSoft Lease Administration does not integrate in the same way with the PeopleSoft Transaction Billing Processor as PeopleSoft CRM does. PeopleSoft Lease Administration does not use Integration Broker and Application Messaging. Instead, integration is accomplished through application classes.

See PeopleTools: Integration Broker

The integration between PeopleSoft CRM and PeopleSoft Transaction Billing Processor consists of three asynchronous request-response messages, as well as one synchronous message. The asynchronous messages include the Contract Request (CONTRACT_REQUEST), Contract Response (CONTRACT_RESPONSE), and Contract Transaction (CONTRACT_TXN) messages. Additionally, there is one synchronous message to verify that no pending activity (PENDING_ACTIVITY) exists in PeopleSoft CRM for a contract revenue plan or billing plan.

Note: PeopleSoft Lease Administration does not use these messages.

Asynchronous Request-Response Messages

The following figure shows the asynchronous messages that pass between the PeopleSoft Transaction Billing Processor and PeopleSoft CRM:

This diagram shows the asynchronous messages that pass between the PeopleSoft Transaction Billing Processor and PeopleSoft CRM

Asynchronous messaging between the CRM and FSCM databases

The asynchronous messages used in the integration process include:

Term

Definition

Contract Request

Prompts the system to create a new contract. The contract request is initiated by PeopleSoft CRM. PeopleSoft CRM performs an internal scan to determine if a contract already exists. If no contract exists, then PeopleSoft CRM sends the contract request message.

Note: In the case of a renewal, PeopleSoft CRM sends the contract request message with a different request type indicating that PeopleSoft Transaction Billing Processor should add a new contract line to the existing contract instead of creating a new contract and contract line. The addition of a new contract line to the existing contract takes place through amendment processing functionality.

Note: The minimum required fields to request a contract are the Contracts business unit and Sold To Customer.

Contract Response

The Contract Response message is initiated by the PeopleSoft Transaction Billing Processor. For recurring and one-time transactions, this message is sent only once. For on-demand transactions, this message is sent twice. For on-demand transactions, the system sends the contract response message for a second time once the Contracts Billing Interface (CA_BI_INTFC) process is complete to provide the status of the transactions to PeopleSoft CRM.

Transaction

Populates the Transaction Billing Processor Interface tables.

PeopleSoft CRM calls the contract transaction message after the contract is created, and it is ready to receive bills.

In addition, when PeopleSoft CRM performs an internal scan to determine whether a contract already exists and it finds that a contract does exist, instead of sending a contract request message, PeopleSoft CRM sends the contract transaction message.

Synchronous Messages

The following figure shows the synchronous message that passes between the PeopleSoft Transaction Billing Processor and PeopleSoft CRM:

This diagram shows the synchronous message that passes between the PeopleSoft Transaction Billing Processor and PeopleSoft CRM

Synchronous messaging between the CRM and FSCM databases

The synchronous message used in the integration process includes:

Term

Definition

Pending Activity

The pending activity message (PENDING_ACTIVITY) identifies whether any pending activity exists for a contract revenue plan or billing plan. The message is triggered by the status of a billing or revenue plan changing to Complete. Only plans with a transaction source (CA_TXN_SOURCE) of CRM invoke this check.

The system completes the following checks to determine whether the billing or revenue plan status can change to Completed:

  1. Is the corresponding plan complete? For the billing plan, the system checks the revenue plan; for the revenue plan, the system checks the billing plan.

  2. Is there pending activity in the Transaction Billing Processor Interface tables?

  3. Is there pending activity in PeopleSoft CRM?

PeopleSoft CRM sends fields to the PeopleSoft Transaction Billing Processor to create the contract, contract line, and revenue and billing plans. PeopleSoft Lease Administration sends fields to the PeopleSoft Transaction Billing Processor to create the contract, contract line, and billing plan. For PeopleSoft CRM transactions, many of these fields can be changed manually on the contract. In addition, the PeopleSoft Transaction Billing Processor receives sales and use and value-added tax (VAT) tax parameters if they are sent by PeopleSoft CRM as overrides to the tax that appears by default from PeopleSoft Billing.

The Interface_CA tables store the transactions from PeopleSoft CRM and PeopleSoft Lease Administration. The Transaction Billing Processor interface tables (INTFC_CA, INTFC_CA2, INTFC_CA_HDR, and INTFC_CA_NOTE) mirror the PeopleSoft Billing interface tables. However, the first two keys on the billing table, INTFC_ID and INFC_LINE_NUM, have been changed to the single key CA_TXN_ID on the Transaction Billing Processor tables.

See Understanding the Billing Interface Data Structure.