﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / Database Design / Design Ideas and Questions  / How to design new query to take off invoice? / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Sat, 25 May 2013 08:54:59 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>[quote][b]kichravishankar1 (9/8/2010)[/b][hr]Printing Invoice in Different Design in Tally ERP 9:[/quote]What is this? ;-)</description><pubDate>Wed, 08 Sep 2010 04:12:26 GMT</pubDate><dc:creator>Madhivanan-208264</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>Printing Invoice in Different Design in Tally ERP 9:</description><pubDate>Wed, 08 Sep 2010 04:03:15 GMT</pubDate><dc:creator>kichravishankar1</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>From my report If this code "AS0630" tell me the person had they money back. I am only looking for people who have not receive they money back.Lakh</description><pubDate>Tue, 30 Dec 2008 07:46:29 GMT</pubDate><dc:creator>Lakhbir.Bhatti</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>[quote]SELECT *FROM dbo_pod_surgeryWHERE phc_id="22/15729"; [/quote]If you know activity why r u using phc_id... you can directly use the activity in where clause.</description><pubDate>Tue, 30 Dec 2008 07:36:55 GMT</pubDate><dc:creator>brainy</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>Hi Madhivanan,This is my query see below.Please can you add the missing part for me. i am having erorro message.SELECT *FROM dbo_pod_surgeryWHERE phc_id="22/15729"; Lakh</description><pubDate>Tue, 30 Dec 2008 07:21:55 GMT</pubDate><dc:creator>Lakhbir.Bhatti</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>[quote][b]Lakhbir.Bhatti (12/30/2008)[/b][hr]ThanksLakh[/quote]You are welcome :)</description><pubDate>Tue, 30 Dec 2008 06:51:34 GMT</pubDate><dc:creator>Madhivanan-208264</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>ThanksLakh</description><pubDate>Tue, 30 Dec 2008 06:42:50 GMT</pubDate><dc:creator>Lakhbir.Bhatti</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>[quote][b]Lakhbir.Bhatti (12/30/2008)[/b][hr]If any invoices matching to code AS0630 that showing me the invoices are paid and take it off my list.[/quote]select * from table as twhere not exists(select * from table where invoiceno=t.invoiceno and activity='AS0630')</description><pubDate>Tue, 30 Dec 2008 06:07:19 GMT</pubDate><dc:creator>Madhivanan-208264</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>If any invoices matching to code AS0630 that showing me the invoices are paid and take it off my list.</description><pubDate>Tue, 30 Dec 2008 05:50:46 GMT</pubDate><dc:creator>Lakhbir.Bhatti</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>Do you want one row per invoice?</description><pubDate>Tue, 30 Dec 2008 05:37:17 GMT</pubDate><dc:creator>Madhivanan-208264</dc:creator></item><item><title>RE: How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>You have 2 activity columns... what are they really called?And please... not nice to double post.</description><pubDate>Tue, 30 Dec 2008 05:09:52 GMT</pubDate><dc:creator>Jeff Moden</dc:creator></item><item><title>How to design new query to take off invoice?</title><link>http://www.sqlservercentral.com/Forums/Topic627219-373-1.aspx</link><description>Invoice Date                activity        activity         activity  location   102   14-Mar-06        A              SS80            SS70            L20.POD   102   24-Jul-06        A                             SS78            L20.POD   102   21-Aug-06        A                              AS0630          L15.PS    102   25-Aug-06        A                              SS71            L20.POD   102   01-Sep-06        A                              SS76            L20.POD   102   21-Nov-06        A                              SS74            L20.POD   105   25-Aug-06        A                              SS71            L20.POD   106   01-Sep-06        A                              SS76            L20.POD   107   21-Nov-06        A                              SS74            L20.PODHow to take off Invoice 102=AS0630 and keep invoice 105,106 and 107.Lakh</description><pubDate>Tue, 30 Dec 2008 04:45:42 GMT</pubDate><dc:creator>Lakhbir.Bhatti</dc:creator></item></channel></rss>