Siebel Order Management Infrastructure Guide > Data Transfer Utilities Business Service > Examples of Invoking the DTU >
Example of Invoking the DTU from a Signal: Auto Sales Order
Auto sales order is a function that creates a sales order from the current quote. It can be invoked by clicking the Sales Order button in the Quote screen, then the Order view. This button invokes the signal AutoOrderSalesQuote. This example shows you how this signal invokes the DTU. To see how the signal AutoSalesOrderQuote invokes the DTU
- Log into Siebel application as an administrator.
- Navigate to the Administration - Order Management screen, then the Signals view.
- Query for AutoOrderSalesQuote.
- In the bottom version list applet, drill into version 3.
- You can see the three actions taken by the signal. Be sure that the you have selected the action that uses the method DataTransfer of the DTU Business Service, which copies the data into a new order.
- In the Properties list, you can view the arguments of the DataTransfer method in the Parameter list, as shown in the following table:
|
|
DataMapObj |
QuoteToSalesOrder
|
Operation |
Insert
|
Option |
/BatchMode
|
SharedGlobalDestID |
Y
|
At runtime, the signal infrastructure also passes the RowId of the current quote ID to DTU.
- The SharedGlobalDestId parameter allows the destination record ID to be output to a shared global variable called SharedGlobalDestId. This variable is picked up in by the RefreshBCFromInstance method, whose arguments are shown in the following table:
|
|
BusCompName |
Order Entry - Orders
|
InstanceName |
ISS Instance
|
TargetRowIdShared Global |
DTUSharedGlobalDestId
|
The TargetRowIdSharedGlobal argument repositions the order buscomp to this row ID after refreshing, which is the row ID of the order just created.
|