- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 05:31 PM
1. I have an actual time table. name: u_actuant_time 2.The second table is actual time weekly. name:u_actual_time_weekly 3.The related fields of the two tables are the release_date field (which refers to the release date of actual time weekly based on the release date of actual time) 4.When I want to delete data from the actual time table now, I also want to delete the relevant data from the actual time week table. And when deleting, send a message agreeing to delete all related records. How can it be achieved?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 09:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 11:07 PM
Hi @shiz ,
Sorry, I have short time now,,, so let me point out 1 thing as below:
current.sys_id is the ID field of the u_actual_time_weekly table.
so, you should check with date value in the record. Could you check this point?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 09:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 09:41 PM
@aizawaken hello
Based on that Page, I have written the following script. But 'actual time' table and 'actual time weekly' table are only one associated field is Week starts On . And I want to use ‘Week starts On’ and 'assignee_to' to delete 'actual time weekly'.
Is the following writing correct? Where do I need to modify it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 10:00 PM
@aizawaken dears,
After executing the operation:
Click delete button after:
Actual time of data is delete,but actual time weekly is not delete
actual time weekly data:
What's going on here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2024 11:07 PM
Hi @shiz ,
Sorry, I have short time now,,, so let me point out 1 thing as below:
current.sys_id is the ID field of the u_actual_time_weekly table.
so, you should check with date value in the record. Could you check this point?