A/R Invoice Import

Hello
I have up until now managed to find a solution to any error/problems with SAP B1 by searching this forum, and my current issue appeared to be no different, however regardless of the information gathered from here and experience today I cannot get my file to import successfully.
I have followed the instruction on MickeySAPB1 post of 13/09/11 but still no joy, so I was hoping for some guidance.
I am trying to transfer invoices from one SAP company to another by using the import function and have prepared both the files OINV and INV1 with the following data:
OINV
DocNum     DocType                     Handwrtten     DocDat       DocDueDate     CardCode     Ref1     Ref2
712     dDocument_Service     tYES     20111201     20111201     T099     207471     PFL - Brown
INV1
DocNum     ItemCode       Dscription     Quantity      AcctCode                      TaxCode    PriceBefDi
712     PFL - Brown       Service     1     _SYS00000000030     x0     955
I have tried many variations with different fields included/excluded but keep experiencing an error - unfortunately we cannot view any data in respect of the error - so it is pretty much a guessing game.
one other thing I noticed is that I have 2 data lines in my test files, but only one is ever picked up in the source data when I attempt to import - I tried adding a column with the field RecordKey as this is used in our JNL import template and it appeared to do the trick (I can import journals without issue) - I have excluded this from the main fields provided above.
I would be grateful for any guidance anyone could provide.
Many thanks in advance
Tee

Hi Neetu
Thanksfor the suggestion, unfortunately it didnt work.
this is the error message I receive - its basically the same for the majority of attempts, the only exception being that on occassion I it says that 1 record of 2 has been successful.
IMPORT PROCESS FINISH
In Process                                                                 50%
Number of errors detected                                         1
Number of Processed Record                                 1 of 2
0 Business objects were imported successfully
1 business object was not imported
This to me translates as:
First file failed ie the header, so if I receive the message - 1 of 2 files have imported successfully - does that mean that the header is at least correct and only leaves the line detail file to be amended???
You may have noticed that I am not an IT person, so I appreciate your patience greatly.
thanks
Tee

Similar Messages

  • In R12 standard Auto Invoice Import program is erroring out

    Hi All,
    The standard Auto Invoice Import concurrent porgram is erroring out when i run for the source as 'SUM_DIF', in the log messages its showing the following error:
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    len = 1289
    Current system time is 18-SEP-2008 21:35:19
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = !
    APP-AR-11526: 5069629/ar/src/autoinv/raamil.lpc 1342
    UPDATE RA_INTERFACE_LINES L1
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID,
    RA_CUSTOMER_TRX_LINES_S.NEXTVAL),
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    LINK_TO_LINE_ID =
    SELECT INTERFACE_LINE_ID
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b5
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (:b6)
    AND EXISTS
    SELECT 'x'
    FROM RA_INTERFACE_LINES L2
    WHERE L2.REQUEST_ID = :b7
    AND L2.INTERFACE_LINE_CONTEXT = 'SUM_DIF'
    AND L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND L1.LINK_TO_LINE_ATTRIBUTE13 = L2.INTERFACE_LINE_ATTRIBUTE13
    AND L1.LINK_TO_LINE_ATTRIBUTE14 = L2.INTERFACE_LINE_ATTRIBUTE14
    AND L1.LINK_TO_LINE_ATTRIBUTE15 = L2.INTERFACE_LINE_ATTRIBUTE15
    AND L1.LINK_TO_LINE_ATTRIBUTE1 = L2.INTERFACE_LINE_ATTRIBUTE1
    Error calling raamil()
    Error calling raapft()
    Thanks,
    Ramakrishna.
    Edited by: user605279 on Sep 18, 2008 11:59 PM

    Ramakrishna
    Looks like this is for the tax line (based on the fact that it is trying to update the link_to_line_id). The issue seems to be from the duplicate interface_line_attributes for the two different lines.This leads to this query returning more than one row for the tax line when it is trying to update.
    For two different lines, make one of your interface_line_attributes (in this query I see 1, 13, 14, 15) unique.
    Thanks
    Nagamohan

  • 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

  • Invoice Import VS Payables Open Interface

    I would like to know which is the best way to import invoice and what are the advantages and disadvange in each.
    Regards
    Chandrasekar

    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

  • AP Invoice Import Problem

    Hi Guys, I hope so you are Well.
    I am facing a little problem in AP Invoice import when i am entring projectid and task id.without project and task id it is ok.
    ERROR: "INSUFFICIENT PA INFO: in ap_invoice _lines table
    Kindly guide me .
    Regards,
    SK

    Have you seen this as per the manual =>
    Insufficient PA Info. You must provide values for all of the following Projects
    columns: PROJECT_ID, TASK_ID, EXPENDITURE TYPE,
    EXPENDITURE_ITEM_DATE, AND EXPENDITURE_ORGANIZATION_ID.
    If this helps then points are appreciated.
    regards,
    Robert.

  • AP INVOICE IMPORT시 GDF 관련 ERROR 가 날때

    제품 : FIN_AP
    작성날짜 : 2003-01-20
    AP INVOICE IMPORT시 GDF 관련 ERROR 가 날때
    ====================================
    PURPOSE
    AP Invoice Import시 GDF 관련 Error 가 발생할 때의 해결책을 제시한다.
    Problem Description
    Korean Tax program을 설치하여 사용하는 고객 사이트에서 AP INVOICE IMPORT 수행시 TAX 관련한 GDF IMPORT 부분에서 ERROR 가 발생하였다.
    Error Message 는 다음과 같다.
    Invoic 무효한 GF_CONTEXT 컬럼 GLOBAL_ATTRIBUTE_CATEGORY 에 무효한 값
    Workaround
    KR TAX 프로그램에 따른 specific 한 문제이므로 global한 support를 받을 수 없고 아래와 같은 작업을 해주어야만 한다.
    Solution Description
    1. GDF 생성
    JG_AP_INVOICE_INTERFACE GDF를 JG_AP_INVOICES와 마찬가지로 Setup한다.
    2. 다음의 Package의 에서 '수정' 이란 주석이 달린 부분과 같이 수정하여 컴파일 한다.
    PACKAGE BODY JG_GLOBE_FLEX_VAL
    ......(중략)...
    IF p_calling_program_name = 'APXIIMPT' THEN --Invoice Gatewayvalidation prog
    IF p_context_code IN ('JA.TH.APXIISIM.INVOICES_INTF',
    'JA.TW.APXIISIM.INVOICES_FOLDER',
    'JA.SG.APXIISIM.INVOICES_FOLDER',
    -- 'JA.KR.APXIISIM.INVOICES_FOLDER',
    'JA.KR.APXINWKB.INVOICES', -- 수정
    -- 'JA.CN.APXIISIM.INVOICES_FOLDER',
    -- 'JA.KR.APXIISIM.LINES_FOLDER',
    -- 'JA.CA.APXIISIM.LINES_FOLDER',
    'JE.BE.APXIISIM.EFT',
    ......(중략)...
    FUNCTION reassign_context_code(
    p_global_context_code IN OUT VARCHAR2) RETURN BOOLEAN IS
    BEGIN
    IF (p_global_context_code IS NULL) THEN
    RETURN(TRUE);
    ELSIF (p_global_context_code = 'JA.TH.APXIISIM.INVOICES_INTF') THEN
    p_global_context_code := 'JA.TH.APXINWKB.INVOICES';
    RETURN(TRUE);
    ELSIF (p_global_context_code = 'JA.TW.APXIISIM.INVOICES_FOLDER') THEN
    p_global_context_code := 'JA.TW.APXINWKB.INVOICES';
    RETURN(TRUE);
    ELSIF (p_global_context_code = 'JA.SG.APXIISIM.INVOICES_FOLDER') THEN
    p_global_context_code := 'JA.SG.APXINWKB.INVOICES';
    RETURN(TRUE);
    -- ELSIF (p_global_context_code = 'JA.CN.APXIISIM.INVOICES_FOLDER') THEN
    -- p_global_context_code := 'JA.CN.APXINWKB.INVOICES';
    -- RETURN(TRUE);
    -- ELSIF (p_global_context_code = 'JA.KR.APXIISIM.INVOICES_FOLDER') THEN
    -- p_global_context_code := 'JA.KR.APXINWKB.AP_INVOICES';
    -- RETURN(TRUE);
    ELSIF (p_global_context_code = 'JA.KR.APXINWKB.INVOICES') THEN
    p_global_context_code := 'JA.KR.APXINWKB.INVOICES';
    RETURN(TRUE); -- 수정
    -- ELSIF (p_global_context_code = 'JA.KR.APXIISIM.LINES_FOLDER') THEN
    -- p_global_context_code := 'JA.KR.APXINWKB.INVOICE_DISTR';
    -- RETURN(TRUE);
    Reference Documents
    -------------------

  • Difference between invoice import and manual entry

    Is there any difference between the expense reports manually entered into AP through invoice entry and the records imported into AP_INVOICES_ALL through invoice import? How do I find which is manually entered and which is imported?

    Hi!
    You can diffirentiate it by SOURCE field in AP_INVOICES_ALL table.
    The field value is 'Manual Invoice Entry' for manually entered invoices.
    In order, you can't see this field in Invoices Workbench, but you can use a folder with query.
    Regards, Alexey.

  • Error in AR - Auto Invoice Import Program

    Hi,
    Please help me out for AR - Auto Invoice Import Program.
    When i am running Auto Invoice Import Program in UAT instance then its getting completed but with error and error is not reflecting in RA_INTERFACE_ERRORS_ALL table.
    Initially when i ran Interface Program in CRP instance then the program was successfull, but in UAT instance it is giving error,
    The Log is as follows, Its a big log but to get an idea please find the few starting lines of the same.
    Regards,
    Sitesh
    org parameter (raamai) = ~91~
    raassc()+ Current system time is 02-APR-2012 01:42:57
    org parameter (raassc) character = ~91~
    org parameter (raassc) numeric = ~91~
    raassc()- Current system time is 02-APR-2012 01:42:57
    raagsp()+ Current system time is 02-APR-2012 01:42:57
    raagsp()- Current system time is 02-APR-2012 01:42:57
    raaini()+ Current system time is 02-APR-2012 01:42:57
    raaapx()+ Current system time is 02-APR-2012 01:42:57
    raaapx()- Current system time is 02-APR-2012 01:42:57
    raagbo()+ Current system time is 02-APR-2012 01:42:57
    Dumping data fetched from RA_BATCH_SOURCES
    batch_source_id = 1141
    batch_source_name = Export Entry
    auto_trx_numbering_flag = N
    copy_doc_number_flag = N
    cust_trx_type_rule = I
    sold_customer_rule = R
    bill_customer_rule = R
    bill_address_rule = R
    bill_contact_rule = N
    ship_customer_rule = R
    ship_address_rule = R
    ship_contact_rule = N
    memo_reason_rule = R
    term_rule = I
    invoicing_rule_rule = R
    accounting_rule_rule = R
    unit_of_measure_rule = R
    agreement_rule = R
    inventory_item_rule = R
    fob_point_rule = S
    ship_via_rule = S
    invalid_lines_rule = R
    salesperson_rule = I
    sales_credit_type_rule = I
    accounting_flexfield_rule = R
    invalid_tax_rate_rule = R
    rev_acc_allocation_rule = P
    gl_date_period_rule = R
    create_clearing_flag = N
    derive_date_flag = Y
    sales_credit_rule = P
    sales_territory_rule = R
    receipt_method_rule = R
    customer_bank_account_rule = R
    related_document_rule = R
    memo_line_rule = R
    allow_sales_credit_flag = Y
    receipt_handling_option = N
    allow_duplicate_trx_num_flag = N
    raagbo()- Current system time is 02-APR-2012 01:42:57
    raaggi()+ Current system time is 02-APR-2012 01:42:57
    raagixpfx = 0
    raagixtpf = 0
    raagixddf = 1
    raagixacf = 0
    raagixagd = 0
    raagixatn = 0
    raagixadn = 0
    raagixcte = 0
    raagixdfd =
    raagixctc = 1683960112
    raagixrmx = T
    raagixfdx = 02-APR-12
    raagixbix =
    raagixbsi = 1141
    raagixbnx = Export Entry
    raagixoix = 91
    raagixrix = 3584119
    raagixpix = 20428
    raagixpai = 222
    raagixuix = 1458
    raagixunx = EMS
    raagixanx = AR
    raagixlul = 2968171
    raagixasc = 1
    raagixrho = N
    raagixrsf = 0
    raagixcbf = 0
    raagixuax = 1
    raagixsnf = 0
    raagixtao = 1
    raagixptf = 1
    raagixstf = 0
    raagixrfi = 0
    raagixtac = 0
    raagixcai = 50388
    raagixsbi = 2022
    raagixcpr = 2
    raagixmau =
    raagixmlx = 3
    raagixmbx = 99999999
    raagixafp = Account
    raagixifp = Item
    raagixtfp = Sub-branch
    Argbdf = 1
    Argddo = -9999
    raaggi()- Current system time is 02-APR-2012 01:42:57
    raaseb()+ Current system time is 02-APR-2012 01:42:57
    raaseb()- Current system time is 02-APR-2012 01:42:57
    arcdsu()+ Current system time is 02-APR-2012 01:42:57
    arcdsu() error level: 3 array size: 99999999 insert array size: 99999999
    arcdsu() Use Invoice Accounting For Credit Memo: Y
    arcdsu()- Current system time is 02-APR-2012 01:42:57
    raaini()- Current system time is 02-APR-2012 01:42:57
    raapft()+ Current system time is 02-APR-2012 01:42:57
    raagtr()+ Current system time is 02-APR-2012 01:42:57
    crb->raaucrpn = RAXTRX
    crb->raaucrcr = 3584119
    crb->raaucrnt = 0
    crb->raaucrml = 3
    raagtr()- Current system time is 02-APR-2012 01:42:57
    raamil()+ Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raacrf()+ Current system time is 02-APR-2012 01:42:57
    raacrf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    raaasf()+ Current system time is 02-APR-2012 01:42:57
    raaasf()- Current system time is 02-APR-2012 01:42:57
    UPDATE RA_INTERFACE_LINES
    SET REQUEST_ID = :b1,
    LAST_UPDATE_DATE = sysdate,
    LAST_UPDATED_BY = :b2,
    LAST_UPDATE_LOGIN = :b3,
    SET_OF_BOOKS_ID = NVL(SET_OF_BOOKS_ID, :b4),
    ORG_ID = NVL(ORG_ID, :b5),
    TRX_DATE = TRUNC(TRX_DATE),
    GL_DATE = TRUNC(GL_DATE),
    ORIGINAL_GL_DATE = TRUNC(GL_DATE),
    CONVERSION_DATE = TRUNC(CONVERSION_DATE),
    PURCHASE_ORDER_DATE = TRUNC(PURCHASE_ORDER_DATE),
    RULE_START_DATE = TRUNC(RULE_START_DATE),
    RULE_END_DATE = TRUNC(RULE_END_DATE),
    SALES_ORDER_DATE = TRUNC(SALES_ORDER_DATE),
    SHIP_DATE_ACTUAL = TRUNC(SHIP_DATE_ACTUAL),
    CUSTOMER_TRX_ID = NULL,
    INTERFACE_LINE_ID = NVL(INTERFACE_LINE_ID, RA_CUSTOMER_TRX_LINES_S.NEXTVAL)
    WHERE NVL(INTERFACE_STATUS, '~') != 'P'
    AND (REQUEST_ID IS NULL OR REQUEST_ID IN (3584119))
    AND BATCH_SOURCE_NAME = 'Export Entry'
    AND TRX_NUMBER = 'E512000002' AND LINK_TO_LINE_ATTRIBUTE1 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE2 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE3 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE4 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE5 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE6 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE7 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE8 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE9 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE10 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE11 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE12 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE13 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE14 IS NULL
    AND LINK_TO_LINE_ATTRIBUTE15 IS NULL

    Hi Pk,
    in log file i found the below:
    arcdsu() error level: 3 array size: 99999999 insert array size: 99999999
    and
    raaafs()+ Current system time is 02-APR-2012 01-42-57
    Failed to allocate memory for memptr
    Error calling raaafs()
    Error calling raaffc()
    Error calling raaaui()
    is it related to memory size????????
    let me know
    Regards,
    SItesh

  • Issue in Payables invoice import prorgam

    HI All,
    I have run the Payables invoice import prorgam. result is completed normal. now the problem here is invoices data is not populated in Base table. when i check ap_rejections_table, it does not contain any records. can some one guide me how to slove this issue.
    Thanks.

    HI,
    i have submited the invoice import program from procedure as below.
    Fnd_Request.submit_request(
    application => 'SQLAP'
    , program => 'APXIIMPT'
    , description => 'Invoice import'
    , sub_request => p_sub_request
    , argument1 => p_argument1
    , argument2 => p_argument2
    , argument3 => p_argument3
    , argument4 => p_argument4
    , argument5 => p_argument5
    , argument6 => p_argument6
    , argument7 => p_argument7
    , argument8 => p_argument8
    , argument9 => p_argument9
    , argument10 => p_argument10);
    It is executed like completed with Error. where as invoices are created in base table.
    please find the below errors in log file.
    REP-0004: Warning: Unable to open user preference file.
    MSG-0000: 2 invoice(s) were created during the process run
    MSG-0000: 2 invoice(s) were fetched during the process run
    MSG-0000: summarize flagN
    REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred
    ORA-01403: no data found
    REP-0069: Internal error
    REP-57054: In-process job terminated: Terminated with error:
    REP-1401: MSG-00000: 2 invoice(s) were created during the process run
    MSG-0000: summarize flagN
    REP-1401: 'cf_source_nameformula': Fatal PL/SQL error occurred
    ORA-01403: no data found
    please guide me to solve this issue.
    Thanks.
    Edited by: user627525 on Oct 9, 2009 4:33 AM

  • TAX code error in ar Auto Invoice Import

    Hi All,
    I am getting error in Auto Invoice Import program
    Unable to find a default tax code for this transaction.
    ==========================================
    BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
    Page: 1 of 4
    Request Id: 936978
    Batch Source: HANSENS
    Transaction Flexfield:
    Transaction Type:
    Bill To Customer Number: to
    Bill To Customer Name: to
    GL Date: to
    Ship Date: to
    Transaction Number: to
    Sales Order Number: to
    Transaction Date: to
    Ship To Cust Number: to
    Ship To Cust Name: to
    Interface Lines:
    Selected: 2
    Successfully Processed: 0
    Rejected: 2
    Interface Salesreps:
    Selected: 0
    Successfully Processed: 0
    Rejected: 0
    Interface Distributions:
    Selected: 0
    Successfully Processed: 0
    Rejected: 0
    Transactions Created:
    BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
    Page: 2 of 4
    Request Id: 936978
    Grand Totals:
    Number of Number of Number of Number of
    Class Transactions Lines Sales Credits Distributions Invoice Amount
    0.00
    BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
    Page: 3 of 4
    Request Id: 936978
    BT Taiwan AutoInvoice Execution Report Date: 22-JUL-2009 12:33
    Page: 4 of 4
    Request Id: 936978
    Summary of Receipts Processed :
    Taiwan AutoInvoice Validation Report Date: 22-JUL-2009 12:33
    Page: 1 of 3
    Auto Invoice Request Id 936978
    Batch Source: HANSENS
    Transaction Flexfield: HANSENS: BT5830000575.1
    Type Bill to Customer Name Item Description Currency Amount
    Invoice Merrill xx Pierce, xxr & Smith Inc Audio TWD 167.00
    Errors: 1) Unable to find a default tax code for this transaction.
    Transaction Flexfield: HANSENS: BT5830000575.2
    Type Bill to Customer Name Item Description Currency Amount
    Invoice Merrill xx Pierce, xx & Smith Inc VAT TWD 8.00
    Errors: 1) Unable to find a default tax code for this transaction.
    Summary of Transactions Rejected:
    Currency Number of Number of Number of
    Code Lines Sales Credits Distributions Invoice Currency Amount
    TWD 2 0 0 175.00
    Summary of Transactions with Errors:
    Currency Number of Number of Number of
    Code Lines Sales Credits Distributions Invoice Currency Amount
    TWD 2 0 0 175.00
    BT Taiwan AutoInvoice Validation Report Date: 22-JUL-2009 12:33
    Page: 2 of 3
    Auto Invoice Request Id 936978
    Batch Source: HANSENS
    BT Taiwan AutoInvoice Exception Report Date: 22-JUL-2009 12:33
    Page: 3 of 3
    Auto Invoice Request Id 936978
    Batch Source: HANSENS
    ==========================================
    I have checked in Memo Lines all exists.
    Please suggest.
    Thanks in advance,
    Ajit
    Edited by: Ajit Raut on Jul 21, 2009 7:39 PM

    Hi Ajit
    Please Check if TAX is enabled in Transaction Type.
    regards
    raghu

  • Auto Invoice Import Program not processing records

    Hi,
    I wrote a procedure at back end to submit the auto invoice import program. I find concurrent program being submitted but none of the records are processed.
    Please find the code given below for reference.
    APPS Version : 11.5.10.2
    fnd_global.apps_initialize(2709,50325,222);
    l_request:= FND_REQUEST.SUBMIT_REQUEST
    (application => 'AR',
    program => 'RAXTRX',
    description => 'Auto',
    start_time => NULL,-- To start immediately
    sub_request => FALSE,
    argument1 => 'MAIN',
    argument2 => 'T',
    argument3 => '24',--batch_source_id
    argument4 => 'AR Batch Source', --batch_source_name
    argument5 => to_char(SYSDATE,'YYYY/MM/DD HH:MM:SS'), -- should be in format -- RR-MON-DD
    argument6 => '',
    argument7 => '',
    argument8 => '',
    argument9 => '',
    argument10 => '',
    argument11 => '',
    argument12 => '',
    argument13 => '',
    argument14 => '',
    argument15 => '',
    argument16 => '',
    argument17 => '',
    argument18 => '',
    argument19 => '',
    argument20 => '',
    argument21 => '',
    argument22 => '',
    argument23 => '',
    argument24 => '',
    argument25 => '',
    argument26 => 'Y',
    argument27 => 'Y',
    argument28 => '',
    argument29 => 155, -- org_id
    argument30 => chr(0) -- end with chr(0)as end of parameters
    COMMIT;
    - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -

    Pl post the log of the concurrent request. Pl see if MOS Doc 1089172.1 (Troubleshooting Autoinvoice Import - Execution Report Errors (Request Status = Completed)) can help
    HTH
    Srini

  • Auto Invoice Import Program is not grouping by Transaction Type

    Hi All,
    The Auto Invoice Master program which inturn spwans Auto invoice Import program is not grouping by Transaction type. It is printing for each transaction individually.
    What could be the reason for this to happen?
    Please let me know.
    Thanks,
    Prathima

    Dear,
    You must define "Auto-Invoice Grouping Rules". Define Group by column of the interface table where u are moving transaction type.
    Hope it will helps u
    Regards

  • Invoice import concurrent program

    Dear Gurus
    I am trying to rund Invoice import concurrent program using PLSQL. However, I always get 0 returned from procedure. Please can you see if you can spot any obvious issue.
    declare
    x_user_id NUMBER;
    x_appl_id NUMBER;
    x_resp_id NUMBER;
    x_conc_id NUMBER;
    x_message VARCHAR2(1000);
    BEGIN
    fnd_message.clear();
    SELECT user_id INTO x_user_id FROM FND_USER WHERE UPPER(user_name) = 'xxxxx';
    SELECT application_id
    INTO x_appl_id
    FROM FND_APPLICATION
    WHERE application_short_name = 'SQLAP';
    SELECT responsibility_id
    INTO x_resp_id
    FROM FND_APPLICATION fa,
    FND_RESPONSIBILITY_TL fr
    WHERE fa.application_short_name = 'SQLAP'
    AND fa.application_id = fr.application_id
    AND fr.responsibility_name = 'GT AP Superuser';
    FND_GLOBAL.APPS_INITIALIZE(x_user_id, x_resp_id, x_appl_id);
    dbms_output.put_line('user id - ' || x_user_id);
    dbms_output.put_line('responsibility id - ' || x_resp_id);
    dbms_output.put_line('application id - ' || x_appl_id);
    x_conc_id := fnd_request.submit_request(
    application => 'SQLAP' ,
    program => 'APXIIMPT' ,
    description => NULL ,
    start_time => SYSDATE ,
    sub_request => FALSE ,
    argument1 => NULL,
    argument2 => 'XML GATEWAY',
    argument3 => NULL, argument4 => 'N/A',
    argument5 => NULL, argument6 => NULL,
    argument7 => NULL, argument8 => 'N',
    argument9 => 'N');
    IF x_conc_id = 0 THEN
    fnd_message.retrieve(x_message);
    END IF;
    dbms_output.put_line('concurrent request id - ' || x_conc_id);
    dbms_output.put_line('Request not submitted due to "' || x_message || '".');
    dbms_output.put_line(fnd_message.get);
    fnd_message.raise_error;
    end;
    Regards,
    Amjad.

    Pardon my ignorance. How do I check for that?From System Administrator responsibility, navigate to Security > Responsibility > Define and query this responsibility, then get the Request Group and query it to verify if the concurrent program is added to this group or not.
    Thanks,
    Hussein

  • AP Open Interface Invoices Import/PO Matching

    I am trying to import invoices through invoice Open interface in AP. I also want to do invoice matching with it. But I am facing some errors.
    Anyone having experience with this scenario please respond me at [email protected]
    Faisal.

    HI,
    why not use "Payables Open Interface Import" report in the AP module, this report can automaticlly create invoice against input PO, the PO and invoice are matched after new invoice was created.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Faisal Khan ([email protected]):
    I am trying to import invoices through invoice Open interface in AP. I also want to do invoice matching with it. But I am facing some errors.
    Anyone having experience with this scenario please respond me at [email protected]
    Faisal.<HR></BLOCKQUOTE>
    null

  • AP: Invoice Imports/ Miscellaneous Invoice Line types

    Hi All,
    I had two issues while I was importing my invoices in AP through AP Invoices Open interface:
    1. Freight Charges
    2. Some Unit Royality Charges.
    Both of these things are not included in my PO, so I needed to create additonal invoice distribution lines with in the same invoice and also had to assign a GL account while creating the invoices. The other Item type lines get the GL account code from PO while matching is done during AP Open Import process.
    The Freight charges problem is resolved. The solution for that is as follows for your reference.
    Functional Steps:
    1. With Accounts Payables Manager responsibility , go to
    Setup->Options->Payables.
    2. Select Invoice from drop down list box.
    3. In invoice region Ceck the Automatically Create Freight Distribution Option.
    4. Supply default Freight Account for Freight Distributions.
    Technical Steps:
    1. Create an additional Invoice distributions line for freight in AP_INVOICE_LINES_INTERFACE table which should not have the PO level information.
    2. Set AP_INVOICE_LINES_INTERFACE.Prorate_across_flag = 'Y'
    3. AP_INVOICE_LINES_INTERFACE.line_type_lookup_code = 'FREIGHT'
    4. Set AP_INVOICE_LINES_INTERFACE.LINE_GROUP_Number as same in both the ITEM and Freight Invoice distribtuion line which are interrelated.
    The above resolves the Freight issue and you can reproduce it in your environment.
    However, I have another amount from my supplier which is called "Royality Charge" on every item which are also not present in my PO. My supplier sends these charges with Invoice lines the same way Freight charges are sent. I am thinking of creating additional Invoice lines marked as "Miscellaneous" Invoice Lines type for this charge. The problem I am facing with Miscellaneous Lines is that I cannot find a place where I can setup the Account code for such Invoice distribution lines, like I got for Freight Type Distribution lines as described above in Functional steps. Can anyone guide me in this regard or can give me an alternative workaround to handle my Unit Royality Charges?
    Thanks
    Faisal .
    [email protected]
    null

    Apologies for the late response, have only just spotted the question.
    You will need to register "line-item job-level chains of approval" under payables transaction type before you can select it from the picklist:
    Setup\Action Types\"Use Existing Action Type" button, then select action type and continue.
    Hope this helps (if you haven't already resolved yourself)
    James

  • AP invoice import and PO matching

    Hi All,
    I need to import AP invoices through payables open interface and it should automatically match the corresponding purchase order.
    Please tell me the steps that I need to follow in order to achieve that.
    If there are any documents please share with me.
    And also tel me what should be the link in the AP invoice transfer file to the purchase order.( Is it the po line number)
    Thanks ,
    M

    Populate tables
    ap_invoices_interface;
    ap_invoice_lines_interface;
    You can take a look the logic in AP_IMPORT_INVOICES_PKG.
    Like as;
    INSERT INTO ap_invoices_interface
    (invoice_id,
    invoice_num,
    invoice_type_lookup_code,
    invoice_date,
    exchange_date,
    exchange_rate_type,
    vendor_id,
    vendor_site_id,
    invoice_amount,
    invoice_currency_code,
    terms_name,
    doc_category_code,
    last_update_date,
    last_updated_by,
    last_update_login,
    creation_date,
    created_by,
    SOURCE,
    accts_pay_code_combination_id,
    org_id,
    attribute15)
    VALUES
    (x_invoice_id,
    x_invoice_num,
    x_invoice_type_lookup_code,
    x_invoice_date,
    x_exchange_date,
    x_exchange_rate_type,
    x_vendor_id,
    x_vendor_site_id,
    x_invoice_amount,
    x_invoice_currency_code,
    x_terms_name,
    x_doc_category_code,
    x_last_update_date,
    x_last_updated_by,
    x_last_update_login,
    x_creation_date,
    x_created_by,
    x_source,
    x_accts_pay_code_com_id,
    x_org_id,
    x_vendor_site_code);
    INSERT INTO ap_invoice_lines_interface
    (invoice_id,
    invoice_line_id,
    line_number,
    line_type_lookup_code,
    amount,
    accounting_date,
    description,
    last_update_date,
    last_updated_by,
    last_update_login,
    creation_date,
    created_by,
    tax_code,
    po_header_id,
    po_line_id,
    po_line_location_id,
    po_distribution_id,
    quantity_invoiced,
    tax_code_override_flag,
    dist_code_combination_id,
    tax_recoverable_flag,----1.4
    tax_recovery_rate,----1.4
    org_id,
    attribute15)
    VALUES
    (x_invoice_id,
    x_invoice_line_id,
    x_line_number,
    x_line_type_lookup_code,
    x_amount,
    x_accounting_date,
    x_description,
    x_last_update_date,
    x_last_updated_by,
    x_last_update_login,
    x_creation_date,
    x_created_by,
    x_tax_code,
    x_po_header_id,
    x_po_line_id,
    x_po_line_location_id,
    x_po_distribution_id,
    x_quantity_invoiced,
    x_tax_code_override_flag,
    x_dist_code_combination_id,
    x_tax_recoverable_flag,----1.4
    x_tax_recovery_rate,----1.4
    x_org_id,
    x_concatenated_expense);
    Run import program.
    Regards,
    Bilal SARIOZ

Maybe you are looking for

  • IPhone 4 won't turn on! Help

    My iPhone was working just an hour ago and I went for a nap for 15 minutes and woke up to my phone not working. It's happened before but I just kept pushing the menu and lock button and it worked but this time it won't! Help?!

  • Factory Finder failure and _tmmsgrcv() SEGV

    Hello, we have a rather strange problem with WLE 5.1. One type of process, QD, occasionally experiences a SEGV inside _tmmsgrcv(). The SEGV is usually preceeded by a failure from the factory finder. QD is a process that converts /Q messages into Crob

  • Regarding rg23 a excise report

    dear sir i would like to generate RG23A Part 2 crytal report ,i am not able to generate it ..could u please tell me how to generate it Thanks and Regards

  • XI or ABAP- HR

    Hi Experts, I am a Computer Science engineering Graduate with approx 2 years of SAP experience. My experience includes: OOPS-ABAP programming (8+ months) ABAP-HR (7+ months) SAP-NW –XI (4+ months) I am getting option to choose ABAP-HR or XI for my ne

  • Why the VI starts breaking when I enter property nodes?

    Hi, I'm a student in engeneering and need to do a work in labview. It's a Signal generator with in-built osciloscope. The VI was working fine ultil I add the property nodes to change wavegraph scales and the VI start breaking with them. Can anyone se