Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Incident Reports » Incident Reports Addressed for Version 4.23 » View Incident Report |
Serious |
Reported By: Connie McBride Reported On: 3/24/2006 For: Version 4.22 Build 6 |
Query 1 - Select I.*, I.UID as OrderUID from Invoice I where I.IsFromOrder = false and (:StartDate is null or I.InvoiceDate >= :StartDate) and (:EndDate is null or I.InvoiceDate <= :EndDate) and (:RecordUID is null or (I.CustUID = :RecordUID or I.UID = :RecordUID)) and (:Closed is null or I.Closed = :Closed) union all Select I.*, S.UID as OrderUID from Invoice I, Service S where I.IsFromOrder = true and (:StartDate is null or I.InvoiceDate >= :StartDate) and (:EndDate is null or I.InvoiceDate <= :EndDate) and (:RecordUID is null or (I.CustUID = :RecordUID or S.UID = :RecordUID or S.InvoiceUID = :RecordUID)) and (:Closed is null or I.Closed = :Closed) and S.InvoiceUID = I.UID union all Select I.*, S.UID as OrderUID from Invoice I, Install S where I.IsFromOrder = true and (:StartDate is null or I.InvoiceDate >= :StartDate) and (:EndDate is null or I.InvoiceDate <= :EndDate) and (:RecordUID is null or( I.CustUID = :RecordUID or S.UID = :RecordUID or S.InvoiceUID = :RecordUID)) and (:Closed is null or I.Closed = :Closed) and S.InvoiceUID = I.UID Query 2 : Select I.* from Invoice I where (:StartDate is null or I.InvoiceDate >= :StartDate) and (:EndDate is null or I.InvoiceDate <= :EndDate) and (:RecordUID is null or (I.CustUID = :RecordUID or I.UID = :RecordUID)) and (:Closed is null or I.Closed = :Closed)
This web page was last updated on Wednesday, March 20, 2024 at 07:22 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |