R12 Payables Open Interface - Invalid Distribution Account

Hello All,
I am trying to run the payables open interface request in our R12.1.3 (test) instance. This is for a speicific expense batch. What is happening is in the same batch, some invoices got pulled in. However, a large portion of them got rejected due to 'Invalid distribution account'.
As such for the rejected invoice, the AP_INVOICE_LINES_INTERFACE has valid ids for DIST_CODE_COMBINATION_ID. However, the DISTRIBUTION_SET_NAME and the DISTRIBUTION_SET_ID are null. But they are null for an invoice that was successfully pulled in the same batch. Don't understand why!!??
I tried to run it in debug mode for a specific rejectd invoice in the interface/lines. That did not throw much light on what it could be.
I found a metalink note R12: APXIIMPT: Payables Import Rejecting All PO Invoices With Invalid Distribution Account Rejection Code [ID 1313553.1]...but this cannot be because, first of all some of the invoices made it through in the same batch. Also, other expense batches went through ok. So, I don't think it is a patch issue as outlined in that note.
Any suggestions as to what it could be?
Oracle Apps 12.1.3
DB 11.2.0.0
Unix IBM AIX (64 bit)
Thanks,
Monkey
Edited by: OAF_Monkey on May 10, 2012 1:16 PM

For whatever it is worth....
This is resolved by ledger set up--> Accounting Setups and adding the balancing segments for which the accounts relate to.

Similar Messages

  • Payable open interface-Multiple distribution lines

    Hi,
    As i know there is no distribution interface table in R12,there are only AP_INVOICES_INTERFACE and AP_INVOICE_LINES_INTERFACE.When i insert one line for one invoice header,it is creating one distribution line.
    Now my requirment is i want insert multiple distribution lines for invoice line.
    Is it possible?If yes,tell me the way...
    Is there any alternative ways?
    Thanks
    Praveen

    Hi Praveen
    How are you inserting the records into Interface Table ?
    Is it through SQL LOADER or a simple Insert Command from a PL/SQL Block ?
    While loading Multiple Distribution Lines for a Invoice Header in AP_INVOICES_LINES_INTERFACE Table we can pass the same HEADER_ID for Multiple Invoice Lines.
    Ex
    BEGIN
    INSERT INTO AP_INVOICES_INTERFACE(INVOICE_ID,INVOICE_NUM)VALUES(100,100);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,100,1);
    INSERT INTO AP_INVOICE_LINES_INTERFACE(INVOICE_ID,INVOICE_LINE_ID,LINE_NUMBER)VALUES(100,101,2);
    COMMIT;
    END;
    Please do let me know if you face any problems.
    Regards
    Nakul.V

  • R12 Payables Open Interface Tax

    Hi,
    I am in the process of designing an invoice interface into Payables for an R12 implementation.
    Can anyone tell me what I need to be aware of for eTax in R12?
    The file sent by the source system includes a tax amount which is the amount I would like imported on the invoice. However I think we have had problems with this when setting up demo's for workshops. We have had to let Oracle calculate the tax to get an invoice in successfully.
    Any information on tax on the interface would be appreciated.
    Thanks
    Heath

    -> An invoice with Multilple TAX lines having same Regime to Rate
    -> you need to pass the tax attributes else it will rejected during import by TAX validation
    Check the column line_group_number , which you need to populate

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

  • 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

  • Payables open interface not populating voucher_num in R12

    Hi All,
    We are migrating a set of invoices from 11i to R12 and we want the voucher num to be brought in as is.
    The payables open interface table has processed the invoice successfully but the voucher_num did not get populated in the base table.
    Can anyone let me know how we can populate the voucher num as is from 11i through Payables open interface.
    Thanks in advance.
    Cheers,
    MJ

    For whatever it is worth....
    This is resolved by ledger set up--> Accounting Setups and adding the balancing segments for which the accounts relate to.

  • Payables Open Interface Purge completes with error "Invalid Cursor"

    Hello,
    I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
    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-00004: (Check_control_table 3) Check concurrent program status
    MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
    MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
    MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
    MSG-00999: (Import_purge 1) Check control table for the purge process
    MSG-00999: Delete record in control table..
    MSG-00999: ORA-01001: invalid cursor
    REP-1419: 'beforereport': PL/SQL program aborted.
    Thank you.

    I'm trying to run Payables Open Interface Purge (version 115.8) and get an invalid cursor error in the beforereport trigger. Does anyone know the cause and remedy of this? A portion of the log is below. I've looked at the cursor and everything looks fine to me.
    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-00004: (Check_control_table 3) Check concurrent program status
    MSG-00999: FUNCTION GET_REQUEST_STATUS ERROR, Reason:
    MSG-00999: FND_CONCURRENT.GET_REQUEST_STATUS<-Check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
    MSG-00999: check_control_table<-Import_purge<- Before report trigger <- APXIIPRG
    MSG-00999: (Import_purge 1) Check control table for the purge process
    MSG-00999: Delete record in control table..
    MSG-00999: ORA-01001: invalid cursor
    REP-1419: 'beforereport': PL/SQL program aborted.11i: Payables Open Interface Invoice Import Troubleshooting Guide (APXIIMPT) [ID 107628.1] -- 3. Open Interface Import Purge Fails with ORA-01001: Invalid Cursor
    Thanks,
    Hussein

  • 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

  • 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

  • R12 - Match Credit Memo in Payables Open Interface

    Hi,
    Is it possible to match a credit memo in the Payables Open Interface and if so how?
    I thought the PRICE_CORRECT% fields on the AP_INVOICE_LINES_INTERFACE table may help but they appear to want a PO to match to.
    Any help appreciated.
    Thanks
    Heath

    For whatever it is worth....
    This is resolved by ledger set up--> Accounting Setups and adding the balancing segments for which the accounts relate to.

  • PAYABLE OPEN INTERFACE IN R12 NOT PICKING INTERFACE TABLE DATA ...

    The data is getting loaded into interface tables. But while importing from interface tables to base tables using "Payables Open Interface Import " receiving the log message
    Enter Password:
    MSG-00000: 0 invoice(s) were created during the process run
    MSG-00000: 0 invoice(s) were fetched during the process run
    MSG-00000: summarize flagN
    MSG-00883: After Repport Trigger: Setting the Org Context to Multiple
    The invoices are not getting loaded into base table. Checked table ap_interface_rejections. There is no data present in this table.
    Can some body on this forum help.
    Thank you in advance.
    Thanks and Regards,
    Sreenivas Muppasani
    91-9731068499

    Hi Sreenivas and Raju,
    there are two related documentations available in oracle, first states it could be a Report Cache issue which needs to be cleared, another one was a bug where patch application was suggested .....
    Can you check the references link and confirm that is not the cause ... if not try entering minimal (mandatory) information alone on the interface table and attempt importing ....?
    References:
    APXIIMPT - Payables Open Interface Import In Error [ID 1307261.1]     
    R12AP: Interface Does Not Copy The DFF Values From Lines To Distribution. [ID 1457398.1]     
    Regards,
    Ivruksha

  • 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

  • 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

  • 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 failed-help plz.

    All,
    Version: 11.5.10.2
    The project is about integrating the legacy system with Oracle 11i. i.e we are importing invoices created in 3rd party appln and importing it to Oracle thru Payables Open interface. I'm stuck with 1 use case. i.e invoice against a PO having split accounting.
    scenario 1:
    1. created a PO in Oracle with 1 line having 2 distributions
    2. Against the same PO, invoice is created with for the same line item and imported to Oracle. I populated PO related info in PONumber,POLineNumber and POShipmentNum in the ap_invoice_lines_interface table.
    3. Payables OPen interface worked fine
    scenario 2:
    1. Against the same PO having split, created an invoice for the line item, this time I added a freight on to it.
    2. Concurrent failed(i.e it didnt throw any error to the ap rejections table),
    3. so i populated po_distribution_num to the ITEM line, and ran the concurrent again. It processed the invoice successfully.
    I've following queries:
    1. In the 1st scenario, without populating po_dist_num to the lines table, conc. processed the invoice successfully
    2. In the 2nd, only after populating the po_dist_num, the conc. processed it successfully
    3. In what scenario/test case, does the payables open interface expects po_dist_num?
    Please advise.
    Rgds,
    Sen

    All,
    Version: 11.5.10.2
    The project is about integrating the legacy system with Oracle 11i. i.e we are importing invoices created in 3rd party appln and importing it to Oracle thru Payables Open interface. I'm stuck with 1 use case. i.e invoice against a PO having split accounting.
    scenario 1:
    1. created a PO in Oracle with 1 line having 2 distributions
    2. Against the same PO, invoice is created with for the same line item and imported to Oracle. I populated PO related info in PONumber,POLineNumber and POShipmentNum in the ap_invoice_lines_interface table.
    3. Payables OPen interface worked fine
    scenario 2:
    1. Against the same PO having split, created an invoice for the line item, this time I added a freight on to it.
    2. Concurrent failed(i.e it didnt throw any error to the ap rejections table),
    3. so i populated po_distribution_num to the ITEM line, and ran the concurrent again. It processed the invoice successfully.
    I've following queries:
    1. In the 1st scenario, without populating po_dist_num to the lines table, conc. processed the invoice successfully
    2. In the 2nd, only after populating the po_dist_num, the conc. processed it successfully
    3. In what scenario/test case, does the payables open interface expects po_dist_num?
    Please advise.
    Rgds,
    Sen

Maybe you are looking for

  • Someone tell me why is it so difficult to print from my Intel Mac Mini

    I'm so frusrated at this Intel Mac Mini of mine. I wish honest to God that I never bought this evil little machine. I have the following printers: HP Photosmart 7550 HP Laserjet 1012 Canon MP830 I can't get anything to print! It so **** frustrating.

  • DVI to component adapter and G5

    Hello, I was wondering if a DVI to component adapter will work with my 1.8mhz G5? I want to connect my computer to my HDTV, but I am not sure if these adapters will work. Thanks for any help, John

  • ME_GUI_PO_CUST

    I have implemented the badi ME_GUI_PO_CUST  at header level of PO adding 2 custom fields , when i try to save the data it gives "NO DATA CHANGED" please advice

  • Ovi player

    hi, I just bought me new x3 and also recieved a cd for ovi player with it..  But it woun't install..   i tried many times..   but its shows ""  connection error.failed""   my internet connection is perfect..  I am new to ovi suits and these softwares

  • Create dynamic structure

    Is there any way to create a dynamic work-area, similar to cl_alv_table_create=>create_dynamic_table????