Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Process an Order >
SWISendCalculateShippingCharge Workflow
This workflow acquires information about Sales Order shipping costs. It is called when the user clicks the Shipping and Tax button in the Shipping view, Ship To applet. Figure 101 illustrates this workflow.
Figure 101. SWISendCalculateShippingCharge Workflow
|
Workflow Description. This workflow performs the following actions:
- Query Order. This step runs a query to obtain the details of the order. It derives the value of the UTCCanonical input parameter from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then the query returns data for any field of type DTYPE_UTCDATETIME in UTC Canonical format.
- Get AIA Parameters. This step gets the Siebel Enterprise Server details and other parameters.
- Set AIA Parameters. This step formats the parameters into Siebel message format.
- Call WS Quote Svc. This step calls the outbound Web Service and sends the payload.
- Set Err Msg. If an error occurs in the prior step, then this step displays an error message.
- Update Status. This step updates the shipping charge details. It derives the value of the UTCCanonical input parameter from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then any field of type DTYPE_UTCDATETIME in the payload must be in UTCCanonical format. While writing these fields into the business component, these fields are converted to the locale-specific date and time.
- Refresh. This step refreshes the applet so the synchronized information is displayed in the Siebel application.
Table 90 shows the steps in this workflow that call business service methods.
Table 90. Associated Business Service Methods
|
|
|
Query Order |
QueryById |
SWI Order Upsert |
Get AIA Parameters |
GetEnterpriseParameters |
SWI External Integration Service |
Set AIA Parameters |
SetAttributesToMessage |
SWI External Integration Service |
Call WS Quote Svc |
CalculateShippingCharge |
CalculateShippingChargeSalesOrderSiebelReqABCSImplService |
Set Err Msg |
CheckAndSetError |
SWI External Integration Service |
Update Status |
Upsert |
EAI Siebel Adapter |
Refresh |
RefreshCurrentApplet |
FINS Teller UI Navigation |
|