is it possible in a client script to set a expense...
# general
r
is it possible in a client script to set a expense line sublist field as mandatory? It's one that isn't available to set as mandatory in the workflow. I'm thinking getCurrentSublistField with .isMandatory = true; , but it seems to not be working
c
We have a workflow action that can do this in short order
I am not a dev so I can't answer the question as is, but know we have solved it
r
'set mandatory fields' workflow action doesn't seem to have an option for 'expmediaitem' (attachment), or 'memo' fiels on the expense line level, that's what you're referring to. But maybe I could set a condition to remove the submit button unless they are populated....
c
Expense sublist is not available to a workflow out of the box
hence why we made a WFA script. We can show you how it works pretty quickly
r
Oh, got it.... workflow action script..... nuff said actually! THanks Jeffery!
m
Of course you can