How to get code combination id ap_expense_report_lines_all

I'm trying to fix a report as part of the upgrade to 11.5.10 12.1.3

R12 documentation says that the CODE_COMBINATION_ID in the AP_EXPENSE_REPORT_LINES_ALL table is nullable and is no longer used.
If so someone please tell me how to get the details of the account of GL_COMBINATIONS for my report in the future.

Thanks in advance.

The remainder of the report is less to:

SELECT papf.full_name AS full_name,
PPS.final_process_date AS final_process_date,
EH.invoice_num AS inv_number,
EH.org_id COMPANY
EH.week_end_date AS exp_rpt_date,
EH.total AS exp_rpt_total,
Apps.ap_web_oa_active_pkg.getreportstatus (eh.source,
EH.workflow_approved_flag,
EH.report_header_id)
AS report_status,
Apps.ots_ap_ie_approver.getapprovername (eh.report_header_id,
huh. BOTHPAY_PARENT_ID)
AS approved_by,
Apps.ots_ap_ie_approver.getapproveddate (eh.report_header_id,
huh. BOTHPAY_PARENT_ID)
AS approved_date,
El.distribution_line_number AS inv_line_number,
El.amount AS expensed_amount,
0 AS personal_amount,
SUBSTR (gcc.segment1, 1, 3) AS GL_Company,
SUBSTR (gcc.segment2, 1, 4) AS Cost_Center,
SUBSTR (gcc.segment3, 1, 6) ACE.
SUBSTR (gcc.segment4, 1, 4) AS Product,.
SUBSTR (gcc.segment5, 1, 2) AS category,
SUBSTR (gcc.segment6, 1, 3) AS IC_Code,
SUPERIOR (SUBSTR (el.item_description, 1, 10)) AS item_description.
El.Justification AS justification,
SUBSTR (el.attribute1, 1, 3) THAN alcohol,
SUBSTR (el.attribute2, 1, 8) AS participants,
PPA.org_id AS pa_owning_org_id,
PPA.project_type AS project_type,
PPA. Segment1 AS numero_projet,
PT.task_number,
PT. Description AS task_description,
El.expenditure_type,
SUBSTR (haou.name, 1, 50) AS expenditure_org,
(el.amount / (DECODE (el.attribute2, 0, 1, NVL (el.attribute2, 1))))
AS per_attendee_amt,
CC.cardmember_name,
CC.card_number,
CC.inactive_date,
TR.folio_type AS cc_tran_type,
TR.merchant_name1 AS merchant_name1,
TR.merchant_name2 AS merchant_name2,
PAPF.full_name AS paid_to
OF ap.ap_expense_report_headers_all eh,.
El AP.ap_expense_report_lines_all,
GL.gl_code_combinations gcc,
PA.pa_projects_all App,
PA.pa_tasks pt,
haou hr.hr_all_organization_units,
HR.per_all_people_f women's wear,
HR.per_periods_of_service pps,
ap_credit_card_trxns_all tr,
ap_cards_all cc,
AP.ap_invoices_all, aia,
(SELECT person_id AS person_id, MAX (period_of_service_id) AS pos_id
OF hr.per_periods_of_service hrpps
GROUP BY person_id) tovn
WHERE eh.report_header_id = el.report_header_id
AND eh.invoice_num = aia.invoice_num (+)
AND el.project_id = ppa.project_id (+)
AND el.task_id = pt.task_id (+)
AND el.expenditure_organization_id = haou.organization_id (+)
AND el.code_combination_id = gcc.code_combination_id (+)
AND eh.employee_id = papf.person_id
AND papf.person_id = pps.person_id (+)
AND pps.person_id = tovn.person_id
AND pps.period_of_service_id = tovn.pos_id
AND TRUNC (eh.creation_date) > = TRUNC (papf.effective_start_date)
AND TRUNC (eh.creation_date) < = TRUNC (papf.effective_end_date)
AND el.credit_card_trx_id = tr.trx_id (+)
AND tr.card_number = cc.card_number (+)
AND tr.card_program_id = cc.card_program_id (+)
AND (tr.validate_code = 'Y' OR tr.validate_code IS NULL)
AND aia.invoice_num IS NULL

Hello

These data are now stored in ap_exp_report_dists_all.code_combination_id. This is why change the query to retrieve the value of this new table...

References:
Where the spending line Code combination ID is stored by the OIE. K / R12? [452438.1 ID]

Kind regards
Ivruksha

Tags: Oracle Applications

Similar Questions

  • How to get code signing keys without filling the field "company"?

    When you use RIM "Sensitive APIs" I am aware that I should get the signature keys and was directed to: https://www.blackberry.com/SignedKeys/

    When you enter information for my keys the field "Company" is required.

    This is why I'm a bit confused (questions below):

    * How the company is associated with these keys?
    * What happens if I change companies after obtaining the keys?
    * Is that my current employer, so I work? (ie: McDonald's, Burger King)
    * What happens if I am a student?
    * Can I create a company just to get the keys?
    * What happens if I put unemployment in the area of the company?
    * What happens if I set the self-employed in the field of the company?

    I have a job with a company (which is a good thing these days), but at home and as a software engineer and passionate about mobile I just began to develop blackberry applications and I wanted access to these very important APIs.

    Thank you.

    Carl

    Put independent Consultant or put your name. RIM expects you to work for a sort of cabinet when filling out the information, but if you're a solo developer so it makes sense to be put your name or a counselor, since you are the company of one of these two.

  • How to get code regional House of the handset?

    I'm trying to get the handset area code, and I'm looking for an independent way of type radio to do?

    There is a system property that contains the code of the device?  Maybe something in system properties?

    I've seen some posts surrounding information CDMA, and while he seems to identify a particular base station, I'm not find information about the area code with it.

    Either way, I configured the Simulator with a LAKE in area code "206", but when querying with the GPRSInfo.getLAC (), I always get 0...  Anyone know what is happening with the Simulator?

    Thank you

    DD

    Thanks, I can use this format...

  • How to get codes installation for education versions legally purchased Creative Suite design CS5?

    Hello

    My name is Andrew and a couple of years ago, I bought a new copy of education of Adobe Creative Suite SC5, accompanied by proof of my job in a University legally.

    I assumed that the product would have all the serial numbers in the box.

    I kept the unopened product until yesterday and found that I have to prove that I currently have a job at the University to get the serial numbers for the software.

    Unfortunately my job was fired at the University several months ago.

    - - - - - - - - - - - - - - - - - - -

    So I now have a legally purchased copy of Adobe software, but I can't use because I'm no longer used at the University.

    Adobe online help informed me that they provide phone or help online for users of CS5 and have directed me to this forum.

    - - - - - - - - - - - - - - - - - - -


    I would be interested in any suggestions or advice on how I can solve this problem.


    Thank you


    Andrew

    Hi Andrew

    I see that our support team have asked if you could provide evidence of your previous job, so they can help others.

    If you have trouble with this, please let me know.

    Kind regards

    Bev

  • How to get code written for perticular purpose of database using sqlplus?

    Hello

    I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.

    Can someone help me on this please.

    Thanks in advance,

    NISH

    I'm trying to get the syntax written for the purpose of perticular (view/Table) database using sqlplus.

    Can someone help me on this please.

    Use the DBMS_METADATA package:

    Select dbms_metadata.get_ddl ('TABLE', 'EMP', 'SCOTT') of double

    Select dbms_metadata.get_ddl ('DISPLAY', 'V_EMP', 'SCOTT') of double

  • How to get code authorization for Photoshop CS (Version)

    I installed a new computer and I have to re - install Photoshop CS (Version 8) (education Version). Seems I need phone system using Adobe. Could someone help tell me the phone number. Activtion phone was no longer supported, what can I do?

    Hi andrewsbngan,

    If you try to activate the CS2 version, then follow the link below.

    Error: "Activation Server is not available. CS2, Acrobat 7, pass a hearing 3

    Activation server is unavailable for the CS2 applications.

    Kind regards

    Mohit

  • How to get the Code combination range (a range-range to)

    Hello

    I have a requirement that I need to get range code combinations based on the parameter (a range of & range to) in the query. Please could someone help how to retrieve this value based on the parameter.

    Account varies (7 segment)
    -----------------------------
    XXX
    ABDELKADER
    BENAMER
    CCC
    000
    YYY
    ZZZZ

    Range of accounts (7 segment)
    --------------------------
    XXX
    ABDELKADER
    BENAMER
    CCC
    000
    YYY
    ZZZZ

    It's the example of the value I get on the scale of accounting of and accountant range. Based on this range of accounts, I need to pull records from the GL_CODE_COMBINATIONS table. Any help on this please?

    Thank you
    Geno

    Hello

    Try to use the following query:

    SELECT *.
    OF gl_code_combinations gcc
    WHERE the gcc.segment1 BETWEEN PR_segment1_from AND PR_segment1_to
    AND gcc.segment2 BETWEEN PR_segment2_from AND PR_segment2_to
    AND gcc.segment3 BETWEEN PR_segment3_from AND PR_segment3_to
    AND gcc.segment4 BETWEEN PR_segment4_from AND PR_segment4_to
    AND gcc.segment5 BETWEEN PR_segment5_from AND PR_segment5_to
    AND gcc.segment6 BETWEEN PR_segment6_from AND PR_segment6_to
    AND gcc.segment7 BETWEEN PR_segment7_from AND PR_segment7_to

    Vik

  • to get the combination of code in the transaction of screen - AR

    Hi all

    I use r12

    in super user AR-operations-in transactions of screen - when he is interviewed say 10000086 in the number field

    When you click on tab of distributions we get to see a field named GL account e.g. 701-100001-1000-0101-1220001-000000-0000-0000

    When I see a history for Transactions screen, it says RA_CUSTOMER_TRX_PARTIAL_V

    When I see the historical record of RA_CUST_TRX_LINE_GL_DIST_V gl account but I do not see the code combinations

    How to join RA_CUSTOMER_TRX_PARTIAL_V and RA_CUST_TRX_LINE_GL_DIST_V

    I join with customer_trx_id, but it gives more number of lines

    kindly Guide

    thanking in advance

    Do you want sql script to find combinations of Code GL for an AR transaction?

    If so, here's the request.

    Select rcta.trx_number, gcck.concatenated_segments

    of the ATCM ra_customer_trx_all, ra_customer_trx_lines_all rctla, RA_CUST_TRX_LINE_GL_DIST rctlgd gl_code_combinations_kfv gcck

    where rcta.trx_number = '. '

    and rcta.customer_trx_id = rctla.customer_trx_id

    and rctla.customer_trx_line_id = rctlgd.customer_trx_line_id

    and rctlgd.code_combination_id = gcck.code_combination_id;

    If you are looking for something else, please be clear

    Kind regards

    Srini

  • How to get the access code

    How to get an access code

    Hello

    We do not understand your question you have forgotten your access code?

    We need more information to help you?

    See you soon

    Brian

  • I'm trying to install 3 critical updates and keep getting the error code 646... No matter what I try, this code comes up and I can't spent! Please help me understand how to get my installed critical downloads!

    Vista... Update of security for Microsoft Office Excel 2007 (KB978382)

    Download size: 8.5 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A vulnerability of security in Microsoft Office Excel 2007 that could allow arbitrary code to run when opening a file modified for malicious purposes. This update resolves this vulnerability.

    More information:
    http://support.Microsoft.com/kb/978382

    Help and Support:
    http://support.Microsoft.com/?ln=en-us

    and

    Update of security for Microsoft Office System 2007 (KB978380)

    Download size: 7. 4 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    A security vulnerability in the 2007 Microsoft Office System and the Microsoft Office Compatibility Pack that could allow arbitrary code to run when opening a file modified for malicious purposes. This update resolves this vulnerability.

    More information:
    http://support.Microsoft.com/kb/978380

    Help and Support:
    http://support.Microsoft.com/?ln=en-us
    and

    Update for the junk e-mail in Outlook 2007 (KB979895) filter

    Download size: 3.3 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Important

    This update provides the filter of junk e-mail in Microsoft Office Outlook 2007 a more current definition of which e-mail messages should be considered junk e-mail.

    More information:
    http://support.Microsoft.com/kb/979895

    Help and Support:
    http://support.Microsoft.com/?ln=en-us

    Will be updated not at all there is an optional update.

    Windows Live Essentials

    Download size: 1.1 MB

    You may have to restart your computer for this update is taken into account.

    Update type: Optional

    Windows Live Essentials provides a set of free programs that help you keep in touch with the people you love the most, edit and share your photos and your memories and even help you keep your kids safer online. Programs include Windows Live Messenger, Mail, Writer, Gallery photos, family safety, Toolbar, and Movie Maker.

    More information:
    http://download.live.com

    Help and Support:
    http://help.live.com/help.aspx?project=wlinstallerv3&query=wli02d46ad8

    I can't not to update on my system either... PLEASE HELP ME!

    E-mail address is removed from the privacy * I am confused about how to get these downloaded on my system.

    Thank you!!!

    Hi there, manually download and install updates for Office.

    Go here: http://www.microsoft.com/downloads/en/results.aspx?freetext=KB978382&displaylang=en&stype=s_basic

    Then search for the others, their download to a location on your hard drive, you can locate and install manually. He is the current solution to this problem.

    TaurArian [MVP] 2005-2010 - Update Services

  • How to get the code produced for my Windows XP disc if I have the drive?

    Acquisition of Product Code Windows XP

    How to get the code produced for my Windows XP disc if I have the drive?  I signed the BONE when I bought it all first, but have no way of knowing if this is the way to receive a copy of the product key.

    Here are some utilities, which will display your product keys:

    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.
    However may not detect a key to office, then try one of the other two below)

    Also: http://www.nirsoft.net/utils/product_cd_key_viewer.html
    and: http://www.magicaljellybean.com/keyfinder.shtml

    Paid (free demo is available): Recover Keys: http://recover-keys.com/
    "quickly scans your system for more than 3000 + software '.
    and produces a list of software activation keys.

    13 keyfinder programs:
    http://pcsupport.about.com/od/productkeysactivation/TP/topkeyfinder.htm

    J W Stuart: http://www.pagestart.com

  • I'm trying to set up a second computer on my wireless connection. How to get my security code?

    Internet

    I'm trying to set up a second computer on my wireless connection. How to get my security code?

    http://www.practicallynetworked.com/sharing/xp_ics/

  • CODE - 641 Windows update has encountered an error of unkonwn. How to get this right

    CODE - 641 Windows update has encountered an error of unkonwn.  How to get this right

    Try to run the tool:

    http://support.Microsoft.com/mats/windows_update/

  • How to get the value on a model that is defined in the java code in email

    Hello

    I created a custom code and send email as well to custom component. I can send emails using the method:

    InternetFunctions.sendMailTo (EmailID, EmailTemplate, subject, cxt);

    But my problem is that I have to get a value in the model of "EmailTemplate" which are defined from java code. but I don't know how to get the value.

    I will highlight in the java code by using this code: binder.putLocal ("ErrorApproveRejectMsg", massegeBody);

    I'm trying to enhance the model using the code below, but not able to get.

    1 < $exec getValue ("#active", "ErrorApproveRejectMsg") $ >

    2 < $exec getValue ("#active", ErrorApproveRejectMsg) $ >

    3 < getValue ("ErrorApproveRejectMsg") $exec $ >

    4 < $exec getValue (ErrorApproveRejectMsg) $ >

    5 < getValue ("#local", ErrorApproveRejectMsg) $exec $ >

    6 < getValue ("#local", "ErrorApproveRejectMsg") $exec $ >

    7 < $ErrorApproveRejectMsg$ >

    8 < $exec ErrorApproveRejectMsg$ >

    Assuming that cxt will be your Service or execution context object

    You can do something like this

    DB. PutLocal ("ErrorApproveRejectMsg", "Error");

    cxt.setCachedObject ("DataBinder", db);

    PageMerger h = new PageMerger (db, cxt);

    cxt.setCachedObject ("PageMerger", h);

    InternetFunctions.sendMailTo (usersEmail, emailTemplate, emailSubject, cxt);

    where db is current databinder object, and you can put any variable custom in the workbook by using the putLocal method.

    Thank you

    Vikram

  • I need a code for verifiing my email address. How to get a new one?

    Photoshop Elements 12

    Share

    Try to send an e-mail directly from Photoshop elements

    The program requires a code for verifiing my email address

    I need a code for verifiing my email address. How to get a new one?

    Check your email.  The screenshot says they sent to the email address listed.

Maybe you are looking for