Inventory tracking

Hi all.
I would appreciate some help with making a query for the following scenario:
Is it possible to show all items where on hand is larger than 0 and has no inventory transactions for a given period of time.
I'm really looking for all items that are in-active - that only lies still in the wearhouse.
Please tell me if any clarifications is needed.
Thanks and regards.
Runar Wigestrand

Try this Query, let you put a date cut off:
/* The Date Input (Hasn't Sold Since dd/mm/yyyy */
DECLARE @TODAY TABLE(RepDate datetime)
DECLARE @DAYLIMIT AS datetime
INSERT INTO @TODAY
SELECT DISTINCT T0.DocDate FROM OINV T0 WHERE T0.DocDate = [%0]
SET @DAYLIMIT = (SELECT MAX(RepDate) FROM @TODAY)
SELECT T0.ItemCode AS 'Item no',
               T0.ItemName AS 'Description',
               T0.CreateDate AS 'Date created',
               T1.WhsCode AS 'Warehouse',
               T1.OnHand AS 'On hand',
               T1.AvgPrice AS 'Avg. price',
                                       (T1.OnHand * T1.AvgPrice) as 'Extended',
               (SELECT MAX(TA.DocDate) FROM OINV TA INNER JOIN INV1 TB ON TA.DocEntry = TB.DocEntry
                              WHERE TA.DocDate < @DAYLIMIT AND TB.ItemCode = T0.ItemCode) AS 'Last Inv. Date',
               (SELECT MAX(TA.RlsDate) FROM OWOR TA INNER JOIN WOR1 TB ON TA.DocEntry = TB.DocEntry
                              WHERE TA.RlsDate < @DAYLIMIT AND TB.ItemCode = T0.ItemCode) AS 'Last W/O Date'
FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode
WHERE T1.WhsCode NOT IN ('98 Ret','DropShip','Transit')
          AND T1.OnHand > 0
          AND T1.IsCommited <= 0
          AND T0.ItemCode
                    NOT IN (SELECT TB.ItemCode FROM OINV TA INNER JOIN INV1 TB ON TA.DocEntry = TB.DocEntry
                                        WHERE TB.ItemCode = T0.ItemCode AND TA.DocDate >= @DAYLIMIT)
          AND T0.ItemCode
                    NOT IN (SELECT TB.ItemCode FROM OWOR TA INNER JOIN WOR1 TB ON TA.DocEntry = TB.DocEntry
                                        WHERE TB.ItemCode = T0.ItemCode AND TA.RlsDate >= @DAYLIMIT)
FOR BROWSE

Similar Messages

  • Inventory Tracking / Stock Posting cannot change batch quantity

    When stock taking, Item A in the system consist of :
    - Batch B-01 = 10 pcs
    - Batch B-02 = 10 pcs.
    Actual stock has:
    - Batch B-01 = 20 pcs.
    Anybody knows how to fix this batch quantity, through Inventory Tracking / Stock Posting ?
    Since I try it, it couldn't work. 
    Best regards,
    Surya

    Hi Surya,
    Check the following thread
    Batch Inventory tracking
    Inventory management via batch number
    *Close the thread if issue solved
    Regards
    Jambulingam.P

  • User define field in inventory tracking

    Hi there,
    I found out that there is no UDF allowed in inventory tracking
    i need UDF like bin location to indicate each item on different bin code.
    Anyone has any solution for this scenario? Thanks

    Hello,
    you are correct. you can't add UDF in the selection criteria (all selection criteria). It must be done using addon. We have developed addon in the item list selection criteria, the addon is a report adddon means a button that can call crystal report.
    So, I am sure you also must do that, but if I see requirement, it means that the selection criteria will filter based on bin code.
    Rgds,

  • 3rd Party Inventory Tracking

    Hello Experts,
    I'm working on an implementation of DP and SNP within the SCM System, where we'll use DP to forecast our in-feed (across our 3rd party (3P) vendors) and transfer it to SNP. Once in SNP I need to net out inventory quantities, which is in a typical scenario no problem and quite easy. however, the scenario i am working doesn't seem to quite fit from what i understand and where i need some guidance.
    First let me say i am looking for guidance on what documenation i could read that would help me solve my problem. Whether it be help documentation, white papers, etc.
    In my organization, we have fully outsourced our operations to various 3rd party vendors, but we perform all the material planning so the material distributor(s) know how much material is going to be required to fulfill our network. The challenge i am facing is what is the best way to track the inventory levels at the various 3rd party locations? Please keep in mind we do not own nor manage the 3rd party inventory. Which means we do not perform GR or GI nor are we involved in the purchasing or selling of materials but, we need visibility into their inventory for netting in SNP. The first thought was to simply put the inventory quantities for each 3P into a BW cube and pull it from there. I haven't ruled this option out but before i committ to this i'd like to know if there is a standard solution to this problem. is there a way to store the inventory in ECC and CIF to SCM or whether storing the inventory directly in SCM. At this point i am not set on any given idea and i am really looking for a standard way to track our 3rd party inventory. one last comment is, i'm not opposed to using a standard modulel/process in a non-standard method meaning if there is a module out there that does 75 to 90 % of what i want but i have to rework somethings i'm open to that as well.
    thank you in advance for taking the time to review my question.
    Mike

    Hi Mike,
    I can think of the following options:
    1) Are your vendors already a part of network in R/3? If yes, then you could get the inventory data from them using EDI. Then you could pass on this data to APO, and it could be used in planning.
    2) You could also get the inventory data through EDI directly into APO. Then it could be used for planning.
    Both the above 2 options would require that your vendors use some system and you need to maintain the EDI interface. If they are using only 2-3 types of systems, then it might be simple to get the data, but if there are lot of vendors using different type of systems, it could be quite complex to setup up the infrastructure.
    3) I understand its also possible to get stock data from vendors using SNC, but I am not very clear if the same data could be used in APO-SNP or not.
    PS: There would also be a possibility to upload stock using some custom program. You would not be able to get stock data in APO from the cube as far as I know (unless you have defined some custom time series key figure for stock).
    Thanks - Pawan

  • Inventory tracking at bag level...

    Dear Experts,
            My client is having specific requirement regarding material handling
    Production order will be created for a BATCH (lot of pallets produced in a day) with UoM KG, which will consist of individual pallet numbers. Pallet consists of 48 bags (each of 20 kg), duly packed on a wooden pallet. Now GR will be done for Pallet by splitting up the Qty of BATCH001 into pallets with specific batch no assigned to it, during GR.Hence inventory will be updated in the form of pallet only.
           The relation of pallet to bag is being maintained into a Z custom table in SAP which is customized for printing barcode label,having Pallet & bag no.
    Now sometimes, user requires removing a specific bag from specific lot for sending it to customer as sample.He want to track that bag into inventory.
           Is it possible by some way to trace the bag ? Pls help..
    The structure is like this
    Batch001
    P1--48 BAGS
    P2-- 48 BAGS
    P3-- 48 BAGS
    P4-- 48 BAGS
    Here P Stands for Pallet .Several pallets e.g.P1,P2,P3...(each consisting 48 bags ) makes a batch.
    Thanks in advance
    Edited by: dennis_r on Dec 24, 2011 6:16 PM

    No, it is not possible in standard. You are using a Z table and custom logic to identify each bag. There's no process in the system that is aware of it.
    So, if you need it, you'll have to further enhance your custom development, to provide for this requirement, or review the Z solution to try and replace it with existing functionality.

  • Inventory tracking spreadsheet help.

    I'm hoping to create a file that tracks all my inventory. Sheet A lists all my stock with inventory codes to correcsponding stock types. I would like to create a formula that copies the inventory from sheet A to sheet B, C, D , E and F dependinfg on the inventory code in sheet A.
    ie. If inventory code is 2001- then copy that stock into sheet B. If inventory code is 2002- then copy stock into sheet C... etc etc
    Can anyone help? I've tried every formula I can think of!
    THanks in advance!
    Becky
    See following screen shots...
    Sheet List
    Key
    Sheet A
    Sheet B

    Hi Becky,
    Here's one way to go about it.
    The image below is a recreation of your Main data table, renamed "Main". T cut down on typing, I shortened the item names, and omitted the Notes (none of these would be transferred to the In Stock table.)
    The actual table continued to the last fully visible row of the image in your initial post.
    The new column on the right uses COUNTIF to greate an index of rows with each Inventory code. This is a 'working column,' and may be hidden.
    Formula:
    H2: =E2&"-"&COUNTIF($E$2:E2,E2)
    Fill down to the end of the table.
    The satellite tables are all identical except for name and the values in cells A1 (inventory code for items to be collected by this table) and B2 (Name of this table). Note that this table has two header rows to provide space for the Inventory Code and name in the top row.
    The table contains a single formula, with one edit required to skip the column on Main containing the inventory codes.
    Formula:
    A3: =IFERROR(OFFSET(Main :: $A$1,MATCH($A$1&"-"&ROW()-1,Main :: $H,0)-1,COLUMN()),"")
    Enter the formula in A3, then fill it right to D3, where it will pick up the inventory code (2001) from E2 of Main).
    Edit the formula to insert "+1" after COLUMN()
    D3: =IFERROR(OFFSET(Main :: $A$1,MATCH($A$1&"-"&ROW()-1,Main :: $H,0)-1,COLUMN()+1),"")
    Fill right to E3.
    Select cells A3 to E3, then use the fill handle to fill down to the end of the table.
    Because the formula will return a zero for empty cells (such as those in the Date Sold and Notes columns, I used conditional formatting to hide these zeros (in Date sold) or to make them less visible (Notes). The rules are identical except for the colour (white or grey) set conditionally for text in the cells. The image shows the rule for all cells in Column E (Notes).
    Duplicate this table for sheets C, D, E and F, then edit the table's name to match its function and replace the inventory code in A1 and name in B1 with those approprate to each table. I would develope the tables on the same sheet as the Main table, then, when completed, move each to its own sheet.
    Regards,
    Barry

  • Physical Inventory Count with Batches / Inventory Tracking+Posting

    Hi,
    There does not seem to be any way to record a Physical Inventory count with Batch managed items.
    Scenario-1: In case 1.8 kg of batch number 222 is counted during Physical Count. B1 has Batch number 111 with quantity 2.5kg. B1 assumes that a lesser quantity of existing batch 111 was counted and the batch SELECTION screen appears.
    Scenario-2: Similarly, if 3 kg of batch number 222 is counted during Physical Count and Batch number 111 exists on Business One with quantity 2.5kg, then B1 assumes that a new batch was found and the batch CREATION screen appears.
    Scenario-3: If 2.5 kg of batch number 222 is counted during Physical Count - with Batch number 111 on Business One with quantity 2.5kg, then B1 assumes a zero "difference" in posting window. Wrong batch removal and new batch addition cannot be done - the batch selection/creation screen does not pop up with CTRL+TAB.
    A Physical inventory count sheet with hundreds of rows with all 3 above scenarios in the rows is normally supposed to be entered into any system.
    An easy way to do this should exist on SAP B1 but does not appear to exist right now.
    Thanks,
    Ajay Audich
    Message# 551219/2009
    Dear Ajay Audich,
    Thanks for your message and screenshots. In current version of SAP Business One, the Inventory Posting functionality does not offer input at the batch level. The system behaves in the following way:
    If the Difference number is positive, you will see a Define Bathes
    window where you can assign the item quantity to the relevant batches.
    If the Difference number is negative, you will see a Batch Number
    Selection widow where you can issue item from the relevant batch.
    So it isnot possible to enter the count for batch managed items per batch. The possible workaround is after Inventory Posting, use Goods Issue and Receipt to manually adjust the Batch quantity.
    Please kindly have a try. If the feature is important for customer
    business process, please kindly refer to attached Note 1028874 for
    further action.
    Sorry for any inconvenience, we appreciate your understanding.
    Kind regards,
    Canna Mu
    SAP Business One Product Support
    Edited by: Ajay Audich on Jun 8, 2009 1:48 PM

    Yes - it is important for the customer & will look at further steps as advised by you.
    Thanks for your reply.

  • Inventory Tracking & Inventory Posting for Serial number managed items

    Hi,
    Plase advise me to address this issue..
    My scenarios is : - hand an item whih is serially managed, purchase 2qty and it serial number is 'S1' and 'S2', in a delivery document had selected 'S2" and physically issued 'S1', ineed to correct serial number at the time of inventory counting..kindly advise...
    thanks in advance..
    Nobin

    HI Raghu ,
    as you are setting other properties like itemcode and warehouse, u will find batchnumber and batch qunatity(after u press Lines. ) see the sample locally at ..Program Files\SAP\SAP Business One SDK\Samples\COM DI\VB.NET\04.SerialAndBatch.  , if u have )
    the sample updates the batch table in loop, whereas I used to give all the required batch quntity at once.
    U have to make it sure that the item is managed by batch ( if a field in oitm called 'ManBtchNum' is found 'Y' then only go ahead with defining batch number and batch quantity else , ur document will not simplly get posted and no error will be thrown)
    also remember that since it is goods issue, u have to have the batch existing in the database (oibt table) with the defined batch quantity.) 
    hope it helps.
    regards,
    Binita Joshi

  • Is It possible for a Non Shippable Inventory Item sold in OM update INVENTORY Levels

    Is It possible for a Non Shippable Inventory Item sold in OM update INVENTORY Levels?
    I have created an Item which is inventory tracked but not shippable. Customer & Internally Ordered. But upon booking the Sales Order, the INVENTORY level of the said item does not get updated with the sale.
    How can i make it update INVENTORY without going thru shipping module?
    thanks.

    Hi Jay
    How are you.
    Yes, in process sampling only.
    Is it not neccessary to have a wip validity rule for wip products in the specs. I am able to create samples for wip products with inventory validity rule.
    Regards
    Prem.

  • Inventory Management in Excel or Access?

    Hi, I am trying to create a functional inventory system for my stock room... I have been looking at templates and haven't found something that looks suitable for the programs we have on hand -- Excel 2010 being the primary choice, but I also have access
    to (but limited familiarity with) Access. I see SharePoint is a good system and has a few threads in these forums, but I don't have it! 
    Currently there is no formal process, just receiving and distributing goods. I have at least started a spreadsheet to track who is taking what/when/for what purpose - but this doesn't help to show how much we have/when to reorder, or how much we had in the
    first place to check back that no inventory went missing, etc.
    Problems I'm trying to fix:
    need to know how much stock is on hand (ideally without having to schedule a routine physical count)
    need to track where inventory is going
    Bonuses:
    want to be able to include all relevant supplier information per product (i.e. supplier, cost, product #, notes)
    want to be able to see when stock reaches a certain level (prompt or notification to reorder)
    Is there a solution out there for me?

    Hi,
    According to your description, your required could be done via Access
    inventory system database.
    It'll help you handle inventory tracking of your product stock, suppliers, employees, purchase orders and sales.
    More reference:
    http://office.microsoft.com/en-us/access-help/cut-expenses-manage-inventory-and-ship-effectively-by-using-the-goods-web-database-template-HA102430359.aspx
    https://www.youtube.com/watch?v=p8NPcA7UIRI
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support

  • Purchasing & Order Tracking for New Independent Requirements

    Could anyone tell us how they are currently handling new independent requirements that are not available in the system?
    We are looking at a solution for our purchasing organization for engineering demands where a user needs to purchase a part or service which does not exist in SAP. Currently the user is manually procuring the item. We would like to come up with an automated solution so there will be better inventory tracking and reporting.
    Part of our problem is that the item does not exist in the material master in SAP hence cannot be purchased through the system. Do we have to insist that all part be loaded into the system, but then this would slow down the up-front buying process thereby affecting engineering design.
    Any thoughts/ ideas or best practices would be much appreciated.

    Hello Fred,
    You can purchase materials and services without master.
    - by free text entry
    - by select items from OCI enabled supplier catalog
    Regards,
    Masa

  • Client wants accurate inventory and last purchase price but no acct entries

    My client uses SBO to track inventory but does not use for financials (No AP invoices or payments). They create a goods receipt PO to accurately capture inventory, but now want to update last purchase price as well, which needs to be done with an AP invoice. The problem is the AP invoice creates acct entries for BP and in the GL. Is there any way to reverse the accting entries without updating the last purchase price and inventory levels?

    You can manually update the last purchase price either by Goods Receipt or Inventory Tracking & Posting.  You just need to create exact Goods Issue or negative tracking to reverse the inventory quantities.
    Thanks,
    Gordon

  • Inventory - Quantity Discrepancy

    Why do I show the correct quantity at the item master level but incorrect qty/value at the inventory valuation/audit report level?
    We have just taken physical inventory - we entered our results into inventory tracking then posted using inventory posting.
    When I check quantity of items using Item Master Data - "Inventory Data" Tab displays correct quantities in all warehouses.
    My problem is when I run the "inventory valuation" or "Inventory Audit" Report - the results show quantities and values for items that we do not physically have - we posted "0u201D qty during our inventory posting and the system reports think we have "1". 
    The values appear to have been brought over during our initial migration as a u201Cgoods receiptu201D but I would assume that posting the current and correct quantities during physical inventory would correct the valuation reports.
    Please help! 
    Andrew
    SAPB1 2007A (8.00.177) SP 00 PL 41

    Thank you for this query - this produced a list of 517 items whicih demonstrate the same issues we are seeing. 
    Item Master Data / Items Status = correct values
    Inventory Audit/Valuation Report = incorrect values
    VERY HELPFUL QUERY - the question now is, what next?
    Is this caused by the bug which was fixed in 2007A?  I have read about the "Inventory Valuation Check-up" which i have requested our VAR look into....The VAR is currently trying to determine if our data was upgraded from 2005 or loaded directly into 2007.
    Any info you can point me to is most appreciated!
    Thank you!

  • Inventory management via batch number

    All of our products use Batch management. I noticed in Inventory Tracking/Stock Posting that the quantities are not separated out by batch #. We have to make adjustments between batch #s for the same item and reconcile the actual quantity with the B1 quantity by batch number.
    I can get the reports that list the quantities but what is best mechanism for adjusting the quantities? The only thing I can find is to use Goods Issue and Goods Receipt documents to do this. Is there a single document that will do this?

    This is really not a transfer between batches but a reconciliation of physical inventory with B1 by batch #
    In the Inventory Tracking and Stock Posting windows, the items are not broken down by Batch # so when a warehouse count is taken, it cannot be entered by batch number. I surmised from this that it would be necessary to use the goods issue and goods receipt documents to adjust differences between the B1 #s and the actual count #s for the different batches of an item.
    If I am missing something I need enlightenment. Otherwise I find it odd that the system allows an item to have multiple batches but doesn't provide a convenient method for reconciling by batches.

  • Table for following the Stock Tracking in queries

    hello,
    I am trying to generate a query based on the stock taking module (under Inventory Transactions).
    the form takes its values from different tables, but i would like to you the 'counted' column in a query.
    a similar form is the price list and for price list there are tables ITM1 etc..
    is there any table to take the 'counted' values from?
    i'll be thankful for any help
    Saar

    Hi Jitin.
    thanks for the reply.
    i checked the IQR1 but it seems to be a table for inventory posting after reconciliation.
    can you guide me how to find the object type of inventory tracking (a step before)?
    regards
    Saar

Maybe you are looking for

  • Problem with FWSM and L3 interface in same switch

    I have two 6513s with an 802.1q trunk connecting them. Each switch has redundant Sup720s running in Native mode, IOS ver 12.2(18)SXF (they were initially running SXD3). A FWSM (ver 2.3(3), routed mode, single context) is in each switch, setup in fail

  • CS6 & Windows 8.1

    I have PS CS6 and just updated to Win 8.1.  Now my CS6 is not working correctly.  Bridge often comes up "Not Responding" and PS blinks with a b & w checker board while working within a photo.  I believe this to be a settings issue, however been unabl

  • T530i multiple external displays without dock

    Hello all, I'm having an issue trying to set up a T530i with Intel HD Graphics 400 with multiple external displays.  I have searched the forum and not found anything similar, it looks like most people are using docking stations with their configurati

  • Need information about OEM 12c Cloud Control Monitoring

    Hi All, I need a piece of information about OEM 12c Cloud Control. Can we monitor JCapps from OEM 12c Cloud Control. If yes, then do I need some plugins to get installaed for this or any other requirement? Thanks in Advance!!

  • JS CS2 openDialog problem

    Hi All, Page 540 of the CS2 scripting guide says: "A file or files to be preselected when the dialog opens:" However myFile=File.openDialog("Pick me","Files : *.indd", true); Doesn't allow multiple selections. So is the CS2 Scripting guide wrong or a