Hello All,
I am successfully running my query to show all Sales Quote activity in the last week by using the following query:
SELECT
T0.[DocNum] AS 'Quote_#',
T0.[DocStatus] AS 'Doc_Status',
T0.[CardCode] AS 'Cust_Code',
T0.[CardName] AS 'Cust_Name',
T0.[NumAtCard] AS 'Cust_Ref ',
T0.[DocTotal],
T0.[DocDate] AS 'Posting_Date',
T0.[DocDueDate] AS 'Due_Date',
T0.[TaxDate] AS 'Document_Date',
T1.[firstName] AS 'ISP_First_Name',
T1.[lastName] AS 'ISP_Last_Name',
T2.[SlpName] AS 'Outside_Sales_Person'
FROM OQUT T0 INNER JOIN OHEM T1 ON T0.[OwnerCode] = T1.[empID] INNER JOIN OSLP T2 ON T0.[SlpCode] = T2.[SlpCode]
WHERE T0.[DocDate] > getdate()-7
ORDER BY T2.[SlpName]
Currently the DocTotal field displays 6 decimal places. Is there a way to add the $ sign and limit the display to 2 decimal places.
DocTotal |
|
I have been searching for format commands but I am not finding what I want.
Thank you for any help.