Siebel Consumer Goods Guide > Trade Funds > About Configuring Trade Funds >

About Consumer Goods Payment Business Service


The CG Payment Business Service uses the CPG Plan business object and the following business components:

  • CG MDF Promotion Allocation
  • CPG Plan Account
  • CG Promo Product Fund Payment
  • CPG Plan Account Promotion
  • CPG Check Payment via MDF
  • CPG Plan Account Promotion Product
  • CPG MDF Allocation

 

The business service performs the following primary steps:

  • Copies the Amount field into the Paid bucket.
  • Rolls up the amount in the Paid bucket to the Payments Paid field.
  • Rolls up Paid payments in the allocation to the Actual Total Spend field in the parent promotion.

More specifically, the business service completes the following steps:

  1. Gets the ROW_ID of the payment record with a status of Paid.
  2. Gets the Parent Allocation Id of the payment record.
  3. Gets the CPG Plan business object and the CG MDF Promotion Allocation business component.
  4. Runs through the records in the CG MDF Promotion Allocation business component and positions to the record with the ROW_ID of the Parent Allocation Id.
  5. Finds the values of the Fund Promotion Id, Promo Plan Id, and Plan Account Promo Prod Id fields from the positioned record.
  6. Instantiates the following business components:
      • CG MDF Promotion Allocation
      • CPG MDF Allocation
      • CG Promo Product Fund Payment
      • CPG Plan Account Promotion
      • CPG Check Payment via MDF
      • CPG Plan Account Promotion Product
  7. Determines if the Promo Plan Id field is Null:
    • If the field is Null (indicating the account promotion has no plan), instantiates the CPG Plan Account business component.
    • If the field is Not Null, instantiates the CPG Plan Account Promotion and CPG Plan Account business components.
  8. Determines if the Plan Account Promo Prod Id field is Null:
    • If the field is Null (indicating an allocation under the account promotion and not a promoted product), positions the CPG Check Payment via MDF and CG MDF Promotion Allocation business components, sets the following values in the CG MDF Promotion Allocation business component, and forces the roll up:
      • Paid Amount = Trade Fund Amount
      • Submitted Amount = 0
      • Pending Amount = 0
    • If the Id is not Null, positions the CG Promo Product Fund Payment, CPG MDF Allocation, and CPG Plan Account Promotion Product business components, sets the following values in the CG MDF Allocation business component, and forces the rollup:
      • Paid Amount = Trade Fund Amount
      • Submitted Amount = 0
      • Pending Amount = 0

        CAUTION:  If you use Siebel Enterprise Integration Manager to update the status of the payment record, make sure you use a business component based on class CSSBusComp in the integration object. For example, if you want to use the CPG Check Payment via MDF business component for updating the payment status, make a copy of the business component, change the class to CSSBusComp, and use the copied business component in the integration object. This modification avoids the conflict between specialized class behavior and the business service.

Siebel Consumer Goods Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.