Items syncing. Yay!
Only took 12 billion hours. But items are now syncing from Tony's application into Quick Books.
OK, the 12 billion hours is a little bit of an exaggeration, but certainly didn't feel like. Creating an item in QuickBooks requires quite the number of things you either need to have already created or to dig up from their system. Working with COM objects only makes things more difficult, because I can essentially not debug in any sane fashion what the return types and even error messages are.
Anyway, spent about 2 hours staring at the same piece of code, only to find out I needed to go one level down to get the property I wanted. No compile errors, no exceptions. Code ran "fine", except that it didn't do what I wanted it to. Aside from that one minor thing, I was only about 5 minutes of coding from a working solution the first time around. And since I only spent about 10 minutes to get it to the first problem, 2 hours to solve it seems a little like overkill.
I look forward to things being much less fun when I move onto invoices. Actually, I think Invoices might be easier as the tax information and accounts and everything complicated was was done on setting up the Items and services once I sync them over. So hopefully that will mean invoices are just a matter of creating a header, and lines that reference the items and services brought over.
OK, the 12 billion hours is a little bit of an exaggeration, but certainly didn't feel like. Creating an item in QuickBooks requires quite the number of things you either need to have already created or to dig up from their system. Working with COM objects only makes things more difficult, because I can essentially not debug in any sane fashion what the return types and even error messages are.
Anyway, spent about 2 hours staring at the same piece of code, only to find out I needed to go one level down to get the property I wanted. No compile errors, no exceptions. Code ran "fine", except that it didn't do what I wanted it to. Aside from that one minor thing, I was only about 5 minutes of coding from a working solution the first time around. And since I only spent about 10 minutes to get it to the first problem, 2 hours to solve it seems a little like overkill.
I look forward to things being much less fun when I move onto invoices. Actually, I think Invoices might be easier as the tax information and accounts and everything complicated was was done on setting up the Items and services once I sync them over. So hopefully that will mean invoices are just a matter of creating a header, and lines that reference the items and services brought over.
Comments
Post a Comment