1 PACKAGE ITG_SyncPoInbound_PVT AS
2 /* ARCS: $Header: itgvspis.pls 120.1 2005/10/06 02:09:19 bsaratna noship $
3 * CVS: itgvspis.pls,v 1.6 2002/12/23 21:20:30 ecoe Exp
4 */
5
6 /* Update a po line.
7 * Current API version: 1.0
8 *
9 * Standard Business Object Input Arguments:
10 * p_api_version => 1.0 Requires current API Version #.
11 * p_init_msg_list => <bool> FND_API bool controlling init of
12 * the message list within this proc.
13 * p_commit => <bool> FND_API bool controlling commit
14 * of work within this proc.
15 * p_validation_level => <num> A FND_API validation level indicating
16 * the amount of optional validaton on
17 * the input values should be performed.
18 *
19 * Standard Business Object Output Arguments:
20 * x_return_status VARCHAR2(1) A FND_API return status char.
21 * x_msg_count NUMBER The number of error/trace messages.
22 * x_msg_data VARCHAR2(2000) The message text if x_msg_count = 1,
23 * otherwise use functions in FND_MSG_PUB
24 * to read each line of text.
25 *
26 * Functional Input Arguments (and SYNC_PO XML tags):
27 * p_po_code => <POID> Find the PO based on the string.
28 * p_org_id => <SITELEVEL> The organization id.
29 * p_release_id => <PORELEASE> If not NULL or 0, the release ID -
30 * indicating a RELEASE against the BPO
31 * p_line_num => <POLINENUM> PO line number of row to be updatd.
32 * p_doc_type => <DOCTYPE> The 'document type' - action flag:
33 * RECEIPT, INSPECTION or INVOICE.
34 * p_quanity => <QUANITY> Quanity of items for row.
35 * p_amount => <AMOUNT> If doc type is 'INVOICE', the amount
36 * to invoice.
37 */
38 PROCEDURE Update_PoLine(
39 x_return_status OUT NOCOPY VARCHAR2, /* VARCHAR2(1) */
40 x_msg_count OUT NOCOPY NUMBER,
41 x_msg_data OUT NOCOPY VARCHAR2, /* VARCHAR2(2000) */
42
43 p_po_code IN VARCHAR2, /* VARCHAR2(20) */
44 p_org_id IN VARCHAR2,
45 p_release_id IN VARCHAR2 := NULL,
46
47 p_line_num IN NUMBER,
48 p_doc_type IN VARCHAR2, /* VARCHAR2(40) */
49 p_quantity IN NUMBER,
50 p_amount IN NUMBER);
51
52 END ITG_SyncPoInbound_PVT;