DBA Data[Home] [Help]

APPS.GL_ALLOC_FORMULAS_PKG dependencies on GL_ALLOC_FORM_LINES_PKG

Line 107: gl_alloc_form_lines_pkg.delete_batch(batch_id);

103: END get_unique_id;
104:
105: PROCEDURE delete_rows(batch_id NUMBER) IS
106: BEGIN
107: gl_alloc_form_lines_pkg.delete_batch(batch_id);
108:
109: DELETE gl_alloc_formulas
110: WHERE allocation_batch_id = batch_id;
111: EXCEPTION

Line 150: IF (NOT gl_alloc_form_lines_pkg.complete_formula(

146: END IF;
147:
148: -- Make sure the user has completed all of the formula
149: -- lines.
150: IF (NOT gl_alloc_form_lines_pkg.complete_formula(
151: X_allocation_formula_id,
152: X_actual_flag)) THEN
153: IF (X_actual_flag = 'B') THEN
154: fnd_message.set_name('SQLGL', 'GL_COMPLETE_FOUR_FORMULA_LINES');

Line 166: gl_alloc_form_lines_pkg.check_target_ledger(X_Allocation_Formula_Id);

162: -- Make sure the ledger segment of target and offset lines are the same
163: check_ledger_selection(X_Allocation_Formula_Id);
164:
165: -- Make sure there isn't a currency conflict
166: gl_alloc_form_lines_pkg.check_target_ledger(X_Allocation_Formula_Id);
167:
168: INSERT INTO GL_ALLOC_FORMULAS(
169: allocation_formula_id,
170: allocation_batch_id,

Line 293: IF (NOT gl_alloc_form_lines_pkg.complete_formula(

289: ) IS
290: BEGIN
291: -- Make sure the user has completed all of the formula
292: -- lines.
293: IF (NOT gl_alloc_form_lines_pkg.complete_formula(
294: X_allocation_formula_id,
295: X_actual_flag)) THEN
296: IF (X_actual_flag = 'B') THEN
297: fnd_message.set_name('SQLGL', 'GL_COMPLETE_FOUR_FORMULA_LINES');

Line 306: IF (gl_alloc_form_lines_pkg.currency_changed(

302: END IF;
303: END IF;
304:
305: -- If the user has changed the currency, then update the lines
306: IF (gl_alloc_form_lines_pkg.currency_changed(
307: X_Allocation_Formula_Id,
308: X_Transaction_Currency)
309: OR X_Conversion_Method_Code = 'CV') THEN
310: gl_alloc_form_lines_pkg.update_currency(

Line 310: gl_alloc_form_lines_pkg.update_currency(

306: IF (gl_alloc_form_lines_pkg.currency_changed(
307: X_Allocation_Formula_Id,
308: X_Transaction_Currency)
309: OR X_Conversion_Method_Code = 'CV') THEN
310: gl_alloc_form_lines_pkg.update_currency(
311: X_Allocation_Formula_id,
312: X_Transaction_Currency,
313: X_Conversion_Method_Code);
314: Currency_Changed := 'Y';

Line 324: gl_alloc_form_lines_pkg.check_target_ledger(X_Allocation_Formula_Id);

320: check_ledger_selection(X_Allocation_Formula_Id);
321:
322: IF (Currency_Changed = 'Y') THEN
323: -- Make sure there isn't a currency conflict
324: gl_alloc_form_lines_pkg.check_target_ledger(X_Allocation_Formula_Id);
325: END IF;
326:
327: UPDATE GL_ALLOC_FORMULAS
328: SET

Line 353: gl_alloc_form_lines_pkg.delete_rows(

349: PROCEDURE Delete_Row(Allocation_formula_id NUMBER, X_Rowid VARCHAR2) IS
350: BEGIN
351:
352: -- Delete all of the associated formula lines
353: gl_alloc_form_lines_pkg.delete_rows(
354: allocation_formula_id);
355:
356: -- Delete the formula
357: DELETE FROM GL_ALLOC_FORMULAS