Hi, i need your help for the following problem:i must refresh documents (with computed fields) in a view and i’m trying to do with a script using the computewithform.Exactly:
call doc.computewithform(true,false)
call doc.save(true,true)
The problem is that the fields are not updated.
Do anyone knows some other method?
Subject: refreshing fields with script
The code that you have posted should work. Maybe there is a problem with the validation? Have you tried using:
call doc.computewithform(true,TRUE)
… to see if there are any validation errors that are preventing the fields from updating?