I’m trying to get lines of data to be moved from one data source “Current Bookings” to be moved to another data source named “Previous Bookings” depending on whether that row of data has now been ticked as complete using a checkbox element in the Table function.
If there is multiple lines of bookings ticked to mark them as complete, I would need them to have their own row of data each in the data source “Previous Bookings” and once it’s been moved from "Current Bookings to “Previous Bookings”, for the original data in “Current Bookings” to be deleted.
Any idea as to what’s the best way to go about this?
I have two data types for Current Bookings and Previous Bookings.
I have an extra Column in the Table and extra field in the Current Bookings Datatype with a checkbox to mark as complete or incomplete. Is there any way to have it so that when the user clicks the Submit button it creates a new entry in the Completed Bookings datatype for each individual job marked as complete and then deletes them out of the Current Bookings datatype automatically once they’ve been copied across?
I’ve been playing around with it, but I’m struggling to pull the data across and as separate data entries, it combines them all into one data entry separated by commas instead, which I do not want.
As @Nobi said you can add a workflow to create a new entry in the Previous Bookings database reading data from the existing one, and then deleting it from the other one. But I would recommend using stauts, it is more manageable and reduces the amount of WU used.