I'm getting errors when I try to save a journalent...
# suitescript
w
I'm getting errors when I try to save a journalentry with taxcodes on the lines in the field
taxcode
when the subsidiary is in US. This is because we don't have that field in the US form. Any tips on how to identify that the form will not accept a taxcode before filling it out? I've thought about looking what fields are available on the line with
getSublistFields({sublistId: 'line'})
, but that shows that the field
taxcode
is there, but it won't accept a taxcode.
The solution I can think of right now is to check if the subsidiary has country US and then skip filling that field out (not needed). Any better suggestions?