1 PACKAGE OKC_WORD_SYNC_HOOK AUTHID CURRENT_USER AS
2 /* $Header: OKCWDHKS.pls 120.0.12020000.2 2012/07/16 16:22:55 harchand noship $ */
3
4 /**=============================================================================
5 -- Created by serukull
6 Procedure : download_contract_ext
7 Purpose : The Contract document is available in Word 2003 XML (Word ML) format
8 to the procedure. So any customizations to the document can be made
9 in this procedure before the document gets downloaded to the desktop.
10 Examples Include: Hiding the section titles.
11 Hiding clause titles.
12 Customization of Header and Footer elemetns.
13 Other formattings.
14
15 Input Parameters:
16 ==========================
17 p_doc_type : Business Document Type
18 p_doc_id : Business Document Id
19
20 In Out Parameters:
21 ===========================
22 x_contract_xml : Contract document in Word 2003 XML format
23
24 Out Parameters :
25 ===========================
26 x_return_status : Return Status
27 'S' --> Success
28 'E' --> Error
29 'U' --> Unexpected Error
30 x_msg_count : Message Count
31 x_msg_data : Message Data (that can be shown in the UI in case of any error)
32
33 ===============================================================================*/
34 PROCEDURE download_contract_ext(
35 p_doc_type IN VARCHAR2,
36 p_doc_id IN NUMBER,
37 p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
38 x_contract_xml IN OUT NOCOPY CLOB,
39 x_return_status OUT NOCOPY VARCHAR2,
40 x_msg_count OUT NOCOPY NUMBER,
41 x_msg_data OUT NOCOPY VARCHAR2
42 );
43 END OKC_WORD_SYNC_HOOK;