Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows for Bulk Requests >
ABO Bulk Request - ApplyProductPromotion Workflow
This workflow applies the promotion to the document for a specified instance. Figure 77 shows this workflow.
Figure 77. ABO Bulk Request - ApplyProductPromotion Workflow
|
Workflow Description. This workflow performs the following actions:
- Query Promotion. This step queries the promotion table for the specified promotion Id.
- Construct CfgPS. This step sets the product definition type code before calling Siebel Configurator.
- Begin Configuration. This step calls Siebel Configurator to get the product definition.
- Get Instance. This step gets the product instance from Siebel Configurator.
- End Configuration. This step cleans up before closing Siebel Configurator.
- Transfer IO to PS. This step converts from an Integration Object Format to a Property Set Format.
- Get Context. This step gets the header from the property set.
- Get Rowset. This step gets the line items from the property set.
- Add Item To EligibleList. This step adds the line item that was passed in to Eligible list.
- Collect EligibleList. This step adds all other line items to the Eligible list.
- Apply Rules. This step applies the promotion rules to prepare the missed item list, and updates the matched list for the specified promotion Id.
- Add Missed Items. This step calls a subprocess to add the missed items to the document.
- Update Matched Item Sub Process. This step updates the matched items list to apply the promotion default, if any.
- Transfer IO to PS 2. This step converts the Siebel message from an Integration Object Format to a Property Set Format.
- Get Updated RowSet. This step applies the variable map and row set to get the updated row set.
- Update the Missing Items. This step updates the row set with the missing items information.
- Update Matched Items. This step updates the row set with the matched items information.
- Set Pricing Date. This step sets the effective pricing date on the order header or the quote header.
- Sync To PS. This step synchronizes the updated row set with the original row set.
- Transfer PS to Output IO. This step converts the row set to a Siebel message.
- Add Item to Collection. This step saves the Siebel message in memory.
Table 66 shows the steps in this workflow that call business service methods.
Table 66. Associated Business Service Methods
|
|
Construct CfgPS |
ConstructCfgPropertiesPS |
Begin Configuration |
BeginConfiguration |
Get Instance |
GetInstance |
End Configuration |
EndConfiguration |
Transfer IO to PS |
TransferIOToPS |
Get Context |
GetRowSetData |
Get RowSet |
GetRowSetData |
Add Item To EligibleList |
Conditional Action Transform |
Collect EligibleList |
Conditional Action Transform |
Apply Rules |
ApplyRulesExternal |
Transfer IO to PS 2 |
TransferIOToPS |
Get Updated RowSet |
GetRowSetData |
Update Missing Items |
Row Set Look-Up Transform |
Update Matched Items |
Row Set Look-Up Transform |
Set Pricing Date |
Conditional Action Transform |
Sync to PS |
SyncRowSetData |
Transfer PS to Output IO |
PSHierToIntObjHier |
Add Item To Collection |
AddItemtoCollection |
|