1 PACKAGE OKS_OMIB_INT_EXTNS_PUB AS
2 /* $Header: OKSPOIXS.pls 120.1 2005/06/28 23:55:31 upillai noship $ */
3
4 /*==================================================================
5 Procedure : pre_integration
6 Description: This Procedure can be used to include custom logic before
7 any Contract Operation due to IB instance operation.
8 This is called from :
9 1. oks_ibint_pub.ib_interface only for "Replace"(RPL)
10 transaction types. From ib_interface p_order_line_id
11 is passed as NULL.p_transaction_type is passed as "RPL"
12 2. oks_ocint_pub.oc_interface. This case p_order_line_id
13 is passed. ie the NEW order line id.p_transaction_type
14 is passed as NULL.
15 3. oks_ocint_pub.order_reprocess. This case also
16 p_order_line_id is passed. p_transaction_type is passed
17 as NULL.
18 x_process_status should be 'C' if the caller needs to execute
19 the existing code. Any other code should be treated as
20 deffered(Existing code will not be executed).
21 x_return_status has to be Success to do existing code
22 and post integration
23 ====================================================================*/
24 PROCEDURE pre_integration(p_api_version IN NUMBER
25 ,p_init_msg_list IN VARCHAR2
26 ,p_from_integration IN VARCHAR2
27 ,p_transaction_type IN VARCHAR2
28 ,p_transaction_date IN DATE
29 ,p_order_line_id IN NUMBER
30 ,p_old_instance_id IN NUMBER
31 ,p_new_instance_id IN NUMBER
32 ,x_process_status OUT NOCOPY VARCHAR2
33 ,x_return_status OUT NOCOPY VARCHAR2
34 ,x_msg_count OUT NOCOPY NUMBER
35 ,x_msg_data OUT NOCOPY VARCHAR2);
36
37 /*==================================================================
38 Procedure : post_integration
39 Description: This procedure can be used to include custom logic after
40 any Contract Operation due to IB instance operation.
41 This is called from :
42 1. oks_ibint_pub.ib_interface only for "Replace"(RPL)
43 transaction types. From ib_interface p_order_line_id
44 is passed as NULL.
45 2. oks_ocint_pub.oc_interface. This case p_order_line_id
46 is passed. ie the NEW order line id.
47 3. oks_ocint_pub.order_reprocess. This case also
48 p_order_line_id is passed.
49 ====================================================================*/
50 PROCEDURE post_integration(p_api_version IN NUMBER
51 ,p_init_msg_list IN VARCHAR2
52 ,p_from_integration IN VARCHAR2
53 ,p_transaction_type IN VARCHAR2
54 ,p_transaction_date IN DATE
55 ,p_order_line_id IN NUMBER
56 ,p_old_instance_id IN NUMBER
57 ,p_new_instance_id IN NUMBER
58 ,p_chr_id IN NUMBER
59 ,p_topline_id IN NUMBER
60 ,p_subline_id IN NUMBER
61 ,x_return_status OUT NOCOPY VARCHAR2
62 ,x_msg_count OUT NOCOPY NUMBER
63 ,x_msg_data OUT NOCOPY VARCHAR2);
64
65 END OKS_OMIB_INT_EXTNS_PUB;