1 PACKAGE po_copydoc_s5 AUTHID CURRENT_USER AS
2 /* $Header: POXCPO5S.pls 115.3 2003/10/08 03:01:57 arusingh ship $*/
3
4 --<Encumbrance FPJ: add sob_id to param list>
5 PROCEDURE validate_distribution(
6 x_action_code IN VARCHAR2,
7 x_to_doc_subtype IN po_headers.type_lookup_code%TYPE,
8 x_po_distribution_record IN OUT NOCOPY po_distributions%ROWTYPE,
9 x_po_header_id IN po_distributions.po_header_id%TYPE,
10 x_po_line_id IN po_distributions.po_line_id%TYPE,
11 x_line_location_id IN po_distributions.line_location_id%TYPE,
12 x_online_report_id IN po_online_report_text.online_report_id%TYPE,
13 x_sequence IN OUT NOCOPY po_online_report_text.sequence%TYPE,
14 x_line_num IN po_online_report_text.line_num%TYPE,
15 x_shipment_num IN po_online_report_text.shipment_num%TYPE,
16 x_sob_id IN FINANCIALS_SYSTEM_PARAMETERS.set_of_books_id%TYPE,
17 x_return_code OUT NOCOPY NUMBER
18 );
19
20 --< Shared Proc Start >
21 PROCEDURE generate_accounts
22 (
23 x_return_status OUT NOCOPY VARCHAR2,
24 p_online_report_id IN NUMBER,
25 p_po_header_rec IN PO_HEADERS%ROWTYPE,
26 p_po_line_rec IN PO_LINES%ROWTYPE,
27 p_po_shipment_rec IN PO_LINE_LOCATIONS%ROWTYPE,
28 x_po_distribution_rec IN OUT NOCOPY PO_DISTRIBUTIONS%ROWTYPE,
29 x_sequence IN OUT NOCOPY NUMBER
30 );
31 --< Shared Proc End >
32
33 END po_copydoc_s5;