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 92 illustrates this workflow.
Figure 92. SWISendCalculateShippingCharge
|
Workflow Description. This workflow performs the following actions:
- Query Order. Runs a query to obtain the details of the order. Derives the value of the UTCCanonical input parameter for this step 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. Gets the Siebel Enterprise Server details and other parameters.
- Set AIA Parameters. Formats the parameters into Siebel message format.
- Call WS Quote Svc. 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. Updates the shipping charge details. Derives the value of the UTCCanonical input parameter for this step 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 94 shows the steps in this workflow that call business service methods.
Table 94. 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 |
|