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!

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

  • 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

  • Bulk Import into contact list error.

    Hi,
    We are testing out the bulk import into contact list feature and we are getting an error that we can't resolve.  We followed the directions from the documentation http://topliners.eloqua.com/docs/DOC-6918
    Here's the sample request we are making:
    URL: https://www02.secure.eloqua.com/api/bulk/2.0/contacts/imports
    Request Header:
    Authorization: [our token]
    Content-Type: application/json
    Request Body:
      "name": "test",
      "fields": {
        "emailAddress": "{{Contact.Field(C_EmailAddress)}}"
      "syncActions": [
          "action": "add",
          "destination": "/contacts/lists/63"
      "identifierFieldName": "emailAddress",
      "isSyncTriggeredOnImport" : "true"
    Response Body:
        "failures": [{
            "field": "destination",
            "stackTrace": [{
                "field": "syncActions"
            "value": "/contacts/lists/63",
            "constraint": "ML Statements must have a ContactList root (see http://topliners.eloqua.com/docs/DOC-4298 for details) (when action = add)."
    Is there a step we are missing? 
    Thanks for the help.

    Hi Benny,
    In syncActions, instead of: "destination": "/contacts/lists/63", please try: "destination": "{{ContactList[63]}}".

  • 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

  • Import Specail Price List by DTW

    Hello all,
    I'm trying to import a Special Price List to expired the current price record, but I get the following error message:
    "Method '' of object '' failed65171".
    Here is the content of my SpeicalPrices.xls and SpecialPricesDataAreas.xls
    RecordKey     CardCode     ItemCode     AutoUpdate     Currency     DiscountPercent     PriceListNum     Price
    RecordKey     CardCode     ItemCode     AutoUpdate     Currency     DiscountPercent     PriceListNum     Price
    001     S10001     35823                         
    002     S10002     31972                         
    003     S10004     23800     
    The DateFrom of these items are 2008.09.01, and now I want to set the Expiry Date to 2008.10.31
    RecordKey     LineNum     AutoUpdate     DateFrom     Dateto     Discount     PriceCurrency     PriceListNo     SpecialPrice
    RecordKey     LineNum     AutoUpdate     DateFrom     Dateto     Discount     PriceCurrency     PriceListNo     SpecialPrice
    001     0               2008.10.31                    
    002     0               2008.10.31                    
    003     0               2008.10.31
    Thanks
    Edited by: hkcm hkcm on Sep 29, 2008 5:54 AM

    Hi,
    I think it is caused by your record key data. it  must not be 001 but it shoud be 1, 2, 3, etc.
    I am sure you put the symbol ' near the zero. it is probably '001. '002, etc. this is not the requirement but it must be 1, 2, 3.etc.
    Let me know if you still find error although you have change the record key to be 1, 2, 3, etc.
    Rgds,

  • Import Two Price Lists for one item

    Hi all,
    How we can import two price lits for one item and how to link it.
    For eg.
    Suppose Item A is having price 100 Rs today at 11 am
    and its price changes to 150 RS at 1 Pm.
    how we can do this.
    We also want to see the last price of that item.
    Reply
    Thanks,
    Neetu

    Neetu,
    What do you mean by changing?  Does the Item price flactuate throughout the day every day..if so you need to create a routine to import/update the pricelist constantly.
    If the 11 am and 1 pm are constant times when the prices change then you can maintain a pricelist for each one of them.
    Shooting for a solution without knowing the business background can be a bit wasteful.  If you might want to throw some light on the type of business and what the prices are for..
    I also see you have posted the same question earlier..Price Updation
    I would suggest that you post only one thread for one question.

  • 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

  • Price List Error in Bill of Materials in relation to SAP Note 1056208

    Hi Experts,
    I have uploaded the Bill of Materials --both the Header and Lines using DTW successfully but when I try to update the Product Price of the Parent manually in the Bill of Materials, this error occurs:
    "Variation between number of price lists and number of price lists for items"
    I have also tried running the script provided in SAP Note 1056208 to check if there are any inconsistencies in the Price List records but there is none.  The number of records in both tables are the same.
    We have 3 levels of Bill of Materials (FG, WIP1, WIP2).  I need to update the Product Price of WIP2 first so that its price will appear in the line items since it is a component of WIP1.
    I hope you could help me with my problem and I would appreciate your prompt replies.
    Thank you very much!

    Hi!
    In BOM u will find a Orange Color Drop Down Arrow @ Right-Bottom Corner. You have to click on that to generate Price for your Parent based on the Child.
    Select the Approp Price List in Header of BOM and in Row Level. Update prices for Child Items, now Follow the above step.

  • Failed to resolve incompatibility between price lists

    Hej,
    I have several price list but in one when I add item I get the following error
    Failed to resolve incompatibility between price lists(item) Duplicate price list lines( i.e. equal precedence): US dc and US dc.
    I have checked the item is not duplicated anywhere in pricing, any idea why getting this error message?
    thanks and kind reagrds,
    /Z

    Check that if the same item is there in terms of category price list line and that has same precedence.

  • Price List erro - variation between the number of price lists

    The following error is occuring when adding a price list. 
    Price List error - variation between the number of price lists and number of price lists items.
    We have reviewed with recommendations from the below post, but are UNABLE to run the 2nd proposed query.
    Message 3506-9 Price List Error - Please Help
    This query is not able to be executed - can you please supply another query,
    SELECT T1.ItemCode as 'OITM', T0.ItemCode as 'ITM1' FROM ITM1 T0 Left JOIN OITM T1 ON T0.ItemCode = T1.ItemCode Where T1.ItemCode is NULL 3
    Thanks in advance for you assistance

    Hi,
    Remove the '3' from the end, then the query will run properly:
    SELECT T1.ItemCode as 'OITM', T0.ItemCode as 'ITM1' FROM ITM1 T0 Left JOIN OITM T1 ON
    T0.ItemCode = T1.ItemCode Where T1.ItemCode is NULL
    Regards,
    Nat

  • Inventory Price Lists Period and Volume Discounts

    Hi all
    Is it possible to mass import Inventory Price Lists Period and Volume Discounts for all Items?
    Kedalene Chong

    Hi,
    To get correct result, you need to split your existing records in maximum of 1000 records per import. If more than that, you may get incorrect update.
    Please check SAP note for updating price list:
    903392
    - DTW_How to set PriceList field for the Items_Price object
    Thanks & Regards,
    Nagarajan

  • Updating one price list from another one

    Dear all,
    I need to update the price list A copying the values of the price list B only for the items of a specific item-group.
    How can do it using the SAP B1 client?
    I try using the Price List form (Updating with price list selection option) but I have an error message:
    Unable to update basic price list or rounding method for selection criteria item Message 3506-11
    I don't want to use the Special prices form.
    Can someone help me please?
    Best regards
         Emanuele

    Sorry... but is it not my case?
    I only need to update one price list (A).
    On the row of price list A, I set
          Base Price List = B
          Factor = 1
          enable "Update By Selection"
          Double-Click on the row of Price List A --> Select the desired ItemGroup --> Click OK
    Best regards
         Emanuele

  • Bulk import error - Missing required attribute ‘fullname’

    Folks,
    I am having trouble trying to bulk import some users.
    I have the following file for import (cut down from what I really want to import):
    command,user,waveset.resources,password.password,password.confirmpassword,global.firstname,global.lastname,global.fullname
    Create,”user1”,”myLDAPresourcename”,”passwd”,”passwd”,”myfirstname1”,”mysurname1”,” myfirstname1 mysurname1”This works using “Accounts->Launch Bulk Actions” with Action set to “From Action List” and everything else on that page left at the default value. The correct data appears in IDM and the LDAP resource.
    Now if I try to import the following file, in which the user does not have a first name, I get in to trouble:
    command,user,waveset.resources,password.password,password.confirmpassword,global.firstname,global.lastname,global.fullname
    Create,”user2”,”myldapresourcename”,”passwd”,”passwd”,””,”mysurname2”,”mysurname2”
    The error message is:
    com.waveset.Util.WaveSetException: An error occurred adding user ‘uid=user2,…..’ to resource “myLDAPresourcename”.
    com.waveset.util.WavesetException:  Missing required attribute ‘fullname’Clearly the import file contains a column for ‘fullname’ (column 8) and a value for ‘fullname’ in the only row of data “mysurname2”. As far as I am concerned it is perfectly valid for a user not to have a ‘firstname’; but they must have a ‘fullname’.
    I have tried using an import file without a value for ‘fullname’, but with a ‘firstname’ and ‘lastname’ like this
    command,user,waveset.resources,password.password,password.confirmpassword,global.firstname,global.lastname,global.fullname
    Create,”user3”,”myLDAPresourcename”,”passwd”,”passwd”,”myfirstname3”,”mysurname3”,””This works. The correct data appears in IDM and the LDAP resource and IDM has generated a ‘fullname’ value of “{Firstname} {Surname}”. Trying to leave out the ‘firstname’ and the ‘fullname’ gives the same error as above.
    The configuration of my resource (in summary) is
    objectclasses:
         top
         person
         inetOrgPerson
    Account Attributes:
         accounted     -> uid               [required]
         password     -> userPassword
         firstname     -> givenname
         lastname     -> sn               [required]
         objectClass     -> objectClass
         fullname     -> cn               [required]
    As an experiment I have tried reconfiguring the resource so that ‘fullname’ is not marked as required.
    Importing user1 and user3 still works and still creates the correct data in IDM and the LDAP resource.
    Importing user2 now gives a different error:
    com.waveset.Util.WaveSetException: An error occurred adding user ‘uid=user2,…..’ to resource “myLDAPresourcename”.
    javax.naming.directory.SchemaViolationException: [LDAP: error code 65 – Object Class Violation]I don’t understand why, during the import of a user without a ‘firstname’ IDM will not generate a ‘fullname’ or use the supplied ‘fullname’.
    Can anyone help?
    Regards,
    Gavin

    After further testing it turned out that I couldn't create a user without a firstname from the IDM GUI and this in turn was because of the way fullname was generated by the user form.
    I've got the user form changed and now user creation (from the GUI and via bulk import) is working as hoped.

  • Error in Price List

    Hi EveryOne,
    When Creating Price List In MasterData in Easy Access iam facing a problem,the navigation is as follows
    EasyAccess-MasterData-PriceList-Create PriceList.
    After assigning all the field in the price list there is a error displayed "No BusinessPartner with Billing Data was Determined".
    Iam unable to over come with this Problem.
    Suggestions will be Appreciated .
    Regards .
    Ram.

    Ram, please mark this topic as solved so it can be used by others. You can close this topic by assigning points. For more details have a quick look at this weblog underlining the importance of assigning points and reusability... https://weblogs.sdn.sap.com/pub/wlg/732. [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] Thanks, Tiest.

Maybe you are looking for