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 69 shows this workflow.
Figure 69. ABO Bulk Request - ApplyProductPromotion
|
Workflow Description. This workflow performs the following actions:
- Query Promotion. Queries the promotion table for the specified promotion Id.
- Construct CfgPS. Sets the product definition type code before calling Siebel Configurator.
- Begin Configuration. Calls Siebel Configurator to get the product definition.
- Get Instance. Gets the product instance from Siebel Configurator.
- Transfer IO to PS. Converts from an Integration Object Format to a Property Set Format.
- Get Context. Gets the header from the property set.
- Get Rowset. Gets the line items from above property set.
- Add Item To EligibleList. Adds the line item that was passed in to Eligible list.
- Collect EligibleList. Adds all other line items to the Eligible list.
- Apply Rules. Applies the promotion rules to prepare the missed item list, and updates the matched list for the specified promotion Id.
- Add Missed Items. Calls a subprocess to add the missed items to the document.
- Update Missed Items subprocess. Updates the matched items list to apply the promotion default, if any.
- Transfer IO to PS 2. Converts the Siebel message from an Integration Object Format to a Property Set Format.
- Get Updated RowSet. Applies the variable map and row set to get the updated row set.
- Update the Missing Items. Updates the row set with the missing items information.
- Update Matched Items. Updates the row set with the matched items information.
- Set Pricing Date. Sets the effective pricing date on the order header or the quote header.
- Sync To PS. Synchronizes the updated row set with the original row set.
- Transfer PS to Output IO. Converts the row set to a Siebel message.
- Add Item to Collection. Saves the Siebel message in memory.
Table 71 shows the steps in this workflow that call business service methods.
Table 71. 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 |
|