Understanding Integration Points
Proposal integration consists of two application messages:
OC_ESA_PROPOSAL
When a quote is submitted for an engagement-type service in Order Capture, Order Capture sends the proposal request message, OC_ESA_PROPOSAL, to PeopleSoft Proposal Management.
OC_ESA_PROPOSAL_RESPONSE
In response to this message, PeopleSoft Proposal Management sends the message, OC_ESA_PROPOSAL_RESPONSE, to Order Capture to return the Capture ID, Proposal ID, and Version ID.
Note: The OC_ESA_PROPOSAL_RESPONSE application message contains the record in which to receive the response data; the name of this record is ESA_OC_RESPONSE.
The system sends these fields from Order Capture to PeopleSoft Proposal Management:
Source: Order Capture |
Target: PeopleSoft Proposal Management |
||
---|---|---|---|
Record |
Field |
Record |
Field |
RO_HEADER |
CAPTURE_ID |
GM_PROPOSAL |
CAPTURE_ID |
BUS_UNIT_TBL_RO |
BUSINESS_UNIT_ESA |
GM_PROPOSAL |
BUSINESS_UNIT |
RO_LINE |
PRODUCT_ID |
GM_PROPOSAL |
PRODUCT_ID |
PROD_ITEM |
DESCR |
GM_PROPOSAL |
PRODUCT_DESCR |
RO_LINE |
PRICE |
GM_PROPOSAL |
PRICE |
RO_LINE |
CURRENCY_CD |
GM_PROPOSAL |
CURRENCY_CD |
RO_NOTE |
DESCRLONG |
GM_PROP_COMMENT |
DESCRLONG |
RB_INT_CUST_ADS |
CUST_ID |
GM_PROPOSAL |
CUST_ID |
RSF_OPPORTUNITY or RSF_LEAD Note: System uses either record depending on if the quote has a lead or an opportunity attached. |
SALES_USER_NAME |
GM_PROPOSAL |
SALESREP_NAME |
Note: System uses PeopleCode to retrieve phone and extension information. Not a direct read of a record. |
CC_PHONE_EXTENSION |
GM_PROPOSAL |
CC_PHONE_EXTENSION |
Note: System uses PeopleCode to retrieve email address information. Not a direct read of a record. |
EMAIL_ADDR |
GM_PROPOSAL |
EMAIL_ADDR |
RO_ASSOCIATION |
PROPOSAL_ID |
GM_PROPOSAL |
PROPOSAL_ID |
RO_ASSOCIATION |
VERSION_ID |
GM_PROPOSAL |
VERSION_ID |
RO_HEADER |
QUOTE_EXPIRE_DT |
GM_PROPOSAL |
DUE_DATE |
RO_HEADER |
DESCR50 |
GM_PROPOSAL |
PROPOSAL_TITLE |
RO_HEADER |
CAPTURE_DATE |
GM_PROPOSAL |
BEGIN_DT |
RO_HEADER |
QUOTE_DUE_DATE |
GM_PROPOSAL |
END_DT |
In response to the first message, the system sends these fields from PeopleSoft Proposal Management to Order Capture:
Source: PeopleSoft Proposal Management |
Target: Order Capture |
||
---|---|---|---|
Record |
Field |
Record |
Field |
ESA_OC_RSPN |
PROPOSAL_ID |
RO_ASSOCIATION |
PROPOSAL_ID |
ESA_OC_RSPN |
VERSION_ID |
RO_ASSOCIATION |
VERSION_ID |
ESA_OC_RSPN |
CAPTURE_ID |
RO_ASSOCIATION |
CAPTURE_ID |
ESA_OC_RSPN |
BUSINESS_UNIT |
RO_ASSOCIATION |
ASSOC_BUS_UNIT |
ESA_OC_RSPN |
MESSAGE_TEXT |
N/A |
N/A |
Note: The system uses the MESSAGE_TEXT field to log error messages if any errors occur when the proposal is being created or updated.
PeopleSoft Proposal Management uses the customer number to query the customer table for customer name and current contact information. When PeopleSoft Proposal Management receives the message, the following occurs:
If the proposal ID is blank, the system creates a new proposal.
If the proposal ID is not blank, the system updates the existing proposal.
If a quote has expired, you can revise it on the Entry Form in Order Capture.
This creates a new quote with a new capture ID. The system then passes the proposal ID to PeopleSoft Proposal Management from the original quote. PeopleSoft Proposal Management checks if the proposal has been closed out (proposal status equals Canceled). If it has, the system reopens the proposal for pricing (and the proposal status is updated to Draft).
Once pricing information is completed in PeopleSoft Proposal Management, the application message, ESA_PROPOSAL_PRICE, sends pricing information back to Order Capture. This occurs when a user clicks the Set To Ready button on the Maintain Proposal page in PeopleSoft Proposal Management. After the system sends the message to Order Capture, the selected proposal version is locked and uneditable.
The system sends these fields from PeopleSoft Proposal Management to Order Capture:
Source: PeopleSoft Proposal Management |
Target: Order Capture |
||
---|---|---|---|
Record |
Field |
Record |
Field |
GM_PROPOSAL |
PROPOSAL_ID |
RO_ASSOCIATION |
PROPOSAL_ID |
GM_PROPOSAL |
VERSION_ID |
RO_ASSOCIATION |
VERSION_ID |
GM_PROPOSAL |
BUSINESS_UNIT |
RO_HEADER |
BUSINESS_UNIT |
GM_PROPOSAL |
TOTAL_BUDGET_AMT |
RO_LINE |
PRICE |
GM_PROP_COMMENT |
DESCRLONG |
RO_NOTE |
DESCRLONG |
Note: PeopleSoft Proposal Management sends note descriptions to Order Capture, but Order Capture does not update them.
The system triggers the Order Capture application message, OC_ESA_PROPOSAL_STATUS, in the following situations:
When a sales lead or opportunity is lost or sold.
When the direct quote or order is sold.
When the quote is cancelled (either manually, or from the quote expiring).
When the quote needs to be repriced.
When PeopleSoft Proposal Management receives the message, it updates the corresponding proposal version with either the Draft, Denied, or Committed status, which is based on the contents of the message.
The system sends these fields from Order Capture to PeopleSoft Proposal Management:
Source: Order Capture |
Target: PeopleSoft Proposal Management |
||
---|---|---|---|
Record |
Field |
Record |
Field |
RO_ASSOCIATION |
PROPOSAL_ID |
GM_PROPOSAL |
PROPOSAL_ID |
RO_ASSOCIATION |
VERSION_ID |
GM_PROPOSAL |
VERSION_ID |
RO_ESA_BU |
BUSINESS_UNIT_ESA |
GM_PROPOSAL |
BUSINESS_UNIT |
RO_HEADER |
CAPTURE_ID |
GM_PROPOSAL |
CAPTURE_ID |
RO_LINE.STATUS |
STATUS_CODE |
GM_PROPOSAL |
SUBMIT_STATUS |
RO_NOTE |
DESCRLONG |
GM_PROP_COMMENT |
DESCRLONG |
When PeopleSoft Proposal Management receives the message, the following occurs:
If the order capture line status is Lost, the system updates the proposal status to Denied.
If the order capture line status is Sold, the system updates the proposal status to Committed.
If the order is expired, the system updates the proposal status to Canceled.
If the order capture line status is Negotiate, the system updates the proposal status to Draft and enables repricing for the related proposal version.
If the status is Ready when a user selects a proposal, the system locks the proposal version and prevents editing.
The table below shows how quote statuses map between Order Capture and PeopleSoft Proposal Management:
Order Capture Status |
PeopleSoft Proposal Management Status |
---|---|
Draft |
Draft |
Priced |
Ready |
Negotiate |
Draft |
Lost |
Denied |
Sold |
Committed |
Canceled |
Canceled |