select distinct pei.EXPENDITURE_ITEM_ID, pei.EXPENDITURE_ID,pei.TASK_ID,pei.project_id,ppa.segment1 PROJECT_NUMBER,ppa.name Project_name,
pei.EXPENDITURE_TYPE,pei.QUANTITY,RAW_COST,PEI.ATTRIBUTE1,TRANSACTION_SOURCE,PEI.ORG_ID,pea.ORIG_EXP_TXN_REFERENCE1 INVOICE_ID,
aih.invoice_num,poh.segment1 PO_NUMBER,PA_PERIOD_NAME
from apps.pa_expenditure_items_all pei,
apps.pa_expenditures_all pea,
apps.pa_projects_all ppa,
apps.AP_INVOICE_DISTRIBUTIONS_ALL aid,
apps.ap_invoices_all aih,
apps.po_distributions_all pd,
apps.po_headers_all poh,
apps.PA_COST_DIST_LINES_V pcdl
where pei.org_id = 170 --IN (171,170)
AND ppa.project_id = pei.project_id
AND pei.expenditure_id = pea.expenditure_id
AND pei.org_id = pea.org_id
and aid.po_distribution_id = pd.po_distribution_id
and pd.po_header_id = poh.po_header_id
and aid.invoice_id = pea.ORIG_EXP_TXN_REFERENCE1
AND aid.invoice_id = aih.INVOICE_ID
AND pcdl.EXPENDITURE_ITEM_ID = pei.EXPENDITURE_ITEM_ID
AND pei.org_id = pcdl.org_id
and TRANSACTION_SOURCE = 'AP INVOICE'
AND pcdl.pa_period_name = 'OCT-08'
--and aih.invoice_num = 'UI901156'
--and expenditure_item_id = 687492
Sunday, October 4, 2009
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2009
(44)
-
▼
October
(44)
- Steps to find pwd for an application user in oracl...
- Query to find Open invoce and customer information
- Query to get revenue distribution lines for Invoice
- Script to create customer,Party site,account site,...
- Query to retrive the PO and AP invoice information
- Query to Identify All Requistions errror out in WF
- Query To Identify All Purchase Orders errored out ...
- Query to find requisition number from PO number
- PO Requisitions and Project Details
- Purchase Orders with Project Details
- Employee Extraction
- Query to find Employee Contact information
- Check Provider and receiver projects for a project
- Query to find project, classfication and max trans...
- AP Invoice and PA Exp Details
- PA Revnue extract for exp and events
- Being Yogendra: Meebo Chat Gadget for iGoogle
- Find Customer information(bill&ship) for a Slaes O...
- Query to retrieve the line information of the Sale...
- Query to retrive the header information of the Sal...
- OM Flow and Table Level information
- Query to fetch all request groups attached to resp...
- Kill Locked Session
- To get all Conc Programs attached to a Reponsibility
- To Derive Module wise conc program count
- Calculate Request Time
- List of responsibilities assigned to specific user
- Finding Oracle Apps Version
- Query to find list of parameters used in Concurren...
- FNDLOAD(Ldt) Scripts
- Assign and Delete Responsibility to User from backend
- Assign Concurrent Prog to Reuest Group
- Change User passwrd in oracle application
- Sample query to build calendar
- Derive business days
- Derive Business Days Count
- Query to fetch Error workflow details
- Quickest way to generate the columns used in the c...
- Query to find all functions in a Menu
- fetch the values from a string separated by commas...
- Active alert information
- Steps to upload GIF, XLS, PDF, JPG and DOC files i...
- Reading and printing attachments in Oracle apps Te...
- Query to Check List of Form personalizations
-
▼
October
(44)
No comments:
Post a Comment