Error During invoice

Dear All
While doing invoice system is telling cost centre not belongs bussiness area 9012.I checked the assignment in OKENN it is found to be OK.
Regards
Srinivasan.P
Edited by: srinivasan ponnurangam on Apr 25, 2009 10:40 AM

Hi Srinivasan
First of all check in  OKKP wheather cost center has been checked or not. So check in KS03 wheather the cost center has been assigned to business area 9012 or not. If not assigned then assign it and then save the billing document and check wheather it has been forwarded to FI or not
Regards
Srinath

Similar Messages

  • Getting Error during Invoicing

    Hi Experts,
    I am getting error of an account during invoicing.I have tried to invoice of the Electric billing document in T code EA19.
    I am not understanding why it is fetched Gas division business area where I am trying to invoice of only Electric.
    Your help is appropriated.I am stucked in my work.Response to: [email protected]
    error: Invoicing error: 9D0000700006 ORD belong to business area D020 not D030’
    Thanks,
    Mandira
    [email protected]

    Hi,
    First of all, check and see if the reconciliation account is not blocked for posting in FI, use transaction FS00 for this.
    If you don't get a reconciliation account with this error, you must determine what main transaction is used for invoicing and check if the account determination is correct using transaction EK01. You must make sure that the combination of company code, division, account determination ID and main transaction gives you the correct reconciliation account.
    Please let me know if this helped or provide some additional information about the error.
    Bogdan

  • Error during invoice sending by Email

    Hi gurus,
    During Invoice creation , we are sending an email to a
    customer with Transmission medium 5 external send.
          But during invoice saving getting error as
    No address exists
    Error while copying recipient object
    Specify at least one recipient
    Please give your inputs .
    Thanks

    Hi
    Also check while address maintained for the customer, E-mail ID is maintained or not.
    E-mail setting configurations from BASIS people also need to be rechecked.
    Best Regards
    SRI

  • MIRO error during invoice posting

    Hi,
    when I post an invoice document with MIRO, the system prompts with the following error:
    Account type K is not defined for document type RE
        Message no. F5243
    How can I post the invoice ?
    Best regards

    hi,
    GO to OBA7 ....select the document type and select detail and select customer check box under account type allowed data.......
    Hope it helps...
    Regards
    Priyanka.P

  • Error during invoice verification

    We have created a PO and made a GR against the same, When we start entering the IV for this PO, i.e we enter the PO no in the reference field, then the whole screen gets blank (with only dashes in the field of date, amount, refernce, etc etc), with the error stating "GL account not maintained in Chart of Accounts 1000", we checked for the account in t-code FSP0.
    cant attach the screenshot here, but hope You sirs get the point.

    Hi All,
    I am working in the Production client, also the company code I am working in is also right, have checked that.
    Also checked the the G/L accounts specified in PO account assignment tab, Reconciliation account no, the tax code is 00 ie no tax is applicable, only withholding tax is applicable, so checked that too. the GL account mentioned there has also been checked by me and it has also been configured properly.
    Any other ideas or transactions where I can check.
    I couldnt attach my screenshot here, is there any way to do that?
    Thanks
    Ankush

  • Transfer posting during invoicing

    Hi Experts,
    Please refer the spreadsheet enclosed for your reference. I would like to add that we are using India localization in our project.
    Issues:
    During Invoice posting the system is forcing us to maintain GL account determination for main transaction 0250
    In case Late payment charges in previous invoice is paid/cleared – no issues (Inv # :9100001584 Doc#: 10000002837 Dt:05-08-2013 Amount: 9.53)
    In case Late payment charges in previous invoice is open then system automatically clears the past late payment charge using main/sub 0620/0010 and posts the same as Rec. Transf. Posting Invoicing using main transaction 0250/0020.
    Is there any way to stop this as its unnecessarily creating additional line items. Please advise.
    Thanks & Regards
    Satyajeet Ghosh

    Hi Satyajeet,
    Please refer to the below responses-
    (A) Main Transaction 0250- I think you have to maintain the relevant entries in EK01 and EK02.
         Please refer to the below link which also discusses the same issue
         Account determination error during invoicing for internal main transaction 0250
    (B) Rec.Transfer posting during invoicing- I think you are calculating the late payment charges for the Overdue items during invoicing with the following configuration in place-
    IMG-->SAP Utilities-->Invoicing-->Invoice Processing--->Define Control for Additional Invoicing Functions
    If that's the scenario, then check event R418.
    Hope it helps...
    Thanks,
    Amlan

  • Getting error during posting A/P invoice and  A/P credit memos

    We are intermittently getting this error during A/P invoice.
           When i am doing the full cycle of Purchase like
            Purchase Order
            Goods Receipts PO
           A/P. Invoice.
         At the time of A/P. Invoice the date has been coppied from the Goods Receipt's PO, i am getting the error, this error not comes regularly, only for few transcations,
         Please guide to me.
             Error is
           " No matching records found 'G/L Accounts' (OACT) (ODBC-2028)
                                  Message 131 - 183 "
              Patch level is 27 and version is 2005B

    Hello Prasad,
    Before add A/P invoice, are you changing the price to a lower price, either by changing amount in the 'price' column or by giving a higher discount at the header level ? As far as I know, in a non continuous stock system company with the 'Use Negative Amount for Reverse Transaction' setting not ticked.
    Another solution could be as follows (just check in your SAP B1 installation) :
    When the user chooses User Defined Chart of Accounts under Administration -> System Initialization -> Company details -> Basis Initialization tab , the default accounts remain in the "G/L Account Determination", "Define Tax", "Define Warehouse" windows under Administration -> Definitions -> Financials and Administration -> Definitions -> Inventory. User has to check and define all accounts.
    My reference is SAP notes 771489.
    Another related issue is whether you are using rounding when adding a marketing document. If yes, you must define rounding account in 'Administration' > 'System Initialization' ->'G/L Account Determination' -> 'General' tab page under "Rounding Account" field.
    Rgds,

  • Account determination error during intercompany billing invoice

    Hi experts,
    I am getting 'Account Determination Error' shows in red during 'intercompany' billing.
    I tried to release to accounting but didn't help.
    Pls advise
    Br,
    Umesh

    Hi Sushant,
    The error during the invoice creation. This document is for intercompany billing.
    I checked in Account Determination Analysis --> Revenue Accounts
    When I click on the Item no., it shows as 'No G/L account found in KOFI' & messege 121.
    In VKOA, there are few tables but I am not sure how & what to compare between these two.
    Br,
    Umesh

  • Error occuring during invoice create

    Please resolve the problem
    database 11.1.0.7
    erp12.1.1
    i have done refresh clone by rman backup then occures following errors in clone during invoice create.
    ORA-01403: no data found
    An Unexpected Error-4062 has occured.An alert has been sent to the system administrator
    ORA-01403: no data found
    ORA-01403: no data found
    frm-40735 ON-INSERT trigger raised unhandled eception ORA-04062

    Hi;
    Please see:
    Troubleshooting FRM-40039 / ORA-6508 / FRM-40735 / FRM-40734/ on Opening a Form with Attached Libraries (e.g webutil.pll) [ID 1070962.6]
    Service: Troubleshooting FRM-40735 Errors (FRM-40105, ORA-06508, ORA-1403, ORA-4062) in Service Requests, Contact Center, Tasks [ID 1326683.1]
    Regard
    Helios

  • Error during Excise invoice capture

    Dear All,
    I am getting an error during capture of excise invoice.The error message is "Excise invoice no xxx date xxxxof plant xxxx
    does not exist.The message number is 4F175.i have searched forum google but have not got any solution for the error.
    Can any one please help me in this matter
    Regards
    Manash Das

    Hi,
    From your question, I understood that you are referring an Excise Invoice number, so
    Check
    1. Whether the excise number and date is correct
    2. Whether the excise number is available in Excise tables or not
    Thanks
    VJ

  • During invoice verification- error "Invoice Quantity exceeds GR quantity".

    Dear friends,
    Myclientisfacing a problem during invoice verification(invoice quantity exceeds GR quantity).
    user created PO withtwo line items. in first line item he used account assignment K (cost center) for cable purchase. and inthe second line item he used account assignment category -K and item category -D for cableinstallation charges. foe firat line item he created GR(migo) and for the secondlineitem being service he did service entry sheet(ML81N). while doing invoice verification they got the error "Invoice Quantity exceeds GR quantity". so we tried to post the first lineitemand it was successfully posted.while doing invoice verification for second line item it is throwing "Invoice Quantity exceeds GR quantity".
    please help me in this to solve the issue.
    Thanksin advance.
    Regards,
    william

    Hi,
    Please check that if your second line item which happened to be service line item as you have mentioned have the service base invoice verification checked in the invoice tab of second line item (line item detail level). If so the you need to post your service entry sheet after releasing it. System will generate a 101 movement material document in the back ground.
    Hope it helps.
    BR

  • JBO-27122: SQL error during statement preparation IN OAF(java.sql.SQLException: ORA-01008: not all variables bound)

    Hi Friends,
    I have have extended CO where i have added dynamic where condition to VO,it's throwing error.
    Code added in controller :
    public class Custom_HomePageCO extends HomePageCO
      public Custom_HomePageCO()
    public void processRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processRequest(pageContext,webBean);
      System.out.println("NewClase");
      OAApplicationModule am=pageContext.getApplicationModule(webBean);
      System.out.println(am);
      OAApplicationModule am1=(OAApplicationModule)am.findApplicationModule("TrackExpenseReportsAM");
    System.out.println(am1);
      OAViewObject vo=(OAViewObject)am1.findViewObject("TrackExpenseReportsVO");
      System.out.println(vo);
      vo.setWhereClause("REPORT_SUBMITTED_DATE is not null");
        vo.executeQuery();
    public void processFormRequest(OAPageContext pageContext,OAWebBean webBean)
      super.processFormRequest(pageContext,webBean);
    Error message:
    Exception Details.
    Error Details
           Logout
          Error Page
          Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation.  Statement: SELECT * FROM (SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND PV.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :1
    AND P.PERSON_ID = PV.EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)       
    UNION
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)),  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,         
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           PO_VENDORS PV,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' in ('STANDARD','MIXED')
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :2
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND PV.VENDOR_ID = AI.VENDOR_ID
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
            ) <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)            
    UNION ALL
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id, 'Y', 'N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0 =0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :3
    AND PER_EMPLOYEE.PERSON_ID = AERH.EMPLOYEE_ID
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION
    SELECT
    AERH.DESCRIPTION PURPOSE,
    AERH.DEFAULT_CURRENCY_CODE CURRENCY_CODE,
    AERH.WEEK_END_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AERH.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) ||' '|| AERH.DEFAULT_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(nvl(AERH.AMT_DUE_CCARD_COMPANY+AERH.AMT_DUE_EMPLOYEE+nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),AERH.TOTAL),FND_CURRENCY_CACHE.GET_FORMAT_MASK
      (AERH.DEFAULT_CURRENCY_CODE,30)) REPORT_TOTAL,
    PER_EMPLOYEE.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    PER_EMPLOYEE.FULL_NAME FULL_NAME,
    NVL(AERH.expense_status_code,
      AP_WEB_OA_ACTIVE_PKG.GetReportStatusCode(AERH.Source, AERH.Workflow_approved_flag,
      AERH.report_header_id,'Y','N')) STATUS_CODE,
    AERH.source SOURCE,
    NVL (PER_APPROVER.full_name, AP_WEB_OA_ACTIVE_PKG.GetCurrentApprover(AERH.Source,
            AERH.Workflow_approved_flag, AERH.report_header_id, AERH.expense_status_code)) CURRENT_APPROVER,
    ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,
              sysdate - AERH.LAST_UPDATE_DATE)) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    0 VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,  
    DECODE(AERH.expense_current_approver_id,
    -99999, 'AMEMultipleApprovers',
    decode(PER_APPROVER.full_name,
      null,'CurrentApproverName','AMESingleApprover')) CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    -1 INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X PER_EMPLOYEE,
           PER_PEOPLE_X PER_APPROVER
    WHERE  AERH.VOUCHNO +0=0
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AERH.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :4
    AND PER_EMPLOYEE.PERSON_ID = PAID_ON_BEHALF_EMPLOYEE_ID
    AND AERH.EMPLOYEE_ID IS NULL
    AND (AERH.Source <> 'NonValidatedWebExpense'
         OR AERH.Workflow_approved_flag IS NULL)
    AND AERH.expense_current_approver_id = PER_APPROVER.person_id
    AND decode(AERH.total,0,ROUND(NVL(sysdate - AERH.EXPENSE_LAST_STATUS_DATE,sysdate - AERH.LAST_UPDATE_DATE)),30) <= 30
    AND AERH.SOURCE <> 'Both Pay'
    UNION ALL
    /* This select is for invoice imported reports by contingent workers */
    SELECT
    AI.DESCRIPTION PURPOSE,
    AI.INVOICE_CURRENCY_CODE CURRENCY_CODE,
    AI.INVOICE_DATE REPORT_DATE,
    AERH.REPORT_SUBMITTED_DATE REPORT_SUBMITTED_DATE,
    AI.INVOICE_NUM REPORT_NUMBER,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30)) ||' '|| AI.INVOICE_CURRENCY_CODE REPORT_TOTAL_CURRENCY,
    TO_CHAR(decode(nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0),
                     0, decode(AI.CANCELLED_DATE,
                                 null, APS.GROSS_AMOUNT,
                                 AERH.TOTAL),
                   nvl(AI.AMT_DUE_CCARD_COMPANY, AERH.AMT_DUE_CCARD_COMPANY) + nvl(AI.AMT_DUE_EMPLOYEE, AERH.AMT_DUE_EMPLOYEE) + nvl(AERH.MAXIMUM_AMOUNT_TO_APPLY,0)) ,  
            FND_CURRENCY_CACHE.GET_FORMAT_MASK
            (AI.INVOICE_CURRENCY_CODE, 30))
    REPORT_TOTAL,
    P.PERSON_ID EMPLOYEE_ID,
    AERH.REPORT_HEADER_ID REPORT_HEADER_ID,
    P.FULL_NAME FULL_NAME ,
    DECODE(AI.CANCELLED_DATE,null,
                              nvl(aerh.expense_status_code, DECODE(APS.GROSS_AMOUNT ,0,'PAID',
                                    decode(AI.Payment_status_flag,'Y','PAID',
                                                            'N','INVOICED',
                                                            'P','PARPAID',NULL))),
                                            'CANCELLED') STATUS_CODE,
    AERH.source SOURCE,
    NULL CURRENT_APPROVER,
    ROUND(sysdate - AI.LAST_UPDATE_DATE) DAYS_SINCE_ACTIVITY,
    AERH.RECEIPTS_STATUS RECEIPTS_STATUS_CODE,
    AERH.HOLDING_REPORT_HEADER_ID,
    AI.VENDOR_ID VENDOR_ID,
    AERH.AMT_DUE_CCARD_COMPANY AMT_DUE_CCARD_COMPANY,
    AERH.AMT_DUE_EMPLOYEE AMT_DUE_EMPLOYEE,          
    'CurrentApproverName' CURRENT_APPROVER_SWITCHER,
    to_char(AERH.LAST_UPDATE_DATE, 'DD-MON-RRRR HH:MI:SS'),
    AI.INVOICE_ID INVOICE_ID
    FROM
           AK_WEB_USER_SEC_ATTR_VALUES A,
           AP_INVOICES AI,
           AP_EXPENSE_REPORT_HEADERS AERH,
           PER_PEOPLE_X P,
           AP_PAYMENT_SCHEDULES APS
    WHERE  AI.INVOICE_ID= APS.INVOICE_ID
    AND    AI.INVOICE_ID = AERH.VOUCHNO(+)
    AND AI.INVOICE_TYPE_LOOKUP_CODE||'' = 'EXPENSE REPORT'
    AND A.ATTRIBUTE_CODE = 'ICX_HR_PERSON_ID'
    AND AI.PAID_ON_BEHALF_EMPLOYEE_ID = A.NUMBER_VALUE
    AND A.WEB_USER_ID = :5
    AND P.PERSON_ID = AI.PAID_ON_BEHALF_EMPLOYEE_ID
    AND AP_WEB_DB_HR_INT_PKG.IsPersonCwk(AI.PAID_ON_BEHALF_EMPLOYEE_ID)='Y'
    AND DECODE (AI.PAYMENT_STATUS_FLAG,
             'Y', sysdate - AI.LAST_UPDATE_DATE,
            decode(APS.GROSS_AMOUNT , 0 ,sysdate - AI.LAST_UPDATE_DATE,0)
              )  <= 30
    AND (AERH.SOURCE <> 'Both Pay' OR AERH.REPORT_HEADER_ID IS NULL)) QRSLT  WHERE (REPORT_SUBMITTED_DATE is not null)
    at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:603)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    java.sql.SQLException: ORA-01008: not all variables bound
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
    at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
    at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
    at oracle.jdbc.driver.OracleStatement.doExecuteQuery(OracleStatement.java:2548)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2933)
    at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:578)
    at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:631)
    at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:518)
    at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3375)
    at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(OAJboViewObjectImpl.java:828)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4525)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:574)
    at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:544)
    at oracle.jbo.server.ViewRowSetImpl.executeDetailQuery(ViewRowSetImpl.java:619)
    at oracle.jbo.server.ViewObjectImpl.executeDetailQuery(ViewObjectImpl.java:3339)
    at oracle.jbo.server.ViewObjectImpl.executeQuery(ViewObjectImpl.java:3326)
    at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQuery(OAViewObjectImpl.java:441)
    at oracle.apps.ap.oie.webui.Custom_HomePageCO.processRequest(Custom_HomePageCO.java:26)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:587)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1136)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:959)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:926)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:646)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:247)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2360)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1759)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
    at _OA._jspService(OA.jsp:33)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
    at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
    at java.lang.Thread.run(Thread.java:534)
    I have took the sql from error message and i tried executing the same in toad... i was able execute it smoothly... i dot know why its working while running the page
    Please help me guys...
    Thanks,
    Pavan

    Hi Shobhi,
    Actually this relates to the Iexpenese Module. The VO is "oracle.apps.ap.oie.server.TrackExpenseReportsVO"(Seeded)
    The user Expense home screen is based on the above VO and this view returning multiple line for the same expense number which should be eliminated.
    so for this i need to filter data by adding where clause dynamically on top of the existing where conditions so that i can eliminate the duplicate row.
    Please suggest me !! how to move on
    Thanks,
    Pavan V
    91-9640871542

  • Oracle.jbo.SQLStmtException:JBO-27122:SQL error during statement preparatio

    Hi,
    i am extending a VO(ApInvDistAllVO) in r12.i am just adding three additional columns.when i am substuting the VO, getting error as "Attempt to set a parameter name that does not occur in the SQL: Bind_InvoiceId".Here i am pasting seeded and custom query.
    SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101
    custom query
    SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments,
    (SELECT segment1
    FROM pa_projects_all ppa
    WHERE ppa.project_id = apinvdistalleo.project_id) project_number,
    (SELECT pt.task_number
    FROM pa_tasks pt
    WHERE pt.task_id = apinvdistalleo.task_id) task_number,
    (SELECT NAME
    FROM hr_all_organization_units hou
    WHERE hou.organization_id =
    apinvdistalleo.expenditure_organization_id)
    expd_org_name
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101
    Thanks
    Praveen

    Hi Siva,
    Thanks for you response.
    I didn't defined bind variables.But this vo is used by one Seeded VL
    Substution steps:
    1.Substuited the seed vo with custom vo in jdeveloper.
    2.Imported the .jpx file using jpx importer.it displayed like this.
    Imported document : /oracle/apps/ap/invoice/request/negotiation/server/customizations/site/0/ApInvDistAllVO.
    i am providing error stack also:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT ApInvDistAllEO.ACCOUNTING_DATE,
    ApInvDistAllEO.ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.ASSETS_ADDITION_FLAG,
    ApInvDistAllEO.ASSETS_TRACKING_FLAG,
    ApInvDistAllEO.CASH_POSTED_FLAG,
    ApInvDistAllEO.DISTRIBUTION_LINE_NUMBER,
    ApInvDistAllEO.DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.INVOICE_ID,
    ApInvDistAllEO.LAST_UPDATED_BY,
    ApInvDistAllEO.LAST_UPDATE_DATE,
    ApInvDistAllEO.LINE_TYPE_LOOKUP_CODE,
    ApInvDistAllEO.PERIOD_NAME,
    ApInvDistAllEO.SET_OF_BOOKS_ID,
    ApInvDistAllEO.ACCTS_PAY_CODE_COMBINATION_ID,
    ApInvDistAllEO.AMOUNT,
    ApInvDistAllEO.BASE_AMOUNT,
    ApInvDistAllEO.BASE_INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.BATCH_ID,
    ApInvDistAllEO.CREATED_BY,
    ApInvDistAllEO.CREATION_DATE,
    ApInvDistAllEO.DESCRIPTION,
    ApInvDistAllEO.EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.FINAL_MATCH_FLAG,
    ApInvDistAllEO.INCOME_TAX_REGION,
    ApInvDistAllEO.INVOICE_PRICE_VARIANCE,
    ApInvDistAllEO.LAST_UPDATE_LOGIN,
    ApInvDistAllEO.MATCH_STATUS_FLAG,
    ApInvDistAllEO.POSTED_FLAG,
    ApInvDistAllEO.PO_DISTRIBUTION_ID,
    ApInvDistAllEO.PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.PROGRAM_ID,
    ApInvDistAllEO.PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.QUANTITY_INVOICED,
    ApInvDistAllEO.RATE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.REQUEST_ID,
    ApInvDistAllEO.REVERSAL_FLAG,
    ApInvDistAllEO.TYPE_1099,
    ApInvDistAllEO.UNIT_PRICE,
    ApInvDistAllEO.AMOUNT_ENCUMBERED,
    ApInvDistAllEO.BASE_AMOUNT_ENCUMBERED,
    ApInvDistAllEO.ENCUMBERED_FLAG,
    ApInvDistAllEO.EXCHANGE_DATE,
    ApInvDistAllEO.EXCHANGE_RATE,
    ApInvDistAllEO.EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.PRICE_ADJUSTMENT_FLAG,
    ApInvDistAllEO.PRICE_VAR_CODE_COMBINATION_ID,
    ApInvDistAllEO.QUANTITY_UNENCUMBERED,
    ApInvDistAllEO.STAT_AMOUNT,
    ApInvDistAllEO.AMOUNT_TO_POST,
    ApInvDistAllEO.ATTRIBUTE1,
    ApInvDistAllEO.ATTRIBUTE10,
    ApInvDistAllEO.ATTRIBUTE11,
    ApInvDistAllEO.ATTRIBUTE12,
    ApInvDistAllEO.ATTRIBUTE13,
    ApInvDistAllEO.ATTRIBUTE14,
    ApInvDistAllEO.ATTRIBUTE15,
    ApInvDistAllEO.ATTRIBUTE2,
    ApInvDistAllEO.ATTRIBUTE3,
    ApInvDistAllEO.ATTRIBUTE4,
    ApInvDistAllEO.ATTRIBUTE5,
    ApInvDistAllEO.ATTRIBUTE6,
    ApInvDistAllEO.ATTRIBUTE7,
    ApInvDistAllEO.ATTRIBUTE8,
    ApInvDistAllEO.ATTRIBUTE9,
    ApInvDistAllEO.ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.CASH_JE_BATCH_ID,
    ApInvDistAllEO.EXPENDITURE_ITEM_DATE,
    ApInvDistAllEO.EXPENDITURE_ORGANIZATION_ID,
    ApInvDistAllEO.EXPENDITURE_TYPE,
    ApInvDistAllEO.JE_BATCH_ID,
    ApInvDistAllEO.PARENT_INVOICE_ID,
    ApInvDistAllEO.PA_ADDITION_FLAG,
    ApInvDistAllEO.PA_QUANTITY,
    ApInvDistAllEO.POSTED_AMOUNT,
    ApInvDistAllEO.POSTED_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_AMOUNT_REMAINING,
    ApInvDistAllEO.PROJECT_ACCOUNTING_CONTEXT,
    ApInvDistAllEO.PROJECT_ID,
    ApInvDistAllEO.TASK_ID,
    ApInvDistAllEO.USSGL_TRANSACTION_CODE,
    ApInvDistAllEO.USSGL_TRX_CODE_CONTEXT,
    ApInvDistAllEO.EARLIEST_SETTLEMENT_DATE,
    ApInvDistAllEO.REQ_DISTRIBUTION_ID,
    ApInvDistAllEO.QUANTITY_VARIANCE,
    ApInvDistAllEO.BASE_QUANTITY_VARIANCE,
    ApInvDistAllEO.PACKET_ID,
    ApInvDistAllEO.AWT_FLAG,
    ApInvDistAllEO.AWT_GROUP_ID,
    ApInvDistAllEO.AWT_TAX_RATE_ID,
    ApInvDistAllEO.AWT_GROSS_AMOUNT,
    ApInvDistAllEO.AWT_INVOICE_ID,
    ApInvDistAllEO.AWT_ORIGIN_GROUP_ID,
    ApInvDistAllEO.REFERENCE_1,
    ApInvDistAllEO.REFERENCE_2,
    ApInvDistAllEO.ORG_ID,
    ApInvDistAllEO.OTHER_INVOICE_ID,
    ApInvDistAllEO.AWT_INVOICE_PAYMENT_ID,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE_CATEGORY,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE1,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE2,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE3,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE4,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE5,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE6,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE7,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE8,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE9,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE10,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE11,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE12,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE13,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE14,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE15,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE16,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE17,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE18,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE19,
    ApInvDistAllEO.GLOBAL_ATTRIBUTE20,
    ApInvDistAllEO.LINE_GROUP_NUMBER,
    ApInvDistAllEO.RECEIPT_VERIFIED_FLAG,
    ApInvDistAllEO.RECEIPT_REQUIRED_FLAG,
    ApInvDistAllEO.RECEIPT_MISSING_FLAG,
    ApInvDistAllEO.JUSTIFICATION,
    ApInvDistAllEO.EXPENSE_GROUP,
    ApInvDistAllEO.START_EXPENSE_DATE,
    ApInvDistAllEO.END_EXPENSE_DATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_CODE,
    ApInvDistAllEO.RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.RECEIPT_CURRENCY_AMOUNT,
    ApInvDistAllEO.DAILY_AMOUNT,
    ApInvDistAllEO.WEB_PARAMETER_ID,
    ApInvDistAllEO.ADJUSTMENT_REASON,
    ApInvDistAllEO.AWARD_ID,
    ApInvDistAllEO.MRC_ACCRUAL_POSTED_FLAG,
    ApInvDistAllEO.MRC_CASH_POSTED_FLAG,
    ApInvDistAllEO.MRC_DIST_CODE_COMBINATION_ID,
    ApInvDistAllEO.MRC_AMOUNT,
    ApInvDistAllEO.MRC_BASE_AMOUNT,
    ApInvDistAllEO.MRC_BASE_INV_PRICE_VARIANCE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_VARIANCE,
    ApInvDistAllEO.MRC_POSTED_FLAG,
    ApInvDistAllEO.MRC_PROGRAM_APPLICATION_ID,
    ApInvDistAllEO.MRC_PROGRAM_ID,
    ApInvDistAllEO.MRC_PROGRAM_UPDATE_DATE,
    ApInvDistAllEO.MRC_RATE_VAR_CCID,
    ApInvDistAllEO.MRC_REQUEST_ID,
    ApInvDistAllEO.MRC_EXCHANGE_DATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE,
    ApInvDistAllEO.MRC_EXCHANGE_RATE_TYPE,
    ApInvDistAllEO.MRC_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_BASE_AMOUNT_TO_POST,
    ApInvDistAllEO.MRC_CASH_JE_BATCH_ID,
    ApInvDistAllEO.MRC_JE_BATCH_ID,
    ApInvDistAllEO.MRC_POSTED_AMOUNT,
    ApInvDistAllEO.MRC_POSTED_BASE_AMOUNT,
    ApInvDistAllEO.MRC_RECEIPT_CONVERSION_RATE,
    ApInvDistAllEO.CREDIT_CARD_TRX_ID,
    ApInvDistAllEO.DIST_MATCH_TYPE,
    ApInvDistAllEO.RCV_TRANSACTION_ID,
    ApInvDistAllEO.INVOICE_DISTRIBUTION_ID,
    ApInvDistAllEO.PARENT_REVERSAL_ID,
    ApInvDistAllEO.TAX_RECOVERABLE_FLAG,
    ApInvDistAllEO.PA_CC_AR_INVOICE_ID,
    ApInvDistAllEO.PA_CC_AR_INVOICE_LINE_NUM,
    ApInvDistAllEO.PA_CC_PROCESSED_CODE,
    ApInvDistAllEO.MERCHANT_DOCUMENT_NUMBER,
    ApInvDistAllEO.MERCHANT_NAME,
    ApInvDistAllEO.MERCHANT_REFERENCE,
    ApInvDistAllEO.MERCHANT_TAX_REG_NUMBER,
    ApInvDistAllEO.MERCHANT_TAXPAYER_ID,
    ApInvDistAllEO.COUNTRY_OF_SUPPLY,
    ApInvDistAllEO.MATCHED_UOM_LOOKUP_CODE,
    ApInvDistAllEO.GMS_BURDENABLE_RAW_COST,
    ApInvDistAllEO.ACCOUNTING_EVENT_ID,
    ApInvDistAllEO.PREPAY_DISTRIBUTION_ID,
    ApInvDistAllEO.UPGRADE_POSTED_AMT,
    ApInvDistAllEO.UPGRADE_BASE_POSTED_AMT,
    ApInvDistAllEO.INVENTORY_TRANSFER_STATUS,
    ApInvDistAllEO.COMPANY_PREPAID_INVOICE_ID,
    ApInvDistAllEO.CC_REVERSAL_FLAG,
    ApInvDistAllEO.AWT_WITHHELD_AMT,
    ApInvDistAllEO.INVOICE_INCLUDES_PREPAY_FLAG,
    ApInvDistAllEO.PRICE_CORRECT_INV_ID,
    ApInvDistAllEO.PRICE_CORRECT_QTY,
    ApInvDistAllEO.PA_CMT_XFACE_FLAG,
    ApInvDistAllEO.CANCELLATION_FLAG,
    ApInvDistAllEO.INVOICE_LINE_NUMBER,
    ApInvDistAllEO.CORRECTED_INVOICE_DIST_ID,
    ApInvDistAllEO.ROUNDING_AMT,
    ApInvDistAllEO.CHARGE_APPLICABLE_TO_DIST_ID,
    ApInvDistAllEO.CORRECTED_QUANTITY,
    ApInvDistAllEO.RELATED_ID,
    ApInvDistAllEO.ASSET_BOOK_TYPE_CODE,
    ApInvDistAllEO.ASSET_CATEGORY_ID,
    ApInvDistAllEO.DISTRIBUTION_CLASS,
    ApInvDistAllEO.FINAL_PAYMENT_ROUNDING,
    ApInvDistAllEO.FINAL_APPLICATION_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_XRATE,
    ApInvDistAllEO.CASH_BASIS_FINAL_APP_ROUNDING,
    ApInvDistAllEO.AMOUNT_AT_PREPAY_PAY_XRATE,
    ApInvDistAllEO.INTENDED_USE,
    ApInvDistAllEO.DETAIL_TAX_DIST_ID,
    ApInvDistAllEO.REC_NREC_RATE,
    ApInvDistAllEO.RECOVERY_RATE_ID,
    ApInvDistAllEO.RECOVERY_RATE_NAME,
    ApInvDistAllEO.RECOVERY_TYPE_CODE,
    ApInvDistAllEO.RECOVERY_RATE_CODE,
    ApInvDistAllEO.WITHHOLDING_TAX_CODE_ID,
    ApInvDistAllEO.TAX_ALREADY_DISTRIBUTED_FLAG,
    ApInvDistAllEO.SUMMARY_TAX_LINE_ID,
    ApInvDistAllEO.TAXABLE_AMOUNT,
    ApInvDistAllEO.TAXABLE_BASE_AMOUNT,
    ApInvDistAllEO.EXTRA_PO_ERV,
    ApInvDistAllEO.PREPAY_TAX_DIFF_AMOUNT,
    ApInvDistAllEO.TAX_CODE_ID,
    ApInvDistAllEO.VAT_CODE,
    ApInvDistAllEO.AMOUNT_INCLUDES_TAX_FLAG,
    ApInvDistAllEO.TAX_CALCULATED_FLAG,
    ApInvDistAllEO.TAX_RECOVERY_RATE,
    ApInvDistAllEO.TAX_RECOVERY_OVERRIDE_FLAG,
    ApInvDistAllEO.TAX_CODE_OVERRIDE_FLAG,
    ApInvDistAllEO.TOTAL_DIST_AMOUNT,
    ApInvDistAllEO.TOTAL_DIST_BASE_AMOUNT,
    ApInvDistAllEO.PREPAY_TAX_PARENT_ID,
    ApInvDistAllEO.CANCELLED_FLAG,
    ApInvDistAllEO.OLD_DISTRIBUTION_ID,
    ApInvDistAllEO.OLD_DIST_LINE_NUMBER,
    ApInvDistAllEO.AMOUNT_VARIANCE,
    ApInvDistAllEO.BASE_AMOUNT_VARIANCE,
    ApInvDistAllEO.HISTORICAL_FLAG,
    ApInvDistAllEO.RCV_CHARGE_ADDITION_FLAG,
    ApInvDistAllEO.AWT_RELATED_ID,
    ApInvDistAllEO.RELATED_RETAINAGE_DIST_ID,
    ApInvDistAllEO.RETAINED_AMOUNT_REMAINING,
    ApInvDistAllEO.BC_EVENT_ID,
    ApInvDistAllEO.RETAINED_INVOICE_DIST_ID,
    ApInvDistAllEO.FINAL_RELEASE_ROUNDING,
    ApInvDistAllEO.FULLY_PAID_ACCTD_FLAG,
    ApInvDistAllEO.ROOT_DISTRIBUTION_ID,
    ApInvDistAllEO.XINV_PARENT_REVERSAL_ID,
    ApInvDistAllEO.RECURRING_PAYMENT_ID,
    ApInvDistAllEO.RELEASE_INV_DIST_DERIVED_FROM,
    gl_flexfields_pkg.get_concat_description
         (f.id_flex_num,
         ApInvDistAllEO.dist_code_combination_id)          segments,
    (SELECT segment1
    FROM pa_projects_all ppa
    WHERE ppa.project_id = apinvdistalleo.project_id) project_number,
    (SELECT pt.task_number
    FROM pa_tasks pt
    WHERE pt.task_id = apinvdistalleo.task_id) task_number,
    (SELECT NAME
    FROM hr_all_organization_units hou
    WHERE hou.organization_id =
    apinvdistalleo.expenditure_organization_id)
    expd_org_name
    FROM AP_INVOICE_DISTRIBUTIONS_ALL ApInvDistAllEO,
         fnd_id_flex_structures_vl f,
         ap_invoices_all i,
         gl_sets_of_books sob
    where      ApInvDistAllEO.invoice_id = i.invoice_id
    and     sob.set_of_books_id = i.set_of_books_id
    and     f.id_flex_num = sob.chart_of_accounts_id
    and     f.id_flex_code = 'GL#'
    and     f.application_id = 101) QRSLT WHERE (:1 = INVOICE_ID) AND (:2 = INVOICE_LINE_NUMBER)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2537)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: Bind_InvoiceId
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.OraclePreparedStatement.setObjectAtName(OraclePreparedStatement.java:9566)
         at oracle.jbo.server.OracleSQLBuilderImpl.bindParamValue(OracleSQLBuilderImpl.java:3916)
         at oracle.jbo.server.BaseSQLBuilderImpl.bindParametersForStmt(BaseSQLBuilderImpl.java:3335)
         at oracle.jbo.server.ViewObjectImpl.bindParametersForCollection(ViewObjectImpl.java:13759)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:801)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:666)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:3655)
         at oracle.jbo.server.OAJboViewObjectImpl.executeQueryForCollection(Unknown Source)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.executeQueryForCollection(OAViewObjectImpl.java:4537)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:742)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:687)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2657)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2634)
         at oracle.jbo.server.ViewRowSetIteratorImpl.getRowCountInRange(ViewRowSetIteratorImpl.java:699)
         at oracle.jbo.server.ViewRowSetImpl.getRowCountInRange(ViewRowSetImpl.java:3194)
         at oracle.jbo.server.ViewObjectImpl.getRowCountInRange(ViewObjectImpl.java:6959)
         at oracle.apps.fnd.framework.server.OAViewObjectImpl.getRowCountInRange(OAViewObjectImpl.java:1958)
         at oracle.apps.fnd.framework.webui.OAWebBeanBaseTableHelper.adjustViewRange(OAWebBeanBaseTableHelper.java:214)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.prepareNavigatorProperties(OAAdvancedTableHelper.java:895)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequestAfterController(OAAdvancedTableHelper.java:623)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:654)
         at oracle.apps.fnd.framework.webui.OAWebBeanTableHelper.processRequest(OAWebBeanTableHelper.java:2136)
         at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.processRequest(OAAdvancedTableHelper.java:570)
         at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.processRequest(OAAdvancedTableBean.java:734)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAWebBeanHideShowHelper.processRequest(OAWebBeanHideShowHelper.java:104)
         at oracle.apps.fnd.framework.webui.OADefaultHideShowHelper.processRequest(OADefaultHideShowHelper.java:126)
         at oracle.apps.fnd.framework.webui.beans.layout.OADefaultHideShowBean.processRequest(OADefaultHideShowBean.java:488)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processRequest(OAHeaderBean.java:389)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2491)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1889)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:533)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:421)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
         at OA.jspService(_OA.java:221)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Thanks
    Praveen

  • Customer Coversion Using Interface Table - Error during update

    I need to import customers from legacy applicatiion and is planning to use standard customer interface for that. For testing, I am able to create customers with hardcoded values. But while I try to update the same customer record (again using hard coded values), it gives me error and is not generating the error report as well. I am getting the following error during update:
    racudc: ORA-20212: Enter valid Billing Fields.
    ORA-06512: at "APPS.ADVOAR_CUST
    racudc: Error updating customers.
    or
    racudc: updated 1 partiesracudc: Partyrel 1 parties
    racudc: ORA-20210: You have edited one of the following fields, Extended Billi
    racudc: Error updating customers.
    Also it seems we can not update an address, site_use_code, or PRIMARY_SITE_USE_FLAG using customer interface.
    The following is the test record I inserted for updating the customer I created and ran the customer interface:
    insert into ra_customers_interface
    (ORIG_SYSTEM_CUSTOMER_REF
    ,INSERT_UPDATE_FLAG
    ,CUSTOMER_NAME
    ,CUSTOMER_STATUS
    ,LAST_UPDATED_BY
    ,LAST_UPDATE_DATE
    ,CREATED_BY
    ,CREATION_DATE
    ,ORIG_SYSTEM_ADDRESS_REF
    ,ADDRESS1
    ,CITY
    ,COUNTY
    ,STATE
    ,POSTAL_CODE
    ,COUNTRY
    ,customer_attribute13
    values
    ('APP1-492503' --ORIG_SYSTEM_CUSTOMER_REF
    ,'U' --INSERT_UPDATE_FLAG
    ,'Pizza Hut - CDH TEST4' --CUSTOMER_NAME
    ,'A' --CUSTOMER_STATUS
    ,-1 --LAST_UPDATED_BY
    ,sysdate --LAST_UPDATE_DATE
    ,-1 --CREATED_BY
    ,sysdate --CREATION_DATE
    --,'Y' --PRIMARY_SITE_USE_FLAG
    --,'BILL_TO' --SITE_USE_CODE
    ,'APP1-492503-ADDR1' --ORIG_SYSTEM_ADDRESS_REF
    ,'1 River Road, Bldg 1' --ADDRESS1
    ,'SCHENECTADY' --CITY
    ,'SCHENECTADY' --COUNTY
    ,'NY' --STATE
    ,12305 --POSTAL_CODE
    ,'US' --COUNTRY
    ,'55'
    I am testing this in 11.5.10 env. Any help on this is appreciated.
    Thanks,
    MK

    Convert only the data you need. And the data you need is probably less than you think. For example, other than open invoices (invoices for which money is still owed), you probably don’t need to convert ANY old invoices. You may want to convert data on what was purchased (e.g., event registration, membership, product, etc.) but the actual details (e.g., payment type, payment date) are probably no longer significant.
    http://www.e-datapro.net/data_conversion.htm

  • HTTP response code 500 : Error during parsing of SOAP header

    Hi Experts,
    I have a MAIL to IDOC scenario.  An external third party emails invoices to our inbox - which we pick up and process the attachment.  All is well when I test the scenario internally, but when the third party emails it fails with (see ERROR MESSAGE below).
    When I look at the SOAP header of the failed message I see the values from the dump in this field:
      <sap:Record namespace="http://sap.com/xi/XI/System/Mail" name="SHeaderTHREAD-INDEX">AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=</sap:Record>
    Can anyone tell me what SHeaderTHREAD-INDEX does?  Or what my problem is  (Our email is Outlook)
    ERROR MESSAGE.........
    SOAPFault received from Integration Server. ErrorCode/Category: XIProtocol/WRONG_VALUE; Params: SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14), AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQAAV4L06ABZuwsAAK/f9vgAAF/GSAAAYmRYARIKwtQAV5R9SABMo5bsAGQQyvAAVqsjyABOh9uMAFXTa2QAWEjsfABaEvp4AFaL1NQAV5MnUABXiVbIAGc7LsQAYVN9SABLfYQIAEwF3nQAWSL2lABn5ZgIAEf/k8gAWeVgrAAJaSZIAAElM4gATZR0GA=協彎䅍䔾ਉ़䥎噏䥃䕟乏㸸㌱ㄵㄹ㰯䥎噏䥃䕟乏㸊उ㱁䵏啎呟䕘䍌彖䅔㸷⸵〼⽁䵏啎呟䕘䍌彖䅔㸊उ㱃啒剅乃失㹅啒㰯䍕剒䕎䍙ㄾਉ़䅍何乔彖䅔㸱⸴㜼⽁ꯃ䅢坡汫, ST: ST_XM; AdditionalText: An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC; ApplicationFaultMessage:  ; ErrorStack: XML tag SOAP:Envelope(1)SOAP:Header(1)sap:DynamicConfiguration(3)sap:Record(14) (or one of the attributes) has the incorrect value AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1pEZAF500SsAYW46lgBgX2bGALyieMQAXw2oKgBYXf0WAGeueD0AAAHnhwBamTSaAGIUE0kAYZSYTQBgY5OTADunN0gAE3t/sQAWScBXADTQvvEAD4yNhQATdkKiAFr7DBMAGIXTZQAP2xJFABZ0YfoAGHYAuAAKlaeaACJ9xtUAEjcvQ An error occurred when deserializing in the simple transformation program ST_XMS_MSGHDR30_DYNAMIC Data loss occurred when converting AcarCeJmJKHuV6wZSxm2UMoUeAjS1gALPExABtze/PACiUJDcAGS0DCwAmOOELAJlOzP0AFiOo8gCK1p
    Transmitting the message to endpoint http://sdcxp1-ci.na.fmo.com:8000/sap/xi/engine?type=entry using connection AFW failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: Received HTTP response code 500 : Error during parsing of SOAP header.

    We work with Microsoft Outlook, but I'm sure this could work with any email system.
    This error only came from external emails - what we did in the end is to get the third party to email a particular email (email1) in our company.  This is set up as a regular email account.  On this email put a forward rule to email2 for a particular sender/subject.  email2 is set up as POP3 so that XD1 can poll it - we also block any emails except from email1.
    Doing this accomplishes a couple of things:
    1)  We get around the error because XI polls email2 (which has adapter settings of IMAP4 so we can see MAIL adapter attributes ie. sender, subject etc...When we originally had as POP3 we were not able to see these - but setting as IMAP4 causes the error for external emailers)
    2) We have a SPAM filter - the XI email is clean from SPAM and the adapter will not have errors, as it only receives valid emails to process
    3) We have a central email (email1) which is used to archive all XI emails - we use this for all email scenarios (as we also save to folder and forward in the rule)
    Hope this helps your situation.

Maybe you are looking for

  • ITunes says my computer is already authorized, but it's not

    I noticed that iTunes wasn't updating my purchases on my MBP so checked and it's not listed as an authorized computer in my iTunes account. But when I click "Authorize Computer" it's telling me it's already authorized. You can see from the screenshot

  • Problems.......

    Dear Friends How would you determine an output procedure other than the condition types? (Alternative method) How can we assign one credit limit to two customers? What is the functionality of negative posting in Billing document? What is Lump sum pay

  • Missing TOC Book in Merged WebHelp

    It's late on a Friday, and I'm brain dead. I am using a merged WebHelp structure (based on Peter Grainge's model with parent project only having one topic and using redirect to first child project) for my company's disaster recovery plan (separate de

  • XI2.0 to PI 7.0

    Hi All,            Good Day,at the moment we having XI2.0 system and client want to upgrade to PI 7.0 .first of all is this upgrading is going to work with old interfaces.if yes what are the steps we have to take to upgrade from 2.0 to 7.0 and what t

  • Aggregation at cube

    Hi All, I am loading Transaction data into my cube from flat file. My requirement is: There are 2 doc's: x--10--10/10/2008                            x---20-26/10/2008 Here when i load for the month these both get aggregated. And I need the date fiel