Payables Open Interface Program Source Problem

Hello All,
I am trying to import invoice using "Payable Open Interface Program".
I have two Sources from which I am uploading invoices.
Lets say the Sources be A and B. (in the lookup code i have added A and B under Source lookup type).
Now the problem is Payables program is importing successfully for Source A and the program is erroring out for source B.
Can u suggest me what could be the problem here?
Is there any other setup required with respect to sources need to be done?
Thanks & Regards
Aboothahir

hello all,
I am able to upload the invoices now using both the sources.The problem was with source B i was not passing the group name. so i passed the group name and the records are getting uploaded.
thanks & regards
aboothahir

Similar Messages

  • R12 Invoice Distributions not in table after Payable Open Interface Program

    Hello,
    I have inserted data in AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE and launched Payable Open Interface Program.
    All my invoices has been successfully processed.
    Just after completion of import program, i query an invoice on apps and all the Distribution lines are displayed when i click on "All Distribution" button BUT when i query the table AP_INVOICE_DISTRIBUTIONS_ALL by the invoice_id, no records are displayed.
    Its only when i press the button save on Apps or when i validate the invoice that i can see records in the table AP_INVOICE_DISTRIBUTIONS.
    Please help.. need to know where these lines are stored initially because i need to perform a post-import update on the attributes at INVOICE_DISTRIBUTION level.
    thanks

    I believe that is standard functionality. You can create a request set to run the Invoice Validation Program after your import is successfully done.
    Carl Hammond had posted a similar one before. You can search the forum for that message, otherwise, he probably has the right answer.
    Thanks
    Nagamohan

  • SRKIM: Payables Open Interface를 통해 distribution의 tax code 를 활성화

    PURPOSE
    Payables Open interface 를 통해 invoice 생성 시 distribution level 의 tax code 활성화 방법에 대해 알아 보도록 한다.
    Explanation
    1. Profile Option 에서 "Tax:Allow Override of Tax Code" 를 Yes 로 지정한다.
    2.     AP_Invoice_Lines_Interface table에 tax_code 를 update 한다.
    3.     AP_Invoice_Lines_Interface table 의 Tax_Code_Override_Flag 를 'Y' 로 update 한다.
    4.     Payables Open interface program 을 수행 한다.
    Example
    N/A
    Reference Documents
    Note. 232955.1 How to Import Tax_Code from AP_INVOICE_LINES_INTERFACE ?

  • 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,

  • "Payables Open Interface Purge" Program

    Hi Guys,
    In our production system, it takes 3 minutes to open "Open Interface Invoices" form (AP Manager>Invoices>Entry>Open Interface Invoices). So what should we do so as to avoid this.
    I was thinking to delete data from two tables (AP_INVOICES_INTERFACE & AP_INVOICE_LINES_INTERFACE) based on certain crieterions. Like all the records which have been successfully imported i.e. with status='PROCESSED' can be deleted. So, I can achieve this using two methods:
    1. Manually using SQL Delete statement. i.e.
    DELETE FROM AP_INVOICES_INTERFACE WHERE status='PROCESSED';
    DELETE FROM AP_INVOICE_LINES_INTERFACE
    WHERE invoice_id IN (SELECT invoice_id FROM AP_INVOICES_INTERFACE WHERE status='PROCESSED');
    2. Or I can use "Payables Open Interface Purge" Program.
    I ran this program for my specific source, and checked the count from tables but the result is the same. This means this program has not deleted any of the processed records from these two tables for the particular source.
    What can be the reason for this? Please suggest me on this.
    Thanks a lot!
    Regards,
    Sumir Chawla

    Hi,
    Thanks for your reply friends!
    I ran the program for some source. It completed successfully, log shown below:
    MSG-00001: (Import_purge 1) Check control table for the purge process
    MSG-00001: (Check_control_table 1) Lock the control table
    MSG-00003: (Check_control_table 2) Fetch import_requests
    MSG-00007: (Check_control_table 5) Insert record into control table
    MSG-00008: (Check_control_table 6) Commit
    MSG-00002: (Import_purge ) Deleting records in interface tables...
    MSG-00008: (Import_purge 5) Commit to the database
    MSG-00010: (Import_purge 7) Delete the previous record in ap_interface_controls
    But when I checked both the tables ap_invoices_interface and ap_invoice_lines_interface from backend, the records which should not exist for that particular source and which imported successfully (as purge all is 'No') are still existing in the tables. If I am correct, after successfull run, records should not exist for the source which have status "processed". Please correct me if I am wrong. I think I should log SR.
    Thanks & Regards,
    Sumir Chawla

  • 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

  • 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

  • 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

  • Payables Open Interface Import

    Currently the AP folks run the 'Payables Open Interface Import' for certain types of source's.
    I am trying to run the 'Payables Open Interface Import' request for a newer source. I am getting the following error:
    REP-1419: 'beforereport': PL/SQL program aborted.
    My parameters are almost the same (only the source name and the batch name are different) as what the AP folks are using. Their requests completed successfully...mine did not. How would I know which part of the before report is causing it to fail?
    Thanks,
    Chiru

    The before report trigger error does occur for n number of reasons...some of the solutions could be
    1. Setting up the debug/summarized params to Y or
    2. Two payables open interface import programs running at the same time and due to non-incompatibility setups, one of them is getting errored out. Try setting up incompatibility and this error will go away - the only problem with this approach is that if this program needs to run on frequent basis, then one will wait on other to complete and consume lot of time.
    3. Try to increase threads of concurrent manager under which this program runs for better resouce management.
    4. Check the normal AP side setups such as tax code definition, supplier site 'pay site flag' etc --Although before report error occurs at the place in rdf where these checks are yet not done but thought to share with you if it helps
    Thanks
    Girish

  • Payables Open Interface Import error

    Hi all
    I have the following issue in EBS R12.
    RDBMS : 11.2.0.3.0
    Oracle Applications : 12.1.3
    I'm inserting records into the AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE tables and then running the "Payables Open Interface Import" concurrent program.
    When I set the SOURCE column in the AP_INVOICES_INTERFACE table as a user-defined source (from AP_LOOKUP_CODES wher lookup_type = 'SOURCE') I get an error. If instead, I use a seeded source (ERS), it works. Every other field is exactly the same.
    There is no difference between the lookups in the AP_LOOKUP_CODES. There is one difference in the lookups in that ERS is created as a "INVOICE TRX SOURCE" in the Purchasing Lookups. I'm unable to add my user-defined source there because it is a protected System lookup.
    Looking a bit more, I noticed that ERS seems to have some additional lookups associated to it. Is there some configuration I need to do for my user-defined lookup? If so, where should I do it?
    Has anyone encountered this problem before? If so, what was your solution?
    Cheers,
    Sean

    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

  • 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

  • Payables Open Interface Import pass distribution set for header?

    Hi all,
    i'm using OEBS 12.1.3. I want to insert data into payables interface tables to create invoice via back-end. Is it possible to pass data for the DISTRIBUTION SET on header level? I searched in the table AP_INVOICES_INTERFACE but no such column founded. I'm able to pass info for the distribution on the line level...
    Any ideas?
    Thanks in advance,
    Bahchevanov.

    The before report trigger error does occur for n number of reasons...some of the solutions could be
    1. Setting up the debug/summarized params to Y or
    2. Two payables open interface import programs running at the same time and due to non-incompatibility setups, one of them is getting errored out. Try setting up incompatibility and this error will go away - the only problem with this approach is that if this program needs to run on frequent basis, then one will wait on other to complete and consume lot of time.
    3. Try to increase threads of concurrent manager under which this program runs for better resouce management.
    4. Check the normal AP side setups such as tax code definition, supplier site 'pay site flag' etc --Although before report error occurs at the place in rdf where these checks are yet not done but thought to share with you if it helps
    Thanks
    Girish

  • How to create cross charge AP invoice through Payables Open Interface Import

    Hi,
    I am working on developing an AP invoice interface program for creating cross charge invoices in Oracle 11i.
    Cross charge invoice means the supplier & site is from operating unit A, but the costing should hit the project number in Operating unit B.
    The pa_projects_all.allow_cross_charge_flag for the project number is set to Y. I am using below scripts to enter data into the interface tables:
    <code>
    INSERT INTO ap_invoice_lines_interface
                               (invoice_id,
                                invoice_line_id, line_type_lookup_code,
                                amount, org_id,
                                last_update_date, last_updated_by,
                                creation_date, created_by,
                                project_id, task_id,
                                expenditure_type, expenditure_item_date,
                                expenditure_organization_id
                        VALUES (v_invoice_id,
                                ap_invoice_lines_interface_s.NEXTVAL, 'ITEM',
                                c_line.invoice_amount, v_org_id,
                                TRUNC (SYSDATE), fnd_global.user_id,
                                TRUNC (SYSDATE), fnd_global.user_id,
                                v_project_id, v_task_id,
                                v_expenditure_type, v_expenditure_item_date,
                                v_organization_id
    INSERT INTO ap_invoices_interface
                         (invoice_id, invoice_num, invoice_date,
                          gl_date, vendor_id, vendor_site_id,
                          invoice_amount, invoice_currency_code,
                          exchange_rate, exchange_rate_type, exchange_date,
                          terms_id, terms_date, payment_method_lookup_code,
                          pay_group_lookup_code, payment_currency_code,
                          last_update_date, last_updated_by, creation_date,
                          created_by, SOURCE, org_id
                  VALUES (v_invoice_id, c_head.invoice_num, c_head.invoice_date,
                          c_head.gl_date, v_vendor_id, v_vendor_site_id,
                          c_head.invoice_amount, c_head.invoice_currency,
                          v_rate, 'Corporate', c_head.invoice_date,
                          v_terms_id, TRUNC (SYSDATE), v_payment_method,
                          v_paygroup, c_head.payment_currency,
                          TRUNC (SYSDATE), fnd_global.user_id, TRUNC (SYSDATE),
                          fnd_global.user_id, 'CONCUR', v_org_id
    <code>
    After inserting data into the interface tables, I submitted the Payable Open Interface Import with correct source and the record fails with below errors:
    REASON                         DESCRIPTION
    Account Required             An account is required
    PA Flexbuild Failed          Project Flexbuilder failed with error
    The above inserts are working fine for same entity invoices.
    I am not sure what could be the error.
    Any help is greatly appreciated.
    Thanks
    Imran

    Have you customized/setup the Project Accounting Workflow builder. You need to do some setup for this workflow builder so that the project accounts can be derived properly.

  • 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

Maybe you are looking for

  • I can't get my 4gig ipod nano to sync or restore settings.

    I can't get my 4gig Ipod nano to sync or restore factory settings.  My playlist is good and all songs have been checked and work right.  I get an error for no disc found when I try to sync up with my songs even when ipod is in disc mode.  When I try

  • Block from key in business area for company do not have business area

    Dear experts, How can I do a validation rule to block from key in business area for company do not have business area? Kindly advice. tks!

  • User exit/ Badi for Migo

    HI all, My requirement Is to POst another transaction at migo. lets say after transaction 909, i  have to create another material doc using BAPI_GOODSMVT_CREATE.. Is there a User exit or Badi which is safe to use?... i am currently using EXIT_SAPMM07

  • Firefox CS5: exporting multiple times?

    Hello, I want to export an image via batch or a script several times in different dimensions. e.g. the image scaled down to 500x300 px then exported as JPG with specific settings in a specific folder. Then in the 2nd step scaled again e.g. to thumbna

  • CR 2k8 Where is the CrystalReportViewer.DisplayGroupTree property?!?!?!

    Post Author: J.Salmon CA Forum: General I'm trying to hide the group tree during the initial print preview. All the documentation (like the 2k8 SDK guide: http://diamond.businessobjects.com/node/14841) and posts I read state to set crviewer.displaygr