DBA Data[Home] [Help]

PACKAGE: APPS.RCV_CORRECTION_SV

Source


1 PACKAGE RCV_CORRECTION_SV AUTHID CURRENT_USER AS
2 /* $Header: RCVTXCOS.pls 115.4 2004/03/19 03:03:05 wkunz ship $*/
3 
4 /*===========================================================================
5   PROCEDURE NAME: post_query()
6 
7   DESCRIPTION:
8 	This is the wrapper procedure for the Enter Corrections post query
9 	logic.
10 
11   USAGE:
12 	POST_QUERY ( x_transaction_id                IN NUMBER,
13                          x_receipt_source_code           IN VARCHAR2,
14                          x_organization_id               IN NUMBER,
15                          x_hazard_class_id               IN NUMBER,
16                          x_un_number_id                  IN NUMBER,
17                          x_shipment_header_id            IN NUMBER,
18                          x_shipment_line_id              IN NUMBER,
19                          x_po_line_location_id           IN NUMBER,
20                          x_po_line_id                    IN NUMBER,
21                          x_po_header_id                  IN NUMBER,
22                          x_po_release_id                 IN NUMBER,
23                          x_item_id                       IN NUMBER,
24                          x_transaction_date              IN DATE,
25                          x_creation_date                 IN DATE,
26                          x_location_id                   IN NUMBER,
27                          x_subinventory                  IN VARCHAR2,
28                          x_destination_type_code         IN VARCHAR2,
29                          x_destination_type_dsp          IN VARCHAR2,
30                          x_final_dest_type_code         OUT VARCHAR2,
31                          x_final_dest_type_dsp          OUT VARCHAR2,
32                          x_final_location_id            OUT NUMBER,
33                          x_final_subinventory           OUT VARCHAR2,
34                          x_destination_context          OUT VARCHAR2,
35                          x_job_schedule_dsp             OUT VARCHAR2,
36                          x_op_seq_num_dsp               OUT VARCHAR2,
37                          x_department_code              OUT VARCHAR2 ,
38                          x_production_line_dsp          OUT VARCHAR2,
39                          x_bom_resource_id              OUT NUMBER,
40                          x_final_deliver_to_person_id   OUT NUMBER,
41                          x_final_deliver_to_location_id OUT NUMBER,
42                          x_person                       OUT VARCHAR2,
43                          x_location                     OUT VARCHAR2,
44                          x_hazard_class                 OUT VARCHAR2,
45                          x_un_number                    OUT VARCHAR2,
46                          x_locator_type                 OUT VARCHAR2 ,
47                          x_count                        OUT NUMBER ,
48                          x_locator_id                   OUT NUMBER ,
49                          x_available_qty                OUT NUMBER,
50                          x_tolerable_qty                OUT NUMBER ,
51                          x_uom                          OUT VARCHAR2,
52                          x_count_po_distribution        OUT NUMBER );
53 
54   PARAMETERS:
55 
56   DESIGN REFERENCES: Generic
57 
58   ALGORITHM:
59 
60   NOTES:
61 
62   OPEN ISSUES:
63 
64   CLOSED ISSUES:
65 
66   CHANGE HISTORY:
67 	24-MAY-95	Sanjay Kothary	Created
68 ===========================================================================*/
69 
70         /*
71          * BUG NO 782779.
72          * We select the packing_slip for the block rcv_transaction
73          * in the Enter Corrections form from the rcv_shipment_lines.
74         */
75 
76 PROCEDURE  POST_QUERY (  x_transaction_id                IN NUMBER,
77                          x_receipt_source_code           IN VARCHAR2,
78                          x_organization_id               IN NUMBER,
79                          x_hazard_class_id               IN NUMBER,
80                          x_un_number_id                  IN NUMBER,
81                          x_shipment_line_id              IN NUMBER,
82                          x_po_line_location_id           IN NUMBER,
83                          x_rma_line_id 		         IN NUMBER,
84 			 x_parent_transaction_type	 IN VARCHAR2,
85 			 x_grand_parent_id		 IN NUMBER,
86 
87                          x_source_document_code          IN VARCHAR2,
88 			 x_destination_type_code         IN VARCHAR2,
89                          x_lpn_id                        IN VARCHAR2,
90                          x_transfer_lpn_id               IN VARCHAR2,
91                          x_po_type                       IN VARCHAR2,
92 
96                          x_max_negative_qty          IN OUT NOCOPY NUMBER ,
93                          x_hazard_class                 OUT NOCOPY VARCHAR2,
94                          x_un_number                    OUT NOCOPY VARCHAR2,
95                          x_max_positive_qty          IN OUT NOCOPY NUMBER,
97 			 x_max_tolerable_qty	     IN OUT NOCOPY NUMBER,
98                          x_packing_slip                 OUT NOCOPY VARCHAR2,
99                          x_max_supply_qty               OUT NOCOPY NUMBER,
100 
101 			 x_parent_transaction_type_dsp  OUT NOCOPY VARCHAR2,
102 			 x_destination_type_dsp         OUT NOCOPY VARCHAR2,
103                          x_license_plate_number         OUT NOCOPY VARCHAR2,
104                          x_transfer_license_plate_num   OUT NOCOPY VARCHAR2,
105 
106                          x_ordered_uom               IN OUT NOCOPY VARCHAR2,
107                          x_secondary_ordered_uom     IN OUT NOCOPY VARCHAR2,
108                          x_order_type                IN OUT NOCOPY VARCHAR2
109                          );
110 
111 END RCV_CORRECTION_SV;