HOw to query price list
Hi All!
How can i write a query with prices list.
Ex: Itemcode, Itemname, warehouse, price list 1, price list 2, ,...price list 5
I don't know the table store value of price list.
Thanks!
SELECT T0.[ItemCode], T0.[ItemName], T1.[PriceList],T2.[ListName], T1.[Currency],
T1.[Price] FROM OITM T0 INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode
INNER JOIN OPLN T2 ON T1.PriceList = T2.ListNum
Similar Messages
-
How to integrate price list on a Purchase Order?
Hi,
Version : R12.1.3
I wanted to know how to use price list on a purchase order. I have created one price list but I am not able to use that, how could I use this.
How to link Price list to the particular supplier.
Thanks in advance.
AmolAOracle purchasing now integrates with Advanced Pricing the same way Order Management does.
You can set qualifiers / modifiers. You can set up volume discounts etc too.
See http://www.ncoaug.org/NCOAUG%20Training%20Day%20Feb%202009/Sundeep%20Sharma%20-%20Integrating%20Advanced%20Pricing%20with%20Purchasing%20in%20Release12.pdf
Sandeep Gandhi -
How to get price list line id for service contract line(subline)
Does some one know how to find a price list line id for service contracts line (sub line)?
There is actually a column in table okc_k_lines_b which is called price_list_line_id, but it looks like it is never used (all columns values are NULL). I have tried to investigate reprice API's which are used in contracts authoring form, but they are too huge and it didn't lead to nay result. There is a way (bad hack), by calling OKS_QP_INT_PVT.COMPUTE_PRICE it is possible to get price list line id by which contract line is priced, it would be kina fine if I would need to find line id for some rows, but it wont work for thousands!
Is there some proper way how could I get price list line id by which is service contract line priced?Hi,
Check out the following query that gets the price_list_id on subline_level and more.
The price_list_Id is stored as a rule.
SELECT
chd.contract_number
, par.party_number
, par.party_name
, ldf.pas_nummer
, ldf.pas_houder
, rh.object1_id1 hdr_price_list_id
, rsl.object1_id1 sl_hdr_price_list_id
, pld.parkeerterrein
, msi.segment1
, sit.description
FROM
okc_k_headers_b chd
, okc_k_lines_b clt
, okc_k_lines_b cls
, okc_k_lines_b_dfv ldf
, okc_k_items cit
, okc_rule_groups_b rgh
, okc_rules_b rh
, okc_rule_groups_b rgt
, okc_rules_b rtl
, okc_line_styles_b lst
, okc_rule_groups_b rgs
, okc_rules_b rsl
, okc_line_styles_b lss
, qp_list_headers_b plh
, qp_list_lines pll
, qp_list_lines_dfv pld
, qp_pricing_attributes pat
, mtl_system_items_b msi
, mtl_system_items_tl sit
, hz_cust_accounts cac
, hz_parties par
WHERE
rgh.chr_id = chd.id
AND rh.rgp_id = rgh.id
AND rh.jtot_object1_code = 'OKX_PRICE'
AND cac.cust_account_id = rtl.object1_id1
AND par.party_id = cac.party_id
AND clt.chr_id = chd.id
AND clt.lse_id = lst.id
AND lst.lty_code = 'SERVICE'
AND rgt.cle_id = clt.id
AND rtl.rgp_id = rgt.id
AND rtl.jtot_object1_code = 'OKX_CUSTACCT'
AND cls.cle_id = clt.id
AND cit.cle_id = cls.cle_id
AND cit.jtot_object1_code = 'OKX_SERVICE'
AND cls.lse_id = lss.id
AND lss.lty_code = 'COVER_ITEM'
AND cls.id = rgs.cle_id
AND rgs.id = rsl.rgp_id
AND rsl.jtot_object1_code = 'OKX_PRICE'
AND plh.list_header_id = rsl.object1_id1
AND plh.list_header_id = pll.list_header_id
AND pll.rowid = pld.row_id
AND pat.list_header_id = pll.list_header_id
AND pat.list_line_id = pll.list_line_id
AND cit.object1_id1 = pat.product_attr_value
AND cit.object1_id2 = chd.authoring_org_id
AND msi.inventory_item_id = cit.object1_id1
AND msi.organization_id = cit.object1_id2
AND sit.inventory_item_id = msi.inventory_item_id
AND sit.organization_id = msi.organization_id
AND sit.language = userenv('LANG')
AND cls.rowid = ldf.row_id
Hth,
Martin
Edited by: mvdons on 4-sep-2008 2:13 -
How to pass price list of a minisite dynamically in istore
Hi All,
I am trying to diplay limited UOM in drop down box based on price list. I have hard coded the price list in the jsp page "ibeCCtdLeafSctSsI.jsp" and on the basis of it getting the price and unit of measure in drop down box. What are the UOM is there for the item in that price list it will display based on price list for each item.
Now just wanna pass the price list dynamically rather than hard coded but not getting how to do. I wanna store the price list in one variable and wanna pass that varriable so can any one help. How to get the price list of a minisite and pass it dynamically.
Thank You,
AmitDid you find the answer?
If not here is the solution.
Given the mini site id, you can get the price list from
IBE_MSITE_CURRENCIES.
Thanks,
RK -
Query - Price list report by Customer
Hi,
Can I please be advised on Query to obtain result = when reporting on a specific BP customer and to list items with applicable price (as per assigned price list).
eg. Customer A (assigned to Pricelist 1)
- item X $100.00
- Item Y $150.00
(above prices display only pricelist 1 item pricing)
thks and I appreciate any assistance given.
regards
KellyHi, Kelly
You can display item description within result and set parameter option to choose BP. But there is no method to limit the option to Customer only for now.
Just refer the following query.
SELECT T2.[CardCode], T2.[CardName], T1.[ItemCode],T3.[ItemName], T0.[ListName], T1.[Price] FROM OPLN T0 INNER JOIN ITM1 T1 ON T0.ListNum = T1.PriceList INNER JOIN OCRD T2 ON T0.ListNum = T2.ListNum INNER JOIN OITM T3 ON T1.ItemCode = T3.ItemCode WHERE T2.[CardCode] =[%0] -
How to set price list to use in a Document
Hi all,
I have a simple question. I'm trying to insert a draft document into SAP B1 via DI API. I can't seem to find the correct property to set in order to change the price list to use for that draft.
Example: The price list in the Supplier BP is 'Price List 01' and I want to change it only for the current document to 'Price List 02'.
Can you guys help me?
Thanks.
Edited by: Pedro Magueija on Aug 28, 2009 6:11 PM
Edited by: Pedro Magueija on Aug 28, 2009 6:41 PMThat's too bad, since it is possible to do it in SAP B1.
OK, but since I can only change the price for the item, line by line is it possible to force a .UnitPrice = 0 and .PriceAfterVAT = 100.00?
The reason I ask is, the document I'm trying to insert get's it's prices from a source where only VAT included prices are present. So instead of the unit price, I want to set the price after VAT and have SAP B1 calculate the unit price.
I set the BP default price list to a list where no prices are defined, and it works. But has you can imagine, when doing a document in SAP B1 this will cause it to set the prices to 0 on the lines, and the users might get angry at it.
So if you guys have any ideas on how to go around this some other way, please do tell.
Thanks in advance. -
How to create price list in all item..?
Hi all,
I want to modify the price list in all items because changing the price. If I have more 100 items, I have got difficult change on SBO one by one, there is not an efficient and need a long time. I used SBO 2005A PL 43.
How to create it fast on SBO? How to create add on module to modify the price list in all items so I modify the price list is faster? I don't know relationship the tables to change the price list on SBO. Please let me know...
Thanks in advance for your help....
AgungDear Mr Adrianto,
In the stock module under price list there are different options. It could be possible to change the prices of Parent items according to thier children's prices.
Also, you can use the option: Special prices for BP, if you need to change the prices for on BP.
There is also the discount group if you want to reduce the price of items for the whole group. Please note that you can also increase prices when you use a percentage > 100%.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team -
HOW TO IMPORT PRICE LIST?
Dear friends.
i am facing problem in importing price list,can u plz help me.
1)i have made price list for certen items , that is ok with factor 1
2)now i wants to update this price list through DTW
3)but as per SAP templete i am anable to update it.
4)i have doubt that, will it update prices,because in temple there is no price as such.
mahesh.It's much easier to use the built in SAP Business One Import from Excel from the Administration Menu.
Use the following procedure.
Regards,
David
Pricelist Export/Import
Price List Export Files
When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency. The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.). Save the file as type Text (Tab delimited). Use this file as per Importing Pricelists above.
Exporting Price Lists for update
Use this script:
SELECT T0.[ItemCode], T0.[PriceList], T0.[Price], T0.[Currency] FROM ITM1 T0 where t0.pricelist = '[%0]'
Select the Price List NUMBER at the prompt. Send this to XL. In XL, amend the columns Price and Currency as required. Depending on the Pricelist which is to be updated amend the column Pricelist to the NUMBER of the Pricelist as defined in the leftmost column on the Pricelist screen (Stock management/Price Lists/Price Lists.
If updating the same Price List as that exported the column Pricelist should already be populated with the correct number.
When exporting files from Excel to use as imports for update ensure that there is no header and there are only columns Item No./Pricelist/Price and Currency. The Currency should comply with the standard SAP currency codes (GBP/USD/EUR, etc.). Save the file as type Text (Tab delimited). Use this file as per Importing Pricelists above.
Importing Pricelists
Administration/Data Import/Export/Import from Excel
Data Type to Import u2013 Change to Items
In A select Item No.
In B select Price List Code.
C should auto populate to Price According to Price List.
D should auto populate to Price List Price Currency.
Tick Update Existing Records.
Tick Update Accounts in Existing Items.
Click OK.
Select the file as per Price List Export Files above.
The file will then be imported and the relevant Pricelist updated. -
How to query a list of open Incoming Payment with its Payment Means
Dear Experts,
As subjected, can anyone throw some light onto writing a query which list Open Incoming Payment and its total and payment means.
Much Thanks!
Warmest Regards,
ChinhoTry this one to start:
SELECT T0.CardCode Customer, T0.CardName 'Customer Name', CASE WHEN T0.CashSum > 0 THEN 'Cash' WHEN T0.CreditSum > 0 THEN 'Credit Card' WHEN T0.TrsfrSum > 0 THEN 'WIRE' ELSE 'Check' END AS 'Method', T0.DocNum, T0.DocDate
FROM dbo.ORCT T0
WHERE DateDiff(DD,T0.DocDate,GetDate())< 31
Thanks,
Gordon -
How to use price list in inventory management documents (without SO module)
Hi all
I want to setup sales prices for items and I am using inventory management module of jd edwards enterpriseone.
Is there any possibility in which I can use the sales price items functionality.
So after I enter the sales price for each items in specific conditions, is there any possibility for these prices to be automatically shown anytime I enter a inventory issue or any other document which has to do with the issuing of the items.
Please suggest
thank you and best regards
ErnestHello,
You can setup Item Sale price through the P4106 application in inventory management. But since your requirement is quite customised, Inventory Issue dont have such functionality to populate Item Sale Price when you are issuing items eventhough you create/change doctype. It will only be populate Item Cost and Extended cost.
Deepak P -
How to update selected list items in SharePoint 2010?
Hello All
I have a list containing field named "Category". I want to develope a solution which will take two inputs: Old Category and New Category. The expected result is: all the list items will be fetched which have Old Category input value in
their category field and the field is replaced with the input value New Category.
I have a limitation that I can not use Visual Studio. So I am thinking to create aspx page with content editor webpart. But I am new to all these things. Could you please suggest the development approach for this?
Thanks.Hello,
I don't think CEWP can help you because you won't be able to find old and new category when there is any change in list. However you can identify the latest modified item from list but how will you identify whether category is old or new. If you have any
other column in list which can tell you that category value has been updated then you can write ECMA or Jquery script to update other items.
If have any column in list then see below jquery code, where you will see how to query the list: (In my case it is Active)
var soapEnv = "<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'><soapenv:Body><GetListItems xmlns='http://schemas.microsoft.com/sharepoint/soap/'>";
soapEnv += "<listName>Highlights</listName>";
soapEnv += "<query><Query><Where><Eq><FieldRef Name='Active' /><Value Type='Text'>Yes</Value></Eq></Where><OrderBy Override='TRUE'><FieldRef Name='Modified' Ascending='FALSE' /></OrderBy></Query></query>";
soapEnv += "<viewFields><ViewFields><FieldRef Name='Title'/><FieldRef Name='ows_FileLeafRef'/><FieldRef Name='Links'/></ViewFields></viewFields><rowLimit></rowLimit>";
soapEnv += "</GetListItems></soapenv:Body></soapenv:Envelope>";
Please comment if i misunderstood you?
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Dear All,
Do you know how to set price list base on item cost?
Please advice.
Thanks in advance.
Regards,
LinaYou have the option to use Last Evaluated Price. I don't think Item Cost is available to set as a Base Price for a Price list
Suda -
We are updating USD prices for all our products, but we have 2 groups of customers the we have 'agreements' with that require us to offer them last year's product prices. I believe the best way to maintain this is through additional price lists, but we need to know how implementing multiple price lists will affect the system, and how we can have the customers assigned to a specific price list, but receive default pricing for new products not on that price list.
Hi gurus please help me on this
-
How to use price list manager in our custom java class. my requirement is to get the list price and sale price using the product or sku id .
Hi,
In your custom java file, say MyCustomClass.java:
PriceListManager mPriceListManager;
// generate getter and setter for this
public PriceListManager getPriceListManager () {
return mPriceListManager ;
public void setPriceListManager (PriceListManager pPriceListManager ) {
mPriceListManager = pPriceListManager ;
In the corresponding properties file, say MyCustomClass.properties:
$class = com.package.MyCustomClass
priceListManager = atg/commerce/pricing/priceLists/PriceListManager
Hope this helps.
Keep posting your updates/questions.
Thanks,
Gopinath Ramasamy -
Hi Expert,
How to add price list column in Sales Order window. We are using SAP B1 2007B patch level 12. Is there any way or setting through which i can add Price list column with respect to each items consider in Sales order.Hey Ambesh,
Nice to see you.
Why do you want to add price list column in SO. This is not possible until you define the UDF as Gordon said but i don't think it will be a feasible option.
I will suggest you to go with the standard option available.
I hope you got it.
Regards.
ShriX.
Maybe you are looking for
-
Can't login to App Store on more than one device
Since resetting my Apple ID password I now cannot fully login to get downloads for apps etc in the App Store. I have to revert to downloading on my PC they syncing, very frustrated with this one, I've tried everything including doing a full power dow
-
New ipod touch cant connect to icloud using correct email
My daughter has a new ipod touch (5th gen) and is trying to set up icloud so she can have facetime and imessage. it won't let her sign in using the existing apple id and account i have. the device said an email verification was sent, and it wasn't
-
Acrobat 9 Form Wizard on Complex PDF Artwork
I read the following an article at InDesign Secrets http://indesignsecrets.com/automated-forms-with-acrobat-8-and-indesign.php It explains how to use layers in InDesign to help Acrobat's form recognition recognise form fields when there is not enough
-
Consistant Problems with Google Navigator on Droid Eris
Is anybody else having problems with their Google Navigator on a Droid Eris. This application stinks - I can never expect it to be there when I need it. About a month ago I was using it up in Northern Minnesota to get to a doctors appointment about
-
I forgot my id which i setup my ipad with
hi i forgot my id which i setup my ipad with ,what can i do? <Re-Titled By Host>