Unable to Pull the location POV for validation.
Hi All,
i am trying to pull the present POV location name at the time of IMPORT step using IMPORT SCRIPT
and only the 1st 3 letters of the location name. also i have to pull the period and category as well in the same script.
but my script is not working.
def POVlocname(strField, strRecord):
rs = fdmAPI.getLocationDetails(fdmContext[LOCKEY])
rs.next()
locname = rs.getstring(PARTNAME)
strlocname = locname[:2]
return strlocname
please correct me , if i am wrong.