DBA Data[Home] [Help]

APPS.GME_UPDATE_STEP_QTY_PVT dependencies on GMD_AUTO_STEP_CALC

Line 37: l_step_tbl gmd_auto_step_calc.step_rec_tbl;

33: l_api_name CONSTANT VARCHAR2 (30) := 'update_step_qty';
34: /* Buffers for database reads/writes */
35: l_batch_header gme_batch_header%ROWTYPE;
36: l_batch_step gme_batch_steps%ROWTYPE;
37: l_step_tbl gmd_auto_step_calc.step_rec_tbl;
38: /* Exception definitions */
39: batch_step_fetch_error EXCEPTION;
40: invalid_step_status EXCEPTION;
41: batch_header_fetch_error EXCEPTION;

Line 136: gmd_auto_step_calc.calc_step_qty

132: IF x_batch_step_rec.step_status IN
133: (gme_common_pvt.g_step_pending
134: ,gme_common_pvt.g_step_wip
135: ,gme_common_pvt.g_step_completed) THEN
136: gmd_auto_step_calc.calc_step_qty
137: (p_parent_id => l_batch_header.batch_id
138: ,p_step_tbl => l_step_tbl
139: ,p_msg_count => x_message_count
140: ,p_msg_stack => x_message_list

Line 149: gmd_auto_step_calc.calc_step_qty

145: /* If the step status is not certified then we have to invoke the automatic */
146: /* step qty calculation only for the current step as it does not effect the */
147: /* succeeding step quantities. */
148: ELSE
149: gmd_auto_step_calc.calc_step_qty
150: (p_parent_id => l_batch_header.batch_id
151: ,p_step_tbl => l_step_tbl
152: ,p_msg_count => x_message_count
153: ,p_msg_stack => x_message_list

Line 166: gmd_auto_step_calc.get_step_rec (x_batch_step_rec.batchstep_no

162: END IF;
163:
164: /* Get the record number for the current step in the step table */
165: l_rec :=
166: gmd_auto_step_calc.get_step_rec (x_batch_step_rec.batchstep_no
167: ,l_step_tbl);
168:
169: /* If step status is not in pending then actual quantities have to */
170: /* be updated */

Line 269: gmd_auto_step_calc.get_step_rec

265: AND (l_batch_step.step_status =
266: gme_common_pvt.g_step_pending) ) THEN
267: /* Get the record number for the current step in the step table */
268: l_rec :=
269: gmd_auto_step_calc.get_step_rec
270: (l_batch_step.batchstep_no
271: ,l_step_tbl);
272:
273: /* If step status is not in pending then actual quantities have to */