DBA Data[Home] [Help]

APPS.AP_MATCHING_PKG dependencies on AP_INVOICES

Line 166: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;

162: G_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
163: G_Period_Name gl_period_statuses.period_name%TYPE;
164: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
165: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
166: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
167: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
168: G_Precision fnd_currencies.precision%TYPE;
169: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
170: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;

Line 167: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;

163: G_Period_Name gl_period_statuses.period_name%TYPE;
164: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
165: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
166: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
167: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
168: G_Precision fnd_currencies.precision%TYPE;
169: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
170: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
171: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;

Line 174: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;

170: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
171: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;
172: G_Transfer_Flag ap_system_parameters.transfer_desc_flex_flag%TYPE;
173: G_Base_Currency_Code ap_system_parameters.base_currency_code%TYPE;
174: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;
175: G_Allow_PA_Override varchar2(1);
176: G_Pa_Expenditure_Date_Default varchar2(50);
177: G_Prepay_CCID ap_system_parameters.prepay_code_combination_id%TYPE;
178: G_Build_Prepay_Accts_Flag ap_system_parameters.build_prepayment_accounts_flag%TYPE;

Line 184: G_Invoice_Date ap_invoices.invoice_date%TYPE;

180: G_Project_ID pa_projects_all.project_id%TYPE;
181: G_Task_ID pa_tasks.task_id%TYPE;
182: G_Award_ID po_distributions_all.award_id%TYPE;
183: G_Expenditure_Type pa_expenditure_types.expenditure_type%TYPE;
184: G_Invoice_Date ap_invoices.invoice_date%TYPE;
185: G_Expenditure_Organization_ID pa_exp_orgs_it.organization_id%TYPE;
186: G_Asset_Book_Type_Code fa_book_controls.book_type_code%TYPE;
187: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
188: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;

Line 191: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;

187: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
188: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;
189: G_Approval_Workflow_Flag ap_system_parameters.approval_workflow_flag%TYPE;
190: -- Removed for bug 4277744
191: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
192: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
193: G_Shipment_Type po_line_locations.shipment_type%TYPE;
194: G_Org_id ap_invoices.org_id%TYPE;
195: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;

Line 194: G_Org_id ap_invoices.org_id%TYPE;

190: -- Removed for bug 4277744
191: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
192: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
193: G_Shipment_Type po_line_locations.shipment_type%TYPE;
194: G_Org_id ap_invoices.org_id%TYPE;
195: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;
196: G_User_Id number;
197: G_Login_Id number;
198: G_Account_Segment ap_invoice_lines.account_segment%TYPE := NULL;

Line 212: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;

208: G_Line_Expenditure_Org_Id ap_invoice_lines.expenditure_organization_id%TYPE ;
209: G_Line_Base_Amount ap_invoice_lines.base_amount%TYPE ;
210: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
211: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
212: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
213: --Contract Payments
214: G_Vendor_Id ap_invoices.vendor_id%TYPE;
215: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
216: G_Po_Line_Id po_lines_all.po_line_id%TYPE;

Line 214: G_Vendor_Id ap_invoices.vendor_id%TYPE;

210: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
211: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
212: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
213: --Contract Payments
214: G_Vendor_Id ap_invoices.vendor_id%TYPE;
215: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
216: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
217: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
218: G_Release_Amount_Net_Of_Tax ap_invoices_all.release_amount_net_of_tax%TYPE;

Line 215: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;

211: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
212: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
213: --Contract Payments
214: G_Vendor_Id ap_invoices.vendor_id%TYPE;
215: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
216: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
217: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
218: G_Release_Amount_Net_Of_Tax ap_invoices_all.release_amount_net_of_tax%TYPE;
219: --Bugfix:5565310

Line 218: G_Release_Amount_Net_Of_Tax ap_invoices_all.release_amount_net_of_tax%TYPE;

214: G_Vendor_Id ap_invoices.vendor_id%TYPE;
215: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
216: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
217: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
218: G_Release_Amount_Net_Of_Tax ap_invoices_all.release_amount_net_of_tax%TYPE;
219: --Bugfix:5565310
220: G_intended_use zx_lines_det_factors.line_intended_use%type;
221: G_product_type zx_lines_det_factors.product_type%type;
222: G_product_category zx_lines_det_factors.product_category%type;

Line 227: G_source ap_invoices_all.source%type;

223: G_product_fisc_class zx_lines_det_factors.product_fisc_classification%type;
224: G_user_defined_fisc_class zx_lines_det_factors.user_defined_fisc_class%type;
225: G_assessable_value zx_lines_det_factors.assessable_value%type;
226: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
227: G_source ap_invoices_all.source%type;
228: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223
229: G_PAY_AWT_GROUP_ID ap_invoices_all.pay_awt_group_id%TYPE; -- bug8222382
230: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; -- bug8222382
231:

Line 228: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223

224: G_user_defined_fisc_class zx_lines_det_factors.user_defined_fisc_class%type;
225: G_assessable_value zx_lines_det_factors.assessable_value%type;
226: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
227: G_source ap_invoices_all.source%type;
228: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223
229: G_PAY_AWT_GROUP_ID ap_invoices_all.pay_awt_group_id%TYPE; -- bug8222382
230: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; -- bug8222382
231:
232: PROCEDURE Base_Credit_PO_Match(X_match_mode IN VARCHAR2,

Line 229: G_PAY_AWT_GROUP_ID ap_invoices_all.pay_awt_group_id%TYPE; -- bug8222382

225: G_assessable_value zx_lines_det_factors.assessable_value%type;
226: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
227: G_source ap_invoices_all.source%type;
228: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223
229: G_PAY_AWT_GROUP_ID ap_invoices_all.pay_awt_group_id%TYPE; -- bug8222382
230: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; -- bug8222382
231:
232: PROCEDURE Base_Credit_PO_Match(X_match_mode IN VARCHAR2,
233: X_invoice_id IN NUMBER,

Line 821: FROM ap_invoices_all ai ,

817: g_source,
818: g_recurring_payment_id, -- Bug 7305223
819: /* Bug 5572876, using base tables */
820: g_pay_awt_group_id -- bug 8222382
821: FROM ap_invoices_all ai ,
822: ap_system_parameters_all asp,
823: ap_suppliers pv,
824: ap_supplier_sites_all pvs,
825: financials_system_params_all fsp,

Line 4374: FROM ap_invoices ai,

4370: AIL.PRODUCT_TYPE, --product_type
4371: AIL.PRODUCT_CATEGORY, --product_category
4372: AIL.USER_DEFINED_FISC_CLASS, --user_defined_fisc_class
4373: g_pay_awt_group_id --pay_awt_group_id bug8222382
4374: FROM ap_invoices ai,
4375: ap_invoice_lines ail,
4376: po_line_locations_ap_v pll
4377: WHERE ai.invoice_id = x_corrected_invoice_id
4378: AND ail.invoice_id = ai.invoice_id