{"id":1554,"date":"2018-08-29T07:58:32","date_gmt":"2018-08-29T12:58:32","guid":{"rendered":"https:\/\/www.teamdesk.net\/blog\/?p=1554"},"modified":"2018-08-29T07:58:32","modified_gmt":"2018-08-29T12:58:32","slug":"deletion-of-master-details-in-online-database","status":"publish","type":"post","link":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/","title":{"rendered":"Deletion of Master and Details records in your Online Database"},"content":{"rendered":"<p>Almost each online database comprises <a href=\"https:\/\/www.teamdesk.net\/help\/4.3.aspx\">reference columns<\/a> participating in relations. As you already know <a href=\"https:\/\/www.teamdesk.net\/help\/8.1.aspx\">One-to- Many relation<\/a> consists of the Master table and the Details table. One Master record can be related to many Details records, while each Detail can be related to one Master only.<\/p>\n<p>There are many questions about automatic deletion of Details records when the Master record should be deleted.<\/p>\n<p>Let\u2019s consider the Driving School online database example, where the Customers table is a Master table and the Customer Payments and the Lessons tables are Details tables. Relation: One Customer-Many Payments (or Many Lessons).<\/p>\n<p>The online database owner has decided to delete outdated customer profiles, because they are not needed any more. He can do it easily using the Delete button displayed near every Customer profile.<\/p>\n<p>The issue is that the Payments and Lessons related to this Customer can\u2019t be deleted simultaneously with the Customer profile deletion.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1556\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database.png\" alt=\"Online Database Related Tables\" width=\"957\" height=\"741\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database.png 957w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-300x232.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-768x595.png 768w\" sizes=\"auto, (max-width: 957px) 100vw, 957px\" \/><\/a><\/p>\n<p>To solve this issue you may consider these two workarounds:<\/p>\n<h2>1. Make Master and Details records inaccessible.<\/h2>\n<p>For example, there is the \u201cStatus\u201d column with \u201cActive\u201d and \u201cNot Active\u201d choices. Using the \u201cNot Active\u201d status, you can mark outdated customers\u2019 profiles. After that you can easily exclude these records with <a href=\"https:\/\/www.teamdesk.net\/help\/3.6.aspx\">record access<\/a> and\/or view filter condition instead of deleting them.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Access.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1558\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Access.png\" alt=\"\" width=\"990\" height=\"486\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Access.png 990w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Access-300x147.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Access-768x377.png 768w\" sizes=\"auto, (max-width: 990px) 100vw, 990px\" \/><\/a><\/p>\n<p>The next step is to make related details inaccessible or invisible. For doing this you should create the <a href=\"https:\/\/www.teamdesk.net\/help\/4.4.aspx\">lookup column<\/a> referring to the \u201cStatus\u201d column.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Lookup-Column.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1559\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Lookup-Column.png\" alt=\"Online DB Lookup column\" width=\"870\" height=\"492\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Lookup-Column.png 870w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Lookup-Column-300x170.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Lookup-Column-768x434.png 768w\" sizes=\"auto, (max-width: 870px) 100vw, 870px\" \/><\/a><\/p>\n<p>Using this lookup you can exclude details with the \u201cNot Active\u201d status via record access and\/or <a href=\"https:\/\/www.teamdesk.net\/help\/5.2.1.aspx\">view filter<\/a> condition.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Details-Record-Access.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1557\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Details-Record-Access.png\" alt=\"Record Access Details\" width=\"968\" height=\"428\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Details-Record-Access.png 968w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Details-Record-Access-300x133.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Details-Record-Access-768x340.png 768w\" sizes=\"auto, (max-width: 968px) 100vw, 968px\" \/><\/a><\/p>\n<p>When it\u2019s done, the customer profiles with the \u201cNot Active\u201d status and their related details will not be accessible in your online database. Therefore you don\u2019t need to delete these records at all. Moreover, if it will be necessary for some reasons, the record access can be changed and you can make \u201cNot Active\u201d records data accessible again.<\/p>\n<h2>2. You can disable master record deletion while details records exist.<\/h2>\n<p>This approach can be applied if it is obligatory to delete all data related to a customer from online database. In this case, you need to check the availability of all related details via <a href=\"https:\/\/www.teamdesk.net\/help\/4.5.aspx\">summary columns<\/a>.<\/p>\n<p>For example, you can calculate the number of related Customer Payments and Lessons, just create two summary columns with the \u201c# of records\u201d <a href=\"https:\/\/www.teamdesk.net\/help\/4.6.20.aspx\">function<\/a> in the \u201cAggregate\u201d field.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Summary-Column.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1560\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Summary-Column.png\" alt=\"Disable Master Deletion\" width=\"991\" height=\"485\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Summary-Column.png 991w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Summary-Column-300x147.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Summary-Column-768x376.png 768w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\" \/><\/a><\/p>\n<p>The next step is to allow to delete Customer records, where the summary column values are 0 (zero).<\/p>\n<p>The <a href=\"https:\/\/www.teamdesk.net\/help\/3.6.aspx\">table access settings<\/a> should comprise the following custom rule in the \u201cAllow Delete\u201d section:<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Deletion-Access.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1561\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Deletion-Access.png\" alt=\"Allow Delete\" width=\"1023\" height=\"410\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Deletion-Access.png 1023w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Deletion-Access-300x120.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Record-Deletion-Access-768x308.png 768w\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" \/><\/a><\/p>\n<p>To simplify Details records deletion, you can build a <a href=\"https:\/\/www.teamdesk.net\/help\/8.6.aspx\">Details view<\/a> with the <a href=\"https:\/\/www.teamdesk.net\/help\/5.12.aspx\">Mass Delete option<\/a> and choose this view in the relation settings. So, you\u2019ll be able to delete many records at a time.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Details-firstly.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1562\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Details-firstly.png\" alt=\"Delete Details\" width=\"1002\" height=\"616\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Details-firstly.png 1002w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Details-firstly-300x184.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Details-firstly-768x472.png 768w\" sizes=\"auto, (max-width: 1002px) 100vw, 1002px\" \/><\/a><\/p>\n<p>When all Customer Payments and Lessons details related to a customer are deleted, the \u201cDelete\u201d button will become accessible for the Customer record.<\/p>\n<p><a href=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1563\" src=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record.png\" alt=\"Delete Master\" width=\"1027\" height=\"550\" srcset=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record.png 1027w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record-300x161.png 300w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record-768x411.png 768w, https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Delete-Master-record-1024x548.png 1024w\" sizes=\"auto, (max-width: 1027px) 100vw, 1027px\" \/><\/a><\/p>\n<p>In TeamDesk online database you may apply any of these two workarounds. Just choose what method works for you better.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Almost each online database comprises reference columns participating in relations. As you already know One-to- Many relation consists of the Master table and the Details table. One Master record can be related to many Details records, while each Detail can be related to one Master only. There are many questions about automatic deletion of Details [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":1568,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[127,45,95],"class_list":["post-1554","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips-tricks","tag-online-database","tag-relation","tag-relationship"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Deletion of Master and Details records in your Online Database<\/title>\n<meta name=\"description\" content=\"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Deletion of Master and Details records in your Online Database\" \/>\n<meta property=\"og:description\" content=\"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/\" \/>\n<meta property=\"og:site_name\" content=\"TeamDesk Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-29T12:58:32+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png\" \/>\n\t<meta property=\"og:image:width\" content=\"957\" \/>\n\t<meta property=\"og:image:height\" content=\"741\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Mila\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mila\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/\"},\"author\":{\"name\":\"Mila\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"headline\":\"Deletion of Master and Details records in your Online Database\",\"datePublished\":\"2018-08-29T12:58:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/\"},\"wordCount\":511,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/Online-Database-first-screenshot.png\",\"keywords\":[\"online database\",\"relation\",\"relationship\"],\"articleSection\":[\"Tips &amp; Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/\",\"name\":\"Deletion of Master and Details records in your Online Database\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/Online-Database-first-screenshot.png\",\"datePublished\":\"2018-08-29T12:58:32+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\"},\"description\":\"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/Online-Database-first-screenshot.png\",\"contentUrl\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/Online-Database-first-screenshot.png\",\"width\":957,\"height\":741,\"caption\":\"Online Database\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/tips-tricks\\\/deletion-of-master-details-in-online-database\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deletion of Master and Details records in your Online Database\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/\",\"name\":\"TeamDesk Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/#\\\/schema\\\/person\\\/63bd8646f2f4720f503116e38a190a6e\",\"name\":\"Mila\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g\",\"caption\":\"Mila\"},\"url\":\"https:\\\/\\\/www.teamdesk.net\\\/blog\\\/author\\\/mila\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Deletion of Master and Details records in your Online Database","description":"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/","og_locale":"en_US","og_type":"article","og_title":"Deletion of Master and Details records in your Online Database","og_description":"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.","og_url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/","og_site_name":"TeamDesk Blog","article_published_time":"2018-08-29T12:58:32+00:00","og_image":[{"width":957,"height":741,"url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png","type":"image\/png"}],"author":"Mila","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Mila","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#article","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/"},"author":{"name":"Mila","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"headline":"Deletion of Master and Details records in your Online Database","datePublished":"2018-08-29T12:58:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/"},"wordCount":511,"commentCount":0,"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png","keywords":["online database","relation","relationship"],"articleSection":["Tips &amp; Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/","url":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/","name":"Deletion of Master and Details records in your Online Database","isPartOf":{"@id":"https:\/\/www.teamdesk.net\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#primaryimage"},"image":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png","datePublished":"2018-08-29T12:58:32+00:00","author":{"@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e"},"description":"Online Database adjustment: There are many questions about automatic deletion of Details records when the Master record should be deleted.","breadcrumb":{"@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#primaryimage","url":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png","contentUrl":"https:\/\/www.teamdesk.net\/blog\/wp-content\/uploads\/2018\/08\/Online-Database-first-screenshot.png","width":957,"height":741,"caption":"Online Database"},{"@type":"BreadcrumbList","@id":"https:\/\/www.teamdesk.net\/blog\/tips-tricks\/deletion-of-master-details-in-online-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.teamdesk.net\/blog\/"},{"@type":"ListItem","position":2,"name":"Deletion of Master and Details records in your Online Database"}]},{"@type":"WebSite","@id":"https:\/\/www.teamdesk.net\/blog\/#website","url":"https:\/\/www.teamdesk.net\/blog\/","name":"TeamDesk Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.teamdesk.net\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.teamdesk.net\/blog\/#\/schema\/person\/63bd8646f2f4720f503116e38a190a6e","name":"Mila","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/939a25c18364af1ceffe1d698a8fd01e1a18d8e1cf906fe3a6ac1cad64bc653f?s=96&d=mm&r=g","caption":"Mila"},"url":"https:\/\/www.teamdesk.net\/blog\/author\/mila\/"}]}},"_links":{"self":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1554","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/comments?post=1554"}],"version-history":[{"count":4,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1554\/revisions"}],"predecessor-version":[{"id":1566,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/posts\/1554\/revisions\/1566"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media\/1568"}],"wp:attachment":[{"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/media?parent=1554"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/categories?post=1554"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.teamdesk.net\/blog\/wp-json\/wp\/v2\/tags?post=1554"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}