<?php
/**
 * @copyright ONE/DEPO Project
 * @license   PHP License 3.01 <http://www.php.net/license/3_01.txt>
 */


/* vim: set expandtab tabstop=4 shiftwidth=4 softtabstop=4: */

/**
 * 商品マスタメンテ在庫削除完了
 *
 * @package     Admin.Itemmanage.Change.Stock.Delete.Done
 * @author      H.Watanabe <hiroshi.watanabe@netnee.jp>
 * @access      public
 */
class Admin_Itemmanage_Change_Stock_Delete_Done
{
    var $actionnm;
    var $stockview;
    
    var $title;
    var $pagename;
    var $from;
    
    var $div;
    var $itemdiv;
    var $jancode;
    var $hinban;
    var $itemtitle;
    var $release_date_start;
    var $release_date_end;
    var $publish_date_start;
    var $publish_date_end;
    var $maker_capital;
    var $maker_name;
    var $media;
    var $cast;
    var $situation;
    var $photo_situation;
    var $publish_situation;
    var $sort;
    var $genre_select;
    
    var $structcd;
    var $stockcd;
    
    var $updcnt;
    var $upduser;
    
    var $cd;
    
    
    /**
     * execute
     *
     * @access  public
     */
    function execute()
    {
        $log =& LogFactory::getLog();
        $log->debug("Admin_Itemmanage_Change_Stock_Delete_Doneが実行されました", "Admin_Itemmanage_Change_Stock_Delete_Done#execute");
        
        
        $row = $this->stockview->delete($this->cd, $this->structcd, $this->stockcd,
                                            $this->upduser, $this->updcnt);
        
        
        if (!$row) return "error";
        return 'done_success';
    }
}
?>
