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: (
128:
129:
130: d_progress := 20;
131:
132: IF (PO_LOG.d_proc) THEN
133: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
134: PO_LOG.proc_end(d_module);
135: END IF;
136:
129:
130: d_progress := 20;
131:
132: IF (PO_LOG.d_proc) THEN
133: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
134: PO_LOG.proc_end(d_module);
135: END IF;
136:
137:
130: d_progress := 20;
131:
132: IF (PO_LOG.d_proc) THEN
133: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
134: PO_LOG.proc_end(d_module);
135: END IF;
136:
137:
138: EXCEPTION
137:
138: EXCEPTION
139: WHEN OTHERS THEN
140: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
141: IF (PO_LOG.d_exc) THEN
142: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
143: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
144: PO_LOG.proc_end(d_module);
145: END IF;
138: EXCEPTION
139: WHEN OTHERS THEN
140: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
141: IF (PO_LOG.d_exc) THEN
142: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
143: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
144: PO_LOG.proc_end(d_module);
145: END IF;
146:
139: WHEN OTHERS THEN
140: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
141: IF (PO_LOG.d_exc) THEN
142: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
143: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
144: PO_LOG.proc_end(d_module);
145: END IF;
146:
147: END MAINTAIN_RESERVATION;
140: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
141: IF (PO_LOG.d_exc) THEN
142: PO_LOG.exc(d_module, d_progress, SQLCODE || SQLERRM);
143: PO_LOG.proc_end(d_module, 'x_return_status', x_return_status);
144: PO_LOG.proc_end(d_module);
145: END IF;
146:
147: END MAINTAIN_RESERVATION;
148: