Using cutom fields in multiple method directives

I replaced an int duration field in my form by a custom decimal field and I was able to make one method for creating a new schedule work. Now I need to use the decimal duration field to calculate the new end date when changing the start date of the schedule (a different method used for changed values).

How do i set the value of the duration field in the second method?

So you have 3 fields

  • Start Date (datetime)
  • Interval (decimal, in days? Like 1 = 24 hrs, 1.5 = 36 hours, etc…)
  • End Date (datetime)

And you want to calculate the End Date when either Start Date or Interval change?

Which (if any of these) are bound to DB tables?

Yes, that’s the goal. The start date and the custom duration field are bound to a db table.

I think I found a solution by putting in a code in the post processing of the send method to look for fields(that match the primary keys of the dbtable) in the schedule temp table then using them as parameters look up the custom duration field from the dbtable.

My user is still testing it but so far it worked when I tested it. I will consult the forum if an issue is found during testing that I can’t figure out