Hey guys, I am trying to update all start times and end times for each day in a timesheet (Entry mode is Daily).
Right now I can update only a single day in the timesheet, and I am wondering how I would add one hour across all 7 days in the timesheet.
// add one hour
actualsRow.TS_ACT_VALUE = 60000;
// do this for each individual date
actualsRow.TS_ACT_START_DATE = timePeriodsRow.WPRD_START_DATE;
actualsRow.TS_ACT_FINISH_DATE = actualsRow.TS_ACT_START_DATE.AddDays(1);
// Guid from above
actualsRow.TS_LINE_UID = line.TS_LINE_UID;
timesheetDs.Actuals.AddActualsRow(actualsRow);
Thank you!