Howto add rows in a employee record through script
# general
d
Howto add rows in a employee record through script
i
This is kind a broad question and there are a lot of answers. For example one of them: using the “N/currentRecord” module select current record, deside which sublist you want to add line to (find it’s sublistid) and use
CurrentRecord.selectNewLine({sublistId: "sublistid"})
to add and select new line, than set some values via methods like
setCurrentSublistValue
and in the end use method
commitLine({sublistId: "sublistid"})
. I think my answer is not really helpful, but there is not much details in your question to give good answer.
d
Thanks have got it...actually it's a mistake...how to add role through script is the question...thanks much