DBA Data[Home] [Help]

APPS.AP_PO_AMT_MATCH_PKG dependencies on AP_INVOICES

Line 139: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;

135: G_Period_Name gl_period_statuses.period_name%TYPE;
136: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
137: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
138: G_Pay_Awt_Group_ID ap_awt_groups.group_id%TYPE; --bug 9689194
139: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
140: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
141: G_Precision fnd_currencies.precision%TYPE;
142: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
143: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;

Line 140: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;

136: G_Set_of_Books_ID ap_system_parameters.set_of_books_id%TYPE;
137: G_Awt_Group_ID ap_awt_groups.group_id%TYPE;
138: G_Pay_Awt_Group_ID ap_awt_groups.group_id%TYPE; --bug 9689194
139: G_Invoice_Type_Lookup_Code ap_invoices.invoice_type_lookup_code%TYPE;
140: G_Exchange_Rate ap_invoices.exchange_rate%TYPE;
141: G_Precision fnd_currencies.precision%TYPE;
142: G_Min_Acct_Unit fnd_currencies.minimum_accountable_unit%TYPE;
143: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
144: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;

Line 147: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;

143: G_System_Allow_Awt_Flag ap_system_parameters.allow_awt_flag%TYPE;
144: G_Site_Allow_Awt_Flag po_vendor_sites.allow_awt_flag%TYPE;
145: G_Transfer_Flag ap_system_parameters.transfer_desc_flex_flag%TYPE;
146: G_Base_Currency_Code ap_system_parameters.base_currency_code%TYPE;
147: G_Invoice_Currency_Code ap_invoices.invoice_currency_code%TYPE;
148: G_Allow_PA_Override varchar2(1);
149: G_Pa_Expenditure_Date_Default varchar2(50);
150: G_Prepay_CCID ap_system_parameters.prepay_code_combination_id%TYPE;
151: G_Build_Prepay_Accts_Flag ap_system_parameters.build_prepayment_accounts_flag%TYPE;

Line 156: G_Invoice_Date ap_invoices.invoice_date%TYPE;

152: G_Income_Tax_Region ap_system_parameters.income_tax_region%TYPE;
153: G_Project_ID pa_projects_all.project_id%TYPE;
154: G_Task_ID pa_tasks.task_id%TYPE;
155: G_Expenditure_Type pa_expenditure_types.expenditure_type%TYPE;
156: G_Invoice_Date ap_invoices.invoice_date%TYPE;
157: G_Expenditure_Organization_ID pa_exp_orgs_it.organization_id%TYPE;
158: G_Asset_Book_Type_Code fa_book_controls.book_type_code%TYPE;
159: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
160: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;

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

159: G_Asset_Category_Id mtl_system_items.asset_category_id%TYPE;
160: G_Inventory_Organization_Id financials_system_parameters.inventory_organization_id%TYPE;
161: G_Approval_Workflow_Flag ap_system_parameters.approval_workflow_flag%TYPE;
162: -- Removed for bug 4277744
163: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
164: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
165: G_Shipment_Type po_line_locations.shipment_type%TYPE;
166: G_Org_id ap_invoices.org_id%TYPE;
167: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;

Line 166: G_Org_id ap_invoices.org_id%TYPE;

162: -- Removed for bug 4277744
163: -- G_Ussgl_Transaction_Code ap_invoices.ussgl_transaction_code%TYPE;
164: G_Allow_Flex_Override_Flag ap_system_parameters.allow_flex_override_flag%TYPE;
165: G_Shipment_Type po_line_locations.shipment_type%TYPE;
166: G_Org_id ap_invoices.org_id%TYPE;
167: G_Encumbrance_Flag financials_system_parameters.purch_encumbrance_flag%TYPE;
168: G_User_Id number;
169: G_Login_Id number;
170: G_Account_Segment ap_invoice_lines.account_segment%TYPE := NULL;

Line 181: G_Award_Id ap_invoices.award_id%TYPE;

177: G_Line_Award_Id ap_invoice_lines.award_id%TYPE ;
178: G_Line_Expenditure_Type ap_invoice_lines.expenditure_type%TYPE ;
179: G_Line_Expenditure_Item_Date ap_invoice_lines.expenditure_item_date%TYPE ;
180: G_Line_Expenditure_Org_Id ap_invoice_lines.expenditure_organization_id%TYPE ;
181: G_Award_Id ap_invoices.award_id%TYPE;
182: G_Line_Base_Amount ap_invoice_lines.base_amount%TYPE ;
183: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
184: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; --bug 9689194
185: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;

Line 186: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;

182: G_Line_Base_Amount ap_invoice_lines.base_amount%TYPE ;
183: G_Line_Awt_Group_Id ap_invoice_lines.awt_group_id%TYPE ;
184: G_Line_Pay_Awt_Group_Id ap_invoice_lines.pay_awt_group_id%TYPE ; --bug 9689194
185: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
186: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
187:
188: --Contract Payments
189: G_Vendor_Id ap_invoices.vendor_id%TYPE;
190: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;

Line 189: G_Vendor_Id ap_invoices.vendor_id%TYPE;

185: G_Line_Accounting_Date ap_invoice_lines.accounting_date%TYPE;
186: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
187:
188: --Contract Payments
189: G_Vendor_Id ap_invoices.vendor_id%TYPE;
190: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
191: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
192: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
193:

Line 190: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;

186: G_Trx_Business_Category ap_invoices.trx_business_category%TYPE;
187:
188: --Contract Payments
189: G_Vendor_Id ap_invoices.vendor_id%TYPE;
190: G_Vendor_Site_Id ap_invoices.vendor_site_id%TYPE;
191: G_Po_Line_Id po_lines_all.po_line_id%TYPE;
192: G_Recoupment_Rate po_lines_all.recoupment_rate%TYPE;
193:
194: --Bugfix:5565310

Line 202: G_source ap_invoices_all.source%type;

198: G_product_fisc_class zx_lines_det_factors.product_fisc_classification%type;
199: G_user_defined_fisc_class zx_lines_det_factors.user_defined_fisc_class%type;
200: G_assessable_value zx_lines_det_factors.assessable_value%type;
201: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
202: G_source ap_invoices_all.source%type;
203: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223
204:
205:
206: PROCEDURE ap_amt_match

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

199: G_user_defined_fisc_class zx_lines_det_factors.user_defined_fisc_class%type;
200: G_assessable_value zx_lines_det_factors.assessable_value%type;
201: G_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
202: G_source ap_invoices_all.source%type;
203: G_recurring_payment_id ap_invoices.recurring_payment_id%TYPE; -- Bug 7305223
204:
205:
206: PROCEDURE ap_amt_match
207: (X_match_mode IN VARCHAR2,

Line 256: l_product_org_id ap_invoices.org_id%TYPE;

252: l_po_line_location_id po_line_locations.line_location_id%TYPE;
253: l_dummy number;
254:
255: -- bug 8483345: start
256: l_product_org_id ap_invoices.org_id%TYPE;
257: l_allow_tax_code_override varchar2(10);
258: l_dflt_tax_class_code zx_transaction_lines_gt.input_tax_classification_code%type;
259: -- bug 8483345: end
260:

Line 348: p_entity_code => 'AP_INVOICES',

344: APPL_SHORT_NAME => 'SQLAP',
345: FUNC_SHORT_NAME => 'NONE',
346: p_calling_sequence => 'AP_ETAX_SERVICES_PKG',
347: p_event_class_code => l_ref_doc_event_class_code,
348: p_entity_code => 'AP_INVOICES',
349: p_application_id => 200,
350: p_internal_organization_id => g_org_id);
351: -- bug 8483345: end
352:

Line 810: FROM ap_invoices_all ai ,

806: g_source,
807: g_recurring_payment_id, -- Bug 7305223
808: g_pay_awt_group_id --Bug 9689194
809: /* Bug 5572876, using base tables */
810: FROM ap_invoices_all ai ,
811: ap_system_parameters_all asp,
812: ap_suppliers pv,
813: ap_supplier_sites_all pvs,
814: financials_system_params_all fsp,

Line 3944: FROM ap_invoices ai,

3940: AIL.PRODUCT_TYPE, --product_type
3941: AIL.PRODUCT_CATEGORY, --product_category
3942: AIL.USER_DEFINED_FISC_CLASS, --user_defined_fisc_class
3943: g_pay_awt_group_id --Bug 9689194
3944: FROM ap_invoices ai,
3945: ap_invoice_lines ail,
3946: po_line_locations_ap_v pll
3947: WHERE ai.invoice_id = x_corrected_invoice_id
3948: AND ail.invoice_id = ai.invoice_id