FDMEE: Source Period Mapping in Open Interface Adaptor

Hello,
I want to use open interfce Adaptor to load data in FDMEE (AIF_Open_Interface) from a Custom SQL Source where periods are in rows and data in last column of SQL table, like
Fyear      period      entity      account      Currency      Data
2012      1           10000           100022       USD          171778.87
2012      1         10000           100022       USD           -10343
please suggest, how can i bring this data in FDMEE ?
Many Thanks !!!

Hi Ramanujam,
There are 3 methods to update the Calendar or defining the period
E-Business Suite and PeopleSoft calendars have these important elements:
Calendar—Identifier for a calendar
Start Date—Start date of the period
End Date—End date of the period
Refer the section "Define Period mappings" (Pg 102 - 108) in guide - http://docs.oracle.com/cd/E40248_01/epm.1112/erpi_admin.pdf
Thanks,

Similar Messages

  • How to update calander in FDMEE source period mapping

    Hi,
    We are trying to find to update the calender in FDMEE source period mapping.
    i have attached the screenshot. Once i selected the calendar MD(jan - Dec),the GL year details upto 2014 is coimg up where as 2015 is still missing.
    We would like to know how to add 2015 year details....where this calendar is being maintained.
    Our source is Peoplesoft General Ledger and target is "ARM".
    Please advise.
    Thanks,
    Ramanujam

    Hi Ramanujam,
    There are 3 methods to update the Calendar or defining the period
    E-Business Suite and PeopleSoft calendars have these important elements:
    Calendar—Identifier for a calendar
    Start Date—Start date of the period
    End Date—End date of the period
    Refer the section "Define Period mappings" (Pg 102 - 108) in guide - http://docs.oracle.com/cd/E40248_01/epm.1112/erpi_admin.pdf
    Thanks,

  • Multi Period Load using Open Interface Adapter in FDMEE

    There was a similar question, but it didn't exactly cover this.   I already have a ticket open with oracle, but I'm hoping someone here can help.
    We currently use a Before Improt script to populate the Open Interface Adapter table.  As a simple example, we data from a PeopleSoft ledger for a period to load to our Hyperion Planning system.
    The Workbench process works perfectly.  Import for January 2014 grabs the data for 2014 from PS and loads it through.  Ideally we would like to be able to use the Data Load Rule option to execute the process for a range of periods, so that I could reload all of 2014 by selecting a Start Period of Jan 2014 and an end period of Dec 2014. 
    Unfortunately what currently happens is only the first period is processed despite the range.
    I've seen several references to period mappings as possible solutions.  This information was already verified by Oracle, but for the clarification, we've create them and mapped them at an applicaiton level.
    Any ideas as to why it would only run the first period of the range?

    Just an update:
    In order to use the Start Period/End Period functionality, you must specify a source period mapping and define a calendar in the rule.
    This issue "partially" solved my problem, however it turns out the BefImport and other Event Scripts only run once for the range.  Using the select query below:
    "Select * From AIF_PROCESS_PERIODS where PROCESS_ID = '" + str(LoadID) + "' Order by PeriodKey ASC"
    I was able to optain the records containing the periods in the Start/End range, so I was able to just create loops in the BefImport and other event scripts as necessary to mimic the running of the event scripts on all periods in the range.
    That said, I still have no solution for executing target application calcs (we have one calc that runs before load to do a clear and another after load that runs an aggregation).
    Anyone have any thoughts on how to make those calls loop?  Because the ranges can cross years, I can't just pass the periods to the calc since Jan-FY14 to Feb-FY15 isn't just Jan to Feb and FY14, FY15 (which would only be 4 periods total vs the 14 it should be).
    Alternatively, is there an easy way to call a essbase calc script from an event script?

  • JAEHYLEE  (R11i AP)   Payables Open Interface Import  REJECT CODE:NO TERMS

    Purpose
    Payables Open Interface Import REJECT CODE:NO TERMS
    Symptoms
    'EDI' Source로 invoice를 import할때 Payables Open Interface Import program 이 error로 종료된다
    정상적인 에러 No Terms로 출력이 되나 , 데이타 상에는 아무 이상이 없으며
    debug log file 의 reject code는 NO TERMS INFO라고 출력된다
    REJECT CODE:NO TERMS INFO
    CauseThe import program in procedure v_check_invalid_terms does not have exception handling. So, when ever it has exceptions like no_data_found or too_many_rows control was returning to the final exception block and the procedure was returning false to the calling procedure. Hence the error instead of Reject reason.
    Bug 4704918 - APXIIMPT DOESN'T REJECT INVOICES WITH INCONSISTENT TERMS.
    Solution
    AP.N이상에서 patch 4755024를 적용
    Please apply Patch 4755024 - 1OFF:4704918:AP.N:FP.G:11.5.10:APXIIMPT DOESN'T REJECT INVOICES
    Reference
    Note 359089.1

    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.

  • 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

  • Open Interface for Approved Supplier Lists and Sourcing Rules

    Hi All,
    Is there an open interface or an API available for Appeoved Supplier Lists and Sourcing Rules.
    Thanks and Regards,
    MPH

    Hi sandeep,
    I prefer to use the API mentioned.
    However this is in Oracle Manufactirung and we dont use that module instead I want to define them in Oracle Purchasing.
    can I still do it in Purchasing using the same API.
    Further as per the document there are 3 entities
    01) Sourcing Rule/Bill of Distribution
    02) Receiving Organization
    03) Shipping Organization
    Do I need to define all 3 in order to make it work?
    Thanks and Regards,
    MPH

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

  • PAYABLES OPEN INTERFACE INVOICE IMPORT 시 REQUIRED FIELD 정보

    제품 : FIN_AP
    작성날짜 : 2005-05-10
    PAYABLES OPEN INTERFACE INVOICE IMPORT 시 REQUIRED FIELD 정보
    ==========================================================
    PURPOSE
    AP Open Interface Invoice Import 를 통해 Invoice 를 생성 코자 할 경우 반드시 필요한 Field 에 대한 정보이다.
    Explanation
    1. PO 나 Project 과 Match 하지 않는 Invoice Case
    Table : AP_INVOICE_INTERFACE
    ==============================
    Required Columns
    ================
    -INVOICE_ID : AP_INVOICES_INTERFACE_S.NEXTVAL를 이용하여 생성됨
    -INVOICE_NUM : 특정 Supplier 내에서는 unique 해야함
    -VENDOR_ID/VENDOR_NUM/VENDOR_NAME : Active 하여야 하며 PO_VENDORS과 Mapping
    -VENDOR_SITE_ID/VENDOR_SITE_CODE : Active 한 Site 여야 하며 PO_VENDOR_SITES table과 mapping
    -INVOICE_AMOUNT : 'STANDARD' type인 경우에는 양수, 'CREDIT' type인 경우는 음수를 입력
    -ORG_ID : AP_SYSTEM_PARAMETERS.ORG_ID
    -SOURCE : select lookup_code from ap_lookup_codes where lookup_type='SOURCE' 중 하나
    Table : AP_INVOICE_LINES_INTERFACE
    ==================================
    Required Columns for LINE_TYPE_LOOKUP_CODE = 'ITEM'
    ===================================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE :'ITEM'
    -AMOUNT
    -ACCOUNTING_DATE: Optional. Defaulted from INVOICE_DATE or SYSDATE
    - DIST_CODE_CONCATENATED / DIST_CODE_COMBINATION_ID
    : select code_combination_id from gl_code_combinations
    where account_type = 'E' and enabled_flag = 'Y'
    and summary_flag = 'N'
    and sysdate between nvl(start_date_active, sysdate-1)
    and nvl(end_date_active, sysdate+1))
    Required Columns for LINE_TYPE_LOOKUP_CODE = 'TAX'
    ===================================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE : 'TAX'
    -TAX_CODE / TAX_CODE_ID : AP_TAX_CODES_ALL table에서 mapping
    -AMOUNT
    -ACCOUNTING_DATE : Optional. Defaulted from INVOICE_DATE or SYSDATE
    -DIST_CODE_CONCATENATED or DIST_CODE_COMBINATION_ID
    : select code_combination_id from gl_code_combinations
    where account_type = 'E' and enabled_flag = 'Y'
    and summary_flag = 'N'
    and sysdate between nvl(start_date_active, sysdate-1)
    and nvl(end_date_active, sysdate+1))
    2. PO Matched Invoice 의 경우                    Table: AP_INVOICE_INTERFACE
    ============================
    Required Columns
    ================
    -INVOICE_ID : AP_INVOICES_INTERFACE_S.NEXTVAL를 이용하여 생성됨
    -INVOICE_NUM : 특정 Supplier 내에서는 unique 해야함
    -PO_NUMBER : approved 된 PO 여야 하며 cancelled, closed 혹은 final closed 된 PO NUMBER 는 안됨. PO_HEADERS Table 과 mapping
    -INVOICE_AMOUNT : 'STANDARD' type인 경우에는 양수, 'CREDIT' type인 경우는 음수를 입력
    -SOURCE : select lookup_code from ap_lookup_codes where lookup_type='SOURCE'
    -ORG_ID : AP_SYSTEM_PARAMETERS_ALL.ORG_ID
    Table: AP_INVOICE_LINES_INTERFACE
    =================================
    Required Columns for PO Matched Lines
    =====================================
    -INVOICE_ID : AP_INVOICES_INTERFACE.INVOICE_ID
    -INVOICE_LINE_ID : AP_INVOICE_LINES_INTERFACE_S.NEXTVAL
    -LINE_NUMBER : 해당 invoice 내에서 unique 해야함.
    -LINE_TYPE_LOOKUP_CODE : 'ITEM'
    -AMOUNT : QUANTITY_INVOICED * UNIT_PRICE
    If MATCH_OPTION is 'P', then populate:
    -RELEASE_NUM or PO_RELEASE_ID : Blanket Release only, validated against PO_RELEASES_ALL
    -PO_NUMBER or PO_HEADER_ID : Validated against PO_HEADER_ALL
    -PO_LINE_NUMBER or PO_LINE_ID : Validated against PO_LINES_ALL
    -PO_SHIPMENT_NUM or PO_LINE_LOCATION_ID : Validated against PO_LINE_LOCATIONS_ALL
    If MATCH_OPTION is 'R', then populate:
    -RECEIPT_NUMBER : RCV_SHIPMENT_HEADERS.RECEIPT_NUM
    -RCV_TRANSACTION_ID or PO_LINE_LOCATION_ID : RCV_TRANSACTIONS과 Mapping
    Example
    Reference Documents
    Note 205331.1

    Chandrasekar,
    as i know, the main thing you should consider is, that starting from R12 you will
    be able to import invoices only through the Payables Open Interface.
    basically, Invoice Import is used by OA to create invoice (from expense reports or from Oracle Projects). for standard invoice import, i've ever used Payables Open Interface.
    Milan
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Chandrasekara Kayamboo ([email protected]):
    I would like to know which is the best way to import invoice and what are the advantages and disadvange in each.
    Regards
    Chandrasekar<HR></BLOCKQUOTE>
    null

  • Open Interface Rejects - SQL Report

    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!

    945273 wrote:
    Hi guys, I'm trying to help out some folks in AP with an easier access to view Open Interface rejects. I already knew the relation between AP_INVOICES_INTERFACE and AP_INTERFACE_REJECTIONS was INVOICE_ID AND PARENT_ID (respectively). Now I've seen that some invoices also have a relation between AP_INVOICE_LINES_INTERFACE and AP_INTERFACE_REJECTIONS, same columns related (INVOICE_ID AND PARENT_ID respectively).
    What I'm having a problem with, maybe I've just been sitting here too long, but I cannot get it all into one report.
    I tried this, but it's giving me way more records than it should:
    SELECT AIR.CREATION_DATE
    , AIR.REJECT_LOOKUP_CODE
    , AII.PO_NUMBER
    , AII.GROUP_ID
    , AII.VENDOR_NUM
    , AII.INVOICE_NUM
    , AII.INVOICE_DATE
    , AII.INVOICE_AMOUNT
    , AII.SOURCE
    FROM AP.AP_INTERFACE_REJECTIONS AIR
    , AP.AP_INVOICES_INTERFACE AII
    , AP.AP_INVOICE_LINES_INTERFACE AILI
    WHERE (AII.INVOICE_ID = AIR.PARENT_ID AND AII.ORG_ID = 162)
    OR (AILI.INVOICE_ID = AIR.PARENT_ID AND AILI.ORG_ID = 162)
    Any thoughts on where I mucked it up or how I could actually go about this? What shows in the actual Open Interface app is a good start, it's just missing some fields like vendor name and reject lookup code.
    Thanks for any help!I don't know the table strructures or relationships, but based on what you said, I think you want something more like:
    SELECT air.creation_date, air.reject_lookup_code, aii.po_number, aii.group_id,
           aii.vendor_num, aii.invoice_num, aii.invoice_date, aii.invoice_amount,
           aii.source
    FROM ap.ap_interface_rejections air, ap.ap_invoices_interface aii,
         ap.ap_invoice_lines_interface aili
    WHERE ali.invoice_id = alii.invoice_id and
          ali.invoice_id = air.parent_id and
          aii.org_id = 162You may need/want to add the org_cd predicate to the interfact lines as well, depending if there could be invoices with the same id in multiple orgs.
    Assuming you have the relations correct, this should give you a row for every line on every invoice that has a row in the ap_interface_rejections table. It might be worthwhile to look at the ap_interface_rejections table to see if it has an analog for the invoice line number, which could also be used in the join, to get a more specific result set.
    John

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

  • CE Bank Statement Open Interface

    Hi,
    I have successfully run the Bank Statement Loader for Open Interface.
    Then I run the 2nd step > Bank Statement Import:
    The docs said:
    2. Bank Statement Import
    The required parameters to this job are the following:
    Bank Branch Name - Provide the bank branch name that you setup in the Bank
    Account Setup section.
    GL Date - Although this parameter is not marked as required, the import will
    often fail if you do not provide a value for this parameter.  The date must in
    an open period in both AP and AR.
    Note:  If you have multiple files loaded, but only want to import one of them,
    use the Statement Date or Statement Number range parameters to limit the import
    job.
    If successful, this program moves records from the
    CE_STATEMENT_HEADERS_INTERFACE and CE_STATEMENT_LINES_INTERFACE tables into
    the CE_STATEMENT_HEADERS and CE_STATEMENT_LINES tables.May run request was successful, and I got this logs
    Output log
                                                                   Execution Report                       Report Date   26-MAR-09 20:28
                                                                                                                 Page     1 of      1
    Statement Number        -
    Statement Date          -
    Bank Branch Name       Rufino                                       Bank Name            Asia United Bank
    Bank Account Number     -                                           Bank Account Currency    -
    Bank Account Name       -
                              ******* Program Ran Successfully, No Error Found. ********View Log
    +---------------------------------------------------------------------------+
    Cash Management: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CEIMPERR module: Bank Statement Import Execution Report
    +---------------------------------------------------------------------------+
    Current system time is 26-MAR-2009 20:28:57
    +---------------------------------------------------------------------------+
    +-----------------------------
    | Starting concurrent program execution...
    +-----------------------------
    Arguments
    P_BANK_BRANCH_ID='3104'
    P_SQL_TRACE='N'
    P_DISPLAY_DEBUG='N'
    Current NLS_LANG and NLS_NUMERIC_CHARACTERS Environment Variables are :
    American_America.US7ASCII
    Enter Password:
    Report Builder: Release 10.1.2.2.0 - Production on Thu Mar 26 20:28:58 2009
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    +---------------------------------------------------------------------------+
    Start of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    End of log messages from FND_FILE
    +---------------------------------------------------------------------------+
    +---------------------------------------------------------------------------+
    Executing request completion options...
    +------------- 1) PRINT   -------------+
    Printing output file.
                   Request ID : 328310      
             Number of copies : 0      
                      Printer : noprint
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 26-MAR-2009 20:29:00
    +---------------------------------------------------------------------------+Why is that my
    CE_STATEMENT_HEADERS
    and
    CE_STATEMENT_LINES
    have no rows?
    Thanks a lot

    The error tables has no contents either :(
    The trace files does not help much , I want to know the program part that inserts into the target tables, but its just showing other reports process :((
    trace file
    PARSING IN CURSOR #2 len=11462 dep=0 uid=173 oct=3 lid=173 tim=1209109154828460 hv=1080153458 ad='436471d8'
    SELECT /* Created Miscellaneous Receipt */
            l1.meaning                              error_type,
            'D'                             break_group,
            sh.statement_number                     statement_no,
            sh.doc_sequence_value                                   doc_sequence_value,
            sl.line_number                  line_no,
            sh.statement_date                       statement_date,
            sl.trx_date                             trx_date,
            ba.bank_account_num                     bank_acc,
            ba.bank_account_name            bank_account_name,
            ba.currency_code                        acc_currency,
            NULL                            message_name,
            nvl(sl.amount,0)                        amount,
            acr.currency_code                       C_CURRENCY_CODE,
            l2.meaning                              trx_type,
            acr.receipt_number                      trx_no,
            'CE'                            application_short_name,
            bb.branch_party_id                      bank_branch_id
    FROM        ce_lookups                  l1,
            ce_lookups                      l2,
            ce_bank_accts_gt_v                      ba,
            ce_bank_branches_v                      bb,
                       ce_statement_headers         sh,
                       ce_statement_lines                   sl,
            ar_cash_receipts_all    acr,
                       ce_222_reconciled_v cr
      WHERE l1.lookup_type = 'ABR_REPORT_EXCEPTIONS' AND l1.lookup_code = 'MISC_RECEIPT_CREATED' AND l2.lookup_type = 'BANK_TRX_TYPE' AND l2.lookup_code = sl.trx_type AND bb.branch_party_id = ba.bank_branch_id AND bb.branch_party_id = : P_BANK_BRANCH_ID AND ba.bank_account_id = sh.bank_account_id AND sh.statement_header_id = sl.statement_header_id AND ba.bank_account_id = DECODE ( : P_BANK_ACCOUNT_ID , NULL , ba.bank_account_id , : P_BANK_ACCOUNT_ID ) AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) >= nvl ( to_char ( : P_STAT_DATE_FROM , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) <= nvl ( to_char ( : P_STAT_DATE_TO , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND sh.statement_number >= nvl ( : P_STAT_NUMBER_FROM , sh.statement_number ) AND sh.statement_number <= nvl ( : P_STAT_NUMBER_TO , sh.statement_number ) and acr.cash_receipt_id = cr.cash_receipt_id and cr.statement_line_id = sl.statement_line_id and acr.comments = 'Created by Auto Bank Rec' UNION ALL SELECT    /* Reconciliation errors */
            l1.description                  error_type,
            'C'                             break_group,
            sh.statement_number                     statement_no,
            sh.doc_sequence_value                                   doc_sequence_value,
            sl.line_number                  line_no,
            sh.statement_date                       statement_date,
            sl.trx_date                             trx_date,
            ba.bank_account_num                             ba.bank_account_name            bank_account_name,
            ba.currency_code                        acc_currency,
            e.message_name                          message_name,
            to_number(NULL)                 amount,
            ba.currency_code                        C_CURRENCY_CODE,
            NULL                            trx_type,
            NULL                            trx_no,
            NVL(e.application_short_name,'CE')      application_short_name,
            bb.branch_party_id                      bank_branch_id
    FROM        ce_lookups                          l1,
            ce_bank_accts_gt_v                      ba,
            ce_bank_branches_v                      bb,
                       ce_statement_headers         sh,
            ce_reconciliation_errors                e
      WHERE l1.lookup_type = 'ABR_REPORT_EXCEPTIONS' AND l1.lookup_code = 'RECONCILIATION' AND bb.branch_party_id = ba.bank_branch_id AND bb.branch_party_id = : P_BANK_BRANCH_ID AND ba.bank_account_id = sh.bank_account_id AND ba.account_classification = 'INTERNAL' AND sh.statement_header_id = e.statement_header_id AND e.statement_line_id is null AND ba.bank_account_id = DECODE ( : P_BANK_ACCOUNT_ID , NULL , ba.bank_account_id , : P_BANK_ACCOUNT_ID ) AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) >= nvl ( to_char ( : P_STAT_DATE_FROM , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) <= nvl ( to_char ( : P_STAT_DATE_TO , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND sh.statement_number >= nvl ( : P_STAT_NUMBER_FROM , sh.statement_number ) AND sh.statement_number <= nvl ( : P_STAT_NUMBER_TO , sh.statement_number ) UNION ALL ( SELECT     /* Header interface errors */
            l.description                   error_type,
            'A'                             break_group,
            e.statement_number                      statement_no,
                      to_number(NULL)                       doc_sequence_value,
            1                               line_no,
            sh.statement_date                       statement_date,
            sh.statement_date                       trx_date,
            e.bank_account_num                      bank_acc,
            ba.bank_account_name            bank_account_name,
            ba.currency_code                        acc_currency,
            e.message_name                  message_name,
            0                               amount,
            ' '                             C_CURRENCY_CODE,
            ' '                             trx_type,
            ' '                             trx_no,
            NVL(e.application_short_name,'CE')      application_short_name,
            bb.branch_party_id                      bank_branch_id
    FROM         ce_lookups                 l,
                       ce_statement_headers_int     sh,
                       ce_header_interface_errors   e,
            ce_bank_branches_v              bb,
            ce_bank_accts_gt_v              ba
    bank_acc,   WHERE l.lookup_type = 'ABR_REPORT_EXCEPTIONS' AND l.lookup_code = 'STATEMENT' AND sh.bank_account_num = e.bank_account_num AND sh.statement_number = e.statement_number AND sh.bank_branch_name = bb.bank_branch_name AND e.bank_account_num = NVL ( ba.bank_account_num , e.bank_account_num ) AND ba.bank_branch_id = bb.branch_party_id AND bb.bank_branch_name = DECODE ( : C_BANK_BRANCH_NAME_DSP , : C_ALL_TRANSLATION , bb.bank_branch_name , : C_BANK_BRANCH_NAME_DSP ) AND ba.bank_account_id = NVL ( : P_BANK_ACCOUNT_ID , ba.bank_account_id ) AND ba.account_classification = 'INTERNAL' AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) >= nvl ( to_char ( : P_STAT_DATE_FROM , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND to_char ( sh.statement_date , 'YYYY/MM/DD' ) <= nvl ( to_char ( : P_STAT_DATE_TO , 'YYYY/MM/DD' ) , to_char ( sh.statement_date , 'YYYY/MM/DD' ) ) AND sh.statement_number >= nvl ( : P_STAT_NUMBER_FROM , sh.statement_number ) AND sh.statement_number <= nvl ( : P_STAT_NUMBER_TO , sh.statement_number )thanks

  • 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

  • Material Transaction Open Interface Error

    Hi,
    I'm getting following Error in Cost Manager after running the Transaction Open Interface,
    Interface work well to update the stocks, but it returns error Layer Cost Worker Concurrent.
    Error1
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPLVCP.interorg (160): ORA-00001: unique constraint (INV.MTL_CST_TXN_COST_DETAILS_U1) violated
    Failing Transaction ID is 28227
    Start of log messages from FND_FILE
    Standard costing org : -1
    Interorg transfer send org: (consume layers) ...
    84:5
    28227:1
    Entering get_layers_consumed for transaction 28227 and a required quantity of 2 with a consumption mode of NORMAL
    Trying custom layers
    There are 0 custom layers
    General consumption
    Using SQL SELECT inv_layer_id,layer_quantity FROM cst_inv_layers WHERE layer_id = :i AND inv_layer_id <> :j AND NVL(transaction_source_id,-2) <> :k AND layer_quantity > 0 ORDER BY creation_date, inv_layer_id with 1,-1,-1
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    Error2
    Bills of Material: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    CMCLCW module: Layer Cost Worker
    Current system time is 10-OCT-2012 14:16:32
    debug_level = 0
    CM_EXTENDED_DEBUG = 2
    CSTPLCIN.COST_INV_TXN:CSTPACDP.insert_account (10) ORA-01400: cannot insert NULL into ("INV"."MTL_TRANSACTION_ACCOUNTS"."BASE_TRANSACTION_VALUE")
    Failing Transaction ID is 28228
    Start of log messages from FND_FILE
    Standard costing org : -1
    ----------l_to_method---------
    =5
    Interorg transfer receiving org: (create layers) ...
    90:5
    28228:2
    i_txn_id 28228
    1 records updated in mclacd for 15005
    1 records copied from mclacd for 15005
    interorg_cost_txn(..)
    transaction_id:28228
    org_id:90
    i_txn_org_id:90
    i_txf_org_id:84
    i_txf_txn_id:28227
    i_exp_item:0
    i_fob_point:0
    l_snd_rcv:2
    l_from_org:84
    l_to_org:90
    Sending org distributions
    Receiving org distributions
    l_intransit:0
    Calling Inventory acct
    In Inventory_accounts
    In insert accounts
    l_ussgl_tc :
    Payable amount(l_value): acct: 414240
    In insert accounts
    l_ussgl_tc :
    DS - others Exception, sqlcode = -1400
    End of log messages from FND_FILE
    No completion options were requested.
    Output is not being printed because:
    The print option has been disabled for this report.
    Deleting output file.
    Concurrent request completed
    Current system time is 10-OCT-2012 14:16:32
    My Coding
    insert into mtl_transactions_interface
    (transaction_type_id, --------------1
    transaction_uom, --------------2
    transaction_date, --------------3
    organization_id, --------------4
    transaction_quantity, --------------5
    last_update_date, --------------6
    last_updated_by, --------------7
    creation_date, --------------8
    created_by, --------------9
    transaction_mode, --------------10
    process_flag, --------------11
    source_header_id, --------------12
    source_line_id, --------------13
    source_code, --------------14
    transaction_header_id, --------------15
    inventory_item_id, --------------16
    transaction_interface_id, --------------17
    subinventory_code, --------------18
    distribution_account_id, --------------19
    transaction_cost, --------------20
    transaction_reference, --------------21
    transfer_organization, --------------22
    transfer_subinventory, --------------23
    -- transfer_cost, --------------24
    primary_quantity, --------------25
    lock_flag,
    transaction_action_id,
    transaction_source_type_id,
    dst_segment1,
    dst_segment2,
    dst_segment3,
    dst_segment4,
    dst_segment5,
    dst_segment6)
    values
    (v_trx_type_id, --------------1 ------transaction type id
    i.uom_code, --------------2 ------transaction_UoM
    sysdate, i.creation_date, ------------3 ------trasnsaction date
    i.from_organization_id, --------------4 ------org id
    nvl(i.quantity_delivered, i.quantity), --------------5 ------quantity
    sysdate, --------------6 ------Last update date
    -1, --------------7 ------last updated by
    sysdate, --------------8 ------creation date
    -1, --------------9 ------creation by
    3, --------------10 ------transactio mode
    1, --------------11 ------process flag
    1, --------------12 ------source_header_id
    1, --------------13 ------source_line_id
    i.mrn_trx_number, --'MRN Interface', --------------14 ------source code
    '999999', --------------15 ------transaction header id
    v_item_id, --------------16 ------inventory item id
    xx_mrn_mtl_trx_int_seq.nextval, --------------17 ------transaction_interface_id
    i.from_subinventory_code, --------------18 ------sub inventory
    v_code_id, --------------19 ------code compbination
    v_item_cost, --------------20 ------cost
    'MRN Interface', --------------21 ------reference
    i.organization_id, --------------22
    i.to_subinventory_code, --------------23
    -- (nvl(i.quantity_delivered, i.quantity) * v_item_cost) --------------24
    nvl(i.quantity_delivered, i.quantity),
    2,
    v_trx_action_id,
    v_trx_source_type_id,
                   '01',
                   '00',
                   '000',
                   '141013',
                   '000000',
                   '00000');
    Thanks

    Can you get the following for the errored transaction?
    SELECT   transaction_id txnid, transfer_transaction_id txfrtxnid
           , organization_id orgid, transfer_organization_id txfrorgid, subinventory_code subinv
           , transfer_subinventory txfrsubinv, cost_group_id cgid
           , transfer_cost_group_id txfrcgid       , prior_costed_quantity
           , transfer_prior_costed_quantity       , rcv_transaction_id rcvtxnid
           , transaction_action_id txnactid       , transaction_source_type_id txnsrctypid
           , transaction_type_id txntypid       , costed_flag cstdflg
           , transaction_group_id       , inventory_item_id invitmid
           , transaction_source_id wip_entity_id       , transaction_cost txncst
           , shipment_number shipnum       , new_cost       , prior_cost
           , actual_cost       , project_id       , transaction_uom txnuom
           , transaction_quantity txnqty       , primary_quantity priqty       , prior_costed_quantity priorqty
           , currency_code altcurr       , currency_conversion_rate currconvrt       , currency_conversion_date currconvdt
           , TO_CHAR (mmt.creation_date, 'dd-mm-yyyy hh24:mi:ss') creation_date
           , TO_CHAR (mmt.last_update_date, 'dd-mm-yyyy hh24:mi:ss')last_upd_date
           , ERROR_CODE errcode
           , error_explanation errexpl
        FROM mtl_material_transactions mmt
       WHERE transaction_id IN (&Trx_Id)   -- Error transaction_id
    ORDER BY transaction_id DESC

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

  • 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

Maybe you are looking for

  • 24" IMAC 09 - Replacing HDD -  Size, Hybrid, speed?

    HDD went down, got it back but it's not right.  Am replacing, would like to get Hybrid, but seems they are all 2.5", use adapter, probably not, Recommendations for HDD, 1 tb, 7,200 RPM, 6GBS?  Just inquiring what people are using, and am especially i

  • Album art on nano messed up

    hey my friends iPod nano sometimes shows the wrong album art on the iPod...for example she will be playing a Linkin Park song, and the album art will be something else (e.g. one time it showed Dane Cook instead) and i was jus wondering wha's wrong...

  • HTTP POST from ECC 6.0 to XI

    On ECC 6.0, I have an XMLstring that I need to post to an external URL.  I need this to go through XI.  It is actually an HTTPS post.  How can this be accomplished?  Can anyone point me in the right direction as far as how this would work in XI?  Her

  • In search of a genius

    I'm in big trouble ... I'm way behind in my project and I've got a very simple problem that is wrecking my head. Here's a simplified version of the problem ... import java.net.*; import java.io.*; public class CheckStream1 { private ObjectInputStream

  • Jagged vector graphics from Illustrator in Indesign

    Using CS3, Leopard, have all updates. I'm having problems with vector graphics created in Illustrator getting jagged when dragged from Illustrator to Indesign (or copied and pasted or placed as Illustrator file). They look jagged (stair stepped) in I