I am on a credit memo record, and I want to apply ...
# suitescript
t
I am on a credit memo record, and I want to apply a negative journal line to that credit memo, While I can see a lot of items in the apply sublist in UI, when I do a getLineCount in script, I get zero, If I am not getting any, I cannot apply any? Do you know if these lines can be applied via suitescript?
e
Do you already have the customer and sub selected?
c
Is this in a client script? User event? Something else (SL, SS, MR)?
If you're creating or editing the record using something other than CS/UE, try record.load (or create) with the isDynamic = true parameter.
t
Yeah, I had the customer selected, I was testing this on chrome console.
Dynamic didn’t impact though.