Hello everyone! I'm writing a GL Lines plug-in and...
# accounting
k
Hello everyone! I'm writing a GL Lines plug-in and am having an extremely difficult time getting the script to pick the right lines to credit or debit. The root of my problem is that there are three different kinds of lines showing up in standardlines; a line with 0 in the credit and debit amount, a line with a number in the debit amount, and a line with a number in the credit amount. I assume the debit and credit ones are debit and credit lines respectively, but what is the line with zero in both? To make things more complicated, it seems like the line with zero on both doesn't always show up, so my script can't just focus on lines two and three because sometimes they're lines one and two.