Using API  to run Catalog Bulk Load - Items & Price Lists concurrent prog

Hi everyone. I want to be able to run the concurrent program "Catalog Bulk Load - Items & Price Lists" for iProcurement. I have been able to run concurrent programs in the past using the fnd_request.submit_request API. But I seem to be having problems with the item loading concurrent program. for one thing, the program is stuck on phase code P (pending) status.
When I run the same concurrent program using the iProcurement Administration page it runs ok.
Has anyone been able to run this program through the backend? If so, any help is appreciated.
Thanks

Hello S.P,
Basically this is what I am trying to achieve.
1. Create a staging table. The columns available for it are category_name, item_number, item_description, supplier, supplier_site, price, uom and currency.
So basically the user can load item details into the database from an excel sheet.
2. use the utl_file api, create an xml file called item_load.xml using the data in the staging table. this will create the xml file used to load items in iprocurement and save it in the database directory /var/tmp/iprocurement This part works great.
3. use the api fnd_request.submit_request to submit the concurrent program 'Catalog Bulk Load - Items & Price Lists'. This is where I am stuck. The process simply says pending or comes up with an error saying:
oracle.apps.fnd.cp.request.FileAccessException: File /var/tmp/iprocurement is not accessable from node/machine moon1.oando-plc.com.
I'm wondering if anyone has used my approach to load items before and if so, have they been successful?
Thank you

Similar Messages

  • How to use QPXVBLK: QP: Bulk Import of Price List?

    hi,
    i'm trying to create a script for import price lists. i've read that this concurrent program "QPXVBLK: QP: Bulk Import of Price List" is what i need. i've been able to successfully create the script to populate the interface tables:
    QP_INTERFACE_LIST_HEADERS
    QP_INTERFACE_LIST_LINES
    QO_INTERFACE_PRICING_ATTRIBS
    but i'm getting an error.
    3436374/PRL/QP_INTERFACE_LIST_HEADERS/24934 Cannot perform Insert, as record with orig_sys_header_ref 24934 already exists for the list_source_code .
    i figured it has something to do with the ORIG_SYS_HEADER_REF, ORIG_SYS_LINE_REF and ORIG_SYS_PRICING_ATTR_REF columns.
    below are values i'm currently passing.
    QP_INTERFACE_LIST_HEADERS TABLE
    - ORIG_SYSTEM_HEADER_REF = LIST_HEADER_ID
    QP_INTERFACE_LIST_LINES TABLE
    - ORIG_SYS_LINE_REF = LIST_LINE_ID
    - ORIG_SYS_HEADER_REF = LIST_HEADER_ID of parent record in QP_INTERFACE_LIST_HEADERS TABLE
    QP_INTERFACE_PRICING_ATTRIBS TABLE
    - ORIG_PRICING_ATTR_REF = PRICING_ATTRIBUTE_ID
    - ORIG_SYS_LINE_REF = LIST_LINE_ID of parent record in QP_INTERFACE_LIST_LINES TABLE
    - ORIG_SYS_HEADER_REF = LIST_HEADER_ID of parent record in QP_INTERFACE_LIST_HEADERS TABLE
    if these are not correct, what values should be passed on this columns?
    thanks
    allen

    hi all,
    ii would like to add a follow up question on this.
    what fields are required when inserting records into the interface tables for the QP: Bulk Import of Price List?
    i've been running some tests and while some price lists are imported with no issues, some are not and some only partial. i'm not receiving any errors on the import which makes this harder for me to debug.
    any thoughts?
    thanks.
    allen

  • Error in QP: Bulk Import of Price List

    Hi All,
    I am trying to import price list records using the concurrent program 'QP: Bulk Import of Price List'. I am facing one issue in this...below is the error detail:
    7164262/PRL/QP_INTERFACE_LIST_LINES//RAGH-L-3 A price break child line must have at least one pricing attribute.
    The header and Qualifier records are getting imported sucessfully, the issue is with the line and it's attributes. Below are the fields on interface tables whcih i m populating:
    INSERT INTO QP_INTERFACE_LIST_LINES (
    ORIG_SYS_LINE_REF,
    ORIG_SYS_HEADER_REF,
    LIST_LINE_TYPE_CODE,
    START_DATE_ACTIVE,
    END_DATE_ACTIVE,
    ARITHMETIC_OPERATOR,
    OPERAND,
    PRIMARY_UOM_FLAG,
    PRODUCT_PRECEDENCE,
    INTERFACE_ACTION_CODE,
    PROCESS_FLAG,
    PROCESS_STATUS_FLAG,
    PRICE_BY_FORMULA,
    AUTOMATIC_FLAG,
    REPRICE_FLAG
    --PRICING_GROUP_SEQUENCE
    ) VALUES
    'RAGH-L-3',
    'RAGH-H-3',
    'PLL',
    sysdate,
    NULL,
    'UNIT_PRICE',
    150,
    'Y',
    230,
    'INSERT',
    'Y',
    'P',
    NULL,
    'Y',
    'Y'
    --0
    INSERT INTO qp_interface_pricing_attribs
    orig_sys_pricing_attr_ref,
    orig_sys_line_ref,
    orig_sys_header_ref,
    PRODUCT_ATTRIBUTE_CONTEXT,
    product_attr_code,
    product_attr_val_disp,
    product_uom_code,
    interface_action_code,
    process_flag,
    process_status_flag,
    PRICING_ATTRIBUTE_CONTEXT,
    PRICING_ATTRIBUTE,
    PRICING_ATTR_VALUE_FROM_DISP,
    COMPARISON_OPERATOR_CODE,
    PRICING_ATTR_VALUE_TO_DISP )
    VALUES
    'RAGH-ATTR-3',
    'RAGH-L-3',
    'RAGH-H-3',
    'ITEM',
    'INVENTORY_ITEM_ID',
    'CM13139',
    'EA',
    'INSERT',
    'Y',
    'P',
    'ADS_PRICING',
    'COST',
    '25',
    'BETWEEN',
    '30' );
    Using the above process I am getting the error as mentioned:"7164262/PRL/QP_INTERFACE_LIST_LINES//RAGH-L-3 A price break child line must have at least one pricing attribute.".
    If I am not using the pricing attributes PRICING_ATTRIBUTE_CONTEXT,PRICING_ATTR_CODE, Pricing_attr_value_from,COMPARISON_OPERATOR_CODE, PRICING_ATTR_VALUE_TO I am able to import the line records also.
    The script provided by Oracle also uses the same columns in the interface table, kindly help me if any one have any idea regarding this issue.

    Hi Luko,
    I tried the same script given by oracle, but it is giving me the error as I mentioned earlier. When I am not using the pricing line attributes, it is working fine. The error is coming only when I am passing the pricing attribute parameter(PRICING_ATTRIBUTE_CONTEXT,     PRICING_ATTR_CODE,     PRICING_ATTR_VALUE_FROM_DISP,
    COMPARISON_OPERATOR_CODE,     PRICING_ATTR_VALUE_TO_DISP).
    I am passing the values as shown below:
    PRICING_ATTRIBUTE_CONTEXT-Code fro pricing context i.e PRICING ATTRIBUTE
    PRICING_ATTR_CODE-code for attribute i.e. FREIGHT_COST
    PRICING_ATTR_VALUE_FROM_DISP-200
    PRICING_ATTR_VALUE_TO_DISP-300
    COMPARISON_OPERATOR_CODE-BETWEEN
    Thanks!

  • QP: Bulk Import of Price List

    Hi All,
    I encouter this error when i run this CP.
    Program Name : ‘QP: Bulk Import of Price List’
    Erroring with the following error :
    QP_INTERFACE_LIST_HEADERS/SAMPLE_HEADER Invalid Date.
    Output :
    ------Processing Price List Entity--------
    -----------Bulk Pricelist Data Loader---------
    Paremeters
    Entity Name:
    Process Id:
    Process Type:
    Process Parent: Y
    Number Of Threads: 1
    Number Of succesfully Processed Headers: 0
    Number Of Errored Headers: 1
    Number Of succesfully Processed Qualifiers: 0
    Number Of Errored Qualifiers: 0
    Error Details
    4766507/PRL/QP_INTERFACE_LIST_HEADERS/SAMPLE_HEADER Invalid Date.
    4766507/PRL/QP_INTERFACE_LIST_HEADERS/SAMPLE_HEADER Invalid Date.
    thanks,

    Please check the date format mentioned for start_date_active
    For QP_INTERFACE_LIST_HEADERS, it is VARCHAR2 and should be inserted as a character string in the format YYYY/MM/DD
    For QP_INTERFACE_LIST_LINES, it is however a DATE field which means that you can enter a normal date there
    Regards
    Soumya

  • Catalog Bulk Load Process

    Hi
    Where can I find the spreadsheet templates (ItemPrice.txt, Item.txt, Price.txt) to bulkload catalog items in iProcurement?
    Thanks!

    Hi,
    Before loading catalogs you have to define the mapping hierarchy (Browsing, Item). The end level should be item.
    PEN ( Level 1 -- Browsing item)
    -- GELL PENS ( Level 2 Item)
    -- BALL POINT PENS (Level 2 Item)
    -- INK PENS (Level 2 Item)
    This is the navigation
    internet procurement catalag admin responsibility --> eContent Manager -->Manage Category hierarchy (PEN ( Level 1 -- Browsing item))
    using these declare the browsing and use the Manage Item Categories declare the item categories ( -- BALL POINT PENS (Level 2 Item)
    -- INK PENS (Level 2 Item))
    Then you goto Manage category Hierarchy and assign the 2 items ( BALL POINT PENS ,INK PENS).
    Once you declare the structure, map the categories with purchasing categories using Map Oracle purchasing categories.
    Then you have to rebuild the index usingthe below command.
    Navigation:     N > Setup > E-Catalog Admin > Loader Values
    Description:This report is run to extract all Purchasing Categories that are web enabled from core PO to iProcurement. In the loader values screen just click ‘Extract Classifications’ for the extract to be done.
    Notes: View the output of this report to check that everything worked OK and there were no errors. It may be necessary to first Drop and then Rebuild the Intermedia Index on the database before this process works for the first time. Script below:Exec icx_por_intermedia_index.drop_index
         .create_index.rebuild_index
    Once it is done, you can load the categories using the upload items button.
    goto purchasing-- view requestes. check the concrrent progarm status.
    Let me know if you have any other concerns or drop me a mail [email protected]
    Thanks
    Subbu

  • How to prevent Evaluate User Policies to run for Bulk loaded users?

    Hi,
    I have an OIM 11G R2 environment, where i did a bulk load of abount 200,000+ users, and all the users' accounts were created using target recon.
    How do I prevent the evaluate user policies scheduler from running for these users?
    Any ideas are welcome.
    Thanks,
    Aravind Suresh

    Hi,
    I do have roles and access policies.
    But i do not want them to applied to them at this stage as they already got everything through target recon.
    Only for new users or these users on update i want the evaluate user policies to run.
    Otherwise running evaluate user policies for these many users could be a very time and resource consuming task.
    Thanks,
    Aravind Suresh

  • How to use BYDATE to run a procedure on a given list of dates ..?

    Hi all,
    Our client has a meeting schedule and he needs a report prior to every meeting. He had sent us the meeting dates and my manager asked me to schedule a job in the database to run prior to his meeting so that we can get him the report on time. Now I have to schedule a job which should be executed on the dates he has given. I tried to configure the BYDATE parameter in dbms_scheduler.create_schedule but its giving me an error. My database is Oracle 10g R1 and OS is Solaris 9.
    select * from V$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bi
    PL/SQL Release 10.1.0.2.0 - Production
    CORE 10.1.0.2.0 Production
    TNS for Solaris: Version 10.1.0.2.0 - Production
    NLSRTL Version 10.1.0.2.0 - Production
    select PLATFORM_NAME from v$database;
    PLATFORM_NAME
    Solaris[tm] OE (64-bit)
    BEGIN
    dbms_scheduler.create_schedule (
              schedule_name => 'CLIENT_REPORT_JOB',
              repeat_interval => 'FREQ=DAILY;BYDATE=20080912,20080913',
    comments => 'Client Report');
    END;
    ERROR at line 1:
    ORA-27412: repeat interval contains invalid keyword: BYDATE
    ORA-06512: at "SYS.DBMS_ISCHED", line 595
    ORA-06512: at "SYS.DBMS_SCHEDULER", line 1045
    ORA-06512: at line 2
    Can someone help me, please...?
    Thanks in advance.
    Regards,
    FlameThrower

    Hi,
    Many of the Scheduler Calendar enhancements were introduced in 10gR2. Since you are using 10gR1 you should check the Scheduler documentation for 10gR1 to see if BYDATE is supported in that release (I don't think it is).
    If it isn't, as a workaround, you can use a PL/SQL date function which has the list of dates hardcoded in it and returns the next applicable date.
    Hope this helps,
    Ravi.

  • Item - price list

    Hi
    One item can be assigned to multiple price lists?
    And If yes which price list take priority when creating sales orders?
    Thanks
    Prakash

    Hi Sanjaya,
    There are 2 places where you should check up for the defaulting of the price list in the PO
    1. In the BP master data for the vendor in the payment terms the Price list should be Cost price.
    2. In the Form Settings in the Document Tab the Price list should be Cost price. Please check these 2 places
    Nagesh

  • Error while running bulk load utility for account data with CSV file

    Hi All,
    I'm trying to run the bulk load utility for account data using CSV but i'm getting following error...
    ERROR ==> The number of CSV files provided as input does not match with the number of account tables.
    Thanks in advance........

    Please check your child table.
    http://docs.oracle.com/cd/E28389_01/doc.1111/e14309/bulkload.htm#CHDCGGDA
    -kuldeep

  • Bulk Loader in Tuxedo/Jolt 8.0

    Hello,
    I have installed Tuxedo 8.0 under D:\tuxedo on a Win2000 test-server, using the
    "Full install" option. In production, running Tuxedo 6.5/Jolt 1.1 on NT 4.0, we
    have a catalog D:\tuxedo\udataobj\jolt\client .
    This catalog is no longer present in version 8.0 - is this correct?
    If yes: How do I run the bulk loader, whose class file "jbld.class" lies under
    D:\tuxedo\udataobj\jolt\client\classes\bea\joltadm in version 1.1? I cannot find
    this class file anywhere in the 8.0 install tree!
    regards,
    Simen R.

    This was added to Tuxedo 8.0 as a performance enhancement.
    This ubb option(or equivalent mib and environment attributes)
    sets the cache size for the number of service or interface
    entries that you expect to need to maintain locally.
    Without this cache, all the service/interface information
    must be gotten from the bulletin board process. With this
    cache, the information is immediately available.
    The cache is on by default and the default cache size is
    500 entries. The cache is updated everytime the bulletin
    board is changed so the usefulness of the cache decreases
    when the bulletin board is changing frequently.
    As with any performance tuning, you should test with
    your application to see what size cache(if any) works
    best. Hope this helps.
    Bob Finan
    "°í°æÇÐ" wrote:
    Hi.
    I wonder about SICACHEENTRIESMAX(Service Cache Entry), in Tuxedo Version 8.0
    ubbconfig's SERVERS section.
    Please tell me about its function.
    Thanks in advance.
    Best Regards.

  • Issue with Bulk Load Post Process Scheduled Task

    Hello,
    I successfully loaded users in OIM using the bulk load utility.  I also have LDAP sync ON.  The documentation says to run the Bulk Load Post Process scheduled task to push the loaded users in OIM into LDAP.
    This works if we run the Bulk Load Post Process Scheduled Task right away after the run the bulk load.
    If some time had passed and we go back to run the Bulk Load Post Process Scheduled Task, some of the users loaded through the bulk load utility are not created in our LDAP system.  This created an off-sync situation between OIM and our LDAP.
    I tried to use the usr_key as a parameter to the Bulk Load Post Process Scheduled Task without success.
    Is there a way to force the re-evaluation of these users so they would get created in LDAP?
    Thanks
    Khanh

    The scheduled task carries out post-processing activities on the users imported through the bulk load utility.

  • Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).

    Hi,
    I have a file where fields are wrapped with ".
    =========== file sample
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    "asdsa","asdsadasdas","1123"
    ==========
    I am having a .net method to remove the wrap characters and write out a file without wrap characters.
    ======================
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    asdsa,asdsadasdas,1123
    ======================
    the .net code is here.
    ========================================
    public static string RemoveCharacter(string sFileName, char cRemoveChar)
                object objLock = new object();
                //VirtualStream objInputStream = null;
                //VirtualStream objOutStream = null;
                FileStream objInputFile = null, objOutFile = null;
                lock(objLock)
                    try
                        objInputFile = new FileStream(sFileName, FileMode.Open);
                        //objInputStream = new VirtualStream(objInputFile);
                        objOutFile = new FileStream(sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString(), FileMode.Create);
                        //objOutStream = new VirtualStream(objOutFile);
                        int nByteRead;
                        while ((nByteRead = objInputFile.ReadByte()) != -1)
                            if (nByteRead != (int)cRemoveChar)
                                objOutFile.WriteByte((byte)nByteRead);
                    finally
                        objInputFile.Close();
                        objOutFile.Close();
                    return sFileName.Substring(0, sFileName.LastIndexOf('\\')) + "\\" + Guid.NewGuid().ToString();
    ==================================
    however when I run the bulk load utility I get the error 
    =======================================
    Bulk load data conversion error (type mismatch or invalid character for the specified codepage) for row 1, column 3 (NumberOfMultipleMatches).
    ==========================================
    the bulk insert statement is as follows
    =========================================
     BULK INSERT Temp  
     FROM '<file name>' WITH  
      FIELDTERMINATOR = ','  
      , KEEPNULLS  
    ==========================================
    Does anybody know what is happening and what needs to be done ?
    PLEASE HELP
    Thanks in advance 
    Vikram

    To load that file with BULK INSERT, use this format file:
    9.0
    4
    1 SQLCHAR 0 0 "\""      0 ""    ""
    2 SQLCHAR 0 0 "\",\""   1 col1  Latin1_General_CI_AS
    3 SQLCHAR 0 0 "\",\""   2 col2  Latin1_General_CI_AS
    4 SQLCHAR 0 0 "\"\r\n"  3 col3  Latin1_General_CI_AS
    Note that the format file defines four fields while the fileonly seems to have three. The format file defines an empty field before the first quote.
    Or, since you already have a .NET program, use a stored procedure with table-valued parameter instead. I have an example of how to do this here:
    http://www.sommarskog.se/arrays-in-sql-2008.html
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Retry "Bulk Load Post Process" batch

    Hi,
    First question, what is the actual use of the scheduled task "Bulk Load Post Process"? If I am not sending out email notification, nor LDAP syncing nor generating the password do I still need to run this task after performing a bulk load through the utility?
    Also, I ran this task, now there are some batches which are in the "READY FOR PROCESSING" state. How do I re-run these batches?
    Thanks,
    Vishal

    The scheduled task carries out post-processing activities on the users imported through the bulk load utility.

  • OIM 11g - Issue with Bulk Load Utility for Account Data

    Hi,
    We are trying to load the account data for users in OIM 11g using bulk load utility.
    We are trying to load the account data for resource "iPlanet". For testing purpose, we made one account entry in csv file and run the bulk load utility. After the bulk load process completes, we have noticed that resource is provisioned to the user multiple times and multiple entries have been created in process form table.
    We have tried to run the utility multiple times with a different user record each time.
    The out put of the below sql query:
    SELECT MSG FROM OIM_BLKLD_LOG
    WHERE MODULE = 'ACCOUNT' AND LOG_LEVEL = 'PROGRESS_MSG'
    ORDER BY MSG_SEQ_NO;
    is coming as follows:
    MSG
    Number of Records Loaded: 126
    Number of Records Loaded: 252
    Number of Records Loaded: 504
    Number of Records Loaded: 1008
    Number of Records Loaded: 2016
    Number of Records Loaded: 4032
    We have noticed that each time the number of records loaded is increased to double from the records loaded in last run even when the csv file contains only one record.
    Provided below are the parent and child csv file entries.
    Parent file:
    UD_IPNT_USR_USERID,UD_IPNT_USR_FIRST_NAME,UD_IPNT_USR_LAST_NAME,UD_IPNT_USR_COMMON_NAME,UD_IPNT_USR_NSUNIQUEID
    KPETER,Peter,Kevin,Peter Kevin,
    Child file 1:
    UD_IPNT_USR_USERID,UD_IPNT_GRP_GROUP_NAME
    KPETER,group1
    Child file 2:
    UD_IPNT_USR_USERID,UD_IPNT_ROL_ROLE_NAME
    KPETER,role1
    Can you please throw some insight on what could be the potential cause for this issue and how it could be resolved?
    Thanks
    Deepa
    Edited by: user10955790 on Jun 25, 2012 6:45 AM

    Hi Deepa,
    I know from 'User load' perspective that is required to restart Oracle Identity Manager when we need to reload data that was not loaded during the first run.
    So, my suggestion is restart it before reload.
    Reference: http://docs.oracle.com/cd/E21764_01/doc.1111/e14309/bulkload.htm#CHDEICEH
    I hope this helps,
    Thiago Leoncio.

  • Price List Loading

    Why the data is not picked from interface tables and loaded into the base tables after running the concurrent program
    "QP:BULK IMPORT OF PRICE LIST".We are adding new lines to the price list for already existing headers in the base table "QP_LIST_HEADERS".
    We are passing interface_action_code="UPDATE" IN QP_INTERFACE_LIST_HEADERS And
    interface_action_code="INSERT" IN QP_INTERFACE_LIST_LINES And QP_INTERFACE_PRICING_ATTRIBS.
    Please kindly us know

    Hi Raj,
    Thanks a lot for the reply.
    Actually I was thinking of loading the price at a daily level and at a Item - Location level so I'll have the SALES_DATE, ITEM_CODE, LOCATION_CODE, PRICE colums.
    Let's say that I have the next situation: if one product has price 5 starting with 01.01.2011 till 05.31.2011 and starting with that date the price will be 6. How do I define that in the flat file ?
    1. I insert 2 lines i.e.
    SALES_DATE ITEM_CODE LOCATION_CODE PRICE
    01.01.2011 X Y 5
    05.31.2011 X Y 6
    OR
    2. I insert 1 line for each date starting with 01.01.2011 till 05.31.2011 and so on i.e.
    SALES_DATE ITEM_CODE LOCATION_CODE PRICE
    01.02.2011 X Y 5
    01.03.2011 X Y 5
    01.04.2011 X Y 5
    05.31.2011 X Y 6
    06.01.2011 X Y 6
    06.02.2011 X Y 6
    06.03.2011 X Y 6
    Thak you
    AMC

Maybe you are looking for

  • Signed applet, jmf.jar provided, but no connection

    hi there! i'm posting this again in order for you to earn duke-bucks. i have a similar problem. i wrote an applet that connects to a video-streamserver an requests a live-stream. the applet sends some udp-packets to the server, which retreives the cl

  • How to download  n  files  to FTP server in background using single report?

    Hi all, I have one requriement where i have to download 7 different text ( *.txt ) files to FTP server weekly using single program in background mode. I have populated all the 7 internal tables with their corresponding data.  But i dont know how to p

  • Content server on Windows 2003

    HI, What are pro/cons of  installing content server 6.4 with maxdb over windows server 2003 standard edition  and windows server 2003 Enterprise edition. We are also planing to install TREX over the same content server.  Thanks. BR, Anirudh,

  • How can  i know the location of rmiregistry throught the batch file ????!!!

    i would make a batch file that launch my java application wich uses RMIREGISTRY, is there a way to know the path where is located the "rmiregistry file" -if it exists- in the client machine throught the batch file in order to start it befor to launch

  • Need some answer for audigy 2

    hi all i'm new here hope all is fine anyway i went to creative for an update it won't work it starts the download and the all of a sudden it says fail can some one help me .also i use my audigy to make my old vinyl record's in to cd's but now as i pu