It was an unexpected call and it carved up a 45 minute divot in my afternoon.
On a monthly basis I will get an email from Emily [client reporting] and one from Amy [client billing] for reports out of the Point of Sale system. I could probably set them up with access to the POS app, but considering how finicky it can be, I’d rather just run the reports myself than commit to supporting it on more workstations than I have to.
So I get this call from Amy in Accounting because the cash logs from the store don’t match the bank statements and would it be possible to run that monthly report again. But maybe this time, can I run it individually for each day in January. And can she get it today. Sure, but not without some sarcasm. I told her I’d be happy to do it, but she’s going to owe me a steak dinner. She counter-offered with a cupcake. Turns out someone upstairs brought in a whole bunch of cupcakes and nobody was eating them. I demanded she personally deliver it. She said she didn’t know where I sit. Just go downstairs and walk around until you find someone who looks like me who is expecting to see someone who looks like you holding a cupcake.
The daily report for January 2nd wasn’t helpful at all, so it’s time to dig into the SQL database for a little TRANS JOIN SALE action. I told her I would have to dig into the backend. She giggled. Over the next 5 minutes I was grunting at my computer while trying to find what transaction types were for credit cards. She asked if my computer was being slow or if I just didn’t know what I was doing. So I took a screenshot of SSMS screen with the TRANS table open and sent it to her. Stunned silence. Amy, I’ll call you back. The next 30 minutes was putting together the query and prettying up the results. Probably the most gratifying part of my day. 6 months ago, I would have had the same reaction as Amy: stunned silence. I wouldn’t have had a clue what I was looking at and would have been more than a little intimidated. But today I made it look easy. Feels good.
I never did get that cupcake. But I saved the code. I named it “how-to-get-amy-from-accounting-off-your-back.sql”