1 PACKAGE po_auto_line_loc_process_pvt AUTHID CURRENT_USER AS
2 /* $Header: PO_AUTO_LINE_LOC_PROCESS_PVT.pls 120.0 2010/02/28 14:12:27 ssreekum noship $ */
3
4
5 /* ----------------------------------------------------
6 ----------------- PUBLIC PROCEDURES ----------------
7 ---------------------------------------------------- */
8
9 /* ============================================================================
10 Name: create_shipment_draft
11 Pre-reqs:
12 PO Line has been created
13 Modifies:
14 PO_LINE_LOCATIONS_DRAFT_ALL
15 Locks:
16 None
17 Function:
18 Derives,deaults the shipment info from available lines information and
19 inserts/updates the PO_LINE_LOCATIONS_DRAFT_ALL.
20 Parameters:
21 p_lines IN OUT Derived Line data after lines processing
22 Returns:
23 None
24 Testing:
25 None
26 Caller of the Procedure:
27 PO_AUTOCREATE_MAINPROC_PVT.process_line_locations
28 ==============================================================================*/
29 procedure create_shipment_draft (p_lines IN OUT NOCOPY PO_AUTOCREATE_TYPES.lines_rec_type);
30
31
32 -------------------------------------------------------------------------------
33 --Start of Comments
34 --Name: create_payitems_draft
35 --Pre-reqs:
36 -- PO Line has been created.
37 --Modifies:
38 -- PO_LINE_LOCATIONS_DRAFT
39 --Locks:
40 -- None.
41 --Function:
42 -- Create all payitems for a PO Line. If PO_LINE_LOCATIONS_INTERFACE is
43 -- populated, use that information. Otherwise, create a default
44 -- payitem. Also create DELIVERY and ADVANCE payitems as necessary.
45 --Parameters:
46 -- IN OUT: p_lines Lines data
47 --Notes:
48 -- None
49 --Testing:
50 -- None
51 --End of Comments
52 ---------------------------------------------------------------------------
53 procedure create_payitem_draft(p_lines IN OUT NOCOPY PO_AUTOCREATE_TYPES.lines_rec_type);
54
55
56
57 /* ============================================================================
58 Name: create_pricebreak_draft
59 Pre-reqs:
60 PO Line has been created
61 Modifies:
62 PO_LINE_LOCATIONS_DRAFT_ALL
63 Locks:
64 None
65 Function:
66 Derives,deaults the Price Breaks info from available lines information and
67 inserts/updates the PO_LINE_LOCATIONS_DRAFT_ALL.
68 Parameters:
69 p_lines IN OUT Derived Line data after lines processing
70 Returns:
71 None
72 Testing:
73 None
74 Caller of the Procedure:
75 PO_AUTOCREATE_MAINPROC_PVT.process_line_locations
76 ==============================================================================*/
77 procedure create_pricebreak_draft(p_lines IN OUT NOCOPY PO_AUTOCREATE_TYPES.lines_rec_type);
78
79 /* ============================================================================
80 Name: update_req_lines
81 Pre-reqs:
82 PO shipment has been created
83 Modifies:
84 PO_REQUISITION_LINES_ALL
85 Locks:
86 None
87 Function:
88 Updates the Requistion lines' Line Location Id, Reqs in Pool flag for autocreated lines.
89 Parameters:
90 p_lines IN Derived Line data after lines processing
91 p_lines.requistion_line_id_tbl
92 p_lines.line_location_id_tbl are used.
93 Returns:
94 None
95 Testing:
96 None
97 Caller of the Procedure:
98 PO_AUTOCREATE_MAINPROC_PVT.process_line_locations
99 ==============================================================================*/
100 PROCEDURE update_req_lines( p_lines IN PO_AUTOCREATE_TYPES.lines_rec_type );
101
102 END PO_AUTO_LINE_LOC_PROCESS_PVT;