Last Purchase Price - OITM

HI,
We will be trying on the TEST system to do Goods Issues and Receipts to change the Last Purchase Price but because we use FIFO this may not give the result that we want ie in FIFO it is the the earlier price we want i presume?
I have heard another way of changing the Last Evaluated Price in table OITM as this is also the Last Purchase Price but are unsure the best way to do this?
Can anyone please suggest a way to update the Last Purchase Price ?
Thank you,
MB

Hi Gordon,
Do you mean these notes:
The 'Last Purchase Price' list can only be updated by the following documents:
u2022     AP Invoice
u2022     Goods Receipt (Inventory Transactions)
u2022     Initial Quantity (Inventory Transactions)
u2022     Inventory updates e.g. Stock Posting
u2022     Landed Costs
u2022     Production Order
If so, then do you think that the simplest and easiest way to update the Last Purchase Price would be by doing Goods Receipts ?
Just not sure the affect it will have doing Goods Receipt with FIFO...cannot seem to find much about it.
Best Regards,
MB

Similar Messages

  • Proposal: option to use 'last purchase price' in Purchase Order by default

    Hi,
    We have had with at least two customer the following requirement.
    When they generate a new A/P PO, they want SBO to fill the price column for an item with the last purchase price of that item/provider.
    We did this using an FMS selectign fields LastPurCur/LastPurPrc from OITM, but this last price is independent of the provider. ONe solution is using user-tables.
    What would be a very nice addition to SBO is the ability to handle a last purchase price by the pair item-provider, and some check somewhere, in order to enable the automatic fill of this value in the purchase documents (PO, Good Receipts, Invoices) based on this pair.
    If anyone has developed such a solution, I would be very glad to hear about it.
    Otherwise, please, forum moderators, consider this request for upcoming versions.
    Regards,
    Leo

    Leo
    Why not just use FMS to determine last price by item/provider?
    Regards
    Jeffrey

  • Queries Report For Last Purchased Price

    Dear All,
    Can someone helps me to get queries report for last purchased price vs new purchase price that recently being enter on purchased order.
    Trigger by purchased order document posting and we can choose % variance
    Report by order :
    No. Document PO ; Vendor code ; Vendor Name ; Doc Posting Date ; Item code ; Item Name : New Purchased price ; Last Purchased Price; Variance; Buyer Name
    i will used it on alert management.. each time there % variance automaticaly sending an email with those report.
    Thanks

    So.. is it the right query if i join it?:
    SELECT T0.DocEntry, T1.CardCode, T1.CardName, T1.DocDate, T0.ItemCode, T0.Dscription, T0.PriceBefDi, T2.LastPurPrc, (T0.PriceBefDi - T2.LastPurPrc) AS Variance, ((T0.PriceBefDi - T2.LastPurPrc)/T0.PriceBefDi) AS 'Variance%', T3.SlpName FROM POR1 T0 INNER JOIN OPOR T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode INNER JOIN OSLP T3 ON T0.SlpCode = T3.SlpCode
    select * from opor where month(docdate) = MONTH(GETDATE()) and Year(docdate) = YEAR(GETDATE())
    But i still find document with last month posting include on the report adn the report became different too

  • Vendor list as per last purchase price!

    I need a query to display all vendors  as per last purchase price.
    Thanks...

    hi,
    try this one,
    SELECT T2.[CardCode], T2.[CardName], T0.[ItemCode], T0.[ItemName], T0.[LastPurDat], T0.[LastPurPrc]
    FROM [dbo].[OITM]  T0 INNER JOIN PCH1 T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OPCH T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[CardCode] = '[%0]'
    GROUP BY T2.[CardCode], T2.[CardName], T0.[ItemCode], T0.[ItemName], T0.[LastPurDat], T0.[LastPurPrc]
    regards,
    Fidel

  • Query whit ListPrice "Last Purchase Price""

    hi,
    I am making a user query in which I want to use the list price "Last Purchase Price" but i can't because don´t find it on the table "OPLN".someone can help me?
    thanks.

    Hi Mariono
    The Last Purchase Price and Last Evaluated Price are on the item master table OITM.
    Kind regards
    Peter Juby

  • How to obtain last purchased price of an item

    How can i obtain the last purchased price of an item? There seems to be an 'LastPurPrc' field in the OITM table, but this does not seem to be exposed in the DI api. The last purchased pricelist is an 'internal' pricelist so cannot be used in the pricelists selection. Is there another way then just retrieving the value with a direct database Sql query?

    Hi,
    There is,  but is long :-D.
    You could check the purchase invoices by key in descendant order and check if the lines had the item, then check the price in the line to get the purchase price.
    Hope it helps,
    -M

  • Item Last Purchase Price

    In SAP 8.8 inventory table OITM, there's a 'Last Purchase Price' field. This particular field grabs the price from Item Posting List (Right click on Item Master Data and select 'Inventory Posting List' from the list). Inventory Posting List normally consists of goods issue, jounal entry, inventory transfer etc.
    For some strange reasons, some of the items have negative 'last purchase price'. When I further tested out by drag and relate those items to PO, the last PO was created years ago and the price is not what it shows in 'last purchased price'. Seems like this 'last purchase price' field is showing some strange result after internal inventory transfer. Any idea why it is causing this? Many thanks.

    Hi......
    You can get the last purchase price by a Query report or you can get it by FMS at transaction level........
    For report try this....
    SELECT Top 1 T0.CardName, t1.ItemCode, T1.Price, T0.DocNum  FROM OPCH T0 Inner Join PCH1 T1 On T0.DocEntry=T1.DocEntry
    Order By T0.DocDate DESC
    Regards,
    Rahul

  • Last Purchase price Warehouse wise for given date

    Hai all....
                      I Want query report for Last purchase price for all items, warehouse wise for given date, i tried following query
    SELECT
    T10.ItemCode,
    (Select i1.Itemname from  oitm i1 where i1.itemcode = T10.[ItemCode]) as 'ItemName',
    T10.[Whscode],
    (SELECT T1.[DocDate] FROM OPDN T1 where  T1.[DocEntry] = max(T10.[DocEntry])) as 'Doc_Date',
    (SELECT T1.[DocNum] FROM OPDN T1 where  T1.[DocEntry] = max(T10.[DocEntry])) as 'GRPO_NO',
    (SELECT case avg(T2.[Rate]) when 0 then avg(T2.[price]) else (avg(T2.[price]) * isnull(avg(T2.[Rate]),1)) end  FROM PDN1 T2 where  T2.[DocEntry] = max(T10.[DocEntry])
    and T2.Itemcode = T10.[ItemCode]) as 'Unit_Price',
    (SELECT isnull(avg(T3.[Rate]),0) FROM PDN1 T3 where  T3.[DocEntry] = max(T10.[DocEntry])
    and T3.Itemcode = T10.[ItemCode]) as 'CurrencyRate',
    (Select isnull(max(OP1.Docnum),0) from OPCH op1 where op1.Docentry in
    (SELECT T12.[trgetEntry] FROM PDN1 T12 where  T12.[DocEntry] = max(T10.[DocEntry]))) as 'Invoice_No'
    FROM PDN1 T10 
    INNER JOIN OPDN T11 ON T10.DocEntry = T11.DocEntry and T11.[DocType] = 'I'
    where T11.Docdate <= '[%0]' and t10.targettype <> 21
    GROUP BY
    T10.[ItemCode],T10.[Whscode]
    this query working good but problem in this query is ,when the user put back dated entry means this report will show wrong value,bcz i write this query based on MAX of docentry please help me to solve this issue
    Edited by: Prasanna s on Mar 27, 2009 5:49 AM
    Edited by: Prasanna s on Mar 27, 2009 8:00 AM

    Hai ...
    please help me in this query,my question is not clear or??

  • Price List Auto Update based on Last Purchase Price

    Dear Expert
                         I have a problem in updating the PriceList at one of my client site . They are making CST purchase
    Eg.    We are entering purchase through Goods Receipt PO item cost 100RS and CST tax 20 RS
             Then Copy to AP invoice . so the item cost is coming to 120 as CST is non deductible tax .
             If we goto Price list , it will clearly show last purchase Price is 120 every thing is fine till now
           Now the issue comes :- company is incurring frieght charges 10 Rs or any amount this also has to be included to cost that we are entering through Landed Cost . This 10Rs is automatically adding to cost . if we look the item cost it will be 130 this is also correct . But the Problem is that when we go to Pricelist we find that Last Purchase price as 110 that is 100 Rs base doc price +10 Rs Frieght (Landed Cost) . .
    Actually the Last Purchase Price should come as 130 (1002010) . We are dealing with 4000+ items it is difficult to mannually update the Price List .
    Regards
    Shihabuddin CC
    Jr . Consultant SAP B1
    CCS Technologies P Lrd

    Dear Shihabuddin,
    In most localization, price is for before tax price. If you want tax included in the price, you can create your own price list to calculate.
    Thanks,
    Gordon

  • Last purchase price of item per plant

    Good day!
    Need help retrieving the last purchase price of an item
    per plant regardless of the vendor. i know they are in
    EINA and EIPA tables but i couldn't extract them.
    anybody knows a query for this?
    Thank you very much for your help.

    Thanks, Suda, I understand I cannot update the Last Purchase Price itself - should have made myself more clear. 
    What I want to do is change the Price List (field OPLN ListName) selection in the Item Master from one of our created lists to the Last Purchase Price price list.  That way, when we create purchase orders, the item price is filled in with whatever price we last purchased.  I don't want to manually create another last-price price list because I would have to constantly update it.
    Since I can manually change to the Last Purchase Price price list in the Item Master, there must be some way to do this for all items using the Data Import or the DTW?
    Thanks again,
    Shelby

  • Last purchase price

    Hello
    I upload Purchase Order through DTW
    But the system does not take the price in the the file but take the last evaluated price instead, as I believe there is no record for last purchase price
    How to keep the price recorded in the file? Or how to upload a last purchase price?
    Thank you

    dear
    pleaes kindly refer to note 991114 to see if it helps on your issue.
    i  paste the contents for your reference.
    The behaviour of SAP Business One 2005A SP01 when calculating the row
    total has changed.
    A new checkbox named 'Calculate Row Total Using Unit Price' has been
    added to Adminstration -> System Initialization -> Document Settings ->
    General tab.
    Once it is checked, B1 will calculate the Line Total as (Quantity * Unit
    Price * Discount), so 'Price After Discount' becomes a read-only field.
    Since 'Price' field in DI API is pointing to that field, the price set
    in this field is ignored, therefore the system will use the default
    price or zero if it does not exist.
    In order to adjust your needs to this new behaviour, you can choose
    either of the following:
    1.  Uncheck the box 'Calculate Row Total Using Unit Price' thus you will
        be able to keep using the 'Price' field (or column in DTW) as
        before.
    or
    2.  Use the 'UnitPrice' field instead of the 'price' field if you want
        to keep 'Calculate Row Total Using Unit Price' checked. When using
        DTW, you must rename the 'Price' column as 'UnitPrice'.
    best regards,
    xiaodan an
    sap business one forum team

  • Last Purchase Price Report

    Hello All,
    I need to get a Report on the Last Purchase Price for some materials. Where can I find this report?
    Is there any report that shows the materials related to the suppliers.
    Best Regards,
    Miguel
    Edited by: Miguel Barbosa on May 25, 2009 5:59 PM

    You can try via MBEWH, that has the history of price at material master level
    Or go to EKPO and get there the actual price of the PO
    Or go trough EINE and EINA and review the actual price..
    if you have conditions, then go to KONP to see the validity prices.
    hope that could help you.

  • Costing of product with last purchase price

    Hi
    how would be possible to get the Costing through CO with the last purchase price of the Product .
    suppose one product is having nos of SFG & RM.
    Rgds
    Pankaj Agarwal

    hi
    Is it that the the system has to pick up the last purchase price cost for standard costing run or while executing the production order, if it is while production order  update material price as planned price in material master using Z program and use planned price as strategy for valuation variant in actual costing variant.  But this is little bit cumbersome every time you have to run the z program for every purchase order for that raw material and if the prices are highly volatile  input price variance will be very high
    krishna

  • Last Purchase Price History

    Dear All,
    Is there any way we can have the Last Purchase Price History in SAP system?
    Our customer has 2 stock transfer. In those 2 documents, she has 2 difference last purchase price on the document. But actually, she didn't issue any GRPO of that item during the period between the 2 stock transfer. So the last purchase price should be the same. How can I find out all the document during that period which may affect the last purchase price in the system? Thanks a lot.

    When you enter an incoming invoice # see Purchasing
    PO - No
    When you enter a goods receipt # see Goods Receipt
    Goods Receipt: No
    When you enter a positive opening balance for an item # see Inventory and Stock Postings
    Not sure what. But they don't have opening balance for the items last month
    When you enter a positive inventory result that triggers a goods receipt # see Inventory and Stock Postings
    Not sure what?
    When a product with a BOM is manufactured, where the price of the product is calculated from the last purchase prices of the components # see Production.
    The item is not BOM
    When Landed Costs are performed. (Note: When adding AP invoice after landed costs was created, the last purchase price will remain unchanged)
    No landed cost for that item

  • How can I obtain the last purchase price

    Hi,
    there is a method to obtain the list of last purchase price??
    Thx
    Best Regards

    hi,
    I've tried the PriceList Obj and GetItemPrice but nothing to do....
    I would like obtaining the second Price List row in the Price Lists Form (Inventory\Price Lists\Price Lists).
    If I enable Debug Information I can obtain ListNum but the first two rows have the ListNum set to -2 and -1
    With the PriceList.GetByKey method if I set the parameter with -1 or -2 doesn't work... There is a way to obtain this PriceList?
    Thanks a lot
    Best Regards

Maybe you are looking for

  • Error publishing WSDL to service registry

    Hello, We have just installed PI 7.1. I have created a service in ESR. When I click on the WSDL tab and click on Publish, I get the errors listed below. My questions are: 1. Do I need to do any specific service registry configuration and what are tho

  • (How can we) Export FXG from Flash Professional using JSFL

    How can we export a selection from Flash Professional as .FXG using JSFL? It appears that this is not possible... just yet! I have added this as a feature request within the Adobe Labs site for Flash Professional. Someone at Adobe suggested that I al

  • My program will not open

    my adobe photoshop elements program use to open but does not open anymore, I don't hink I did anything to the computer

  • Paid for a app twice

    I paid for a bike on bike race and i download it again and it made me pay fo it again. What do i do?

  • Is it possible to load and read from an Oracle global temp table?

    Is there a way to call an Oracle database package to pre-load global temp tables in BIP? I am an Oracle Reports user but a newbie to BIP. In Oracle Reports, I use the before-reports trigger to execute a database package that will populate a temp tabl