Average Cost of inventory [Query Required]

Hi All,
*[an advance thank for an urgent help]*
I had find average cost 5.59 based on following information using excel. i have Qty, unit cost and linecost and tran_type column in databased.Based on below calculation how i get this info through SQL. i.e. Cummulative Balance and Cummulative Avg. Cost
Tran_type      Tran_affect     Qty     Unit Cost     Linecost     Cur_Bal     Avg Cost
Opening          +          16     4.86          77.76     16     4.86
Purchase     +          6     5.2          31.2          22     4.95
Sell          -          8     4.95          39.6          14     4.95
Avege Cost Adj.     C          null      1.5          14          14     6.00
Transfer Out     -          4     6          24          10     6.00
Transfer IN     +          7     5.3          37.1          17     5.71
Purchase     +          5     5.2          26          22     _5.59_
Note : here is image of above excel sheet .
image: !http://www.geocities.com/faizvision/avg_cost_data.JPG!
Regards,
Faizan Dosani
Edited by: Fiz Dosani on Apr 21, 2009 2:39 PM
Edited by: Fiz Dosani on Apr 21, 2009 5:03 PM

what adjustments?
Tran_type           Tran_affect      Qty      Unit Cost      Linecost      Cur_Bal Avg Cost
Opening           +           16      4.86           77.76           16      4.86
Purchase           +           6      5.2           31.2           22      4.95
Sell                -           8      4.95           39.6           14      4.95
Avege Cost Adj.     C           null      1.5           14           14      6.00
Transfer Out           -           4      6           24           10      6.00
Transfer IN           +           7      5.3           37.1           17      5.71
Purchase           +           5      5.2           26           22      5.59use tran_affect and do the cumulative sum of qty.

Similar Messages

  • Average Cost - Discrete Inventory Item

    Which table would be used to get the Unit Cost (Average Cost) of the Discrete Inventory Item...
    Thanks & Regards,
    Genoo

    You could the list of objects which are accessed by a concurrent program by opening the report using Reports Builder and check the query, or enable trace and check the TKPROF file -- FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    The list of tables/objects accessed by a form can be determined by opening the form in Forms Builder, or use any of the method in (How To Determine Table and Column Name from a Field in a Form in 11i [ID 259722.1]).
    Thanks,
    Hussein

  • Average Costing - sub inventory rollup

    Hi,
    I am writing some reports that use average costing.
    The reports need to report average cost @ subinventory level, but also @ inventory level.
    Does Oracle maintain average cost information @ all levels of the hierarchy or do i need to recalculate @ run time for the the master inventory?
    Thanks.

    More clarification on this - you can find this on metalink -
    The five Valuation accounts and the default Expense account are
    defined at the organization level. The valuation accounts apply to
    each subinventory and intransit within the organization. They
    cannot be changed at the subinventory level under layer costing.
    The expense account defaults to each subinventory within the
    organization and can be overridden.
    You can choose a different valuation account for each cost element, or use the same account for several or all elements.
    How you set up your accounts determines the level of elemental
    detail in the General Ledger and on Inventory valuation reports.
    The system maintains the average unit cost at the organization level; it
    does not use any subinventory valuation accounts. If you had separate
    valuation accounts by subinventory, total inventories would balance,
    but account balances by subinventory would not match the inventory
    valuation reports.
    Edited by: Aglx on Mar 4, 2010 1:44 PM

  • Report for Average Cost of Inventory?

    Is there a report which can be run to see the average price of all inventory? Or even for inventory which in considered historical (already sold a few months ago).
    thanks,
    Mike

    anyone know the answer?

  • Inventory Average Costing Question

    Hi,
    I'm convering onhand quantity from legacy inventory system to Oracle Inventory and we use Average Costing.. Here are the steps.
    1. Converting the items via item import.
    2. Convering onhand quantity with Misc receipts using transactions interface
    3. updating the Average cost of these items via transactions interface .
    When i convert the onhand quantity there is no cost for these items and all the mtl_trasnaction_accounts transactions were created with 0$.. With the average cost update, mtl_trasnaction_accounts transactions were created with $ amount..
    What is the best sequence for reconcilation point iof view with the inventory and GL???
    Please suggest..
    Thanks,
    Shree

    Hi, in my experience the steps you indicates are correct. Anyway, you can avoid step 3 if you put the unit cost directly in the transaction open interface. This is correct only if your costs are not divided in more than one element (eg. you have only the material cost element). If you do in this way, you will see your miscellaneous transactions will have costs and related records on MTL_TRANSACTION_ACCOUNTS will be created with a positive amount.
    As you will know, also when you perform a miscellaneous transactions by using the form, you have the possibility to inidcate the unit cost. Normally you do this if your actual average cost is not correct for your transaction, or if the average cost is 0.
    If you follow this indications, you should not have problem at the moment of the reconciliation with GL.

  • Drop Shipments costing of Inventory using the average method.

    How does the system handles the costing of inventory using the average method during dropshipments?
    One of my prospects uses average costing method for the accounting of their inventory. The issue now is, how does the system compute s for the cost since the goods/inventory is delivered directly by the supplier to the customer? What is the basis for the amount to be posted in COGS? Thanks!
    null

    For Drop shipments two inventory movements are still performed. When the goods are initially received (albeit logically), Oracle Inventory immediately issues them out of stock again - just as if you had ship confirmed them. Therefore you inventory accounting is also the same, and will use the purchase price of the goods as the inventory value.

  • What is the formula for calculating average cost for an item in inventory

    Hi,
    Can someone please share the formula to calculate average cost for an item in inventory which uses Average Costing?
    Thank you,
    Naren.

    HI
    When a transaction updates the average cost of an item, the new average cost is calculated as follows: 

  • How to change average cost of an item?

    We have a scenario where the average cost of the goods has gone completely off of what we think it should be for a few items. Many reasons. But question is how do we change average cost assigned to these items without adding to the inventory?

    Hi,
    You can change the average cost of an item by performing an average cost update.
    The inventory quantity remains unaffected, but depending on whether you are increasing or decreasing the unit cost, the inventory value will get affected to that extent.
    Inventory > Costs > Average Cost Update - query the concerned item and update the cost as required.
    Thanks,
    DS

  • How to Change Costing Methods Average Costing to FIFO Costing

    hi folks,
    i had requirement i.e i want to change from average costing to fifo costing in my current company?
    how can we change this?
    any solutions will be appreciated
    regards,
    sri

    Look at the default categories form to find the category that is is assigned for inventory.
    Then go to the category set and see what the level of control is. If it is master see if you can change it to organization. (If items are assigned you may not be able to).
    I think then you can change the attribute controls.

  • Average Cost conversion

    Hi All,
    We have requirement to convert Average costs for one of the inventory orgs. Please throw some light on high level approach we need to follow for Average Cost conversion.
    Appreciate your help. Thank you.
    Regards,
    Sagar N.

    Sagar,
    Average Cost Information can be converted along with Onhand Quantity Conversion. there is a table mtl_cost_txn_interface which connects with mtl_transactions_interface, you can use this table to bring in detailed item cost information in oracle.
    - Arvind

  • Field Cost Ctr is a required field for G/L account 5500

    Hello Experts,
    I need your help for one of the issue related to the cost center.
    While posting the accounting document I am getting the below error -
    Invocie Nr are: 95867831 and 95876503
    Message is: Field Cost Ctr is a required field for G/L account 5500
    52301203
    Message no. F5808
    Diagnosis
    The value for field "Cost Ctr" in the interface to Financial Accounting
    is an initial value but you are required to make an entry in the field
    selection for G/L account "52301203" in company code "5500" linked to
    the field selection for posting key "40".
    Looking in the history of one of the two contracts I find the following:
    Invoice 0095639591 from 16.11.2010, an accounting document was created
    and in the accounting document CO object is cost center (and not COPA)
    14901.
    Account 52301203 has Field status group Z103 (cost - mad CostCenter)
    Our user is saying that (eq 3529183592, invoice 95639591)
    should have a cost center assigned in the equipment master. After
    entering that cost center (14901) the accounting document was created
    correctly.
    However when we checked the "DefaultAcctAssgmnt" of the cost element 52301203, the filed Cost center is empty.
    Can you please help with your suggessions?
    Regards,
    Reshma

    from Note 518060 - FAQ: Physical inventory
    12. Question:
    Can I manually specify an account assignment (for example cost center) during the update of inventory differences?
    Answer:
    No. No. A direct entry of an account assignment for difference postings in the physical inventory (both MI07 and MI10...) is not possible.
    A differentiation to different account assignments is only possible via a differentiation of the cost elements - refer to Note 13423.
    In my words: FI has to change the field status

  • Field cost centre is a required field for GL account Error

    The error that I get during a sales transaction is: Field cost centre is a required field for GL account Error. Where or which transaction in FI do I use to maintain this setting.
    Thank you.

    Hi,
    Goto Tcode - OKB9. Search for that G/L account number under your co. code. There select the row, you can maintain the cost center directly. Else for Account assignment detail column, keep it as 1(Valuation area mandatory). Then under new entries maintain the valuation area, which is nothing but the plant, and against that maintain the cost center.
    Hope this resolves your query.
    Please let me know if you need any additional information.
    Thanks,
    Prithwiraj.

  • Price Variance Report -  Average Costing

    Hi Friends,
    We have our costing method as average costed. The Client wants to have a report wherin the PO's item price, item's list price (this will be fixed for a period) and the variance should come. The PO price of items varies dynamically (it may vary for same item from one PO to oter).
    We have average costing, where PPV is zero. How to go about it,,do we have any report!!! Or I need to opt for a report development with Item, Iitem's list price, PO's unit price of item, variance, etc. as columns...seeking your valuable support/inputs. Thanks.
    With Best Regards,
    Nirabh Nayan

    Hi Nirabh,
    we dont have PPV column in PO seeded reports, we should develop the report as per our requirement.
    check this link for more info.
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/po/puthpu05.htm
    Thanks
    -Arif.

  • HT3302 What is the average cost to replace a cracked screen on an ipad?

    What is the average cost to replace a cracked ipad screen?

    Apple will exchange your iPod for a refurbished one
    Out-of-Warranty ServiceIf you own an iPad that is ineligible for warranty service but is eligible for Out-of-Warranty (OOW) Service, Apple will replace your iPad with an iPad that is new or equivalent to new in both performance and reliability for the Out-of-Warranty Service fee listed below.
    iPad model
    Out-of-Warranty Service Fee
    iPad mini
    $219
    iPad 3rd, 4th generation
    $299
    iPad 2, iPad
    $249
    A $6.95 shipping fee will be added if service is arranged through Apple and requires shipping. All fees are in US dollars and are subject to local tax.
    Certain damage is ineligible for out-of-warranty service, including catastrophic damage, such as the device separating into multiple pieces, and inoperability caused by unauthorized modifications. However, an iPad that has failed due to contact with liquid may be eligible for out-of-warranty service.Apple reserves the right to determine whether or not your iPad is eligible for Out-of-Warranty service. Replacement iPads have a 90-day limited hardware warranty or assume the remainder of your standard warranty or AppleCare service contract coverage, whichever is longer. Please see the AppleCare+ for iPad and Apple Repair Terms And Conditions for further details.
    Here is one third-party place.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    BTW, this is the iPod touch forum.

  • Moving Average Costing

    My clients business buys used equipment on the secondary market that they refurbish & sell. The prices fluctuate pretty dramatically based upon supply and demand; so it really isn't possible to set a standard cost that would be valid throughout the year. Using standard costs results in huge fluctuations in the inventory purchase price variances month over month and quarter of quarter. Therefore, we explored using moving average costing.
    Could someone help me get the moving average to update using PM04, Does SAP actually recommend against using moving average costing?

    Charlie,
        Thanks for your response. If I understand you right, you are suggesting doing STD pricing every month or quarter instead of attempting MAP? Is that right?
    Vishnu

Maybe you are looking for

  • Two Apple TVs on one network and iPad remote

    I am currently running a second gen Apple TV in my living room and would like to add a second one to my bedroom running on the same wireless network. Is it possible to manage both from the same iPad remote application?

  • [SOLVED] XAMPP 1.8.0 + virtual hosts = 403 access forbidden

    Hello, all. I am happy migrant from ubuntu to arch, but have problem, which i can't solve myself. I need to setup xammp for local development. My actions Install last xampp from aur Run lampp Open locahost, there is "xampp welcome page" Open localhos

  • Trouble with downloaded audiobook

    I downloaded an application called Overdrive from my local library. I have no problem using Overdrive on my iPod to listen to audiobooks. The books appear in my music and I can hear them no problem. I recently received an iPad. I wanted to listen to

  • Playlists not transfering to ipod

    I have a 4th generation ipod and new music is transferred from itunes to ipod no problem. But new/modified playlists are not. Don't see any settings to modify on itunes or ipod. Any advice? Thanks!

  • No puedo conectar time capsule 1T en mac mini

    No puedo instalar el software en mi mac mini porque la version no es compatible y en el anterior sistema operativo si podia. Hoy tengo instalado mountain lion 10.8.3 y no es compatible