Questions?

They are answered by the XTRF community and our experts

0
Answered

Updating job deadline by macro

Dennis Rosenbaum 7 years ago in Something Else updated 4 years ago 15

I would like to update the job deadline by a macro.

But when I change this through something like $activity.setDeadline(Date), the database value is being updated, but it doesn't show on the screen.


So I thought of executing the ChangeJobAssignmentDeadlineManuallyCommand(xxx,Some(Date)) function, exactly as the XTRF system does. But I cannot find a generic commandbuilder that I can use or execute. 


How can I manage to execute such command through a macro?


Answer

Setting Smart Job dates via API was introduced in ver 8.8. No need to use workarounds with macros anymore.