Auto Invoice Error

Hey,i am getting this error while running the Auto Invoice Import
"Please correct the revenue account assignment"
Note found in metalink was not helpful.
Please let me know your inputs

Hi,
Check if your Revenue, Receivable and Tax have an account in Setup --> Transactions --> Transaction Type
If u using Transaction type.
Else to avoid this, you can explicitly insert data for accounts in the table RA_INTERFACE_DISTRIBUTIONS_ALL, by this, the import program will not check the accounts in Transaction Type setup but will use those CCIDs you inserted for REC, REV and TAX.
Hope this helps,
vik

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

  • 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

  • Error when attempting to run auto invoice report

    Hi,
    We are currently using Oracle E-Business Suite 11.2.  One of our users was attempting to run an Auto Invoice Report this morning and got an error occur.  The log file shows the following:
    SELECT INTERFACE_LINE_ID
    FROM   RA_INTERFACE_LINES L2
    WHERE  L2.REQUEST_ID = :b5
    AND    L2.INTERFACE_LINE_CONTEXT = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12
    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 = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12
    len = 1171
    Current system time is 09-OCT-2013 07:33:50
    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: 2913367/ar/src/autoinv/raamil.lpc 1333
    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 =
    Would someone be able to help me with this as my knowledge on Oracle is quite basic and the person who usually deals with these queries is out of the office.
    Regards,
    Jon Ditchfield

    The error is
    APP-AR-11526: ORA-01427: single-row subquery returns more than one row
    A subquery that is supposed to return only one row is returning more than one. Most likely it is this query
    SELECT 'x'
    FROM   RA_INTERFACE_LINES L2
    WHERE  L2.REQUEST_ID = :b7
    AND    L2.INTERFACE_LINE_CONTEXT = 'UPLS INVOICES'
    AND    L1.LINK_TO_LINE_CONTEXT = L2.INTERFACE_LINE_CONTEXT
    AND    L1.LINK_TO_LINE_ATTRIBUTE10 = L2.INTERFACE_LINE_ATTRIBUTE10
    AND    L1.LINK_TO_LINE_ATTRIBUTE11 = L2.INTERFACE_LINE_ATTRIBUTE11
    AND    L1.LINK_TO_LINE_ATTRIBUTE12 = L2.INTERFACE_LINE_ATTRIBUTE12

  • 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

  • Sales order line with status calcelled picked by auto invoice program

    I cancelled  one line in Sales Order and Shipped remaining lines
    after Ship Confirm process ,I ran workflow background process.
    I am getting cancelled line information to AR interface tables
    when I run Auto invoice amount is sitting in Unearned account
    The status of cancelled line -  Cancelled
    Flow status code is cancelled
    INVOICE_INTERFACE_STATUS_CODE I AM SEEING is YES for that line.
    Why the cancelled Sales order line is picked by auto invoice program?
    Thanks,
    John

    Hi Ivruksh,
    Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
    Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
    Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
    Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
    Thanks in advance.
    Regards
    Srinivas

  • Auto-Invoice Concurrent program running very slow

    Hi,
    EBS 11i
    Help please.......
    Our 2 users are running Auto-Invoice Concurrent programs and it made our 4-cpu (quad core) server spike to all 100%
    We have just bounced back the Oracle Apps but still it getting very slow. Is there a way to tune the auto-invoice program?
    This problem did not happen before only lately :(. Is it because our data is growing bigger?
    Thanks a lot
    Ms Inday

    Thanks hussein/helios .....I am panicking now :(
    I want to cancell all the queued Autoinvoice Master Program that are submitted so I can trace if they are the ones causing the problem. The Autoinvoice Master Program is calling a child program Autoinvoice Import Program. I also cancelled these child programs. but now I can not cancel the Master Program. Its "Phase" is Running but its status is "Paused". When I cancel it I got error >
    Request 2259845 can no longer be cancelled. The Concurrent Manager process
    that was running this request has exited abnormally. The ICM will mark this request as complered with error.How can I delete this RUNNING-PAUSED Autoinvice Master Program?
    How do I clean up these aborted processes?
    Thanks a lot

  • 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

  • AR Credit Memo's not picked by Auto Invoice

    Hi gurus,
    I am facing an issue in loading the CM's through Auto Invoice. when we submit the Auto Invoice Master Program, it is populating the Interface_line_id, but it's not populating request_id, so eventually the Auto Invoice Import program is not picking those records with request_id as null.
    Please advice me, how to process the CM's.
    Thanks
    Srinivas

    Hi Ivruksh,
    Thanks for the reply, the reference you gave was not actually related to the issue I had, let me put it this way,
    Our Auto Invoice Job is scheduled at midnight, it runs and process only few CM's, rest of them are left behind with out any error message in error tables. Al I can see in the ra_interface_lines_all table is interface_line_id is populated, which shows that the Auto Invoice program has picked all the records but it is processing only few, the rest are left out with out any error message.
    Interestingly, when I tried to run those stuck CM's Individual one by one its gets successfully processed.
    Is anyone faced with similar kind of issue, kindly let me know of any solutions you guys had.
    Thanks in advance.
    Regards
    Srinivas

  • CUP Provisions user to SAP successfully but gives "Auto-Provisioning" error

    Hi All,
    I'm getting an "auto-provisioning" error in CUP when a "Change Account" workflow is approved. The strange thing is, CUP does successfully provision the change to the SAP backend. Yet, the "New Account" provisions successfully without the error.
    Here is an example of the audit trail log from Change Account:
    Request submitted for approval by Dylan Hack(HACKDY) on 06/28/2010 17:14 
    Approved By Dylan Hack(HACKDY) Path AE_AUTO_APPROV_ERROR and Stage AE_AUTOPROV_ERR on 06/28/2010 17:14 
       Approved FI_xxxxx-DEV role for Add action with validity dates 06/28/2010-12/31/9999
       Approved FI_xxxxx-DEV role for Add action with validity dates 06/28/2010-12/31/9999
       Approved FI_xxxxx-DEV role for Add action with validity dates 06/28/2010-12/31/9999
       Approved FI_xxxxx-DEV role for Add action with validity dates 06/28/2010-12/31/9999
    Auto provisioned for request on 06/28/2010 17:14 
       User Provisioning failed for System(s) : DEV. Error Message :
       Role: FI_xxxxx assigned to user: testngin in System(s): DEV.
       Role: FI_xxxxx assigned to user: testngin in System(s): DEV.
       Role: FI_xxxxx assigned to user: testngin in System(s): DEV.
       Role: FI_xxxxx assigned to user: testngin in System(s): DEV.
    Request submitted for reroute by system on 06/28/2010 17:14 due to auto provisioning failure 
       Rerouted in the Path : AE_AUTO_APPROV_ERROR and Stage : AE_AUTOPROV_ERR to Path : AE_AUTO_APPROV_ERROR and Stage : AE_AUTOPROV_ERR
    Note: the role names were replaced with "xxxxxxx."
    The system log gives an error, but it is very vague:
    2010-06-28 17:14:34,682 [SAPEngine_Application_Thread[impl:3]_33] ERROR com.virsa.ae.service.ServiceException
    com.virsa.ae.service.ServiceException
         at com.virsa.ae.service.sap.SAPProvisionDAO.intializeWithChangeUserInputParameters(SAPProvisionDAO.java:762)
         at com.virsa.ae.service.sap.SAPProvisionDAO.changeUser(SAPProvisionDAO.java:3457)
         at com.virsa.ae.service.sap.SAPProvisionDAO.changeUser(SAPProvisionDAO.java:3419)
    Any ideas or suggestions?
    Current software level AC5.3 SP12.
    -Dylan

    Hello Varun,
    Thanks for the thought on this. We don't use User Defaults for Change Account, but do for New Account. You question prompted me to do more testing with very interesting results.
    Results
    New Account with User Defaults configured:
    User provisioned successfully, no Auto-Provision error, Defaults NOT provisioned.
    New Account without User Defaults configured:
    User provisioned successfully, no Auto-Provision error.
    Change Account with User Defaults configured:
    User provisioned successfully, no Auto-Provision error, Defaults NOT provisioned.
    Change Account without User Defaults configured:
    User provisioned successfully, Auto-Provision ERROR, Defaults NOT provisioned.
    In both New and Change Account, the configured User Defaults are NOT provisioned even though the user is provisioned. AC5.3 is on SP12, the RTA is VIRSANH SP12 and VIRSAHR SP10.
    For the Change Account, the user is always provisioned regardless of User Defaults; however, when no User Default is configured, the Auto-Provisioning error occurs. The User Defaults NOT provisioning is a real problem, the CUP error message, I can work around for now.
    What about on your side? Am I the only guy using SP12 here?

  • How to populate the Referance Field Through the Auto Invoice in credit memo

    HI ,
    I m populating the records in RA_INTERFACE_LINES_ALL and creates the cr Memo through the Auto Invoice ,
    but i m like to populate the Referance Field which is exist in Header part of the Cr Memo (Benith the TYPE).
    So plz help me,
    that which column of the RA_INTERFACE_LINE_ALL populates ,that gave me a data in the Referance Field .
    However this referance field is carried out from the table.Column =RA_CUSTOMER_TRX_ALL.ct_reference
    Plz Help..
    Regards,
    DK

    what you did?

  • Auto Invoice Program taking too much time : problem with update sql

    Hi ,
    Oracle db version 11.2.0.3
    Oracle EBS version : 12.1.3
    Though we have a SEV-1 SR with oracle we have not been able to find much success.
    We have an auto invoice program which runs many times in the day and its taking too much time since the begining . On troubleshooting we have found one query to be taking too much of the time and seek suggestion on how to tune it.  I am attaching the explain plan for the for same.  Its an update query. Please guide.
    Plan
    UPDATE STATEMENT  ALL_ROWSCost: 0  Bytes: 124  Cardinality: 1 
      50 UPDATE AR.RA_CUST_TRX_LINE_GL_DIST_ALL
      27 FILTER 
      26 HASH JOIN  Cost: 8,937,633  Bytes: 4,261,258,760  Cardinality: 34,364,990 
      24 VIEW VIEW SYS.VW_NSO_1 Cost: 8,618,413  Bytes: 446,744,870  Cardinality: 34,364,990 
      23 SORT UNIQUE  Cost: 8,618,413  Bytes: 4,042,339,978  Cardinality: 34,364,990 
      22 UNION-ALL 
      9 FILTER 
      8 SORT GROUP BY  Cost: 5,643,052  Bytes: 3,164,892,625  Cardinality: 25,319,141 
      7 HASH JOIN  Cost: 1,640,602  Bytes: 32,460,436,875  Cardinality: 259,683,495 
      1 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      6 HASH JOIN  Cost: 853,567  Bytes: 22,544,143,440  Cardinality: 214,706,128 
      4 HASH JOIN  Cost: 536,708  Bytes: 2,357,000,550  Cardinality: 29,835,450 
      2 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 153,008  Bytes: 1,163,582,550  Cardinality: 29,835,450 
      3 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 307,314  Bytes: 1,193,526,000  Cardinality: 29,838,150 
      5 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 132,951  Bytes: 3,123,197,116  Cardinality: 120,122,966 
      21 FILTER 
      20 SORT GROUP BY  Cost: 2,975,360  Bytes: 877,447,353  Cardinality: 9,045,849 
      19 HASH JOIN  Cost: 998,323  Bytes: 17,548,946,769  Cardinality: 180,916,977 
      13 VIEW VIEW AR.index$_join$_027 Cost: 108,438  Bytes: 867,771,256  Cardinality: 78,888,296 
      12 HASH JOIN 
      10 INDEX RANGE SCAN INDEX AR.RA_CUSTOMER_TRX_N15 Cost: 58,206  Bytes: 867,771,256  Cardinality: 78,888,296 
      11 INDEX FAST FULL SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 62,322  Bytes: 867,771,256  Cardinality: 78,888,296 
      18 HASH JOIN  Cost: 748,497  Bytes: 3,281,713,302  Cardinality: 38,159,457 
      14 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 154,993  Bytes: 402,499,500  Cardinality: 20,124,975 
      17 HASH JOIN  Cost: 519,713  Bytes: 1,969,317,900  Cardinality: 29,838,150 
      15 TABLE ACCESS FULL TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 302,822  Bytes: 716,115,600  Cardinality: 29,838,150 
      16 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 149,847  Bytes: 1,253,202,300  Cardinality: 29,838,150 
      25 TABLE ACCESS FULL TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 157,552  Bytes: 5,158,998,615  Cardinality: 46,477,465 
      41 SORT GROUP BY  Bytes: 75  Cardinality: 1 
      40 FILTER 
      39 MERGE JOIN CARTESIAN  Cost: 11  Bytes: 75  Cardinality: 1 
      35 NESTED LOOPS  Cost: 8  Bytes: 50  Cardinality: 1 
      32 NESTED LOOPS  Cost: 5  Bytes: 30  Cardinality: 1 
      29 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_LINES_ALL Cost: 3  Bytes: 22  Cardinality: 1 
      28 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_LINES_U1 Cost: 2  Cardinality: 1 
      31 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUSTOMER_TRX_ALL Cost: 2  Bytes: 133,114,520  Cardinality: 16,639,315 
      30 INDEX UNIQUE SCAN INDEX (UNIQUE) AR.RA_CUSTOMER_TRX_U1 Cost: 1  Cardinality: 1 
      34 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 20  Cardinality: 1 
      33 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 2  Cardinality: 1 
      38 BUFFER SORT  Cost: 9  Bytes: 25  Cardinality: 1 
      37 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 25  Cardinality: 1 
      36 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      49 SORT GROUP BY  Bytes: 48  Cardinality: 1 
      48 FILTER 
      47 NESTED LOOPS 
      45 NESTED LOOPS  Cost: 7  Bytes: 48  Cardinality: 1 
      43 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 4  Bytes: 20  Cardinality: 1 
      42 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N6 Cost: 3  Cardinality: 1 
      44 INDEX RANGE SCAN INDEX AR.RA_CUST_TRX_LINE_GL_DIST_N1 Cost: 2  Cardinality: 1 
      46 TABLE ACCESS BY INDEX ROWID TABLE AR.RA_CUST_TRX_LINE_GL_DIST_ALL Cost: 3  Bytes: 28  Cardinality: 1 
    As per oracle , they had suggested multiple patches but that has not been helpful. Please suggest how do i tune this query. I dont have much clue of query tuning.
    Regards

    Hi Paul, My bad. I am sorry I missed it.
    Query as below :
    UPDATE RA_CUST_TRX_LINE_GL_DIST LGD SET (AMOUNT, ACCTD_AMOUNT) = (SELECT /*+ index(rec1 RA_CUST_TRX_LINE_GL_DIST_N6) ordered */ NVL(LGD.AMOUNT, 0) - ( SUM(LGD2.AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * CTL.EXTENDED_AMOUNT ) ), NVL(LGD.ACCTD_AMOUNT, 0) - ( SUM(LGD2.ACCTD_AMOUNT) - ( DECODE(LGD.GL_DATE, REC1.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(CT.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX CT, RA_CUST_TRX_LINE_GL_DIST LGD2, RA_CUST_TRX_LINE_GL_DIST REC1 WHERE CTL.CUSTOMER_TRX_LINE_ID = LGD2.CUSTOMER_TRX_LINE_ID AND CTL.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND LGD.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD2.ACCOUNT_SET_FLAG = 'N' AND REC1.CUSTOMER_TRX_ID = CT.CUSTOMER_TRX_ID AND REC1.ACCOUNT_CLASS = 'REC' AND REC1.LATEST_REC_FLAG = 'Y' AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD2.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, REC1.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, CT.EXCHANGE_RATE ), PERCENT = (SELECT /*+ index(rec2 RA_CUST_TRX_LINE_GL_DIST_N6) */ DECODE(LGD.ACCOUNT_CLASS || LGD.ACCOUNT_SET_FLAG, 'SUSPENSEN', LGD.PERCENT, 'UNBILLN', LGD.PERCENT, 'UNEARNN', LGD.PERCENT, NVL(LGD.PERCENT, 0) - ( SUM(NVL(LGD4.PERCENT, 0)) - DECODE(REC2.GL_DATE, NVL(LGD.GL_DATE, REC2.GL_DATE), 100, 0) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD4, RA_CUST_TRX_LINE_GL_DIST REC2 WHERE LGD.CUSTOMER_TRX_LINE_ID = LGD4.CUSTOMER_TRX_LINE_ID AND REC2.CUSTOMER_TRX_ID = LGD.CUSTOMER_TRX_ID AND REC2.CUSTOMER_TRX_ID = LGD4.CUSTOMER_TRX_ID AND REC2.ACCOUNT_CLASS = 'REC' AND REC2.LATEST_REC_FLAG = 'Y' AND LGD4.ACCOUNT_SET_FLAG = LGD.ACCOUNT_SET_FLAG AND DECODE(LGD4.ACCOUNT_SET_FLAG, 'Y', LGD4.ACCOUNT_CLASS, LGD.ACCOUNT_CLASS) = LGD.ACCOUNT_CLASS AND NVL(LGD.GL_DATE, TO_DATE( 2415021, 'J') ) = NVL(LGD4.GL_DATE, TO_DATE( 2415021, 'J') ) GROUP BY REC2.GL_DATE, LGD.GL_DATE ), LAST_UPDATED_BY = :B1 , LAST_UPDATE_DATE = SYSDATE WHERE CUST_TRX_LINE_GL_DIST_ID IN (SELECT /*+ index(rec3 RA_CUST_TRX_LINE_GL_DIST_N6) */ MIN(DECODE(LGD3.GL_POSTED_DATE, NULL, LGD3.CUST_TRX_LINE_GL_DIST_ID, NULL) ) FROM RA_CUSTOMER_TRX_LINES CTL, RA_CUSTOMER_TRX T, RA_CUST_TRX_LINE_GL_DIST LGD3, RA_CUST_TRX_LINE_GL_DIST REC3 WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = CTL.CUSTOMER_TRX_ID AND (CTL.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE' ) OR (CTL.LINE_TYPE = 'LINE' AND CTL.ACCOUNTING_RULE_ID IS NULL )) AND LGD3.CUSTOMER_TRX_LINE_ID = CTL.CUSTOMER_TRX_LINE_ID AND LGD3.ACCOUNT_SET_FLAG = 'N' AND REC3.CUSTOMER_TRX_ID = T.CUSTOMER_TRX_ID AND REC3.ACCOUNT_CLASS = 'REC' AND REC3.LATEST_REC_FLAG = 'Y' AND NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) = DECODE(:B4 , 'INV', -1, 'REGULAR_CM', T.PREVIOUS_CUSTOMER_TRX_ID, NVL(T.PREVIOUS_CUSTOMER_TRX_ID, -1) ) GROUP BY CTL.CUSTOMER_TRX_LINE_ID, LGD3.GL_DATE, REC3.GL_DATE, CTL.EXTENDED_AMOUNT, CTL.REVENUE_AMOUNT, T.EXCHANGE_RATE HAVING ( SUM(NVL(LGD3.AMOUNT, 0)) <> CTL.EXTENDED_AMOUNT * DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) OR SUM(NVL(LGD3.ACCTD_AMOUNT, 0)) <> DECODE(LGD3.GL_DATE, REC3.GL_DATE, 1, 0) * DECODE(:B2 , NULL, ROUND( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1), :B3 ), ROUND( ( CTL.EXTENDED_AMOUNT * NVL(T.EXCHANGE_RATE,1) ) / :B2 ) * :B2 ) ) UNION SELECT /*+ index(rec5 RA_CUST_TRX_LINE_GL_DIST_N6) INDEX (lgd5 ra_cust_trx_line_gl_dist_n6) index(ctl2 ra_customer_trx_lines_u1) */ TO_NUMBER( MIN(DECODE(LGD5.GL_POSTED_DATE||LGD5.ACCOUNT_CLASS|| LGD5.ACCOUNT_SET_FLAG, 'REVN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'REVY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'TAXY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'FREIGHTY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESN', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'CHARGESY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNEARNY', LGD5.CUST_TRX_LINE_GL_DIST_ID, 'UNBILLY', LGD5.CUST_TRX_LINE_GL_DIST_ID, NULL ) ) ) FROM RA_CUST_TRX_LINE_GL_DIST LGD5, RA_CUST_TRX_LINE_GL_DIST REC5, RA_CUSTOMER_TRX_LINES CTL2, RA_CUSTOMER_TRX T WHERE T.REQUEST_ID = :B5 AND T.CUSTOMER_TRX_ID = REC5.CUSTOMER_TRX_ID AND CTL2.CUSTOMER_TRX_LINE_ID = LGD5.CUSTOMER_TRX_LINE_ID AND REC5.CUSTOMER_TRX_ID = LGD5.CUSTOMER_TRX_ID AND REC5.ACCOUNT_CLASS = 'REC' AND REC5.LATEST_REC_FLAG = 'Y' AND (CTL2.LINE_TYPE IN ( 'TAX','FREIGHT','CHARGES','SUSPENSE') OR (CTL2.LINE_TYPE = 'LINE' AND (CTL2.ACCOUNTING_RULE_ID IS NULL OR LGD5.ACCOUNT_SET_FLAG = 'Y' ))) GROUP BY LGD5.CUSTOMER_TRX_LINE_ID, LGD5.GL_DATE, REC5.GL_DATE, LGD5.ACCOUNT_SET_FLAG, DECODE(LGD5.ACCOUNT_SET_FLAG, 'N', NULL, LGD5.ACCOUNT_CLASS) HAVING SUM(NVL(LGD5.PERCENT, 0)) <> DECODE( NVL(LGD5.GL_DATE, REC5.GL_DATE), REC5.GL_DATE, 100, 0) )
    I understand that this could be a seeded query but my attempt is to tune it.
    Regards

  • Duplicate AP Invoices Error Setting

    Hi,
    How do I set duplicate AP invoices error in SAP?
    Thanks,
    Teo

    Hi
    If you have to do this, you need to check the field "Chk Double Inv" in the vendor master.
    What happens?(please read the help for this field in SAP)
    Checking Logistics documents
    Firstly, the system checks whether the invoice documents have already been entered in the Logistics invoice verification; the system checks invoices that are incorrect, or invoices that were entered for invoice verification in the background.
    Checking FI documents
    The system then checks whether there are FI or Accounting documents that were created with the original invoice verification or the Logistics verification, and where the relevant criteria are the same.
    Checking Logistics documents
    In checking for duplicate invoices, the system compares the following characteristics by default:
    Vendor
    Currency
    Company code
    Gross amount of the invoice
    Reference document number
    Invoice document date
    If all of these characteristics are the same, the system issues a message that you can customize.
    When you enter credit memos or subsequent adjustments, the system does not check for duplicate invoices.
    Exception: Country-specific solution for Argentina, where invoices and credit memos are checked for duplicate documents.

  • Generate auto invoice partially against partial PO Receipts

    Dear All,
    Is it possible to do partial receipt against a PO , and generate Payables auto invoice for this partial receipts in 11.5.10.2?
    Please update...
    many thanks in advance...

    Hi,
    Your question : 1) Is it possible to do partial receipt against a PO , and generate Payables auto invoice for this partial receipts in 11.5.10.2?
    Ans :_ Yes you can do a partial receipt of the PO, and you can create auto invoice for this partial receipt in 2 ways..
    a) In supplier site if "Pay on receipt" option is checked.
    b) or "Pay On Receipt AutoInvoice" conc. program is sceduled.
    Hope above explanation will help.
    Regards :),
    S.P DASH

  • Auto save error msg

    Something very strange has been going on recently with FCP 6. If FCP is open and I repair disk permissions I have had an error message come up saying Auto Save error can not auto save your project. Then on both occassions clips have gone certain clips have gone offline in the Timeline. Most of the footage we use is on one internal drive and all graphics etc is on another internal drive. None of these are the system disk. Is this something to do with disk utility repairing the structure of the disk and breaking the connection of the clips and FCP? What could be the Auto Save issue?

    Nick's dead on about doing any sort of drive maintainence while fcp is running.  That said (after quitting fcp), you might run diskutility:  disk repair and Diskwarrior (if you've got it) on all your drives.  You may have some sort of drive corruption or immienent drive failure. 
    Diskwarrior is a utility that will analyze and repair drive folder structures that the diskutility sometimes can't.  Worth every penny.
    http://alsoft.com/

Maybe you are looking for

  • GT72-2QE Display/Monitor output and colour profile

    I recently got the GT72-2QE which has a CMN1735 display panel. My problem is that this is listed as a Generic PnP Device, and when attaching my TV (via HDMI), it's also listed as a Generic PnP device. I'm using colour profiles (using windows colour m

  • IDX2 Metadata Create Error Message l.000 File to Idoc senario

    Dear All,        I got the error l:000 while creating meta data.I read all threads related to this error,but couldn't solve this.I have assigned roles SAP_XI_APPL_SERV_USER,SAP_XI_IS_SERV_USER on xi system,and tried to assign Profiles: SAP_ALL and SA

  • Why can't I see my images in Photoshop?

    I bought a new computer and installed Creative Cloud and my Photoshop and Lightroom apps. After the install everything seemed to work properly. The next day I get a black image, but my layers are there. This is my second computer my apps are installe

  • Keywords and Description

    Hello, So I entered in the description I want to show up under my website in google, and lots of difference keywords for people to use to find my website. Both of these don't seem to be working. I put it on my 'home' page. Should I be putting it on t

  • I clearly found a bug in the system...

    Basically, here it is: I open my home folder and all of the normal "content" that is suppose to be there is "there", but all of the file/folder names are blank. Completely invisible, but function normally. Finder relaunch didn't do it, etc... Yeah, I