Inactive Item report to show Item bought within a specific period and not sold within a specific period by whse and have stock

Hi
I'm trying to come up with query report to show Inactive Item bought within a specific period and not sold within a specific period by whse and have stock
The report should show  Item Number, Item Name ,Item cost,Retail Price [Based on a price list], Qty in Whse, Last Purchase Date, Last sale Date etc.
e.g item bought between 2011-2013 and have not been sold with the same date range or the last 12 months.
Regards
Brian Ndunda.

Hi,
Try this query:
SELECT T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate] FROM OITM T0  left JOIN INV1 T1 ON T0.ItemCode = T1.ItemCode left JOIN OINV T2 ON T1.DocEntry = T2.DocEntry WHERE T1.[Quantity] is null and  T0.[OnHand] >0 GROUP BY T0.[ItemCode], T0.[ItemName], T0.[OnHand], T0.[AvgPrice], T0.[LastPurPrc], T0.[LstSalDate]
Thanks & Regards,
Nagarajan

Similar Messages

  • I just bought a new iPad air and have not been able to download kindle app to read my books. When I type kindle on my iPad app page, kindle app does not appear. What do I do to get this app into my iPad air?

    I just bought a new iPad air and have not been able to download kindle app to read my books. When I type kindle on my iPad app page, kindle app does not appear. What do I do to get this app into my iPad air?

    Hi norlowski,
    Do you already have the Kindle app downloaded to an iPhone or another iPad? Do you have "Automatic Downloads" turned on under Settings>iTunes & App Store for Apps on your iPad?
    You might want to try touching and holding the Kindle App option in your Purchased list, and when it highlights, let go, and it will go to a a detail page for the app with another "Open" option on it. See if it will open from there.
    If you do have Automatic Downloads turned on on the iPad, turn it off, and then go back to purchased to see if the Kindle is still showing as "Open".
    Post back with results!
    Cheers,
    GB

  • I have bought Canon EOS 70 D and have Photoshop Elements 12. The program has RAW 8.0. I need 8.2. I have tryed help - update and it is searching hour after hour. Nothing happens. The program i  brand new, Installed yesterday

    I have bought Canon EOS 70 D and have Photoshop Elements 12. I need RAw 8.2 and the program has 8.0.
    I have tryed help - update and it is searching for hours. Nothing happens. The program is installed yesterday.

    Are you updating from the Editor, if not go to Expert Mode and click:
    Help >> Updates
    But check first under the Help menu that you are signed-in - your email address used for you Adobe ID should be visible. You should be able to update to v8.5

  • I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    I have recently bought a second I phone4 and have the same apple ID on both of them, strangely I noticed the messages sent from one phone appearing the other one along with any pictures I sent from one of my Iphones. Is it possible to see the same msgs.

    You need to setup different Receive At addresses for iMessage.
    If you don't want the same pics on each, turn off PhotoStream.
    User Guide

  • I bought creative cloud just now and have only the option of "TRY" and not "Install"-why?

    i bought creative cloud just now and have only the option of "TRY" and not "Install"for  photoshop, after effects and Illustrator -why?

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Can we fetch a report which shows the information carrying the emails sent and received by exchange servers?

    Can we fetch a report through scom 2007 r2 which shows the information carrying the emails sent and received  by exchange servers?

    Hi,
    Within the imported Exchange management pack, we have some default reports that could be run. Have your imported the proper MP to your management group, please check whether those default reports can achieve what you want.
    In addition, here is a powershell script to show total number of emails sent and received per user:
    Exchange 2007/2010 Email stats
    https://gallery.technet.microsoft.com/scriptcenter/bb94b422-eb9e-4c53-a454-f7da6ddfb5d6
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • HT201272 I have purchased 3 books from Itunes - for my Ipod.  The books show up as purchased on the PC but not on the Ipod. The other books i have purchased and have downloaded correctly have a square beside them when shown on the PC. I have checked my au

    i have purchased 3 books from Itunes for my ipod. The books show up on the PC as purchased but do not show up on the Ipod anywhere.  Other books i have bought and have downloaded correctly have a square symbol beside them - but the three books in question do not. I purchaed 4 tonight and only one has worked. There is plently of room on the Ipod as the books are only 7 and ten mins long.  I want my money back - or the books to download.

    i have purchased 3 books from Itunes for my ipod. The books show up on the PC as purchased but do not show up on the Ipod anywhere.  Other books i have bought and have downloaded correctly have a square symbol beside them - but the three books in question do not. I purchaed 4 tonight and only one has worked. There is plently of room on the Ipod as the books are only 7 and ten mins long.  I want my money back - or the books to download.

  • My Mac is telling me that my disk is full. I have bought an external hard drive and have just listened to a youtube tutorial on how to move iTunes library to the external hard drive. If I do this can I still load new media on my Mac without the external?

    my Mac is telling me that my disk is full. I have bought an external hard drive and watched a youtube tutorial on moving iTunes library to external hard drive. Will I still be able to use iTunes on my Mac for new media or will this now only work through my external hard drive?

    To do this you need to learn the details of how iTunes works.  For example, you just said, "leave my iTunes on my computer".  iTunes is the application itself so of course it has to be on your computer.  That said, I therefore don't know what you mean when you say leave iTunes on your computer.  The phrasing of your question suggests to me, if I may be frank, you don't understand how iTunes works fully and we can't just give you a "do this" answer and have it work out.  It would be too easy to make a mess of things.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391
    Yes, you can download media and delete it again (but if it is from the iTunes Store there is the possibility you can't always download it again).  Of course if you want to keep a copy you can archive it.  I have done that with some files for which I have no room on my computer.  I transfer them to an external hard drive and delete the reference to the file (but not the file itself) from my library.  If I want a quick listen I go to the file on the drive and use Quicktime player or something else non-iTunes so I don't have to have it added to iTunes and delete again.  I don't know if that is the solution you are looking for.  I could leave the reference in iTunes but if the file can't be located by iTunes it will tell me there is a broken link = !  I guess I could live with that except I periodically scan my library for broken links and don't want it getting confused with ones I have done deliberately and ones suggesting I am really missing a file somewhere.
    Another possibility is to make a second iTunes library for material you are archiving and only use that library when the computer is using the external drive.  There are tricky aspects to dong that but it is a possibility too.
    The simple solution for most people with computers with tiny drives (as most seem to be these days) is to put their whole iTunes library on an external drive and use it from there.

  • My worksheets used to be displayed along the bottom of the page, now they show up as icons along the side and have to be opened individually, how do I get them back to the bottom?

    On PAGES, my worksheets used to be displayed along the bottom of the page , now the show up as icons along  the side of the and have to be opened up individually, how do I egt them to go back to the bottom of the page?

    Do you mean like this?
    Regards,
    Barry

  • I have bought a new iphone 4 and have backed up my old iphone, but now my iphone 4 is saying it has no service?

    i have bought a new iphone 4 and i have backed up my old iphone 3gs. i have synched my new iphone 4 and it has all the features and contacts of my old phone, but it keeps saying no service. i have service. i can connect to the internet. what do i do to get service

    You need to call your service provider, and ask them if your SIM card is activated.

  • I recently bought a neew ipad mini and have sync messages from my iphone. Which worked fine.  I just picked it up and I have only to messages and can't figure out how to get back to the screen with the inbox and other folders?

    I recently bought a mini IPAD and have sync messages from my iphone.  Now I am stuck under group message and can't get back to the main screen that has the inbox and the various folders.  Help??? 

    youngkristen wrote:
    So, our hope was we could just hook up the external to the mac and have it transfer seamlessly.  Is there any hope of that? 
    Yes there is, scroll down to the bottom of the following Switch 101 article and click on the arrow next to Manually migrating.
    Switch 101: Migrate your Windows files or system to your Mac

  • Want the Report to show all the records but side by side not a list of 15

    I created a report and the report shows a list 1 to 15, I want it to show all but next to each other how do I do that?

    I'm not sure I understand Your question but in Report Atrributes U have a "Layout and Pagination" field - there U can change Pagination Scheme. Maybe one of default will help U to receive what U want

  • I bought 2 mac book pros and have time capsule connected to router. Both computers can see time capsule but i can not see other computers.

    I bought 2 mac book pros. At home i already had a network with a timecapsule connected to a router and a windows xp lap top connected to it. When i turned both macs on i was able to see the time capsule and the windows xp computer HOWEVER neither mac could see each other......any help would be appreciated.
    Nick

    Thanks Linc ......you were right on the money. Your help has been awsome. I spent 3 hours last night doing stuff with out any solutions. May I ask you another question if you have the time and patience please. My orriginal setup was 2 windows laptops with XP on them connected with a timecapsule attached to a router. Hence the time capsule made a wireless signal aswell as being an external hard drive. On one of the laptops i have a printer attached to it which was shared so that the other computer could print documents through the network however the computer attached to the printer has to be on. Do you know what i have to do so these new 2 mac book pros can print to that printer? Thanks again for all your previous help. Nick

  • HT201317 My photostream photos show more then 30 days of photos and have only just set my computer up with the  icloud, is there any way I can get photos on my computer from more then 30 days ago?

    My photostream on my iphone shows more then 30 days of photos, however I have recently lost my phone and hadn't set up the icloud on my computer until now. Is there anyway to get all the photos in my photostream on my iphone or just the last 30 days?

    If you backed up the iPod before restoring it then restore from that backup. See the restore topic of:
    iOS: How to back up
    Also, if yoo have that backup you can extract the photos by:
    Recover iPhone, iPad or iPod photos from backups with Picturescue
    If you used PhotoStream then try getting them from your PhotoStream. See that topic of:
    iOS: Importing personal photos and videos from iOS devices to your computer

  • I have just bought a 5D Mark III and have a questions on sports settings.

    I am shooting at my sons rugby game and sports day in the coming weeks and would like to make sure my camera is set up correctly. I am using a 70-200 mm lens 2.8 with 2x converter, ( so goes to 5.6 when using). 
    - I am shooting Al Servo
    - evaluative metering
    - shutter above 1000
    - custom controls - shutter butt. half-press
                                - AF - ON
                                - AE - lock
                                - Lens - AF stop
    - Picture Stype - portrait
    AF settings 
    - Case 2 - continue to track subjects, ignoring possible obstacles
    - Al Servo 1st image priority
    - selectable AF point - 61 points
    - select AF area selec mode - all 6 boxes are checked..is this correct?
    - AF area selection method - main dial
    - orientation linked AF point - same for both vert/horiz
    - manual AF pt selec. pattern - continous
    - AF point display during focus - selected (constant)
    I really appreciate any help on these settings, I would like to get the settings correct and am feeling a bit clueless right now.
    thank you

    I have a 5D III ... I don't shoot sports but I can offer some info.
    First and foremost... if you don't already have this (becuase it doesn't come with the camera), go to this page and in the lower left corner is a link to download the Canon guide-book on the AF system that your camera has.  It's a 47 page book on JUST using the focus system on your camera.  It says "1D X" but if you read the page you'll see that it was really intended for the 1D X and the 5D III.
    http://www.learn.usa.canon.com/resources/articles/2012/1dx_guidebook.shtml
    Next, Rudy Winston (Canon USA) has a video series on using the new features of the 1D X (in 5 parts) and the first 3 parts explain features of the auto-focus system:
    Part 1:  http://www.youtube.com/watch?v=DM6KkQcNI8w
    Part 2:  http://www.youtube.com/watch?v=X4dDzIDB6_A
    Part 3:  http://www.youtube.com/watch?v=Z7n2cWfLk8s
    You want AI Servo -- since your subject distance may be changing and this provides for continuous focus.
    Evaluative metering is fine since this will evaluate all metering zones.
    Shutter above 1/1000th is also fine -- this will freeze action
    On the custom controls, each of the ten options will tell you what the camera will do when you press that control.  
    For example:  You might want to use "back button focus" behavior.  For this you would set the "Shutter button half-press" behavior to "Metering start" (not not AF), THEN set the "AF-ON" button to "Metering and AF start".  This way the camera will ONLY focus if you press the AF-ON button with your thumb.  
    All this is probably not necessary with the 5D III's focusing system because the whole point of you picking "Case 2: Continue to track subjects, ignoring possible obstacles" is that it eliminates the need to configure the camera for back-button focus.  It's one of the benefits of shooting with a 5D III or 1D X body.  With any other body... you'd configure back-button focus behavior.
    Your "AI Servo 1st image priority" and "AI Servo 2nd image priority" control whether the camera uses "focus priority" (wont shoot until focus is confirmed) or "release priority" (will shoot when you press the button whether it was focused or not) or a blending of the two.  The "AI Servo 2nd image priority" affects the behavior of all subsequent frames after the first frame when using continuous shooting mode.  
    Selectable AF point - 61 points means the camera is allowed to use ANY of the focus points to lock focus.  Keep in mind that the camera will gravitate to the nearest subject when using this mode.  If other players are closer than your son and you want to make sure the camera focuses on your son then you'd want to use a different focus mode to narrow the area where the camera looks for focus.  
    The "AF area select mode" doesn't affect shooting... when you decide to change focus modes, you can switch off certain focus modes you don't ever think you'd use.  For example... if you have two favorite modes and you just want to swtich between them quickly, you can turn the other modes off.  That way you don't have to keep pusing the button to change focus modes until the mode you want appears (because each time you push the mode change button it cycles to the next mode.)
    AF area selection mode - main dial.  that just means when using a mode OTHER than the 61-point AF mode (where you just want to use some points) the way you'll tell the camera WHICH points you want to use is by turning the wheel.  I use use the 8-way navigator on the back). 
    Orientation linked AF means that if you tell the camera you want to pick some focus points in, say... the "upper right" corner and you are holding the camera level (horizontally)... what should it do when you turn the camera on it's side?  If the orientation is NOT linked, then the points you pick are the points you pick regardless of the camera orientation.  If the orientation IS linked, then it means your selection of points in the "upper right corner" is will be maintained... so when you flip the camera on it's side, it'll automatically swtich AF points so that the poitns are STILL in the "upper right corner".
    The manual AF point selection pattern tells the camera if the focus points should "wrap around" when you keep navigating off the edge of the screen.  e.g. I use joystick... so this means that if I'm already on the right-most AF point... and I nudge the joystick right one more time ... it'll actually "wrap" back around to the left edge.  If I turn this off then when I hit the right edge and nudge to go right one more time nothing will happen (because I'm already as far to the right as it can go.)  
    Get out and practice with the AF system controls -- it takes a bit of learning but you'll find it's quite powerful and once you get the feel for it you will really appreciate having it.
    Tim Campbell
    5D II, 5D III, 60Da

Maybe you are looking for