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

Similar Messages

  • 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

  • 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

  • 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

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

  • Sub Agreement XML import error:  XML import could not process field: CONTRACT_UNIQUE_DOC_NAME

    Hi All,
    I am importing Sub Agreement in XML format and getting below error.
    XML import could not process field: CONTRACT_UNIQUE_DOC_NAME
    unsupported null bind parameter no. 0
    Below is the XML.
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <objects>
        <object classname="contracts.Agreement">
    <fields> 
                                    <CONTRACT_UNIQUE_DOC_NAME>P-XXXX-00001</CONTRACT_UNIQUE_DOC_NAME>
                                    <DISPLAY_NAME>Testing Agreement Name 1 </DISPLAY_NAME>
                                    <CALC_METHOD>UNIT_PRICE_ENTERED</CALC_METHOD>
                                    <UNIQUE_DOC_NAME>S0002510</UNIQUE_DOC_NAME>
                                    <STATUS>In Process</STATUS>
                                    <COMPANY>TEST</COMPANY>
                                    <LOCATION>Location_114</LOCATION>
                      </fields>
        </object>
      </objects>
    </sapesourcing>
    If anyone is successful in importing Sub Agreement in XML format?  also please validate the above xml structure?
    Note: I am able to load  Sub Agreement using CSV. But in our scenario data comes in XML format.
    Thanks & Regards
    Sai

    Hi Gary,
    I am able to load below objects in XML format without any issues. And I am using Scheduled Task of type “Data Import Monitor” to load them.
    1)  Project (1100)
    2)  Master Agreement (1004)
    3) Extension Collections for Project
    4) Extension Collections for Master Agreement
    1) Working XML Structure for Project(1100) .
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Projects.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <objects>
        <object classname="projects.projects">
          <fields>
    <UNIQUE_DOC_NAME>S0004392</UNIQUE_DOC_NAME>
      <DISPLAY_NAME>Test Project</DISPLAY_NAME>
    2) Working XML Structure for Master Agreement (1004) object.
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="contracts.Contract">
    <fields>
    <UNIQUE_DOC_NAME> 00215944</UNIQUE_DOC_NAME>
    <DISPLAY_NAME>TEST MA</DISPLAY_NAME>
    <DOCUMENT_DESCRIPTION>Contract Desc</DOCUMENT_DESCRIPTION>
    3) Working XML Structure for Extension Collections for Project(1100).
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Projects.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="projects.projects">
    <fields>
    <UNIQUE_DOC_NAME> S0004392</UNIQUE_DOC_NAME>
    </fields>
    <collections>
    <Z_DETAILS replace="true">
    <object classname="extension_collections">
    <fields>
    <NAME>Sai</NAME>
    <EMAIL>[email protected]</EMAIL>
    </fields>
    </object>
    <object classname="extension_collections">
    <fields>
    <NAME>Krishna</NAME>
    <EMAIL>[email protected]</EMAIL>
    </fields>
    </object>
    </ Z_DETAILS >
    </collections>
    </object>
    </objects>
    </sapesourcing>
    4) Working XML Structure for Extension Collections for Master Agreement (1004).
    <?xml version="1.0" encoding="UTF-8"?>
    <sapesourcing xsi:noNamespaceSchemaLocation="Contracts.xsd" defaultlanguage="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <objects>
    <object classname="contracts.Contract">
    <fields>
    <UNIQUE_DOC_NAME>00215944</UNIQUE_DOC_NAME>
    </fields>
    <collections>
    <ZLINKS replace="true">
    <object classname="extension_collections">
    <fields>
    <LINK_NAME>SAP</ LINK_NAME>
    < LINK_URL> http://www.sap.com/index.html </ LINK_URL >
    </fields>
    </object>
    <object classname="extension_collections">
    <fields>
    <LINK_NAME>SCN Sourcing</ LINK_NAME>
    < LINK_URL>http://scn.sap.com/community/sourcing</ LINK_URL >
    </fields>
    </object>
    </ ZLINKS >
    </collections>
    </object>
    </objects>
    </sapesourcing>
    Could you please help me with the right XML Structure for Agreement( 1003)?
    Regards,
    Sai

  • Auto Invoice Master Program

    Hi All,
    I have problem in exceuting the Auto Invoice Master Program, which is taking long time to complete. Can any help me why is this taking too much time.
    we are using 12.0.6
    thnxs

    Hello.
    To trace the program, login as System Administrator, navigate to Concurrent/Programs/Define and query the program name. Check the Enable Trace checkbox.
    The trace file will be placed on the $ORACLE_HOME directory/admin/udump. Run the tkprof on the trc file and see which code is taking too long.
    Octavio

  • Invoice and credit note processing

    Hello all,
    I have got a query with respect to transaction MRBR (Remove Block on invoice). The process that we follow is:
    1) When AP clerk enters invoice, he enters the invoice with a 'R' block. This blocks the invoice from getting paid.
    2) Every evening there is a background job scheduled with transaction MRBR. What this job does is removes the 'R' block from the invoice if it has got a corresponding GR.
    3) This invoice then appears in the payment run and is paid off.
    The problem with this process is when the credit notes are raised on account. We link the credit notes and invoices by copying the document number of invoice in the 'invoice reference' field while entering the credit note. The 'R' block also gets copied onto the credit note (if the invoice has the block). Transction MRBR runs overnight and removes the block from the invocie (if it has a corresponding GR) and the invoice becomes free for payment. However there is no parameter in the program to remove the block from the credit note as well. What eventually happens is that the invoice becomes free for payment, the credit note remains 'R' blocked and hence does not appear in the payment run to offset the invoice and the invoice gets paid off even though it had a credit note.
    Is anyone aware of how to remove the 'R' block from the credit note or if there is a better process to work with invoice and credit notes.
    Thanks for all your help
    Regards
    Keyur

    Hi,
    I also think that there is no need for putting a R block in the credit note at all. 
    The process should be like below:
    1. Invoice posted before GR - Invoice should be automatically blocked if the tolerance keys are set up properly (transaction code OMR6).  I am not sure why you have to put the R block manually.
    2. Post credit note - do not put any kind of block.  Make sure that you are referencing the credit note to the earlier posted invoice or the the relevant PO line item.
    3. MRBR matches and releases the invoice.
    4. When you run F110, it should automatically clear the invoice, credit note and make payment for the rest.

  • Journal Import Attributes not processed

    Hi,
    I'am loading data in an interface table to create journal lines using Standard Journal Import program and I am passing values in attributes fields in my interface table. The attributes are for the table GL_JE_LINES.
    After processing of Journal Import, my journal lines are created but no information appears in the attribute fields.
    I have pass Context value as well.
    I can't find why attribute values are not taken by Journal import.
    Please help
    Vik

    Hello,
    Yes it was argument7 when submitting the request via fnd_request.submit - the value should be either O- without validation or W- with validation.
    , p_argument1 => l_interface_run_id
    , p_argument2 => TO_CHAR(fnd_profile.value('GL_ACCESS_SET_ID'))
    , p_argument3 => 'N'
    , p_argument4 => NULL
    , p_argument5 => NULL
    , p_argument6 => 'N'
    , p_argument7 => 'O'-- import dff
    , p_argument8 => 'Y'
    Thx
    vik

  • 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

  • Bill and Routing Interface concurrent program is not processing component

    Hi All,
    While running Bill and Routing Interface concurrent program,not processing the component item(Line Item) from bom_inventory_comps_interface,still it show process flag as 1. where as billing item(Header Item) is successfully done..i have tried with all the option by giving component sequence id and batch id still it is not processing component item..
    Is it recommendable to give bill sequence id and component sequence id in interface table using bom_inventory_component_s sequence..
    I will be very pleased if i listen from u guys... Plz help me in resolving this issue..
    My Header Insert Stmt..
    INSERT INTO apps.bom_bill_of_mtls_interface@system_link_visma
    (assembly_item_id, organization_id,
    alternate_bom_designator, last_update_date,
    last_updated_by, creation_date, created_by,
    revision, item_number, item_description,
    implementation_date, transaction_type,
    process_flag, assembly_type, batch_id
    VALUES (l_inv_item_id, l_org_id,
    NULL, SYSDATE,
    1318, SYSDATE, 1318,
    l_revision, l_item_num, l_description,
    SYSDATE, 'CREATE',
    1, 1, 10003535
    Component Insert stmt
    INSERT INTO apps.bom_inventory_comps_interface@system_link_visma
    (operation_seq_num, component_item_id,
    item_num, basis_type, component_quantity,
    auto_request_material, effectivity_date,
    disable_date, planning_factor,
    component_yield_factor,
    enforce_int_requirements,
    include_in_cost_rollup, wip_supply_type,
    supply_subinventory, supply_locator_id,
    check_atp, optional,
    mutually_exclusive_options,
    low_quantity, high_quantity,
    so_basis, shipping_allowed,
    include_on_ship_docs, required_to_ship,
    required_for_revenue, component_remarks,
    transaction_type, process_flag,
    assembly_item_id, component_item_number,
    batch_id,component_sequence_id
    VALUES (l_operation_seq, l_comp_item_id,
    cur2.item_sequence, l_basis, cur2.quantity,
    l_auto_request_mtls, cur2.from_date,
    cur2.TO_DATE, cur2.planning_factor,
    cur2.yield_factor,
    l_enforce_int_requirements,
    l_include_in_cost_rollup, l_supply_type,
    l_supply_subinventory, NULL,
    l_check_atp, l_optional,
    l_mutually_exclusive_options,
    cur2.minimum_quantity, cur2.maximum_quantity,
    l_sale_order_basis, l_shippable_flag,
    l_include_on_ship_docs, l_required_to_ship,
    l_required_for_revenue, cur2.comments,
    'CREATE', 1,
    l_inv_item_id, l_comp_item_num,
    10003535,apps.bom_inventory_components_s.nextval@system_link_visma
    For Subcomponent Insert Stmt
    INSERT INTO apps.bom_sub_comps_interface@system_link_visma
    (substitute_component_id,
    substitute_item_quantity,
    assembly_item_id, component_item_id,
    operation_seq_num, organization_id,
    substitute_comp_number,
    component_item_number,
    assembly_item_number,
    transaction_type, process_flag,
    enforce_int_requirements,
    effectivity_date,component_sequence_id,batch_id
    VALUES (l_sub_comp_item_id,
    cur3.quantity,
    l_inv_item_id, l_comp_item_id,
    cur2.operation_sequence, l_org_id,
    l_sub_comp_item_num,
    l_comp_item_num,
    l_item_num,
    'CREATE', 1,
    l_enforce_int_requirements,
    SYSDATE,apps.bom_inventory_components_s.currval@system_link_visma,10003535
    Thanks
    Raman Sharma
    Edited by: 929841 on May 4, 2012 12:28 AM
    Edited by: 929841 on May 4, 2012 2:58 AM

    You need to populate the organization_id or organization_code in bom_inventory_comps_interface.
    Here is a minimal insert
    INSERT INTO bom.bom_inventory_comps_interface
                (operation_seq_num, last_update_date, last_updated_by,
                 creation_date, created_by, process_flag, transaction_type,
                 bom_item_type,
                 effectivity_date, organization_code, assembly_item_number,
                 item_num, component_item_number, component_quantity
         VALUES (1                                                   -- op_seq_num
                 ,SYSDATE, 1433
                 ,SYSDATE, 1433, 1                                  -- process_flag
                 ,'Create',
                 4 -- bom_item_type 1 Model; 2 Option class; 3 Planning; 4 Standard; 5 Product family
                 ,SYSDATE - 1, 'PUB', 'SSGPARENT1'          -- assembly_item_number
                 ,10                                                     --item_num
                 , 'SSGCOMP1'                           -- component_item_number
                 , 10                                          --qty
                )Sandeep Gandhi

  • 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

  • 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

  • Payables Open Interface Import program is not Importing the Invoices

    Hi All,
    We are trying to create new invoices (SUM_DIF) based on the Foreign currency gain/Loss amounts. But payables open interface import program is rejecting all invoices with the rejectionr code as "No Invoice Lines, Atleast one invoice line is required".
    But when we check in the interface tables we have invoices as well as the corresponding lines for those invoices. This issue is happening in 12.0.6
    Any one faced this similar issue earlier? Any help is highly appreciated.
    Thanks,
    Rama Krishna.

    Hi,
    No issues for me on Payables Open Invoice Interface with 12.0.6 - and yes make sure you match up the invoice_id on invoice, lines interface tables.
    Regards,
    Gareth

Maybe you are looking for

  • One Drive for Business with Office 2010

    I have some users with Office Pro 2010 that need to sync SharePoint 2013 libraries. When clicking the Sync button, the SharePoint Workspace 2010 jumps. I tried installing the OneDrive for business and it receives that it's all set but nothing happpen

  • GP login script causes windows to crash

    We have a script that runs on all computers that opens our intranet. This script crashed Windows build 9926 overtime. Is there any way to fix this. Also I can't install the new build because the HP printers update fails everytime.

  • What is this apple part # 922-8903

    I'm working on repairing a Mac Pro I was given and was looking at part sites to find the parts I need, and there is one that I am not sure I need, and can't find the answer anywhere. Does anyone know what this is? It would seem that it is some sort o

  • Standard Process's

    Hi, Are there any Oracle documents listing the standard process's for each module? Or Process flow diagrams? Many thanks

  • Load balancing FTP/HTTP on same VIP

    Hi, Please could someone confirm if it is possible to load balance FTP and HTTP on same VIP? Would something like this work in a one-armed design? class-map match-any WCVS   2 match virtual-address 20.0.0.1 tcp eq www   4 match virtual-address 20.0.0