DBA Data[Home] [Help]

APPS.AP_PAYMENT_SCHEDULES_PKG dependencies on APP_EXCEPTION

Line 145: app_exception.raise_exception;

141:
142: if (ap_invoices_pkg.get_encumbered_flag(X_invoice_id) = 'Y') then
143: -- Cannot change the invoice_amount as it is encumbered
144: fnd_message.set_name('SQLAP','AP_INV_ALL_DISTS_ENCUMB');
145: app_exception.raise_exception;
146: elsif (ap_invoices_pkg.get_posting_status(X_invoice_id) = 'Y') then
147: -- Cannot change the invoice_amount as it is posted
148: fnd_message.set_name('SQLAP','AP_INV_ALL_DIST_POSTED');
149: app_exception.raise_exception;

Line 149: app_exception.raise_exception;

145: app_exception.raise_exception;
146: elsif (ap_invoices_pkg.get_posting_status(X_invoice_id) = 'Y') then
147: -- Cannot change the invoice_amount as it is posted
148: fnd_message.set_name('SQLAP','AP_INV_ALL_DIST_POSTED');
149: app_exception.raise_exception;
150: elsif (ap_invoices_pkg.selected_for_payment_flag(
151: X_invoice_id) = 'Y') then
152: -- Cannot change the amount as it is selected for payment
153: fnd_message.set_name('SQLAP','AP_INV_SELECTED_INVOICE');

Line 154: app_exception.raise_exception;

150: elsif (ap_invoices_pkg.selected_for_payment_flag(
151: X_invoice_id) = 'Y') then
152: -- Cannot change the amount as it is selected for payment
153: fnd_message.set_name('SQLAP','AP_INV_SELECTED_INVOICE');
154: app_exception.raise_exception;
155: elsif (l_allow_paid_invoice_adjust <> 'Y'
156: and nvl(x_calling_mode, 'X') <> 'APXIIMPT') then
157: fnd_message.set_name('SQLAP','AP_DIST_NO_UPDATE_PAID');
158: app_exception.raise_exception;

Line 158: app_exception.raise_exception;

154: app_exception.raise_exception;
155: elsif (l_allow_paid_invoice_adjust <> 'Y'
156: and nvl(x_calling_mode, 'X') <> 'APXIIMPT') then
157: fnd_message.set_name('SQLAP','AP_DIST_NO_UPDATE_PAID');
158: app_exception.raise_exception;
159: end if;
160:
161: -- Look at the sign of the adjustment and determine whether
162: -- an existing payment should be adjusted or a payment schedule

Line 321: APP_EXCEPTION.Raise_Exception;

317: if (l_current_payment_num is null) then
318: -- Cannot find a payment schedule to adjust
319: FND_MESSAGE.Set_Name('SQLAP', 'AP_INV_NO_PAYMENT_SCHEDULE');
320: FND_MESSAGE.Set_Name('SQLAP', 'AP_PAY_NO_PAYMENT_SCHEDULE');
321: APP_EXCEPTION.Raise_Exception;
322: end if;
323:
324: -- Adjust for any rounding errors that might have been introduced
325: -- for inv_curr_gross_amount

Line 462: APP_EXCEPTION.RAISE_EXCEPTION;

458: ||', X_liability_adjusted_flag = '||X_liability_adjusted_flag
459: );
460: FND_MESSAGE.SET_TOKEN('DEBUG_INFO',debug_info);
461: END IF;
462: APP_EXCEPTION.RAISE_EXCEPTION;
463:
464: END adjust_pay_schedule;
465:
466: -----------------------------------------------------------------------

Line 900: APP_EXCEPTION.RAISE_EXCEPTION;

896: ) then
897: return;
898: else
899: FND_MESSAGE.Set_Name('FND', 'FORM_RECORD_CHANGED');
900: APP_EXCEPTION.RAISE_EXCEPTION;
901: end if;
902:
903: EXCEPTION
904: WHEN OTHERS THEN

Line 920: APP_EXCEPTION.RAISE_EXCEPTION;

916: );
917: FND_MESSAGE.SET_TOKEN('DEBUG_INFO',debug_info);
918: END IF;
919: END IF;
920: APP_EXCEPTION.RAISE_EXCEPTION;
921:
922: END Lock_Row;
923:
924: END AP_PAYMENT_SCHEDULES_PKG;