BeverCRM/PCF-EditableTable

Issue with duration

Closed this issue · 6 comments

When creating a new row of the record type time entry the duration field is not updated until after saving. Therefor some value needs to be added in order for it to be possible to save. I tried to not have the duration field mandatory but still got the same error.

Duration.issue.mp4

Pretty sure you shouldn't make duration as required field, this is the dataverse setting not the PCF control, right?

@SigridBeWa,

Time Entry duration field calculation is an out-of-the-box feature implemented by MS. Unfortunately, we don't have access to this functionality from the editable grid.

In the new editable grid version, we will enable custom JS rules. One possible solution could be to manually implement a JS rule that will calculate duration based on start and end dates on field change

We'll keep this issue open to track the progress.

Let me know if you'll have further questions.

Hi Sigrid,

The new version which will be released within the next month will support offline mode.

The premium version which will be released in the next 2-3 months will have JavaScript functions. By using that functions you can write a rule to calculate duration from the start date and end date.

@SigridBeWa,

Closing this bug as per our discussion.