{"id":668,"date":"2021-07-29T09:24:07","date_gmt":"2021-07-29T09:24:07","guid":{"rendered":"https:\/\/xcrud.net\/eshop\/?post_type=product&#038;p=668"},"modified":"2024-03-18T06:47:34","modified_gmt":"2024-03-18T06:47:34","slug":"xcrud-move-record-script","status":"publish","type":"product","link":"https:\/\/xcrud.net\/eshop\/product\/xcrud-move-record-script\/","title":{"rendered":"xCRUD move record script"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>A simple script that shows how to move records between two table instances.<\/p>\n<p>This comes in handy when you for example want to easily allocate tasks or any similar business case.<\/p>\n<table>\n<tbody>\n<tr>\n<th>Description<\/th>\n<th>Comments<\/th>\n<\/tr>\n<tr>\n<td><strong>Script Name<\/strong><\/td>\n<td>xCrud Move Record<\/td>\n<\/tr>\n<tr>\n<td><strong>xCRUD Compatibility<\/strong><\/td>\n<td>Compatible with xCrud V1.6.x, xCrud V1.7.x<\/td>\n<\/tr>\n<tr>\n<td><strong>Demo Link<\/strong><\/td>\n<td><a href=\"https:\/\/xcrud.net\/tricks\/task.php\" target=\"_blank\" rel=\"noopener noreferrer\">View &#8216;Allocate Task&#8217; Demo<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>File Changes<\/strong><\/td>\n<td>\n<ul>\n<li>task.php . This is the file that has the demo<\/li>\n<li>functions.php . Add the function to this file.<\/li>\n<\/ul>\n<p><strong>Required Files<\/strong><\/p>\n<p><strong>xcrud 1.6.x<\/strong> <strong>, xcrud 1.7.x<\/strong> or <strong>xcrud pro<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>A simple script that shows how to move records between two table instances.<\/p>\n<p><a class=\"button product_type_simple\" href=\"https:\/\/xcrud.net\/tricks\/task.php\" target=\"_blank\" rel=\"noopener noreferrer\">View &#8216;Allocate Task&#8217; Demo<\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"featured_media":670,"comment_status":"open","ping_status":"closed","template":"","meta":{"pagelayer_contact_templates":[],"_pagelayer_content":""},"product_brand":[],"product_cat":[31],"product_tag":[],"class_list":{"0":"post-668","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-simple-tricks-scripts","8":"first","9":"instock","10":"sale","11":"downloadable","12":"virtual","13":"taxable","14":"purchasable","15":"product-type-simple"},"_links":{"self":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product\/668","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/comments?post=668"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/media\/670"}],"wp:attachment":[{"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/media?parent=668"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_brand?post=668"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_cat?post=668"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/xcrud.net\/eshop\/wp-json\/wp\/v2\/product_tag?post=668"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}