Facing an Issue with Payables Open Interface Import

Hi
I am facing an issue with the Payables Open Interface Import...
My Requirement is:
1. Need to upload the PO, Supplier, Invoice #, Invoice Date details to custom table (through web ADi)
2. From custom table storing in the AP invoice interface tables.
3. From Interface table, calling API (Payables Open Interface Import) which wil create the invoive (PO matched)
Now, If user has given wrong data some reasons....Payables Open Interface Import has rejected that entry....user has checked this and corrected later and trying to create the same invoice with the correcte data....As there is a rejected a line exists on the Header interface, line interface...even though if he pass the correct data in the second time it is cosidering that rejected row and not processing the correct row...
Can any one suggest on this...
Regards,
Bala

When processing a record, you can check if another ap_invoice_interface record exists for the same invoice number and
1) Delete the old record and then insert a new one
OR
2) Update the old record instead of creating a new one
Hope this helps,
Sandeep Gandhi

Similar Messages

  • Facing issues in Payables Open Interface Import Program

    Hi,
    We have a requirement of calling Payables Open Interface Import Program from Pl/sql package.
    Invoices are getting created.
    But the issue is when we query our invoice from invoice workbench and we try to view  the record history (help->record history)
    We are getting the error as ‘fdxwho failed due to ORA-01403’.
    The code is
    l_num_req_id :=
                fnd_request.submit_request
                                          (application      => 'SQLAP',
                                           program          => 'APXIIMPT',
                                           argument1        => fnd_global.org_id,
                                           -- org_id
                                           argument2        =>l_chr_source, 
                                           -- Invoice source
                                           argument3        => NULL,
                                           argument4        => l_chr_batch_name,
                                           -- Batch Name
                                           argument5        => NULL,
                                           argument6        => NULL,
                                           --  Hold Raeson
                                           argument7        => NULL,    -- GL Date
                                           argument8        => 'N',
                                           argument9        => 'N',
                                           argument10       => 'N',
                                           argument11       => 'N',
                                           argument12       => '1000',
                                           argument13       => fnd_global.user_id,
                                           argument14       => fnd_global.login_id
    Regards
    Suresh

    Hi,
    Please review notes:
    APP-01564 ORA-01403 in FDXWHO In Any Payables Form (Doc ID 1077762.6)
    "APP-FND-01564 ORACLE error 1403 in fdxwho" in Record History (Doc ID 879528.1)
    Thanks &
    Best Regards,

  • Bad performance with Payables Open Interface Import

    hello all
    have a performance problem with the standard program Payables Open Interface Import, as this process is taking a long time to run.
    could recommend some patch for this issue or a solution.
    our application is 11.5.10.2 and Database 10g
    now create a SR but to date we have not been sending the first plan of action
    best regards

    There are many reasons this is a performance problem - search in MOS for "APXIIMPT performance" or "payables open interface import performance"
    Your best bet is to work this thru an SR.
    Have you traced the concurrent to determine where the bottleneck is ? Are statistics current ?
    HTH
    Srini

  • Problem with payables open interface import-unable to pick invoice data

    Hi,
    I have put the Interface data in two staging table and then moved them to AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables.
    Code:
    insert into XXWU_AP_INVOICES_INTERFACE (
    invoice_id,
    invoice_num,
    vendor_id,
    vendor_site_id,
    vendor_site_code,
    invoice_amount,
    INVOICE_CURRENCY_CODE,
    invoice_date,
    DESCRIPTION,
    PAY_GROUP_LOOKUP_CODE,
    source,
    org_id,
    OPERATING_UNIT
    values (
    ap_invoices_interface_s.nextval,
    'INV345DJ',
    '3317',
    '14335',
    'ACH NY1',
    1200.00,
    'USD',
    to_date('01-31-2010','mm-dd-yyyy'),
    'This Invoice is created for test purpose',
    'WUFS SUPPLIER',
    'Manual Invoice Entry',
    81,
    'WU_USD_OU'
    insert into XXWU_AP_INVOICE_LN_INTERFACE (
    invoice_id,
    invoice_line_id,
    line_number,
    line_type_lookup_code,
    amount,
    org_id
    values (
    ap_invoices_interface_s.currval,
    ap_invoice_lines_interface_s.nextval,
    1,
    'ITEM',
    1200.00,
    81
    INSERT INTO AP_INVOICES_INTERFACE (SELECT * FROM XXWU_AP_INVOICES_INTERFACE);
    INSERT INTO AP_INVOICE_LINES_INTERFACE (SELECT * FROM XXWU_AP_INVOICE_LN_INTERFACE);
    I can very much see the data in Open Interface Invoices(Front End). But when I run the payables open interface import program with correct Operating Unit, Source and Batch Name, the program unable to pick the data from the interface tables and unable to create a invoice.
    Note:
    1] The program run successfully everytime, but there is no output in the output file.
    2] In the Log file One Message is there saying 'Zero(0) invoices were created during the process run.'
    3] All the initail setup is right, i think, because I ran the same program few days back and it was working fine and the invoices were created at that time. Now what is going wrong I am unable to figure it out.
    Please help ASAP.Thanks in Advance
    DJ Koch.
    Edited by: DJKOCH on 17 Aug, 2010 9:51 PM

    Can you run the program - Payables Open Interface Import with Debug mode set to Yes.
    Once the program completes sucessfully verify the log file of the program and try to find out if there are any invoices which is causing the exceptions.
    Also confirm that the invoices which are in the AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables are of the correct period in which you are trying to create the invoices.
    Hope this helps.
    Thanks and Regards
    Manish Jain.

  • Problem with Payables Open Interface Import

    We have a third party's software which uploads invoices into the OraFin's (11.5.9) AP_INVOICES_INTERFACE and AP INVOICES_LINES_INTERFACE tables. Then we run PAYABLES OPEN INTERFACE IMPORT PROGRAM, and Invoice_id in AP_INVOICES_ALL has different value then we just had before in interface tables.
    The sequence has replaced the Invoice_id with new one instead of just to transfer it to the base table (AP-Invoices_All) only.
    Is there any way to avoid the change of the given Invoice_id?
    Thanks for your prompt answer, Gurus :).

    The sequence has replaced the Invoice_id with new one instead of just to transfer it to the base table (AP-Invoices_All) only.Is there any way to avoid the change of the given Invoice_id?
    No.
    This is standard functionality. Invoice import program regenerates the invoice_id from sequence everytime the invoice is imported.
    Thanks
    Nagamohan

  • Issue with Supplier Open Interface Import Program

    Hello Folks,
    I need help with supplier conversion. I am trying to load suppliers through the supplier open interface program. I see that the record got rejected in AP_SUPPLIERS_INT table with status as REJECTED. However i do not see the record in AP_SUPPLIER_INT_REJECTIONS. Therefore, i am not able to understand the rejection reason. I enabled debug can seeing this log..
    assign_party_usage (+)
    do_assign_party_usage (+)
    effective_start_date = 2011/05/12 effective_end_date = 4712/12/31
    duplicates_exist (+)
    No date tracking for this usage SUPPLIER. Check duplicate assignment.
    l_has_duplicates = Y
    duplicates_exist (-)
    assign_party_usage (-)
    Rejected Vendor_Interface_Id: 15004, No. of Messages from Create_Vendor API: 2, Message From Create_Vendor API:
    Enter Password:
    REP-0004: Warning: Unable to open user preference file.
    MSG-00999: Custom Report
    MSG-00001: After SRWINIT
    MSG-00002: After Get_Company_Name
    MSG-00003: After Get_NLS_Strings
    MSG-00004: After Importing Suppliers
    MSG-00005: After Get_Header_Information
    MSG-00020: After SRWEXIT
    As per my understanding from the log, there is some problem with party_usage_assignment. I would really appreciate is someone can help me debug the exact problem. Else i would have to open a SR for this
    Thanks so much looking forward for your answers.

    Pl post details of OS, database and EBS versions.
    Pl see if MOS Doc 1060824.1 (R12: Supplier Open Interface APXSUIMP Errors with REP-0004 Output Does Not Indicate Reason for Rejection) is applicable
    HTH
    Srini

  • Payables Open Interface Import rejection

    Hi All
    Encountered an issue with Payables Open Interface Import.
    An invoice is getting rejected with reason 'INVALID SUPPLIER'.
    I have imported invoices for the same supplier as part of data conversion.
    The only change in data as compared to the transactions that were successfully imported is the Payment method.
    It was CHECK/WIRE for imported invoices and it is Cash for the invoice I'm trying to import.
    Appreciate any info on this.
    We are on applications release R12.1.3
    I've reviewed the below notes and it doesn't cover my scenario
    R12: Master Note: APXIIMPT - Payables Open Interface Import - Functional Overview [ID 1311923.1]
    R12: Master Note: APXIIMPT - Payables Open Interface Import - Troubleshooting [ID 1311932.1]
    Regards
    Ariv

    you better make it active that supplier& Site level also check from front end(through supplier form, where ever inactive date is there pls remove and try to run open payable interface again)
    Thanks
    hari

  • Loading bank accounts with invoices using Payables Open Interface Import

    Dear Gurus,
    We are on 11.5.10.2.
    We create invoices in the 3rd party system, then load them into oracle using payables open interface import process.
    When users create invoices, they choose Vendor and Site first. If the Vendor Site has multiple bank accounts assigned, users may select the one that is non-primary.
    When we load the invoices into Oracle, it finds the PRIMARY account for the particular vendor site, and assigns it to the invoice.
    Is it possible to load bank accounts assigned to invoices into Oracle AP?
    Many Thanks,
    Iana

    Hi,
    No issues for me on Payables Open Invoice Interface with 12.0.6 - and yes make sure you match up the invoice_id on invoice, lines interface tables.
    Regards,
    Gareth

  • Payable open interface import Issue!

    Hello:
    I want to insert the Debit Memo invoice type through Payable open interface import API, But Payable open interface import program throw the error named is Invalid Inv type lookup code.
    I read out the Oracle Paybales documentation, Oracle does not support the DEBIT invoice type it only supports Standard and Credit type.
    Is there any possibility can we insert the DEBIT type from Payable open interface import program?.
    Please reply me ASAP.
    Thank you.
    Zeeshan

    Thank you Sanjit!
    Sanjeet Can you tell me the steps of How to register my stored procedure in APPS and how can I set my concurrent request.
    Please I need a steps.
    Regards
    Zeeshan

  • Payables Open Interface Import getting errors out

    Hello All,
    I am trying to run "Payables Open Interface Import" program to upload the invoice but the program is getting error out, in the log file at the end i am getting the below error:
    (Insert ap inv dists 1a) Inside the insert function
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    (Insert ap inv dists 1) Insert into ap_invoice_distributions
    ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated
    Insert_ap_inv_dists<-Create_lines<-Import_invoices<- Before report trigger
    (Create Lines 22) Insert into ap_invoice_distributions
    create_non_item_lines<-Import_invoices<- Before report trigger
    Any one faced this kind of issue?
    any suggestions to resolve this.
    Thanks & Regards
    Aboothahir

    Pl post details of OS, database and EBS versions.
    Pl see these MOS Docs
    Payables Open Interface Error ORA-00001: unique constraint (AP.AP_INVOICE_DISTRIBUTIONS_U1) violated          (Doc ID 357784.1)
    APXIIMPT Payables Open Interface Import Fails ORA-00001          (Doc ID 353052.1)
    Unique Constraint Violated Importing Invoices With Multi Line Distribution Set          (Doc ID 386323.1)
    HTH
    Srini

  • Payable Open Interface Import

    Hi All,
    I am trying to run payable open interface import program to upload 'STANDARD' invoice.Problem is that when i run 'PAYABLE OPEN INTERFACE IMPORT'
    program it fetch record from interface table, but does not create invoice in oracle and its also not showing the rejection reason in 'AP_INTERFACE_REJECTION'.
    I also found a doc regarding this issue on metalink with id 1139837.1 , but the solution in this doc is already working.
    Please let me know if you have a workaround.
    Oracle Version--R12.1.3
    Database Version--11g

    Hello
    Please elaborate on the solution
    I am facing the same issue with R12.1.3 and 11g database.
    I have checked the metalink note and that is not applicable to me as well.
    I have turned on the debug switch and yet the failed invoices don't appear on the rejection report
    Regards
    Ariv

  • Payable Open Interface Import---Asset Book name is being generated

    Hi,
    I am working on Payables Open Interface Import in R12.
    I am not generating the 'Track as Asset Flag' and 'Asset Book Type Code' fields in Ap_invoice_lines_nterface table.
    And the distribution account is also an Expense account.
    But after the payables open interface import is completed, the asset book name is being populated in ap_invoice_lines_all table.
    and as a result, recoverable and non recoverable tax lines are being created in the ap_invoice_distributions_all table making the invoice total and line total unequal.
    Did any body faced a similar issue?
    Please help....
    this is really very urgent.
    Any queries, please ask me [email protected]
    Thanks in advance,
    Sharmila

    Hi,
    I have raised a SR with Oracle and got following suggestion:
    === ODM Solution /Action Plan ===
    To implement the solution, please execute the following steps:
    1. Download and review the readme and pre-requisites for Patch.9577089:R12.AP.B.
    2. Ensure that you have taken a backup of your system before applying
    the recommended patch.
    3. Apply the patch in a test environment.
    4. Confirm the following file versions:
    120.67.12010000.27 of apiimutb.pls
    You can use the commands like the following:
    strings -a $XX_TOP/filename |grep '$Header'
    5. Retest the issue.
    6. Migrate the solution as appropriate to other environments.
    Will keep you all posted.
    Regards,
    Sharmila

  • Payables Open Interface Import program is not Importing the Invoices

    Hi All,
    We are trying to create new invoices (SUM_DIF) based on the Foreign currency gain/Loss amounts. But payables open interface import program is rejecting all invoices with the rejectionr code as "No Invoice Lines, Atleast one invoice line is required".
    But when we check in the interface tables we have invoices as well as the corresponding lines for those invoices. This issue is happening in 12.0.6
    Any one faced this similar issue earlier? Any help is highly appreciated.
    Thanks,
    Rama Krishna.

    Hi,
    No issues for me on Payables Open Invoice Interface with 12.0.6 - and yes make sure you match up the invoice_id on invoice, lines interface tables.
    Regards,
    Gareth

  • Error when running Payables Open Interface Import

    Hi Experts,
    I need help. I'm facing a problem when run Payables open interface import. Before that, I was running same concurrent many times and the concurrent program is completed normal. But, when I try again I'm getting error. what exacly problem is? What should I do?
    arguments
    p_org_id='84'
    p_sources='manual invoice entry'
    p_batch_name='N/A,
    p_purge_flag='Y'
    p_trace_switch='N'
    p_debug_switch='Y'
    p_summary_flag='Y'
    p_commit_batch_size='1000'
    p_user_id='1110'
    p_login_id='75025'
    Current NLS_NUMERIC_CHARACTERS Envirotment Variables are :
    American_America.US7ASCII
    Enter Password:
    REP-0004 : Warning : Unable to open user preference file.
    MSG-00001 : (Before Report) After SRWINIT
    MSG-00002 : (Before Report) After Get_Company_Name
    MSG-00003 : (Before Report) After Get_NLS_Strings
    MSG-00001 : (Get Base Curr data 1) Get Base Currency Information
    MSG-00004 : (Before Report) After Get_Base_Curr_Data
    MSG-00005 : After Get Operating Unit
    MSG-00006 : After Get Purge Flag
    MSG-00002 : (Before Report Trigger 1) Import Invoices.
    MSG-00003 : (Before Report Trigger 3) Exception : When Others.
    REP-1419 : 'beforereport' : PL/SQL program aborted.
    REP-0069 : Internal Error
    REP-57054 : In-process job terminated: Terminated with error:
    REP-1419 : MSG-00001 : (Before Report) After SRWINIT
    MSG-00002 : (Before Report) After Get_Company_Name
    MSG-00003 : (Before Report) After Get_NLS_Strings
    MSG-00001 : (Get Base Curr data 1) Get Base Currency Information
    MSG-00004 : (Before Report) After Get_Base_Curr_Data
    MSG-00005 : After Get Operating Unit
    MSG-00006 : After Get Purge Flag
    MSG-00002 : (Before Report Trigger 1) Import Invoices.
    MSG-00003 : (Before Report Trigger
    Best Regards,
    Ade Hilman

    Hi Ade;
    Please check below note which is mention similar error
    Validate AAD fails with ORA-20001: -: XLA-95103: An internal error occurred. [ID 943024.1]
    Hope it helps
    Regard
    Helios

  • Invoices Payables Open Interface Import Error REP-1419: 'beforereport': PL/

    I am having the following error when I try to import the invoces from the interface tables. I've search for the problem but and tried various solutions but they did not solve the problem or did not apply.
    Can someone help??
    APXIIMPT module: Payables Open Interface Import
    Current system time is 22-SEP-2006 22:31:13
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    p_source='CI'
    p_batch_name='INITIAL'
    p_purge_flag='N'
    p_trace_switch='N'
    p_debug_switch='N'
    p_summary_flag='N'
    p_commit_batch_size='1000'
    p_user_id='1115'
    p_login_id='337907'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.WE8ISO8859P1
    MSG-01104: (Before Report) Modified file
    MSG-00000: p_purge_flag :N
    MSG-00000: c_nls_yes :Yes
    MSG-00000: c_nls_no :No
    MSG-00000: p_summary_flag :N
    MSG-00000: p_nls_summary :No
    MSG-00000: p_nls_purge :No
    REP-1419: 'beforereport': PL/SQL program aborted.
    Report Builder: Release 6.0.8.25.0 - Production on Fri Sep 22 22:31:14 2006
    (c) Copyright 1999 Oracle Corporation. All rights reserved.
    Enter Username:
    Start of log messages from FND_FILE
    End of log messages from FND_FILE
    Program exited with status 1
    Concurrent Manager encountered an error while running Oracle*Report for your concurrent request 577860.
    Review your concurrent request log and/or report output file for more detailed information.

    I get the following error message: "Invalid Liability Liability account is invalid". I've tried both populating the ACCTS_PAY_CODE_COMBINATION_ID field and leaving it null. Some googling also said mentioned that particular error message may be misleading.
    And yes, I'm passing the correct code from the lookup_type. The only difference is that for the one that works, I'm using an Oracle seeded source lookup. However, in the lookups screen I can't see where there are any special configuration.
    I should also mention that the invoices will be imported from an external system, and there will be no PO attached to the invoice. I'm not sure if this info is relevent though.
    I've done some researching and thinking and maybe there is some kind of profile option I need to set but I haven't been able to find it yet.
    Also, I can't find the AP_ERRORS_GT table or any other closely named ones.
    Edited by: Sean Ong on 15/08/2012 01:27

Maybe you are looking for

  • PDF Data Connection with Access 2003

    Who ever can help me! I am trying to make a data connection on my pdf form using "Adobe Live Cycle designer 7.0" to my access database. I already did the conncetion...the problem here is that once the submit button is clicked i don't have any returne

  • Scatter graph point labelling

    Forgive me if this is the 1 millionth time this has been asked. I am using iWork 9.0 and specifically Numbers, I want to create a scatter graph. So a table looks like this: A 100 120 B 120 100 C 100 100 I want to create a scattergraph with these poin

  • Biztalk 2009 WCF adapter

    I'm trying to process a file using wcf custom adapter 64 bit on Biztalk 2009. The sql server that is receiving this file is SQL server 2005 enterprise edition SP 3 and 32 bit machine. I'm dropping the file in the receive location and it gets picked u

  • Order of append structure

    Hi, I have in VBAK an append structure starting with ZY... I want to add a new append structure starting with ZA... at the end of the table but when I add the structure it goes before the one starting with ZY.. How can i put it at the end of the tabl

  • Macbook can't get on internet on Windows side unless I use Ethernet.

    I am trying to connect to the internet with my Macbook booted in Windows. My airport is wide open with no password needed. My mac OS connects fine. I have a macbook with bootcamp. Windows connects to the internet without a problem if I use ethernet d