Viewing 15 posts - 136 through 150 (of 152 total)
Jeff Moden (1/11/2015)
How do you want to handle 58475 when the following happens?
i_transaction_id c_amount dt_when ...
January 11, 2015 at 9:22 pm
Credits to Navy beans says that there is no i_ticket_id1 or i_ticket_id2 columns in any of the tables.
That was my interpretation of the same [i_ticket_id] but in different instances.
January 11, 2015 at 9:20 pm
Ok sorry...
So, the original code above pulls sales from Tickets in a POC that have a customer name attached to them, call a 'House Account'
So they needed a better way...
January 11, 2015 at 4:22 pm
hmmm, that's why I put the output of the above code in the thread...
No worries...Ill figure it out on my own then.
If you don't understand the original code then there...
January 11, 2015 at 2:33 pm
Any other help, please?
January 11, 2015 at 2:22 pm
Thanks. I am attempting to do this without having to code anything C#.
October 30, 2014 at 12:44 pm
One last question:
SELECTc.cust_fullname AS Name,
c.cust_membership_id AS Account,
t.c_amount AS Amount,
'CH' + CAST(t.i_ticket_id AS varchar(12)) AS Doc_Num,
t.s_credit_tran_type AS Detail_Account,
...
October 17, 2014 at 5:07 pm
wow, I didnt even get time to edit my question, you sir, are a beast 🙂
Thanks.
October 17, 2014 at 4:35 pm
Oh darn, I always code in SQL Sever.
Seems like CONVERT() will work? Where to place in my code? In the same line as the call for the dt_when (time/date)?
Thanks Luis.
CONVERT(varchar(10),t.dt_when)
This...
October 2, 2014 at 11:47 am
So the Weeks code is:
DATEADD(WK, DATEDIFF(WK, 0, GETDATE()- 1) - 1, 0),
DATEADD(WK, DATEDIFF(WK, 0, GETDATE()- 1) - 1, 7)
Let me test...thanks.
September 29, 2014 at 4:49 pm
Thanks for the help....How do you post your code like that? I am using Snipping Tool but it doesnt let me post it to the thread...
Chris
September 29, 2014 at 4:31 pm
Ok, so my thread has been hijacked?
Grrr
September 29, 2014 at 12:28 pm
Thanks to all it works perfectly.
Now to learn how to push this data in QB's...
September 22, 2014 at 11:48 am
I'm actually shocked there is only Google info on how to push data FROM Quickbook's into SQL but not the other way around.
Doesn't Intuit understand people use Point of Sale...
September 22, 2014 at 11:19 am
Viewing 15 posts - 136 through 150 (of 152 total)