I have a really odd problem that I can't figure ou...
# suitescript
c
I have a really odd problem that I can't figure out. I am creating an Advanced Intercompany Journal Entry via SuiteScript 2.0. Really straight forward. The record is in dynamic mode and I am setting the subsidiary on the body of this record and then adding 2 lines. Both lines use the EXACT same code except 1 line has debit and 1 line has credit. The 1st line works just fine and then the 2nd line gets an invalid value for account field (very similar to if you have an invalid subsidiary or inactive id that you're trying to set in a list). If the 1st line works but the 2nd doesn't i am stumped. The snippet here works fine for line 1 but not line 2 w/ the debit/credit values swapped. The same (or any account i've tried) account just doesn't work on the 2nd line. Any ideas?