Join Slack
Powered by
that relationship is maintained by a field on the ...
# suitescript
b
battk
04/23/2019, 8:09 AM
that relationship is maintained by a field on the child record, I wouldn't expect the parent record to be modified when a field on the child is set
d
David Durst
04/23/2019, 8:40 AM
Do you know if it is possible to modify the "lastmodified" field on a record?
b
battk
04/23/2019, 9:08 AM
you can do load and save the record or do an xedit with record.submitFields
battk
04/23/2019, 9:09 AM
the field is used by NetSuite for a specific function. It cannot be changed outside of its intended function of storing when the record was last saved
d
David Durst
04/23/2019, 11:04 PM
So the hack around is to load and save the record even if there are no changes to the record.
David Durst
04/23/2019, 11:04 PM
Actually it makes my life much easier if this is the case because they I don't have to create or find a timestamp function.
David Durst
04/23/2019, 11:04 PM
Thanks!
2
Views
Open in Slack
Previous
Next