GL_IMPORT_REFERENCES TABLE 과  AP 정보와의 관계

제품 : FIN_AP
작성날짜 : 2003-04-25
GL_IMPORT_REFERENCES TABLE 과 AP 정보와의 관계
==========================================
PURPOSE
GL_IMPORT_REFERENCES TABLE 과 AP 정보와의 관계
Explanation
GL_IMPORT_REFERENCES의 각 Reference 칼럼은 아래와 같이
AP정보와 matching된다.
For Invoices transactions:
REFERENCE_1 = Vendor Name
REFERENCE_2 = Invoice id
REFERENCE_3 = Distribution Line Number
REFERENCE_4 = blank
REFERENCE_5 = Invoice Number
REFERENCE_6 = AP Invoices
REFERENCE_7 = set of books id
REFERENCE_8 = blank
REFERENCE_9 = blank
REFERENCE_10 = For Expense lines, this is blank (For
Liabilities, "Liability")
For Payments transactions:
REFERENCE_1 = Vendor Name
REFERENCE_2 = Invoice id
REFERENCE_3 = Check id
REFERENCE_4 = Check number
REFERENCE_5 = Invoice Number
REFERENCE_6 = AP Payments
REFERENCE_7 = Set of books id
REFERENCE_8 = Invoice Distribution Line Number
REFERENCE_9 = Invoice payment id
REFERENCE_10 = Liability
Cash
Discount
Exchange Gain
Exchange Loss
Future Pay
GL_INTERFACE 테이블에서는 REFERENCE21-REFERENCE30 에 해당한다.
Example
Reference Documents
Note:37672.1

Hi,
Can you try making modifications to your query based on the below ..... it is not an accurate replacement from table perspective, i have made a comparison between the values what was displayed in 11i and its corresponding fields in 12 .....
In 11i,
REFERENCE1 - Vendor Name from the Invoice
REFERENCE2 - Transaction source ID i.e. Invoice ID from the AP_Invoice_all table
REFERENCE3 - Transaction ID i.e. If Payment it will be Check_ID, For Invoice it would be Line Numbers
REFERENCE4 - For Payment it means check number, for Invoices it will be NULL
REFERENCE5 - Invoice Number
REFERENCE6 - For Payments it will be AP Payments, for Invoices it will be AP Invoices
REFERENCE7 - Set of Books ID
REFERENCE8 - Null for invoiuces and payments
REFERENCE9 - Null for Invoices, for payments it is Invoice_payment_ID
REFERENCE10 - Type of account LIABILITY
In R12,
REFERENCE1 - PARTY_ID from XLA_AE_LINES would give you ID, then you should compare it with AP_SUPPLIERS and get the vendor name
REFERENCE2 - APPLIED_TO_SOURCE_ID_NUM_1 from XLA_DISTRIBUTION_LINKS  when APPLIED_TO_ENTITY_CODE is AP_INVOICES
REFERENCE3 - APPLIED_TO_SOURCE_ID_NUM_1 from XLA_DISTRIBUTION_LINKS  when APPLIED_TO_ENTITY_CODE is AP_PAYMENTS
REFERENCE4 - TRANSACTION_NUMBER from XLA_TRANSACTION_ENTITIES when entity code is AP_PAYMENTS
REFERENCE5 - TRANSACTION_NUMBER from XLA_TRANSACTION_ENTITIES when entity code is AP_INVOICES
REFERENCE6 - APPLIED_TO_ENTITY_CODE from XLA_DISTRIBUTION_LINKS table
REFERENCE7 - LEDGER_ID from XLA_AE_LINES table
REFERENCE10 - ACCOUNTING_CLASS_CODE from XLA_AE_LINES table
Regards,
Ivruksha

Similar Messages

  • Link B/W  GL and Payable tables

    Hi,
    I want the table link b/w GL and Payables
    Regards
    Bhaskar

    Thank you, I checked in eTRM but i dint get any link in that, i have a link for gl_je_header,gl_je_lines to xla_ae_header,xla_ae_lines.
    In R12 i create one invoice n applied n posted to GL i am able to see the trx in gl_import_references table but in this it was not storing the relevent info in refernce_1,refernce_2..........columns,but in this gl_sl_link_id was there.
    In 11i the invoice related information will be stored in reference columns right, but in R12 it was not.

  • In Which General Ledger Tables Vendor Details are Stored ?

    HI All,
    I had a requirement to fetch the vendor_id from the GL Iinterface tables.
    Please guide.

    Hi ,
    Do you want get the vendor id from GL Interface or Actual GL tables?
    GL_import_references table stores information about the journal line details . In this Reference_1 column have the vendor_name if you want to have vendor id then take GL_SL_LINK_ID and join it with AP_AE_LINES where third_party_id will give you the vendor_id for that journal line.
    Hope this helps
    Thanks
    Regards
    Muthu

  • SRKIM: Rel.11i- PA-  GL_IMPORT_REFERENCES mapping with Project Transaction

    Purpose
    =====
    R11i: Project Transaction 이 GL Journal 로 import 되었을 시 mapping 하는 방법에 대해 알아 보도록 한다.
    Question
    =====
    11i 에서 Project Transaction 을 GL 로 Transfer 후 reconcile 을 위해 gl_import_references table 과 mapping 을 하고 싶다.
    어떻게 mapping 해야 하는가.
    Answer
    =====
    Project Accounting 의 Category 별로 아래와 같이 mapping 할 수 있다.
    Category: BORROWED_AND_LENT
    reference_1 = PA_CC_DIST_LINES_ALL.GL_BATCH_NAME
    reference_2 = CCID (either PA_CC_DIST_LINES_ALL.DR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
    reference_3 = Account Type (either Cross Charge Debit or Cross Charge Credit)
    reference_6 = same as reference_1
    Category: Burden Cost, Inventory, Labor Cost, Miscellaneous Transaction, Total Burden Cost, or Usage Cost
    reference_1 = PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
    reference_2 = CCID (either PA_COST_DISTRIBUTION_LINES_ALLDR_CODE_COMBINATION_ID or CR_CODE_COMBINATION_ID)
    reference_3 = Account Type (either Cost or Liability)
    reference_6 = same as reference_1
    Category: Revenue
    reference_1 =
    If "Revenue - Normal Revenue" => PA_COST_DISTRIBUTION_LINES_ALL.BATCH_NAME
    If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL..BATCH_NAME
    If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_BATCH_NAME
    If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_BATCH_NAME
    reference_2 =
    If "Revenue - Normal Revenue" => PA_CUST_REV_DIST_LINES_ALL.CODE_COMBINATION_ID
    If "Revenue - Event Revenue" => PA_CUST_EVENT_RDL_ALL.CODE_COMBINATION_ID
    If "Revenue - UBR" => PA_DRAFT_REVENUES_ALL.UNBILLED_CODE_COMBINATION_ID
    If "Revenue - UER" => PA_DRAFT_REVENUES_ALL.UNEARNED_CODE_COMBINATION_ID
    reference_3 = Account Type, either:
    If expenditure item revenue =>"Revenue - Normal Revenue"
    If event revenue => "Revenue - Event Revenue"
    If unbilled receivables => "Revenue - UBR"
    If unearned revenue => "Revenue - UER"
    reference_6 = same as reference_1
    나머지 reference columns 은 모두 null 값으로 update 될 것이다.
    Reference
    ======
    Note. 331622.1 - How Are References Populated in GL_IMPORT_REFERENCES For Projects Transactions?

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Draft revenues in to Journal Ledger details in GL Tables

    Hi,
    how do we reconcile the draft revenues and draft invoices of Projects to the Journal Ledger entries. How the tables are related. Can anyone please share the query or the table details.
    Thanks,
    HC

    Hi ,
    Do you want get the vendor id from GL Interface or Actual GL tables?
    GL_import_references table stores information about the journal line details . In this Reference_1 column have the vendor_name if you want to have vendor id then take GL_SL_LINK_ID and join it with AP_AE_LINES where third_party_id will give you the vendor_id for that journal line.
    Hope this helps
    Thanks
    Regards
    Muthu

  • Report to see all the detail Journal Entries

    Hi,
    Currently reports in GL shows only the summary of transactions that has come from Subledger and also journals passed in GL but it does not show
    1)party wise transactions
    2)Details of invoices,payments,receipts with party wise.
    This facility can be achieved only through drilldown feature but cannot see in any report.
    Can any body suggest whether any such reports are available whether in GL or in subledger to see all the transactions that are posted to GL with party name?
    Thanks
    Jogendra

    Hi Jogi
    Try to get info from GL_IMPORT_REFERENCES table with GL_SL_LINK_ID 's.
    Thanks
    Santosh Kumar Pallerla

  • Communication Link B/W ASP and SAP

    Hi All,
             I have rare requirement at clients place i.e I need to capture the data infact the end result of a AP tool developed on ASP to fill few fields in SAP Invoice verification transaction, can some one help me out as how to establish a link between SAP and AP tool.
        The process currently followed by client is they run a ASP tool and the tool displays a final result which is copied and pasted manually in few fields of SAP transaction, now they want this to be automatically done may be by storing the result in SAP and using them in search helps for the fields.
    Thanks,
    srini.

    Thank you, I checked in eTRM but i dint get any link in that, i have a link for gl_je_header,gl_je_lines to xla_ae_header,xla_ae_lines.
    In R12 i create one invoice n applied n posted to GL i am able to see the trx in gl_import_references table but in this it was not storing the relevent info in refernce_1,refernce_2..........columns,but in this gl_sl_link_id was there.
    In 11i the invoice related information will be stored in reference columns right, but in R12 it was not.

  • How to map Write-Off details to GL

    Hi,
    I'm using cst_write_offs,cst_write_off_details tables in one of my query. I want to know how we can map these tables to the GL tables.
    Scenario:
    Need to fetch rcv_transaction_id and po_distribution_id from the above write-off tables.
    I am getting WRITE_OFF_ID from other query which I'm passing to these write-off tables to get the write-off data.
    However there are multiple records in the cst_write_off_details table for one WRITE_OFF_ID. I found that AE_HEADER_ID and AE_LINE_ID combination is unique for these records.
    Is there any chance of getting single record from this table?
    Is there any revelence in AE_HEADER_ID and AE_LINE_ID with GL header and line details and can we map those?
    Please help.
    Thanks and Regards,
    Ravindra

    user12228525 wrote:
    Is there any revelence in AE_HEADER_ID and AE_LINE_ID with GL header and line details and can we map those?
    Hi Ravindra,
    The AE_HEADER_ID is a reference for an accounting entry created at subledger level .... it is not directly linked in to GL_JE_HEADERS/ GL_JE_LINES , however the link between them is made available in the GL_IMPORT_REFERENCES table.
    In the GL_IMPORT_REFERENCES table, you have a column for JE_HEADER_ID which is a reference available in GL_JE_HEADERS Table ... and you have a column for REFERENCE_7 which is a reference to the AE_HEADER_ID in the XLA_AE_HEADERS table.
    Regards,
    Ivruksha
    Edited by: Ivruksha on Dec 11, 2012 7:30 PM

  • Drilldown From GL to Inventory

    Hi all,
    We are finding some accounting entries generating from inventory, we need to identify from which transactions these are coming from. All these entries are in one journal batches, so we have to identify the transaction source of all these lines since the lines are nearly 42000 so it would be hectic task to do drildowns individually. So if any one has a query to identify the transactions it would be great help for us.
    We are in 11.5.8 version
    Regards

    I am assuming here that you can build a query linking your journal to the gl_import_references table. Use the following columns from the gl_import_references to obtain the transaction_id.
    reference1 = Combination of gl_batch_id and organization_id
    reference2 = Combination of the Period End Date 'yyyy/mm/dd', organization_code and batch name
    reference5 = Combination of the Period End Date 'yyyy/mm/dd', organization_code and batch name
    reference10 = Combination of the Period End Date 'yyyy/mm/dd', organization_code and batch name
    reference21 = gl_batch_id
    reference22 = organizaiton_code
    reference23 = transaction_id
    Thanks,
    Anil

  • Gl_je_lines and mtl_transaction_accounts

    Hi,
    Can somebody help me out making joins between the following 3 tables:
    gl_je_lines
    , mtl_transaction_accounts
    , mtl_material_transactions
    Basically, I want to track back from gl_je_lines to mtl_material_transactions
    How does gl_je_lines.code_combination_id join with mtl_material_transactions ?
    is the following join proper?
    gjl.code_combination_id = mta.reference_account
    Thanks.
    P.S. do I need to used gl_import_references table for joining them?
    Message was edited by:
    Devang Thakkar

    First, you need to look at the mapplets/mappings (or DAC) to see source tables (usually a mapplet with a "mplt_BC" prefix). In this case, it extracts for several tables. In R1212 Adaptor it includes the following: RA_SALESREPS_ALL, OE_ORDER_LINES_ALL, OE_ORDER_HEADERS_ALL, MTL_TRANSACTION_ACCOUNTS, MTL_MATERIAL_TRANSACTIONS, HZ_CUST_SITE_USES_ALL, and GL_LEDGERS.
    With regard to why it uses both MTL_MATERIAL_TRANSACTIONS and MTL_TRANSACTION_ACCOUNTS tables...the TRANSACTION table holds the accounting details for each transaction in MATERIAL. This accounting detail is used to form the joins to the associated accounting dimensions such as W_GL_ACCOUNT_D etc.
    if this helps, please mark as correct or helpful.

  • Quick help needed on reversing the Journals

    Hi Gurus
    While importing the data from the GL_INTERFACE the REFERENCE_21 …. REFERENCE _30 are moved to REFERENCE_1 through REFERENCE_10 in the GL_JE_LINES table and the GL_IMPORT_REFERENCES table..
    When reversing a posted entry all the 10 reference fields(REFERENCE_1 through REFERENCE_10) are not copied into the new reversed GL line. Only REFERENCE _2, REFERENCE _3 and REFERENCE _5 are copied in GL_JE_LINES table.
    Is there any setup, which allows the JE reversal to populate all the reference fields in the reversed line in GL_JE_LINES table?
    Any quick help is appreciated.
    Thanks
    Isaac

    Hi all,
    I could able to get the solution for this problem.
    Oracle provides Patch 5136186 to resolve this issue in 11.5.9 and 11.5.10.
    Thanks
    Isaac

  • Transfer to General Ledger Program

    Hi,
    I am creating a report which needs to provide all the accounting details along with the subledger detail which is stored in the reference columns of the GL_je_lines table or the gl_import_references table.
    Now if the Transfer to General Ledger Program is run in Detail mode, all the detail such as vendor name, etc from the subledger is transfered to the gl_interface table and hence when the Journal Import is run, these details are populated in the reference columns in gl_je_lines table and the gl_sl_link_id is populated in either the gl_je_lines table or the gl_import_references table. Hope I am right so far.
    If this Transfer to General Ledger Program(from whichever source) is run in Summary mode, will the detail from the subledger be transferred to the gl_interface table reference columns?
    Any help would be greatly appreciated.
    Thanks,
    JA

    check, this link..seems same information you are looking for
    Re: Link GL_JE_LINES to ap_invoice_distributions_all

  • Linking subledger table to property manager table

    Hello
    I need to write a query displaying all the GL and Property Manager info. When you link GL to Payables then your query would look something like the below with the line "and ppia.ap_invoice_num(+) = xte.transaction_number" being the link between GL/Subledger and the leases tables
    select gjb.name
    ,gjh.je_source
    ,gjh.period_name
    ,gjl.je_line_num
    ,xal.accounted_dr
    ,xal.accounted_cr
    ,supp.vendor_name
    ,inv.invoice_num
    ,pla.lease_num
    ,pla.name lease_name
    ,to_char(plda.lease_commencement_date, 'DD-MON-YYYY') lease_commencement_date
    ,to_char(plda.lease_termination_date,'DD-MON-YYYY') lease_expiry_date
    from gl_import_references gir
    ,gl.gl_je_batches gjb
    ,gl.gl_je_headers gjh
    ,gl.gl_je_lines gjl
    ,xla.xla_ae_lines xal
    ,xla.xla_ae_headers xah
    ,xla.xla_events xe
    ,xla.xla_transaction_entities xte
    ,gl.gl_code_combinations gcc
    ,pn.pn_payment_items_all ppia
    ,pn.pn_payment_terms_all ppta
    ,pn.pn_leases_all pla
    ,ap_invoices_all inv
    ,ap_suppliers supp
    ,po_vendor_sites_all pvsa
    ,pn_lease_details_all plda
    where 1=1
    and gjh.je_source = 'Payables'
    and gjb.status = 'P'
    and gjb.je_batch_id = gjh.je_batch_id
    and gjh.je_header_id = gjl.je_header_id
    and gjh.ledger_id = gjl.ledger_id
    and gir.je_batch_id = gjb.je_batch_id
    and xal.gl_sl_link_id = gir.gl_sl_link_id
    and xal.gl_sl_link_table = gir.gl_sl_link_table
    and gcc.code_combination_id = xal.code_combination_id
    and gjl.code_combination_id = xal.code_combination_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    and xal.ae_header_id = xah.ae_header_id
    and xal.application_id = xah.application_id
    and xah.event_id = xe.event_id
    and xah.application_id = xe.application_id
    and xe.entity_id = xte.entity_id
    and xah.entity_id = xte.entity_id
    and gjl.code_combination_id = gcc.code_combination_id
    and gjb.chart_of_accounts_id = gcc.chart_of_accounts_id
    and ppia.ap_invoice_num(+) = xte.transaction_number
    and ppia.payment_term_id = ppta.payment_term_id(+)
    and ppta.lease_id = pla.lease_id(+)
    and xte.source_id_int_1 = inv.invoice_id(+)
    and inv.vendor_id = supp.vendor_id(+)
    and pla.lease_id = plda.lease_id(+)
    and pvsa.vendor_site_id(+) = ppta.vendor_site_id
    My question now is what if my je_source = 'Property Manager'. How does the GL/ Subledger tables link back to the Leases tables. Currently my query is as below but it does not return any of the lease details (lease numer, lease name, lease commencement date, lease termination date, etc)
    select gjb.name
    ,gjh.je_source
    ,gjh.period_name
    ,gjl.je_line_num
    ,xal.accounted_dr
    ,xal.accounted_cr
    ,supp.vendor_name
    ,inv.invoice_num
    ,pla.lease_num
    ,pla.name lease_name
    ,to_char(plda.lease_commencement_date, 'DD-MON-YYYY') lease_commencement_date
    ,to_char(plda.lease_termination_date,'DD-MON-YYYY') lease_expiry_date
    from xla.xla_ae_headers xah
    ,xla.xla_ae_lines xal
    ,xla.xla_events xe
    ,xla_event_types_tl xet
    ,xla.xla_transaction_entities xte
    ,ap_invoices_all inv
    ,ap_suppliers supp
    ,gl_je_batches gjb
    ,gl_je_headers gjh
    ,gl_je_lines gjl
    ,gl_code_combinations_kfv glcc
    ,gl_import_references gir
    where 1=1
    and xah.ae_header_id = xal.ae_header_id
    and xah.event_id = xe.event_id
    and xe.entity_id = xte.entity_id
    and xal.accounting_class_code = 'EXPENSE'
    and gjh.je_source = 'Property Manager'
    and gjb.status = 'P'
    and gjb.je_batch_id = gjh.je_batch_id
    and gjh.je_header_id = gjl.je_header_id
    and gjl.code_combination_id = glcc.code_combination_id
    and gjl.je_header_id = gir.je_header_id
    and gjl.je_line_num = gir.je_line_num
    and gir.gl_sl_link_table = xal.gl_sl_link_table
    and gir.gl_sl_link_id = xal.gl_sl_link_id
    and xal.ae_header_id = xah.ae_header_id
    and xah.event_id = xe.event_id
    and xe.entity_id = xte.entity_id
    and xal.application_id = xte.application_id
    and xet.event_type_code = xah.event_type_code
    and xet.language = 'US'
    and xte.source_id_int_1 = inv.invoice_id(+)
    and inv.vendor_id = supp.vendor_id(+)
    how do i get the lease details? what link am i missing

    Ok i found the link
    The xla.xla_transaction_entities.source_id_int_1 = pn_payment_items_all.payment_item_id
    and from there you can link the pn_leases_all and pn_lease_detail_all tables to pn_payment_items_all

  • Please Help....Need base tables link from Trade management to General Ledge

    HI,
    As per our current requirement we need to pull data from Trademanagement Module to General Ledger.
    we are able get exact data which is posted in GL.
    since we need to display only finished Items in product column. we are getting some unfinished Products also.
    is there any table which has correct link trademanagement to GL. Version R12:
    we have used the below query:
    ------------------------------------Start TM-GL Item Level-------------------------------------------
    SELECT 'FY'||substr(batch_period_name,5,2) Year
    , substr(batch_period_name,0,3) Period
    , 'Final' version
    , 'Actual' Scenario
    , ('C'||substr(account,0,3)) Company
    , ('A'||substr(account,5,5)) GL_Account
    , substr(account,11,2) BU
    , ('PC'||substr(account,14,3)) Profit_Center
    , Plan_Dist
    , decode(Product,'','No_Product',Product) Product
    , Site_No
    , currency_code
    , substr(account,18,2) Country
    , sum(nvl(accounted_dr,0)-nvl(accounted_cr,0)) Amount
    , batch_period_name
    FROM (SELECT
    gjh.currency_code
    , gjh.je_category
    , gjh.je_source
    , gjh.period_name je_period_name
    , gjh.name journal_name
    , gjb.name batch_name
    , gjh.status journal_status
    , gjh.creation_date je_created_date
    , gjL.period_name batch_period_name
    , gjl.je_line_num line_number
    , gjl.ledger_id
    , gjl.entered_dr
    , gjl.entered_cr
    , gjl.accounted_dr
    , gjl.accounted_cr
    , gjl.description
    , gjh.running_total_accounted_dr je_total_dr
    , gjh.running_total_accounted_cr je_total_cr
    , gcc.concatenated_segments Account
    , xdl.source_distribution_type
    , xdl.source_distribution_id_num_1
    , xlate.source_id_int_1
    , (select distinct segment1
    from mtl_system_items_b@ebs_link
    where inventory_item_id= ofuab.product_id ) Product
    , (select distinct HCSusesal.attribute4
    from HZ_CUST_ACCT_SITES_ALL@ebs_link hcasiteall
    ,HZ_CUST_SITE_USES_ALL@ebs_link HCSusesal
    ,HZ_CUST_ACCOUNTS@ebs_link hca
    where HCSusesal.cust_acct_site_id= hcasiteall.cust_acct_site_id
    AND ofuab.ship_to_site_use_id=HCSusesal.site_use_id
    AND hcasiteall.cust_account_id=hca.cust_account_id) Site_No
    ,(select distinct hpsites.party_site_number
    from HZ_PARTIES@ebs_link hpart
    ,HZ_LOCATIONS@ebs_link hloc
    ,HZ_CUST_ACCOUNTS@ebs_link z
    ,HZ_PARTY_SITES@ebs_link hpsites
    ,HZ_CUST_ACCT_SITES_ALL@ebs_link hcasiteall
    ,HZ_CUST_SITE_USES_ALL@ebs_link HCSusesal
    ,HZ_CUST_ACCOUNTS@ebs_link hca
    -- ,HZ_CUST_SITE_USES_ALL_MNC mnc
    where hpsites.location_id= hloc.location_id
    and hpart.party_id= hpsites.party_id
    and hpsites.party_site_id= hcasiteall.party_site_id
    and HCSusesal.cust_acct_site_id= hcasiteall.cust_acct_site_id
    and hpart.party_id= hca.party_id
    -- and mnc.cust_acct_site_id= hcasiteall.cust_acct_site_id
    and z.party_id= hpart.party_id
    and ofuab.ship_to_site_use_id=HCSusesal.site_use_id) Plan_Dist
    FROM gl_je_headers@ebs_link gjh,
    gl_je_lines@ebs_link gjl,
    gl_import_references@ebs_link gir,
    gl_code_combinations_kfv@ebs_link gcc,
    gl_je_batches@ebs_link gjb,
    xla_ae_lines@ebs_link xal,
    xla_ae_headers@ebs_link xah,
    xla_events@ebs_link xe,
    xla_event_types_tl@ebs_link xet,
    xla_event_classes_tl@ebs_link xect,
    xla_distribution_links@ebs_link xdl,
    xla.xla_transaction_entities@ebs_link xlate,
    ozf_funds_utilized_all_b@ebs_link ofuab
    WHERE gjh.je_header_id = gjl.je_header_id
    --AND gjh.reversed_je_header_id = gjl.je_header_id
    --AND gjh.je_header_id = gir.je_header_id
    AND (gjh.reversed_je_header_id = gir.je_header_id OR gjh.je_header_id = gir.je_header_id)
    --AND gjl.je_header_id = gir.je_header_id
    AND gir.je_line_num = gjl.je_line_num
    AND gcc.code_combination_id = gjl.code_combination_id
    AND gjb.je_batch_id = gjh.je_batch_id
    AND gir.gl_sl_link_id = xal.gl_sl_link_id
    AND xal.ae_header_id = xah.ae_header_id
    AND xah.event_id = xe.event_id
    AND xe.event_type_code = xet.event_type_code
    AND xe.application_id = xet.application_id
    AND xet.LANGUAGE = USERENV ('LANG')
    AND xect.event_class_code = xet.event_class_code
    AND xect.application_id = xe.application_id
    AND xect.LANGUAGE = USERENV ('LANG')
    AND xah.ae_header_id = xdl.ae_header_id
    AND xal.ae_line_num = xdl.ae_line_num
    AND xe.entity_id = xlate.entity_id
    AND xe.application_id = xlate.application_id
    AND xlate.source_id_int_1=ofuab.utilization_id
    AND gjh.je_source = 'Marketing'
    AND gjl.status='P'
    AND gcc.segment3 in ('10')
    AND gcc.segment1 <> 'C01'
    AND substr(gcc.concatenated_segments,5,1) in (4,5)
    AND gcc.segment6 not like ('SPO%')
    AND ofuab.utilization_type <> 'ADJUSTMENT'
    -- AND gcc.concatenated_segments = '101.41220.10.999.US.BAZ2503.000.0000'
    -- AND gjl.je_line_num in( 5674,5675,5676,5677)
    -- AND gjl.period_name = 'AUG-12'
    -- AND gjh.je_header_id IN (7236,7235)
    -- AND gjl.je_line_num = 3830
    AND substr(gcc.concatenated_segments,5,2) not in('40'))
    AND gjl.je_line_num in( 5674,5675,5676,5677)) PG -- 11/23/12
    GROUP BY 'FY'||substr(batch_period_name,5,2)
    , substr(batch_period_name,0,3)
    , 'Actual'
    , substr(account,0,3)
    , substr(account,5,5)
    , substr(account,11,2)
    , substr(account,14,3)
    , substr(account,21,7)
    , currency_code
    , Product
    , substr(account,18,2)
    , Site_No
    , Plan_dist
    , batch_period_name
    , 'Final'
    ------------------------------------End TM-GL Item Level-------------------------------------------
    Please help me if any body worked on this issue.
    Thanks,
    Ram

    I have find the answer for my Question...
    We can have 2 columns in ozf_funds_utilized_all_b. product_type and Product_id.
    If product_type is Family then Product_id would be the Item Category ID.
    If Product_type is Product then Product_id would be the Inventory_item_id.
    Thanks,
    Ram

  • Use of Partition table in R12.1.2

    Hi
    We are using 10.2.0.4. database along with R12.1.2 E-buniess. we want to use partitioning on standard oracle tables. Can some one inform me what are the standard tables (with column name) on which we can use partition.
    Thanks
    Krishna

    Hi All
    We have identified few tables which are in large size. Kindly tell me on which column (or multiple column) we can have partition.
    OWNER     SEGMENT_NAME               Sige in GB
    WSH     WSH_EXCEPTIONS               17.94256592
    INV     MTL_TRANSACTION_ACCOUNTS     13.91339111
    INV     MTL_MATERIAL_TRANSACTIONS     12.28753662
    BOM     CST_ELEMENTAL_COSTS          8.926513672
    INV     MLOG$_MTL_MATERIAL_TRANSAC1     8.375
    APPS     XX_ORDER_BOOK_CLOSE          7.338562012
    INV     MTL_CST_ACTUAL_COST_DETAILS     7.268371582
    ZX     ZX_LINES_DET_FACTORS          6.310546875
    BOM     CST_ITEM_COSTS               6.01348877
    ONT     OE_ORDER_LINES_ALL          5.887207031
    GPM     GPMM_ORC315_9I               5.45324707
    BOM     CST_STANDARD_COSTS          5.388793945
    WIP     WIP_TRANSACTION_ACCOUNTS     4.94128418
    AR     RA_CUSTOMER_TRX_LINES_ALL     3.96862793
    BOM     CST_STD_COST_ADJ_VALUES          3.793945313
    ONT     OE_PRICE_ADJUSTMENTS          3.721862793
    VEL     VEL_852_LINES               3.377380371
    GL     GL_IMPORT_REFERENCES          3.366271973
    WSH     WSH_DELIVERY_DETAILS          3.290283203
    Thanks
    Krishna

Maybe you are looking for

  • Adobe Reader X will not run and Cannot be unistalled

    I am running Windows XP on my laptop and I recently allowed Adobe to update to Adobe Reader X.  I immediately encountered the problem of not being able to open PDF documents and then Reader X just stopped working all together. Now I can not uninstall

  • USB Microphone help

    I have a Blue Snowball Mic that I can't get to work with Logic Express (and I want to think it worked before). It works wonderfully in Garageband. I plug it in and then go to Audio Preferences, and the mic doesn't show up. The only devices that show

  • 5230 - a few simple questions

    Hi, I've been looking at buying the Nokia 5230 and I've got a few questions I wouldn't mind some help with. Mainly to do with the sat nav function. 1. Is SAT NAV built into the phone. In other words, can I turn my phone on sit in my car and use it as

  • Profiles and Vista

    Sometime ago I read an article that indicated that the Vista process of displaying security warnings would actually blow away the profile in the video card LUT. If this is indeed the case does the same happen when you activate the Aero function which

  • Two new folder's in under FF profile

    Recently I discovered two new folder in my profile folder iwtheme & jetpack now I did a litle research about the jetpack and apparently its for add-on developers, which I'm not so whats this folder doing there anyway? And I couldn't find anything abo