Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Query for get BusinessDate a Simphony POS Oracle

Status
Not open for further replies.

ejimenezbeltre

Technical User
Jul 5, 2014
11
0
1
DO
Greetings
I need help with a query to the symphony DB.
I want to obtain the details of all the tickets issued on a specific day.
I have the following query, but I can't get the business date as I get it in micros 3700, any idea how to do it?
DB is CheckPosting

Select (SELECT TOP 1 vh.NameID As StoreID
FROM V_HIERARCHY vh
WHERE vh.HierStrucID = vh.PropHierStrucID) As StoreID, C.CheckID, C.RevCtrID, C.OrdTypeID, C.CheckNumber, C.EmployeeID, E.ObjectNumber As EmployeeIDExt
, E.FirstName + ' ' + E.LastName As NombreEmpleado, C.CashierID, C.CheckOpen, C.CheckClose
, C.WorkstationID, C.LastWorkstationID, C.LastEmployeeID
, C.ServingPeriodID
, C.SubTotal
, C.Tax
, C.AutoGratuity As ServiceCharge
, C.Payment, C.Due, C.MaxTotal, C.Deposit
, C.CheckPostingTime, C.CloseStatus
From CHECKS C
inner join EMPLOYEE E on E.EmployeeID = C.EmployeeID
Where convert(date,CheckOpen) = Convert(date,getdate()-1)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top