Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

MACD Component

Updated on May 14, 2021

MACD component is optional component built on Pega Foundation for Communications application. It consists of two modules.

  1. Delta calculation:

    Delta calculation utility is to compare the current product holdings of a customer and newly selected products as part of the Customer retention journey.

    Delta will give the action taken at each offer/product level as Add, Change, Keep or Disconnect.

    Based on the Action identified by the Delta utility JSON request for fulfillment will be created dynamically.

  2. MACD Order JSON mapping:

    This component holds class structure, data model and mapping data transforms to create JSON Order items as per TMForum Open API 622 Product Ordering API, from the results of above Delta Utility. Currently it supports New and Change order.

As it’s an optional component, once PFCMACD component is imported, it can be plugged in to the implementation layer from components section of the implementation application rule.

For rule level details please find below table.

  1. Delta calculation:
    Rule nameAvailabilityClassRulesetsignificance
    ChangeOrderDeltaFinalPegaComm-PegaCM-MACDTo initiate Delta calcualtion between customer current and To-be product holdings as part of change order request.
    SetListOfAllSpecsFinalPegaComm-PegaCM-MACDAs part of delta calculation, to copy all specs under CurrenProdtholdings into CurrentAllSpecs Page and to copy all specs under ToBeProdtholdings into ToBeAllSpecs Page.
    SetActionsInToBeProductHoldingsFinalPegaComm-PegaCM-MACDThis data transform will compare both CurrentProductHoldings & ToBeProductHoldings and set the "Action" for PO/PS records of ToBeProdHoldings with value as Add/Change/Keep.
    SetActionsInCurrentProductHoldingsFinalPegaComm-PegaCM-MACDThis data transform will compare both CurrentProductHoldings & ToBeProductHoldings and set the "Action" property value as Disconnect/Keep at each page level of Current holdings i.e Offer/Spec.
    SetOfferActionsFinalPegaComm-Data-ProductABE-ProductOffering PegaCM-MACDThis data transform will compare matching offer ids from CurrentProductHoldings & ToBeProductHoldings and set the "Action" for PO records of ToBeProdHoldings with value as Add/Change/Keep.
    SetSpecActionsFinalPegaComm-Data-ProductABE-ProductOffering PegaCM-MACDThis data transform will compare each spec in ToBeProductHoldings with matching spec from "CurrentAllSpecs" pagelist and set the "Action" for PS records of ToBeProdHoldings with value as Add/Change/Keep.
    CheckConfigurationChangesFinalPegaComm-Data-ProductABE-ChildSpecs PegaCM-MACDThis data transform will compare configurations of each current and New spec and set the "Action" for PS records of ToBeProdHoldings with value as Add/Change/Keep.
    ChangeOrderDeltaExtensionAvailable,ExtensionPegaComm-PegaCM-MACDExtension point for extending change order delta calculation functionality
    pyHiddenPropertiesToIgnoreAvailablebaseclassPegaCM-MACDTo skip the properties that are not required for product holdings comparison in change order process.
    pyHiddenPropertiesToIgnoreAvailablePegaComm-Data-ProductABE-ProductOffering PegaCM-MACDTo skip the properties for comparision at Product offering level
    pyHiddenPropertiesToIgnoreAvailablePegaComm-Data-ProductABE-ProductSpecification PegaCM-MACDTo skip the properties for comparision at product/spec level
  2. MACD Order JSON mapping:
    Rule nameAvailabilityClassRulesetsignificance
    GenerateProductOrderFinalPegaComm-PegaCM-OrderRequestTo generate product order JSON request for fulfillment request.
    GenerateOrderItemsFinalPegaComm-PegaCM-OrderRequestTo generate Order Items for a Change Order process. It takes Delta output of current product holdings & To be product holdings of a customer as input.
    InitiateOfferOrderItemFinalPegaComm-Data-ProductABE-ProductOffering PegaCM-OrderRequestTo initiate Order item generation process for an Offer.
    GenerateOfferOrderItemFinalPegaComm-Int-Order-ProductOrderItem PegaCM-OrderRequestTo generate Order Item in Change Order JSON request for an Offer.
    InitiateSpecificationOrderItemsFinalPegaComm-Data-ProductABE-ProductOffering PegaCM-OrderRequestTo initiate Order items generation process for Specifications of an Offer.
    GenerateSpecOrderItemFinalPegaComm-Int-Order-ProductOrderItem PegaCM-OrderRequestData transform to generate an order item for a Specification
    SetOrderItemSpecDetailsFinalPegaComm-Int-Order-ProductOrderItem PegaCM-OrderRequestTo set specification level details of an Order item for a Specification in Change Order process.
    SetOfferToOfferRelationshipFinalPegaComm-PegaCM-OrderRequestTo set the Order item relationship between a Bundle offer and it’s child offers.
    SetOfferToSpecRelationshipFinalPegaComm-Data-ProductABE-ProductSpecification PegaCM-OrderRequestTo set the Order item relationship and Product relationship between an Offer and it’s associated Specifications.
    SetOtherOIInformationAvailable,ExtensionPegaComm-Int-Order-ProductOrderItem PegaCM-OrderRequestPlace holder to set extra info like Workparty, Location, Appointment, Price etc in consuming apps at Order Item level.
    SetProductOrderInformationAvailable,ExtensionPegaComm-Int-Order-PORequest PegaCM-OrderRequestPlace holder to set extra info like Workparty, Location, Appointment, Price etc in consuming apps at Order level.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us