package com.kingdee.eas.cp.bc.client;

import java.util.Date;

import com.kingdee.bos.ctrl.kdf.table.IRow;
import com.kingdee.bos.ctrl.kdf.table.KDTEditManager;
import com.kingdee.bos.ctrl.kdf.table.KDTable;

public class BizAccountEditUIPIEx extends  BizAccountEditUI {

	public BizAccountEditUIPIEx() throws Exception {
		super();
	}
	protected void checkEntry(KDTable table) throws Exception {
		//分录给发生时间默认当前时间
	    int rows = getDetailTable().getRowCount();
       IRow row = null;
	       KDTEditManager kdtManager = getDetailTable().getEditManager();
	     for (int i = 0; i < rows; ++i) {
	       row = getDetailTable().getRow(i);
	 
	        if (objectIsNull(row.getCell("happenTime").getValue()))
	         {
	          row.getCell("happenTime").setValue(new Date());
	 
	        }
	    }
		// TODO Auto-generated method stub
		super.checkEntry(table);
	}

}
