can I use nlapiGetFieldValue to get the currentuse...
# suitescript
p
can I use nlapiGetFieldValue to get the currentuser Cost Center?
k
what is the script type you are trying to do this in
p
SS1
Cost Centre = Department
k
nlapiGetContext().getDepartment()
This will get you the internal id of the current logged in users department executing the script.
1
p
thank you!