80: BEGIN
81:
82:
83: d_progress := 0;
84: IF (PO_LOG.d_proc) THEN
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
81:
82:
83: d_progress := 0;
84: IF (PO_LOG.d_proc) THEN
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
82:
83: d_progress := 0;
84: IF (PO_LOG.d_proc) THEN
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
83: d_progress := 0;
84: IF (PO_LOG.d_proc) THEN
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
84: IF (PO_LOG.d_proc) THEN
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
85: PO_LOG.proc_begin(d_module);
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
86: PO_LOG.proc_begin(d_module, 'p_header_id', p_header_id);
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
87: PO_LOG.proc_begin(d_module, 'p_line_id',p_line_id );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
95: PO_LOG.proc_begin(d_module, 'p_ordered_uom',p_ordered_uom );
88: PO_LOG.proc_begin(d_module, 'p_line_location_id',p_line_location_id );
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
95: PO_LOG.proc_begin(d_module, 'p_ordered_uom',p_ordered_uom );
96: END IF;
89: PO_LOG.proc_begin(d_module, 'p_distribution_id',p_distribution_id );
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
95: PO_LOG.proc_begin(d_module, 'p_ordered_uom',p_ordered_uom );
96: END IF;
97:
90: PO_LOG.proc_begin(d_module, 'p_action',p_action );
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
95: PO_LOG.proc_begin(d_module, 'p_ordered_uom',p_ordered_uom );
96: END IF;
97:
98: d_progress := 10;
91: PO_LOG.proc_begin(d_module, 'p_recreate_demand_flag',p_recreate_demand_flag );
92: PO_LOG.proc_begin(d_module, 'p_called_from_reqimport',p_called_from_reqimport );
93: PO_LOG.proc_begin(d_module, 'p_ordered_quantity',p_ordered_quantity );
94: PO_LOG.proc_begin(d_module, 'p_transaction_id',p_transaction_id );
95: PO_LOG.proc_begin(d_module, 'p_ordered_uom',p_ordered_uom );
96: END IF;
97:
98: d_progress := 10;
99:
96: END IF;
97:
98: d_progress := 10;
99:
100: IF (PO_LOG.d_stmt) THEN
101: PO_LOG.stmt(d_module, d_progress, 'Calling Maintain rervations');
102: END IF;
103:
104: inv_maintain_reservation_pub.maintain_reservation
97:
98: d_progress := 10;
99:
100: IF (PO_LOG.d_stmt) THEN
101: PO_LOG.stmt(d_module, d_progress, 'Calling Maintain rervations');
102: END IF;
103:
104: inv_maintain_reservation_pub.maintain_reservation
105: (
125:
126:
127: d_progress := 20;
128:
129: IF (PO_LOG.d_proc) THEN
130: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
131: PO_LOG.proc_end(d_module);
132: END IF;
133:
126:
127: d_progress := 20;
128:
129: IF (PO_LOG.d_proc) THEN
130: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
131: PO_LOG.proc_end(d_module);
132: END IF;
133:
134:
127: d_progress := 20;
128:
129: IF (PO_LOG.d_proc) THEN
130: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
131: PO_LOG.proc_end(d_module);
132: END IF;
133:
134:
135: EXCEPTION
134:
135: EXCEPTION
136: WHEN OTHERS THEN
137: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
138: IF (PO_LOG.d_exc) THEN
139: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
140: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
141: PO_LOG.proc_end(d_module);
142: END IF;
135: EXCEPTION
136: WHEN OTHERS THEN
137: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
138: IF (PO_LOG.d_exc) THEN
139: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
140: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
141: PO_LOG.proc_end(d_module);
142: END IF;
143:
136: WHEN OTHERS THEN
137: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
138: IF (PO_LOG.d_exc) THEN
139: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
140: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
141: PO_LOG.proc_end(d_module);
142: END IF;
143:
144: END MAINTAIN_RESERVATION;
137: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
138: IF (PO_LOG.d_exc) THEN
139: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
140: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
141: PO_LOG.proc_end(d_module);
142: END IF;
143:
144: END MAINTAIN_RESERVATION;
145: