DBA Data[Home] [Help]

PACKAGE: APPS.OZF_AP_INTERFACE_PVT

Source


1 PACKAGE OZF_AP_INTERFACE_PVT  AUTHID CURRENT_USER AS
2 /* $Header: ozfvapis.pls 120.1 2005/08/19 03:35:25 appldev ship $ */
3 
4 ---------------------------------------------------------------------
5 -- PROCEDURE
6 --    Create_ap_invoice
7 --
8 -- PURPOSE
9 --    Create a payabels invoice into payables open interface table.
10 --
11 -- PARAMETERS
12 --    p_claim_number : Will be passed as Invoice number
13 --    p_settled_date : Will be passed as Invoice_date
14 --    p_vendor_id    : Supplier id
15 --    p_vendor_site_id : Supplier site id
16 --    p_amount_settled : Will be passed as Invoive amount
17 --    p_currency_code  : Will be passed as Invoice currency code
18 --    p_exchange_rate  : Invoice exchange rate
19 --    p_exchange_rate_type : Invoice exchange rate type
20 --    p_exchange_rate_date : Invoice exchange rate date
21 --    p_terms_id :  Payment Term id
22 --    p_payment_method  : Payment method type
23 --    p_gl_date  : Gl date
24 --
25 -- NOTES
26 --    1. creates an invoice header and invoice line in payables open
27 --       interface table.
28 --    2. Passes the claim number and settled date to invoice number
29 --       and invoice date.
30 --    3. Source = 'CLAIMS'
31 --    4. LINE_TYPE_LOOKUP_CODE = 'MISCELLANEOUS'
32 ---   Sahana    20-Jul-2005   R12: Support for EFT, WIRE, AP_DEFAULR
33 ---                           and AP_DEBIT payment methods.
34 ---                           Handling of AP document cancellation.
35 ---------------------------------------------------------------------
36 PROCEDURE  Create_ap_invoice (
37     p_api_version            IN    NUMBER
38    ,p_init_msg_list          IN    VARCHAR2 := FND_API.G_FALSE
39    ,p_commit                 IN    VARCHAR2 := FND_API.G_FALSE
40    ,p_validation_level       IN    NUMBER   := FND_API.G_VALID_LEVEL_FULL
41 
42    ,x_return_status          OUT NOCOPY   VARCHAR2
43    ,x_msg_data               OUT NOCOPY   VARCHAR2
44    ,x_msg_count              OUT NOCOPY   NUMBER
45 
46    ,p_claim_id               IN    NUMBER
47 );
48 
49 
50 END OZF_AP_INTERFACE_PVT;