Inventory in warehouse report

Hi all,
Let's say I'm on january 25th and I'd like to run the Inventory in Warehouse Report  as per january 10th. Is there a way to acess the code of the report to run the query for a specific date (not for the current date as I'm getting it) ?
Any idea would be appreciated.
Best regards,

Douglas,
To get the code of this report you will have to use SQL Server Profiler.  Just start the service before trigerring the report and stop it there after and you should get the SQL.
Another better way, would be to create a report by querying the OINM (warehouse journal) table. This table records all warehouse transaction and also has the date.
<Font Color="Blue" Size=3>To understand the OINM table run this query
</Font>
SELECT T0.TransNum AS 'Transaction Number', T0.DocDate AS 'Posting Date', T0.ItemCode AS 'Item No.', T0.Dscription AS 'Item Description', T0.InQty AS 'Receipt Quantity', T0.OutQty AS 'Issue Quantity', T0.Warehouse AS 'Warehouse Code', T0.Balance AS 'Stock Balance' FROM  [dbo\].[OINM\] T0  WHERE T0.ItemCode = 'A00001' ORDER BY T0.TransNum
<Font Color="Blue" Size=3>To get the stock by date, use the query below
</Font>
SELECT TOP 1 T0.ItemCode AS 'Item No.', T0.DocDate, T0.Balance AS 'Stock Balance' FROM  [dbo\].[OINM\] T0 
WHERE T0.DocDate = '[%0\]'
ORDER BY T0.TransNum DESC
Note I have added '[%0\]' parameter for date selection presuming you will use this within SAP.
Suda

Similar Messages

  • How to include the UDF of items master data into PLD (Inventory in Warehouse Report (Detailed))

    Hi,
    Is there a way to include the UDF in the items master data into the <<Inventory In Warehouse Report (Detailed)>> PLD?
    I checked the default layout and found out all the column source type is "free text" and the content is #Item, how do I know the value of the UDF?
    Thanks

    Hi,
    Some of the standard reports are hardcoded in sap. Not possible to add UDF field in PLD.
    Also refer this thread Variables -  Sap business one
    Thanks & Regards,
    Nagarajan

  • Inventory in warehouse report value does not match balance sheet account

    Dear experts,
    When I run the inventory in warehouse report, the value (using last purchase price) does not match the inventory finished goods account. Can you please advise why?
    Thank you for any advice.
    Jane

    Dear Jane,
    The only report for inventory to link to financial statement would be Inventory Audit Report.
    All other reports are just for your convenience. They are not financial based.
    Thanks,
    Gordon

  • Enhancement of report Inventory Status and Inventory in Warehouse Report

    Hello,
    it will be a great help if preferred vendor will be displayed in the stardardreports "Inventory Status" and "Inventory in Warehouse Report".
    Kind Regards,
    Sabine Lux

    Hi Sabine,
    Check here: /thread/2073266 [original link is broken]
    Thanks,
    Gordon

  • Authorization Issue for Inventory in warehouse report

    `Hi All
    I face a issue in giving authorization for a single report to a user in the Inventory reports. The report is Inventory in warehouse report.
    Can u please tell what are the preliminary authorizations to be set for the user to execute the report. The thing is he should not be able to see the item cost and Last purchase prices.
    Thanks... Marikannan

    Hi,
    I am not sure if the authorization for such report is available. I just suggest you to check if form settings icon is able to access or not. if you can open the form settings, I think you can set authorization to be no authorization to access the form setting for certain users.
    Rgds,

  • Subtotal and total with ****  In Inventory in Warehouse Report

    Hello everyone!
    I'm running the Inventory in Warehouse Report and noticed that for some warehouses it does not calculate the sum for the Total columm, instead of that it shows ****. Therefore in the Grand Total the same *** is shown.
    How can I fix this? any ideas?
    Thanks in advance,
    Juan

    Hi Juan,
    Are there items with different currency in the database?
    Asterisks appear as a summary e.g. in the total column, when 
    there are figures in different currencies in one report.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Similar to Inventory In Warehouse Report

    Hai To All,
              I want to create report similar to Inventory In WareHouse Report.How to do that.....???? Does anyone have idea about that???How to write query like creating subtotal??????????/
    Regards,
    Anitha

    Hi Anitha,
    To Create a Query like Inventory In Warehouse Report big challenge.
    If you want to create a query have a subtotal inside, you must have to set up a column to store the sorting values. The MS SQL sorts 0.....9..A....Z, so we will use this (of course in alfabetical order at nvarchar type columns)
    For example:
    i want to display warehouse information, itemcode, stock, average price, stockvalue in a Query, and want to create subtotals by warehouse.
    Query Source:
    select T0.WhsCode, T0.ItemCode, T0.OnHand, T0.AvgPrice,
    T0.AvgPrice*T0.OnHand as Total FROM OITW T0 where T0.OnHand != 0
    Let's create a composit sorting colum from Warehousecode and itemcode and special sign _ (underscore)
    [whscode]_0_[itemcode] will be the first,
    [whscode]_z_[itemcode] will be the last
    1.st row will be the warehouse code:
    SELECT T0.WhsCode+'_0_', T0.WhsCode, 'Warehouse:'+T0.WhsCode, NULL, NULL,NULL
      FROM OITW T0 Group By T0.WhsCode
    2.nd will normal query with the soring key at the begining
    SELECT T0.WhsCode+'_1_'+T0.ItemCode as SortCode, T0.WhsCode, T0.ItemCode, T0.OnHand,
    T0.AvgPrice,T0.AvgPrice*T0.OnHand as Total FROM OITW T0 where T0.OnHand != 0
    3.rd will the the subtotal of the warehouse
    SELECT T0.WhsCode+'_8_', T0.WhsCode, 'Subtotal of '+T0.WhsCode, NULL, NULL,
    sum(T0.AvgPrice*T0.OnHand) as Total FROM OITW T0 Group By T0.WhsCode
    4.th will be and empty line
    SELECT T0.WhsCode+'_9_', T0.WhsCode, NULL, NULL, NULL,NULL FROM OITW T0 Group By
    T0.WhsCode
    5.th will the the total of sum
    SELECT 'ZZ'+'_Z_', NULL, 'Total', NULL, NULL,sum(T0.AvgPrice*T0.OnHand) FROM OITW T0
    END:
    Now we have everything, let's put inside them (UNION). Be Sure, the normal query is at the first, because the UNION statement will use the column names of it.
    SELECT T1.ItemCode, T1.OnHand, T1.AvgPrice, T1.Total FROM
      SELECT T0.WhsCode+'_1_'+T0.ItemCode as SortCode,
        T0.WhsCode, T0.ItemCode, T0.OnHand, T0.AvgPrice,T0.AvgPrice*T0.OnHand as Total
        FROM OITW T0 where T0.OnHand != 0
    UNION ALL
      SELECT T0.WhsCode+'_8_', T0.WhsCode, 'Subtotal of '+T0.WhsCode, NULL, NULL,
        sum(T0.AvgPrice*T0.OnHand) as Total FROM OITW T0 Group By T0.WhsCode
    UNION ALL
      SELECT T0.WhsCode+'_9_', T0.WhsCode, NULL, NULL, NULL,NULL
        FROM OITW T0 Group By T0.WhsCode
    UNION ALL
      SELECT T0.WhsCode+'_0_', T0.WhsCode, 'Warehouse:'+T0.WhsCode, NULL, NULL,NULL
        FROM OITW T0 Group By T0.WhsCode
    UNION ALL
      SELECT 'ZZ'+'_Z_', NULL, 'Total', NULL, NULL,sum(T0.AvgPrice*T0.OnHand) FROM OITW T0
    ) T1
    order by SortCode
    Regards,
    J.

  • Inventory in Warehouse Report PLD

    Hi,
    I am trying to revise the print template for this report (Normal display). We want to show all 11 of our warehouses, but the default system layout only shows up to the first 5 warehouses. In addition, the fields which show the warehouse code and item quantities in the generated report are shown as blank text fields in the layout design.
    How can I create additional columns for the remaining warehouses? Thanks.

    Hi Allen,
    Since you have 11 warehouses to display, I am afraid it is better by a query or Crystal report. Even XL Reporter may not be able to create this report without problem.
    Thanks,
    Gordon

  • Inventory in warehoue report

    Hi all.
    I have a question regarding the inventory in warehouse report/
    A client ran the report and noticed that some values were USD, however the local currency is rands and all the amounts should be converted to rands.
    There are a few items however that has totals in USD.
    previously all amount were in rands..
    does anyone know what could be the reason?
    Thank you.
    Jerusha

    Hi,
    Please update us with the Version and patch the issue is happening?
    Are the Items appearing twice or the Item is appearing only once?
    Is the issue occuring after any upgrade? If yes, from which verison and patch?
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • Stock in warehouse report - value not displayed.

    In the "Stock in warehouse report" I selected this option: Price source = Last purchase price.
    In the report, for an item, the value in the field "Item Price" is not displayed.
    This item has a good receipt (with value) in this year.
    Why the value is not displayed?
    Thanks
    Paolo

    Paolo...
    1.  Did that receipt get paid for with an AP Invoice (when last purchase price is updated)?
    and
    2.  Did you run an Inventory Audit Report before running the Inventory in Warehouse Report?
    To see this maybe you can go into SAP OEC DEMO and create a new item, then create a PO - run the two reports, copy to Goods Receipt PO - run the two reports, and then copy to AP Invoice - run the two reports.  You will see the difference.
    Accounting point - an item is not really valued until the AP Invoice is processed.  Only then do you know what the actual purchase cost is for a product.
    Regards - Zal

  • Stock in Warehouse Report - Printing Warehouse Name

    Hi all,
    My client is printing the Stock in Warehouse Report and wants to pull in the warehouse name in the report.
    They are only ever generating this report for 1 warehouse.
    When I look at the standard template I cannot see how even the waerehouse code is pulled in to the report.
    The only fields I see are text fields.
    I have tried adding a database field related to or linked to another field but I cant seem to get it to work.
    Any advice greatly appreciated.
    Thanks,

    I believe you are talking about Inventory in Warehouse Report
    Try the following:
    Add a Formula field and check
    Field_045 == "Whse:"
    Add a database field as you seem to have done and select the Warehouse Name from the OWHS table and set the
    Link to: on the above formula field and
    Relate to on Field_046  ...................................this field is the Item Description field where the Warehouse Code is displayed
    Check this out.
    OR
    If it only one warehouse Add a text field and hardcode the Warehouse Name

  • Can we add new field to inventory Warehouse Report

    I have to add new field name "Desc in Frgn from Item master data" to   inventory Warehouse Report
    How can I do that

    Hello,
    IN print out (PLD) yes, in SAP b1 form not possible.
    Regards
    János

  • Difference Between Inventory Audit Report & Inventory Positing List Report

    Dear all,
    Please tell me the difference  between these twoInventory Audit Report & Inventory Positing List Report, Because I find difference , when observe Closing and Opening Stock Quantity on 1.4.10 audit report showing 610 units but on 1.4.10 posting list showing 973 units of opening stock
    Why so happen ? can anybody explain............
    Thank you
    Komanduri

    Hi......
    Please read below.....
    Inventory Audit:
    This report provides an audit trail for the posted inventory transactions in the chart of accounts.
    You use this report to make comparisons between the accounting view (inventory balance accounts)
    and the logistics view (inventory value displayed by the audit report). The report explains the value changes in inventory accounts.
    Inventory Posting List:
    The inventory posting list provides an overview of all postings in the system, based on various selection criteria and sort options. You can generate a report for specified warehouses based on one of the following selection criteria:
    Item
    Business partner
    Other: Enables you to specify a selection criterion such as warehouse or sales employee.
    Inventory Transfer:
    You use this function to transfer inventory from one warehouse to another. An inventory transfer can also be carried out as a consignment for a customer. The items are then stored in the customeru2019s warehouse and are sold from here.
    You cannot change the table after it has been added. If you display an existing inventory transfer later on, none of the fields in the table are active.
    You can, therefore, only correct an inventory transfer table that has not been entered correctly by entering a compensatory goods movement later.
    For more detail please refer help file in SAP.....
    Regards,
    Rahul

  • Physcial inventory and varience report.

    DEAR Sir,
    Please advise me abt physcial inventory and varience report.

    Hi,
    Comparing the company's book keeping quntity of material with sap material quantity and if any differencesbetween book keeping  quantity and sap quantity used to post them in sap.
    Steps in Physical inventory;
    Create the Physical inventory document(MI01)
    Enter the count (MI04)
    Post the difference(MI07)
    The inventory procedures are...
    ANNUAL INVENTORY, CYCLE COUNTING, CONTINUOUS INVENTORY, ZERO STOCK CHECK, SAMPLE BASED PHYSICAL INVENTORE.
    THEVariance report:
    The variance needs to be analyzed for the difference in the qty at book and physical level. Once it is analyzed the changes can be done in the count sheet for Qty and UoM.
    The Finance department to check and reconcile the difference between the physical and book count runs this report.
    If required based on the variance, recount is initiated and the physical count checked before investigating and clearing the difference.
    To run the variance report in WM level : Logistics-Logistics execution-Information system--warehousePhysical InventoryWith Bin Inventory Management-Different list of open Inventory Documents
    Transaction Code LX17
    The Finance department to check and reconcile the difference between the physical and book count runs this report.
    If required based on the variance, recount is initiated and the physical count checked before investigating and clearing the difference.
    To execute LX17, Enter
    Warehouse number and Inventory record.
    I hope this will give more clarity to you. Thanking you.

  • Benefits of SAP Business Warehouse Reporting compared with the Query-tools?

    Hello experts,
    I've been creating reports with SAP Query tools, but been faced with few problems. First of all, there are restricted possibilities in terms of joining tables, and thus I cannot include all the data required for the report.
    One solution for this would have been to create separate queries and join the data together in Excel. The problem with this is that there exists no common field that would make sense as for a selection criterion. If the selection criterion is different in different queries, there is the danger of combining false data together, which would eventually result with distorted data. 
    So I was wondering, could anyone briefly tell me if SAP Business Warehouse reporting would solve these problems? And what other benefits would it provide compared with the SAP Query? I'd urgently need to know if it would be a beneficial investment for the company, since I haven't found solutions for the problems occurred in the creation of reports.
    Thank you in advance for you help!
    Maria

    The answers are yes - and thousands of companies have gone down this route
    Puttingin BW is a strategic aim of the comapny and not to be thought about and discussed in a BI forum such as this
    The costs of implementation and hardware will no doubt make your eyes water.
    To be quite honest SAP BI is a "no brainer" as most of the new e-SOA and new R3 modules reply on BW for their reporting needs

Maybe you are looking for

  • Poor or Lack of service on both BT customer servic...

    Basically I lost Broadband speed not long after they installed the fibre-optic cabinet at the top of my street.. It's went from 8.5 Meg to just about 5 Meg. I called about it on the 23rd September and since then I’ve had 4 engineers out about 10 oper

  • How do reset my Safari / Chrome security settings? I can't do anything now like banking, accessing email..

    Hi there I've updates to Mavericks and all was well but since then the security settings have gone a bit strange and I can't access secure websites - it just hangs at the initial logon or to get to the next stage of a log on, ie banking, email etc Ca

  • Some pictures from My Photostream not showing up in Photos

    I noticed that something strange is going on in the new Photo App. As you may know there are two choices for viewing photos: Photos and Albums. The first (Photos) shows my pictures ordered by date and location. The second (Albums) show it all in the

  • How do you force LR to start in 64 bit?

    How do you force LR to start in 64 bit? I have Windows 7 64-bit and also downloaded LR 64 bit. But I don't see "x64" in the LR title bar. http://helpx.adobe.com/lightroom/kb/optimize-performance-lightroom.html Can you force LR to start in 64 bit mode

  • Insert Date Time

    db = XE I have imported the exif data from some images into an oracle table. I now want to insert the data into some other tables. I am having difficulty with the date and time data. The exif export contains the date and time like this; 2011:11:30 18