I am creating a customer payment. There's a journal entry for 100 credit and debit and a random invoice sitting out there. When i create the customer payment in the UI, i can successfully check the apply sublist JE and the credit JE and it nets 0 and it doesn't create the $0 customer payment as I'd expect. In SuiteScript, i create the customer payment and do the same thing and its applying the JE credit just fine but the apply sublist marks the Invoice even though its a JE. I am using 'doc' on the line and its finding the right transaction it seems but marking the invoice. I am a bit confused has anyone run into this? is it a bug?