Home Page link  

RE: How to make items with QTY=0 Inactive ?

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
RE: How to make items with QTY=0 Inactive ? Akber Alwani 03-27-2007
Posted by Akber Alwani on March 27, 2007, 7:55 pm
Please log in for more thread options
Hi Robert,
if you want you can add additional criteria i.e. specific department,
particular period of time sale etc. here are 2 for you:

By Department:
UPDATE ITEM
SET INACTIVE = 1
FROM DEPARTMENT
WHERE DEPARTMENT.ID=DepartmentID
AND QUANTITY = 0
AND DEPARTMENT.NAME='Action'

The same you can apply add 2 more tables for [Transaction] and
TransactionEntry to make join and then specify the sales period of time as
filter criteria.


"Robert" wrote:

> How can i specify to run this by department name ?
> Can i also add a filter last sold before specific date ?
> Thanks
>
>
>
>
> "convoluted" wrote:
>
> > Hi Robert
> > Keep in mind that setting the item as inactive will also make it inactive
> > for physical inventory purposes...if this is fine with you, here's the sql
> > query you need...
> >
> > In SO administrator, connect to your database
> > BACKUP FIRST...!
> > THEN run the following query
> >
> > UPDATE ITEM
> > SET INACTIVE = 1
> > WHERE QUANTITY = 0;
> >
> > You may want to do this after the store closes just to make sure it affects
> > the items that you know should be affected....or you may consider adding an
> > additional constraint to the query, such as adding a specific supplier code
> > that you know has many items that fit in this category...hope this helps
> >
> >
> >
> > "Robert" wrote:
> >
> > > I'm trying to cleanup my database for few reasons.
> > >
> > > Is there a way to make all items that On hand QTY of 0 Inactive ?
> > > This would help me i generating reports and printing labels.
> > >
> > > I tired inventory wizard and filters but the On hand qty is not one of
the
> > > filter options.
> > > Seems this should be easy to run as SQL Query but i do not know the command
> > >
> > > Thanks for all help
> > >
> > >
> > > Thanks
> > > Robert
> > >

Similar ThreadsPosted
RE: How to make items with QTY=0 Inactive ? March 27, 2007, 8:05 pm
How to make items with QTY=0 Inactive ? March 27, 2007, 10:07 pm
make items inactive November 9, 2007, 1:38 pm
sql - make items inactive May 15, 2008, 11:27 am
Delete Items and Make Items Inactive January 27, 2009, 10:57 am
Make Inactive & May Not Be Placed on PO September 22, 2008, 3:37 pm
make item inactive January 12, 2008, 3:20 am
Inactive Items May 16, 2007, 6:47 pm
Making Items Inactive October 18, 2006, 2:27 pm
Delete inactive items November 3, 2006, 4:56 pm

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap