EBS Technical

Oracle R12 Customer Extract Based On Operating Unit

SELECT TO_CHAR(hca.account_number) account_number, ( SELECT name FROM apps.hr_operating_units hou WHERE hou.organization_id = hcasa.org_id ) organization_name, hca.status account_status, hl.address1, hl.address2, hl.address3, hl.address4, hl.city, hl.postal_code, hl.state, hl.province, hl.county, hl.country, hcsua.site_use_code business_purpose, hcsua.location…

Read More

Oracle R12 Supplier Master With All Supplier Details

select (SELECT hou.NAME FROM apps.hr_operating_units hou WHERE 1 = 1 AND hou.organization_id = aps.org_id ) ou_name, (SELECT paym.payment_method_code FROM APPS.iby_ext_party_pmt_mthds paym WHERE IEPA.ext_payee_id = paym.ext_pmt_party_id and aps.vendor_site_id = iepa.supplier_site_id –AND…

Read More

Oracle R12 AR Invoice With Tax Lines and Tax Description Query

SELECT DISTINCT rcta.trx_number invoice_number, –gd.gl_date, hp.party_name customer_name, rctla.line_number, rctla.description, rctla.uom_code, rctla.quantity_invoiced qty, rctla.unit_selling_price unit_price, rctla.revenue_amount amount, ( SELECT jtl.tax_rate_percentage FROM apps.jai_tax_lines jtl WHERE rcta.trx_number = jtl.trx_number AND rctla.line_number = jtl.trx_line_number…

Read More

Oracle R12 Journal Details Query

SELECT gjst.user_je_source_name source, ( SELECT gjct.user_je_category_name FROM apps.gl_je_categories_tl gjct WHERE gjh.je_category = gjct.je_category_name AND language = ‘US’ ) category, gjh.name batch_name, gjh.description header_description, gjl.je_line_num, gjl.description line_description, CASE WHEN gjl.entered_dr IS…

Read More

Cancel approved requisition in ORACLE APPS

INTRODUCTION   This blog explains how we cancel approved requisition in oracle apps        PROCEDURE CANCEL_REQUISITION (P_BATCH_RUN_ID IN NUMBER,P_REQUISITION_NO IN VARCHAR)  AS      X_REQ_CONTROL_ERROR_RC   VARCHAR2(500); LN_USER_ID                NUMBER;      …

Read More

Validate Third Party Registration

INTRODUCTION   This blog explains how we validate Third Party Registration in oracle apps     –****************************************************** — Checking Third Party Registration(GST) –******************************************************             BEGIN                SELECT DISTINCT TRIM (TO_CHAR…

Read More

Validate Bill to customer

INTRODUCTION   This blog explains how we validate Bill to customer in oracle apps   –****************************************************** — Bill To Customer Address Validation –******************************************************             BEGIN                SELECT hcas.cust_acct_site_id                –hcsu.site_use_id                 …

Read More

Sales Order Details

INTRODUCTION This blog explains  how we get complete order details about the for a sales order in oracle apps CODE SELECT OOH.ORDER_NUMBER , OOH.FLOW_STATUS_CODE      HEADERSTATUS , OOH.ORDERED_DATE          ORDER_DATE , OTT.NAME                 …

Read More

Resolve API error — (hz_cust_site_uses cannot be locked as it has been updated by another user)

Objective: Intent to publish this blog to get rid of this below common API Error while updating the Customer site uses. Error: hz_cust_site_uses cannot be locked as it has been…

Read More

Query to fetch the Records from AP Expense to GL

Introduction This Query will help to Fetch Records From AP Expense to GL SQL Query: SELECT aerha.invoice_num expense_invoice_number, papf.full_name employee_name, aerha.SOURCE, aerha.description expense_header_description, aerha.attribute_category, aerha.expense_status_code, aerla.start_expense_date, aerla.distribution_line_number, aerla.item_description line_description, aerla.amount,…

Read More