Get code from master table, delete code from Code.php