DBA Data[Home] [Help]

APPS.AP_RCT_AMT_MATCH_PKG dependencies on AP_INVOICES

Line 153: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;

149: G_Period_Name gl_period_statuses.period_name%TYPE;
150: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
151: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
152: G_Pay_Awt_Group_ID ap_awt_groups.group_id%TYPE; --bug 9689194
153: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
154: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
155: G_Precision fnd_currencies.precision%TYPE;
156: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
157: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;

Line 154: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;

150: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
151: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
152: G_Pay_Awt_Group_ID ap_awt_groups.group_id%TYPE; --bug 9689194
153: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
154: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
155: G_Precision fnd_currencies.precision%TYPE;
156: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
157: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
158: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;

Line 161: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;

157: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
158: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;
159: G_Transfer_Flag ap_system_parameters.transfer_desc_flex_flag%TYPE;
160: G_Base_Currency_Code ap_system_parameters.base_currency_code%TYPE;
161: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;
162: G_Allow_PA_Override varchar2(1);
163: G_Pa_Expenditure_Date_Default varchar2(50);
164: G_Prepay_CCID ap_system_parameters.prepay_code_combination_id%TYPE;
165: G_Build_Prepay_Accts_Flag ap_system_parameters.build_prepayment_accounts_flag%TYPE;

Line 170: G_Invoice_Date ap_invoices.invoice_date%TYPE;

166: G_Income_Tax_Region ap_system_parameters.income_tax_region%TYPE;
167: G_Project_ID pa_projects_all.project_id%TYPE;
168: G_Task_ID pa_tasks.task_id%TYPE;
169: G_Expenditure_Type pa_expenditure_types.expenditure_type%TYPE;
170: G_Invoice_Date ap_invoices.invoice_date%TYPE;
171: G_Expenditure_Organization_ID pa_exp_orgs_it.organization_id%TYPE;
172: G_Asset_Book_Type_Code fa_book_controls.book_type_code%TYPE;
173: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
174: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;

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

173: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
174: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;
175: G_Approval_Workflow_Flag ap_system_parameters.approval_workflow_flag%TYPE;
176: -- Removed for bug 4277744
177: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
178: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
179: G_Shipment_Type po_line_locations.shipment_type%TYPE;
180: G_Org_id ap_invoices.org_id%TYPE;
181: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;

Line 180: G_Org_id ap_invoices.org_id%TYPE;

176: -- Removed for bug 4277744
177: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
178: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
179: G_Shipment_Type po_line_locations.shipment_type%TYPE;
180: G_Org_id ap_invoices.org_id%TYPE;
181: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;
182: G_match_option po_line_locations.match_option%TYPE;
183: G_User_Id number;
184: G_Login_Id number;

Line 196: G_Award_Id ap_invoices.award_id%TYPE;

192: G_Line_Award_Id ap_invoice_lines.award_id%TYPE;
193: G_Line_Expenditure_Type ap_invoice_lines.expenditure_type%TYPE ;
194: G_Line_Expenditure_Item_Date ap_invoice_lines.expenditure_item_date%TYPE ;
195: G_Line_Expenditure_Org_Id ap_invoice_lines.expenditure_organization_id%TYPE ;
196: G_Award_Id ap_invoices.award_id%TYPE;
197: G_Line_Base_Amount ap_invoice_lines.base_amount%TYPE ;
198: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
199: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; --bug 9689194
200: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;

Line 201: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;

197: G_Line_Base_Amount ap_invoice_lines.base_amount%TYPE ;
198: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
199: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; --bug 9689194
200: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
201: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
202: --Contract Payments
203: G_Vendor_Id ap_invoices.vendor_id%TYPE;
204: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
205: G_Po_Line_Id po_lines_all.po_line_id%TYPE;

Line 203: G_Vendor_Id ap_invoices.vendor_id%TYPE;

199: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; --bug 9689194
200: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
201: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
202: --Contract Payments
203: G_Vendor_Id ap_invoices.vendor_id%TYPE;
204: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
205: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
206: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
207:

Line 204: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;

200: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
201: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
202: --Contract Payments
203: G_Vendor_Id ap_invoices.vendor_id%TYPE;
204: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
205: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
206: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
207:
208: --Bugfix:5565310

Line 216: G_source ap_invoices_all.source%type;

212: G_product_fisc_class zx_lines_det_factors.product_fisc_classification%type;
213: G_user_defined_fisc_class zx_lines_det_factors.user_defined_fisc_class%type;
214: G_assessable_value zx_lines_det_factors.assessable_value%type;
215: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
216: G_source ap_invoices_all.source%type;
217:
218:
219: PROCEDURE ap_amt_match
220: (X_match_mode IN VARCHAR2,

Line 268: l_product_org_id ap_invoices.org_id%TYPE;

264: l_po_line_location_id po_line_locations.line_location_id%TYPE;
265: l_dummy number;
266:
267: -- bug 8483345: start
268: l_product_org_id ap_invoices.org_id%TYPE;
269: l_allow_tax_code_override varchar2(10);
270: l_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
271: -- bug 8483345: end
272:

Line 359: p_entity_code => 'AP_INVOICES',

355: APPL_SHORT_NAME => 'SQLAP',
356: FUNC_SHORT_NAME => 'NONE',
357: p_calling_sequence => 'AP_ETAX_SERVICES_PKG',
358: p_event_class_code => l_ref_doc_event_class_code,
359: p_entity_code => 'AP_INVOICES',
360: p_application_id => 200,
361: p_internal_organization_id => g_org_id);
362: -- bug 8483345: end
363:

Line 846: FROM ap_invoices_all ai ,

842: g_vendor_site_id,
843: g_source,
844: g_pay_awt_group_id --bug 9689194
845: /* Bug 5572876, using base tables */
846: FROM ap_invoices_all ai ,
847: ap_system_parameters_all asp,
848: ap_suppliers pv,
849: ap_supplier_sites_all pvs,
850: financials_system_params_all fsp,

Line 3978: FROM ap_invoices ai,

3974: AIL.PRODUCT_CATEGORY, --product_category
3975: AIL.USER_DEFINED_FISC_CLASS, --user_defined_fisc_class
3976: g_pay_awt_group_id, --pay_awt_group_id bug 9689194
3977: AIL.RCV_SHIPMENT_LINE_ID --rcv_shipment_line_id /*Bug :15946088*/
3978: FROM ap_invoices ai,
3979: ap_invoice_lines ail,
3980: po_line_locations_ap_v pll
3981: WHERE ai.invoice_id = x_corrected_invoice_id
3982: AND ail.invoice_id = ai.invoice_id