/**
 * output package name
 */
package com.kingdee.eas.custom.projectbonus.client;

import org.apache.log4j.*;

import java.awt.*;
import java.awt.event.*;
import java.util.*;
import javax.swing.border.*;
import javax.swing.BorderFactory;
import javax.swing.event.*;
import javax.swing.KeyStroke;

import com.kingdee.bos.ctrl.swing.*;
import com.kingdee.bos.ctrl.kdf.table.*;
import com.kingdee.bos.ctrl.kdf.data.event.*;
import com.kingdee.bos.dao.*;
import com.kingdee.bos.dao.query.*;
import com.kingdee.bos.metadata.*;
import com.kingdee.bos.metadata.entity.*;
import com.kingdee.bos.ui.face.*;
import com.kingdee.bos.ui.util.ResourceBundleHelper;
import com.kingdee.bos.util.BOSUuid;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.jdbc.rowset.IRowSet;
import com.kingdee.util.enums.EnumUtils;
import com.kingdee.bos.ui.face.UIRuleUtil;
import com.kingdee.bos.ctrl.swing.event.*;
import com.kingdee.bos.ctrl.kdf.table.event.*;
import com.kingdee.bos.ctrl.extendcontrols.*;
import com.kingdee.bos.ctrl.kdf.util.render.*;
import com.kingdee.bos.ui.face.IItemAction;
import com.kingdee.eas.framework.batchHandler.RequestContext;
import com.kingdee.bos.ui.util.IUIActionPostman;
import com.kingdee.bos.appframework.client.servicebinding.ActionProxyFactory;
import com.kingdee.bos.appframework.uistatemanage.ActionStateConst;
import com.kingdee.bos.appframework.validator.ValidateHelper;
import com.kingdee.bos.appframework.uip.UINavigator;


/**
 * output class name
 */
public abstract class AbstractBonusCycleEditUI extends com.kingdee.eas.framework.client.CoreBillEditUI
{
    private static final Logger logger = CoreUIObject.getLogger(AbstractBonusCycleEditUI.class);
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreator;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contCreateTime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateUser;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contLastUpdateTime;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contNumber;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contBizDate;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contDescription;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contAuditor;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contcycleName;
    protected com.kingdee.bos.ctrl.kdf.table.KDTable kdtBusDepProject;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtBusDepProject_detailPanel = null;
    protected com.kingdee.bos.ctrl.kdf.table.KDTable kdtAssPersonnelDetail;
	protected com.kingdee.eas.framework.client.multiDetail.DetailPanel kdtAssPersonnelDetail_detailPanel = null;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contstate;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contname;
    protected com.kingdee.bos.ctrl.swing.KDLabelContainer contreminderContent;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtCreator;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker kDDateCreateTime;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtLastUpdateUser;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker kDDateLastUpdateTime;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtNumber;
    protected com.kingdee.bos.ctrl.swing.KDDatePicker pkBizDate;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtDescription;
    protected com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox prmtAuditor;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtcycleName;
    protected com.kingdee.bos.ctrl.swing.KDComboBox state;
    protected com.kingdee.bos.ctrl.swing.KDTextField txtname;
    protected com.kingdee.bos.ctrl.swing.KDScrollPane scrollPanereminderContent;
    protected com.kingdee.bos.ctrl.swing.KDTextArea txtreminderContent;
    protected com.kingdee.eas.custom.projectbonus.BonusCycleInfo editData = null;
    /**
     * output class constructor
     */
    public AbstractBonusCycleEditUI() throws Exception
    {
        super();
        this.defaultObjectName = "editData";
        jbInit();
        
        initUIP();
    }

    /**
     * output jbInit method
     */
    private void jbInit() throws Exception
    {
        this.resHelper = new ResourceBundleHelper(AbstractBonusCycleEditUI.class.getName());
        this.setUITitle(resHelper.getString("this.title"));
        //actionSubmit
        String _tempStr = null;
        actionSubmit.setEnabled(true);
        actionSubmit.setDaemonRun(false);

        actionSubmit.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl S"));
        _tempStr = resHelper.getString("ActionSubmit.SHORT_DESCRIPTION");
        actionSubmit.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.LONG_DESCRIPTION");
        actionSubmit.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionSubmit.NAME");
        actionSubmit.putValue(ItemAction.NAME, _tempStr);
        this.actionSubmit.setBindWorkFlow(true);
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionSubmit.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionPrint
        actionPrint.setEnabled(true);
        actionPrint.setDaemonRun(false);

        actionPrint.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl P"));
        _tempStr = resHelper.getString("ActionPrint.SHORT_DESCRIPTION");
        actionPrint.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.LONG_DESCRIPTION");
        actionPrint.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrint.NAME");
        actionPrint.putValue(ItemAction.NAME, _tempStr);
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrint.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        //actionPrintPreview
        actionPrintPreview.setEnabled(true);
        actionPrintPreview.setDaemonRun(false);

        actionPrintPreview.putValue(ItemAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke("shift ctrl P"));
        _tempStr = resHelper.getString("ActionPrintPreview.SHORT_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.SHORT_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.LONG_DESCRIPTION");
        actionPrintPreview.putValue(ItemAction.LONG_DESCRIPTION, _tempStr);
        _tempStr = resHelper.getString("ActionPrintPreview.NAME");
        actionPrintPreview.putValue(ItemAction.NAME, _tempStr);
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.PermissionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.NetFunctionService());
         this.actionPrintPreview.addService(new com.kingdee.eas.framework.client.service.UserMonitorService());
        this.contCreator = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contCreateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contLastUpdateUser = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contNumber = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contBizDate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contDescription = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contAuditor = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contcycleName = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.kdtBusDepProject = new com.kingdee.bos.ctrl.kdf.table.KDTable();
        this.kdtAssPersonnelDetail = new com.kingdee.bos.ctrl.kdf.table.KDTable();
        this.contstate = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contname = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.contreminderContent = new com.kingdee.bos.ctrl.swing.KDLabelContainer();
        this.prmtCreator = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.kDDateCreateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.prmtLastUpdateUser = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.kDDateLastUpdateTime = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.txtNumber = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.pkBizDate = new com.kingdee.bos.ctrl.swing.KDDatePicker();
        this.txtDescription = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.prmtAuditor = new com.kingdee.bos.ctrl.extendcontrols.KDBizPromptBox();
        this.txtcycleName = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.state = new com.kingdee.bos.ctrl.swing.KDComboBox();
        this.txtname = new com.kingdee.bos.ctrl.swing.KDTextField();
        this.scrollPanereminderContent = new com.kingdee.bos.ctrl.swing.KDScrollPane();
        this.txtreminderContent = new com.kingdee.bos.ctrl.swing.KDTextArea();
        this.contCreator.setName("contCreator");
        this.contCreateTime.setName("contCreateTime");
        this.contLastUpdateUser.setName("contLastUpdateUser");
        this.contLastUpdateTime.setName("contLastUpdateTime");
        this.contNumber.setName("contNumber");
        this.contBizDate.setName("contBizDate");
        this.contDescription.setName("contDescription");
        this.contAuditor.setName("contAuditor");
        this.contcycleName.setName("contcycleName");
        this.kdtBusDepProject.setName("kdtBusDepProject");
        this.kdtAssPersonnelDetail.setName("kdtAssPersonnelDetail");
        this.contstate.setName("contstate");
        this.contname.setName("contname");
        this.contreminderContent.setName("contreminderContent");
        this.prmtCreator.setName("prmtCreator");
        this.kDDateCreateTime.setName("kDDateCreateTime");
        this.prmtLastUpdateUser.setName("prmtLastUpdateUser");
        this.kDDateLastUpdateTime.setName("kDDateLastUpdateTime");
        this.txtNumber.setName("txtNumber");
        this.pkBizDate.setName("pkBizDate");
        this.txtDescription.setName("txtDescription");
        this.prmtAuditor.setName("prmtAuditor");
        this.txtcycleName.setName("txtcycleName");
        this.state.setName("state");
        this.txtname.setName("txtname");
        this.scrollPanereminderContent.setName("scrollPanereminderContent");
        this.txtreminderContent.setName("txtreminderContent");
        // CoreUI		
        this.btnTraceUp.setVisible(false);		
        this.btnTraceDown.setVisible(false);		
        this.btnCreateTo.setVisible(true);		
        this.btnAddLine.setVisible(false);		
        this.btnCopyLine.setVisible(false);		
        this.btnInsertLine.setVisible(false);		
        this.btnRemoveLine.setVisible(false);		
        this.btnAuditResult.setVisible(false);		
        this.separator1.setVisible(false);		
        this.menuItemCreateTo.setVisible(true);		
        this.separator3.setVisible(false);		
        this.menuItemTraceUp.setVisible(false);		
        this.menuItemTraceDown.setVisible(false);		
        this.menuTable1.setVisible(false);		
        this.menuItemAddLine.setVisible(false);		
        this.menuItemCopyLine.setVisible(false);		
        this.menuItemInsertLine.setVisible(false);		
        this.menuItemRemoveLine.setVisible(false);		
        this.menuItemViewSubmitProccess.setVisible(false);		
        this.menuItemViewDoProccess.setVisible(false);		
        this.menuItemAuditResult.setVisible(false);
        // contCreator		
        this.contCreator.setBoundLabelText(resHelper.getString("contCreator.boundLabelText"));		
        this.contCreator.setBoundLabelLength(100);		
        this.contCreator.setBoundLabelUnderline(true);		
        this.contCreator.setEnabled(false);
        // contCreateTime		
        this.contCreateTime.setBoundLabelText(resHelper.getString("contCreateTime.boundLabelText"));		
        this.contCreateTime.setBoundLabelLength(100);		
        this.contCreateTime.setBoundLabelUnderline(true);		
        this.contCreateTime.setEnabled(false);
        // contLastUpdateUser		
        this.contLastUpdateUser.setBoundLabelText(resHelper.getString("contLastUpdateUser.boundLabelText"));		
        this.contLastUpdateUser.setBoundLabelLength(100);		
        this.contLastUpdateUser.setBoundLabelUnderline(true);		
        this.contLastUpdateUser.setEnabled(false);		
        this.contLastUpdateUser.setVisible(false);
        // contLastUpdateTime		
        this.contLastUpdateTime.setBoundLabelText(resHelper.getString("contLastUpdateTime.boundLabelText"));		
        this.contLastUpdateTime.setBoundLabelLength(100);		
        this.contLastUpdateTime.setBoundLabelUnderline(true);		
        this.contLastUpdateTime.setEnabled(false);		
        this.contLastUpdateTime.setVisible(false);
        // contNumber		
        this.contNumber.setBoundLabelText(resHelper.getString("contNumber.boundLabelText"));		
        this.contNumber.setBoundLabelLength(100);		
        this.contNumber.setBoundLabelUnderline(true);
        // contBizDate		
        this.contBizDate.setBoundLabelText(resHelper.getString("contBizDate.boundLabelText"));		
        this.contBizDate.setBoundLabelLength(100);		
        this.contBizDate.setBoundLabelUnderline(true);		
        this.contBizDate.setBoundLabelAlignment(7);		
        this.contBizDate.setVisible(true);
        // contDescription		
        this.contDescription.setBoundLabelText(resHelper.getString("contDescription.boundLabelText"));		
        this.contDescription.setBoundLabelLength(100);		
        this.contDescription.setBoundLabelUnderline(true);
        // contAuditor		
        this.contAuditor.setBoundLabelText(resHelper.getString("contAuditor.boundLabelText"));		
        this.contAuditor.setBoundLabelLength(100);		
        this.contAuditor.setBoundLabelUnderline(true);
        // contcycleName		
        this.contcycleName.setBoundLabelText(resHelper.getString("contcycleName.boundLabelText"));		
        this.contcycleName.setBoundLabelLength(100);		
        this.contcycleName.setBoundLabelUnderline(true);		
        this.contcycleName.setVisible(true);
        // kdtBusDepProject
		String kdtBusDepProjectStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol6\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol7\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol8\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol9\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol10\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol11\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol12\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol13\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol14\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol16\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol17\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol18\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol19\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol20\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"busDep\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"secondcenter\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"type\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"project\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"state\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"principal\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"notPrincipalPropor\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol6\" /><t:Column t:key=\"principalPropor\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol7\" /><t:Column t:key=\"bonusAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol8\" /><t:Column t:key=\"totalBonusHalf\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol9\" /><t:Column t:key=\"directManProjBonus\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol10\" /><t:Column t:key=\"contraManProjBonus\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol11\" /><t:Column t:key=\"condManProjectBonus\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol12\" /><t:Column t:key=\"straManProjectBonus\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol13\" /><t:Column t:key=\"bonusAdjustment\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol14\" /><t:Column t:key=\"bonusAdjustmentDesc\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"totalBonusReal\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol16\" /><t:Column t:key=\"initialAllocationRatio1\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol17\" /><t:Column t:key=\"initialAllocationRatio2\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol18\" /><t:Column t:key=\"initialAllocationRatio3\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol19\" /><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol20\" /><t:Column t:key=\"projectPrincipal\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{busDep}</t:Cell><t:Cell>$Resource{secondcenter}</t:Cell><t:Cell>$Resource{type}</t:Cell><t:Cell>$Resource{project}</t:Cell><t:Cell>$Resource{state}</t:Cell><t:Cell>$Resource{principal}</t:Cell><t:Cell>$Resource{notPrincipalPropor}</t:Cell><t:Cell>$Resource{principalPropor}</t:Cell><t:Cell>$Resource{bonusAmount}</t:Cell><t:Cell>$Resource{totalBonusHalf}</t:Cell><t:Cell>$Resource{directManProjBonus}</t:Cell><t:Cell>$Resource{contraManProjBonus}</t:Cell><t:Cell>$Resource{condManProjectBonus}</t:Cell><t:Cell>$Resource{straManProjectBonus}</t:Cell><t:Cell>$Resource{bonusAdjustment}</t:Cell><t:Cell>$Resource{bonusAdjustmentDesc}</t:Cell><t:Cell>$Resource{totalBonusReal}</t:Cell><t:Cell>$Resource{initialAllocationRatio1}</t:Cell><t:Cell>$Resource{initialAllocationRatio2}</t:Cell><t:Cell>$Resource{initialAllocationRatio3}</t:Cell><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{projectPrincipal}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtBusDepProject.setFormatXml(resHelper.translateString("kdtBusDepProject",kdtBusDepProjectStrXML));

                this.kdtBusDepProject.putBindContents("editData",new String[] {"busDep","secondcenter","type","project","state","principal","notPrincipalPropor","principalPropor","bonusAmount","totalBonusHalf","directManProjBonus","contraManProjBonus","condManProjectBonus","straManProjectBonus","bonusAdjustment","bonusAdjustmentDesc","totalBonusReal","initialAllocationRatio1","initialAllocationRatio2","initialAllocationRatio3","seq","projectPrincipal"});


        this.kdtBusDepProject.checkParsed();
        final KDBizPromptBox kdtBusDepProject_busDep_PromptBox = new KDBizPromptBox();
        kdtBusDepProject_busDep_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");
        kdtBusDepProject_busDep_PromptBox.setVisible(true);
        kdtBusDepProject_busDep_PromptBox.setEditable(true);
        kdtBusDepProject_busDep_PromptBox.setDisplayFormat("$number$");
        kdtBusDepProject_busDep_PromptBox.setEditFormat("$number$");
        kdtBusDepProject_busDep_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtBusDepProject_busDep_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_busDep_PromptBox);
        this.kdtBusDepProject.getColumn("busDep").setEditor(kdtBusDepProject_busDep_CellEditor);
        ObjectValueRender kdtBusDepProject_busDep_OVR = new ObjectValueRender();
        kdtBusDepProject_busDep_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtBusDepProject.getColumn("busDep").setRenderer(kdtBusDepProject_busDep_OVR);
        final KDBizPromptBox kdtBusDepProject_secondcenter_PromptBox = new KDBizPromptBox();
        kdtBusDepProject_secondcenter_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");
        kdtBusDepProject_secondcenter_PromptBox.setVisible(true);
        kdtBusDepProject_secondcenter_PromptBox.setEditable(true);
        kdtBusDepProject_secondcenter_PromptBox.setDisplayFormat("$number$");
        kdtBusDepProject_secondcenter_PromptBox.setEditFormat("$number$");
        kdtBusDepProject_secondcenter_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtBusDepProject_secondcenter_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_secondcenter_PromptBox);
        this.kdtBusDepProject.getColumn("secondcenter").setEditor(kdtBusDepProject_secondcenter_CellEditor);
        ObjectValueRender kdtBusDepProject_secondcenter_OVR = new ObjectValueRender();
        kdtBusDepProject_secondcenter_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtBusDepProject.getColumn("secondcenter").setRenderer(kdtBusDepProject_secondcenter_OVR);
        final KDBizPromptBox kdtBusDepProject_project_PromptBox = new KDBizPromptBox();
        kdtBusDepProject_project_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.AdminItemQuery");
        kdtBusDepProject_project_PromptBox.setVisible(true);
        kdtBusDepProject_project_PromptBox.setEditable(true);
        kdtBusDepProject_project_PromptBox.setDisplayFormat("$number$");
        kdtBusDepProject_project_PromptBox.setEditFormat("$number$");
        kdtBusDepProject_project_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtBusDepProject_project_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_project_PromptBox);
        this.kdtBusDepProject.getColumn("project").setEditor(kdtBusDepProject_project_CellEditor);
        ObjectValueRender kdtBusDepProject_project_OVR = new ObjectValueRender();
        kdtBusDepProject_project_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtBusDepProject.getColumn("project").setRenderer(kdtBusDepProject_project_OVR);
        KDComboBox kdtBusDepProject_state_ComboBox = new KDComboBox();
        kdtBusDepProject_state_ComboBox.setName("kdtBusDepProject_state_ComboBox");
        kdtBusDepProject_state_ComboBox.setVisible(true);
        kdtBusDepProject_state_ComboBox.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.projectbonus.bizEnum.BusDepProjectStateEnum").toArray());
        KDTDefaultCellEditor kdtBusDepProject_state_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_state_ComboBox);
        this.kdtBusDepProject.getColumn("state").setEditor(kdtBusDepProject_state_CellEditor);
        final KDBizPromptBox kdtBusDepProject_principal_PromptBox = new KDBizPromptBox();
        kdtBusDepProject_principal_PromptBox.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
        kdtBusDepProject_principal_PromptBox.setVisible(true);
        kdtBusDepProject_principal_PromptBox.setEditable(true);
        kdtBusDepProject_principal_PromptBox.setDisplayFormat("$number$");
        kdtBusDepProject_principal_PromptBox.setEditFormat("$number$");
        kdtBusDepProject_principal_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtBusDepProject_principal_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_principal_PromptBox);
        this.kdtBusDepProject.getColumn("principal").setEditor(kdtBusDepProject_principal_CellEditor);
        ObjectValueRender kdtBusDepProject_principal_OVR = new ObjectValueRender();
        kdtBusDepProject_principal_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtBusDepProject.getColumn("principal").setRenderer(kdtBusDepProject_principal_OVR);
        KDFormattedTextField kdtBusDepProject_notPrincipalPropor_TextField = new KDFormattedTextField();
        kdtBusDepProject_notPrincipalPropor_TextField.setName("kdtBusDepProject_notPrincipalPropor_TextField");
        kdtBusDepProject_notPrincipalPropor_TextField.setVisible(true);
        kdtBusDepProject_notPrincipalPropor_TextField.setEditable(true);
        kdtBusDepProject_notPrincipalPropor_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_notPrincipalPropor_TextField.setDataType(1);
        	kdtBusDepProject_notPrincipalPropor_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_notPrincipalPropor_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_notPrincipalPropor_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_notPrincipalPropor_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_notPrincipalPropor_TextField);
        this.kdtBusDepProject.getColumn("notPrincipalPropor").setEditor(kdtBusDepProject_notPrincipalPropor_CellEditor);
        KDFormattedTextField kdtBusDepProject_principalPropor_TextField = new KDFormattedTextField();
        kdtBusDepProject_principalPropor_TextField.setName("kdtBusDepProject_principalPropor_TextField");
        kdtBusDepProject_principalPropor_TextField.setVisible(true);
        kdtBusDepProject_principalPropor_TextField.setEditable(true);
        kdtBusDepProject_principalPropor_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_principalPropor_TextField.setDataType(1);
        	kdtBusDepProject_principalPropor_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_principalPropor_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_principalPropor_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_principalPropor_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_principalPropor_TextField);
        this.kdtBusDepProject.getColumn("principalPropor").setEditor(kdtBusDepProject_principalPropor_CellEditor);
        KDFormattedTextField kdtBusDepProject_bonusAmount_TextField = new KDFormattedTextField();
        kdtBusDepProject_bonusAmount_TextField.setName("kdtBusDepProject_bonusAmount_TextField");
        kdtBusDepProject_bonusAmount_TextField.setVisible(true);
        kdtBusDepProject_bonusAmount_TextField.setEditable(true);
        kdtBusDepProject_bonusAmount_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_bonusAmount_TextField.setDataType(1);
        	kdtBusDepProject_bonusAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_bonusAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_bonusAmount_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_bonusAmount_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_bonusAmount_TextField);
        this.kdtBusDepProject.getColumn("bonusAmount").setEditor(kdtBusDepProject_bonusAmount_CellEditor);
        KDFormattedTextField kdtBusDepProject_totalBonusHalf_TextField = new KDFormattedTextField();
        kdtBusDepProject_totalBonusHalf_TextField.setName("kdtBusDepProject_totalBonusHalf_TextField");
        kdtBusDepProject_totalBonusHalf_TextField.setVisible(true);
        kdtBusDepProject_totalBonusHalf_TextField.setEditable(true);
        kdtBusDepProject_totalBonusHalf_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_totalBonusHalf_TextField.setDataType(1);
        	kdtBusDepProject_totalBonusHalf_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_totalBonusHalf_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_totalBonusHalf_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_totalBonusHalf_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_totalBonusHalf_TextField);
        this.kdtBusDepProject.getColumn("totalBonusHalf").setEditor(kdtBusDepProject_totalBonusHalf_CellEditor);
        KDFormattedTextField kdtBusDepProject_directManProjBonus_TextField = new KDFormattedTextField();
        kdtBusDepProject_directManProjBonus_TextField.setName("kdtBusDepProject_directManProjBonus_TextField");
        kdtBusDepProject_directManProjBonus_TextField.setVisible(true);
        kdtBusDepProject_directManProjBonus_TextField.setEditable(true);
        kdtBusDepProject_directManProjBonus_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_directManProjBonus_TextField.setDataType(1);
        	kdtBusDepProject_directManProjBonus_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_directManProjBonus_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_directManProjBonus_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_directManProjBonus_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_directManProjBonus_TextField);
        this.kdtBusDepProject.getColumn("directManProjBonus").setEditor(kdtBusDepProject_directManProjBonus_CellEditor);
        KDFormattedTextField kdtBusDepProject_contraManProjBonus_TextField = new KDFormattedTextField();
        kdtBusDepProject_contraManProjBonus_TextField.setName("kdtBusDepProject_contraManProjBonus_TextField");
        kdtBusDepProject_contraManProjBonus_TextField.setVisible(true);
        kdtBusDepProject_contraManProjBonus_TextField.setEditable(true);
        kdtBusDepProject_contraManProjBonus_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_contraManProjBonus_TextField.setDataType(1);
        	kdtBusDepProject_contraManProjBonus_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_contraManProjBonus_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_contraManProjBonus_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_contraManProjBonus_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_contraManProjBonus_TextField);
        this.kdtBusDepProject.getColumn("contraManProjBonus").setEditor(kdtBusDepProject_contraManProjBonus_CellEditor);
        KDFormattedTextField kdtBusDepProject_condManProjectBonus_TextField = new KDFormattedTextField();
        kdtBusDepProject_condManProjectBonus_TextField.setName("kdtBusDepProject_condManProjectBonus_TextField");
        kdtBusDepProject_condManProjectBonus_TextField.setVisible(true);
        kdtBusDepProject_condManProjectBonus_TextField.setEditable(true);
        kdtBusDepProject_condManProjectBonus_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_condManProjectBonus_TextField.setDataType(1);
        	kdtBusDepProject_condManProjectBonus_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_condManProjectBonus_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_condManProjectBonus_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_condManProjectBonus_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_condManProjectBonus_TextField);
        this.kdtBusDepProject.getColumn("condManProjectBonus").setEditor(kdtBusDepProject_condManProjectBonus_CellEditor);
        KDFormattedTextField kdtBusDepProject_straManProjectBonus_TextField = new KDFormattedTextField();
        kdtBusDepProject_straManProjectBonus_TextField.setName("kdtBusDepProject_straManProjectBonus_TextField");
        kdtBusDepProject_straManProjectBonus_TextField.setVisible(true);
        kdtBusDepProject_straManProjectBonus_TextField.setEditable(true);
        kdtBusDepProject_straManProjectBonus_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_straManProjectBonus_TextField.setDataType(1);
        	kdtBusDepProject_straManProjectBonus_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_straManProjectBonus_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_straManProjectBonus_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_straManProjectBonus_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_straManProjectBonus_TextField);
        this.kdtBusDepProject.getColumn("straManProjectBonus").setEditor(kdtBusDepProject_straManProjectBonus_CellEditor);
        KDFormattedTextField kdtBusDepProject_bonusAdjustment_TextField = new KDFormattedTextField();
        kdtBusDepProject_bonusAdjustment_TextField.setName("kdtBusDepProject_bonusAdjustment_TextField");
        kdtBusDepProject_bonusAdjustment_TextField.setVisible(true);
        kdtBusDepProject_bonusAdjustment_TextField.setEditable(true);
        kdtBusDepProject_bonusAdjustment_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_bonusAdjustment_TextField.setDataType(1);
        	kdtBusDepProject_bonusAdjustment_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_bonusAdjustment_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_bonusAdjustment_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_bonusAdjustment_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_bonusAdjustment_TextField);
        this.kdtBusDepProject.getColumn("bonusAdjustment").setEditor(kdtBusDepProject_bonusAdjustment_CellEditor);
        KDFormattedTextField kdtBusDepProject_totalBonusReal_TextField = new KDFormattedTextField();
        kdtBusDepProject_totalBonusReal_TextField.setName("kdtBusDepProject_totalBonusReal_TextField");
        kdtBusDepProject_totalBonusReal_TextField.setVisible(true);
        kdtBusDepProject_totalBonusReal_TextField.setEditable(true);
        kdtBusDepProject_totalBonusReal_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_totalBonusReal_TextField.setDataType(1);
        	kdtBusDepProject_totalBonusReal_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_totalBonusReal_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_totalBonusReal_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_totalBonusReal_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_totalBonusReal_TextField);
        this.kdtBusDepProject.getColumn("totalBonusReal").setEditor(kdtBusDepProject_totalBonusReal_CellEditor);
        KDFormattedTextField kdtBusDepProject_initialAllocationRatio1_TextField = new KDFormattedTextField();
        kdtBusDepProject_initialAllocationRatio1_TextField.setName("kdtBusDepProject_initialAllocationRatio1_TextField");
        kdtBusDepProject_initialAllocationRatio1_TextField.setVisible(true);
        kdtBusDepProject_initialAllocationRatio1_TextField.setEditable(true);
        kdtBusDepProject_initialAllocationRatio1_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_initialAllocationRatio1_TextField.setDataType(1);
        	kdtBusDepProject_initialAllocationRatio1_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_initialAllocationRatio1_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_initialAllocationRatio1_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_initialAllocationRatio1_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_initialAllocationRatio1_TextField);
        this.kdtBusDepProject.getColumn("initialAllocationRatio1").setEditor(kdtBusDepProject_initialAllocationRatio1_CellEditor);
        KDFormattedTextField kdtBusDepProject_initialAllocationRatio2_TextField = new KDFormattedTextField();
        kdtBusDepProject_initialAllocationRatio2_TextField.setName("kdtBusDepProject_initialAllocationRatio2_TextField");
        kdtBusDepProject_initialAllocationRatio2_TextField.setVisible(true);
        kdtBusDepProject_initialAllocationRatio2_TextField.setEditable(true);
        kdtBusDepProject_initialAllocationRatio2_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_initialAllocationRatio2_TextField.setDataType(1);
        	kdtBusDepProject_initialAllocationRatio2_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_initialAllocationRatio2_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_initialAllocationRatio2_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_initialAllocationRatio2_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_initialAllocationRatio2_TextField);
        this.kdtBusDepProject.getColumn("initialAllocationRatio2").setEditor(kdtBusDepProject_initialAllocationRatio2_CellEditor);
        KDFormattedTextField kdtBusDepProject_initialAllocationRatio3_TextField = new KDFormattedTextField();
        kdtBusDepProject_initialAllocationRatio3_TextField.setName("kdtBusDepProject_initialAllocationRatio3_TextField");
        kdtBusDepProject_initialAllocationRatio3_TextField.setVisible(true);
        kdtBusDepProject_initialAllocationRatio3_TextField.setEditable(true);
        kdtBusDepProject_initialAllocationRatio3_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_initialAllocationRatio3_TextField.setDataType(1);
        	kdtBusDepProject_initialAllocationRatio3_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtBusDepProject_initialAllocationRatio3_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtBusDepProject_initialAllocationRatio3_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtBusDepProject_initialAllocationRatio3_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_initialAllocationRatio3_TextField);
        this.kdtBusDepProject.getColumn("initialAllocationRatio3").setEditor(kdtBusDepProject_initialAllocationRatio3_CellEditor);
        KDFormattedTextField kdtBusDepProject_seq_TextField = new KDFormattedTextField();
        kdtBusDepProject_seq_TextField.setName("kdtBusDepProject_seq_TextField");
        kdtBusDepProject_seq_TextField.setVisible(true);
        kdtBusDepProject_seq_TextField.setEditable(true);
        kdtBusDepProject_seq_TextField.setHorizontalAlignment(2);
        kdtBusDepProject_seq_TextField.setDataType(0);
        KDTDefaultCellEditor kdtBusDepProject_seq_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_seq_TextField);
        this.kdtBusDepProject.getColumn("seq").setEditor(kdtBusDepProject_seq_CellEditor);
        final KDBizPromptBox kdtBusDepProject_projectPrincipal_PromptBox = new KDBizPromptBox();
        kdtBusDepProject_projectPrincipal_PromptBox.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
        kdtBusDepProject_projectPrincipal_PromptBox.setVisible(true);
        kdtBusDepProject_projectPrincipal_PromptBox.setEditable(true);
        kdtBusDepProject_projectPrincipal_PromptBox.setDisplayFormat("$number$");
        kdtBusDepProject_projectPrincipal_PromptBox.setEditFormat("$number$");
        kdtBusDepProject_projectPrincipal_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtBusDepProject_projectPrincipal_CellEditor = new KDTDefaultCellEditor(kdtBusDepProject_projectPrincipal_PromptBox);
        this.kdtBusDepProject.getColumn("projectPrincipal").setEditor(kdtBusDepProject_projectPrincipal_CellEditor);
        ObjectValueRender kdtBusDepProject_projectPrincipal_OVR = new ObjectValueRender();
        kdtBusDepProject_projectPrincipal_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtBusDepProject.getColumn("projectPrincipal").setRenderer(kdtBusDepProject_projectPrincipal_OVR);
        // kdtAssPersonnelDetail
		String kdtAssPersonnelDetailStrXML = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><DocRoot xmlns:c=\"http://www.kingdee.com/Common\" xmlns:f=\"http://www.kingdee.com/Form\" xmlns:t=\"http://www.kingdee.com/Table\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.kingdee.com/KDF KDFSchema.xsd\" version=\"0.0\"><Styles><c:Style id=\"sCol0\"><c:NumberFormat>&amp;int</c:NumberFormat></c:Style><c:Style id=\"sCol3\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol4\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol5\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol6\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol7\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol9\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol12\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol13\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol14\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol15\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol17\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol18\"><c:NumberFormat>&amp;date</c:NumberFormat></c:Style><c:Style id=\"sCol19\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol20\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol21\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style><c:Style id=\"sCol23\"><c:NumberFormat>&amp;double</c:NumberFormat></c:Style></Styles><Table id=\"KDTable\"><t:Sheet name=\"sheet1\"><t:Table t:selectMode=\"15\" t:mergeMode=\"0\" t:dataRequestMode=\"0\" t:pageRowCount=\"100\"><t:ColumnGroup><t:Column t:key=\"seq\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol0\" /><t:Column t:key=\"person\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"position\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"indivBonusAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol3\" /><t:Column t:key=\"bonusProportion\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol4\" /><t:Column t:key=\"attendanceRate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol5\" /><t:Column t:key=\"functionCoefficient\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol6\" /><t:Column t:key=\"energyInputCoeff\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol7\" /><t:Column t:key=\"grade\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"rankCoefficient\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol9\" /><t:Column t:key=\"performanceGradeQ1\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"performanceGradeQ2\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"performanceCoeffQ1\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol12\" /><t:Column t:key=\"performanceCoeffQ2\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol13\" /><t:Column t:key=\"assessmentCoeff\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol14\" /><t:Column t:key=\"cumulative\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol15\" /><t:Column t:key=\"remarks\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"bonusDueDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol17\" /><t:Column t:key=\"bonusStartingDate\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol18\" /><t:Column t:key=\"initialProportion\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol19\" /><t:Column t:key=\"bonusSubcontract\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol20\" /><t:Column t:key=\"approvalAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol21\" /><t:Column t:key=\"adjustmentDesc\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" /><t:Column t:key=\"opinionAmount\" t:width=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\" t:moveable=\"true\" t:group=\"false\" t:required=\"false\" t:index=\"-1\" t:styleID=\"sCol23\" /></t:ColumnGroup><t:Head><t:Row t:name=\"header\" t:height=\"-1\" t:mergeable=\"true\" t:resizeable=\"true\"><t:Cell>$Resource{seq}</t:Cell><t:Cell>$Resource{person}</t:Cell><t:Cell>$Resource{position}</t:Cell><t:Cell>$Resource{indivBonusAmount}</t:Cell><t:Cell>$Resource{bonusProportion}</t:Cell><t:Cell>$Resource{attendanceRate}</t:Cell><t:Cell>$Resource{functionCoefficient}</t:Cell><t:Cell>$Resource{energyInputCoeff}</t:Cell><t:Cell>$Resource{grade}</t:Cell><t:Cell>$Resource{rankCoefficient}</t:Cell><t:Cell>$Resource{performanceGradeQ1}</t:Cell><t:Cell>$Resource{performanceGradeQ2}</t:Cell><t:Cell>$Resource{performanceCoeffQ1}</t:Cell><t:Cell>$Resource{performanceCoeffQ2}</t:Cell><t:Cell>$Resource{assessmentCoeff}</t:Cell><t:Cell>$Resource{cumulative}</t:Cell><t:Cell>$Resource{remarks}</t:Cell><t:Cell>$Resource{bonusDueDate}</t:Cell><t:Cell>$Resource{bonusStartingDate}</t:Cell><t:Cell>$Resource{initialProportion}</t:Cell><t:Cell>$Resource{bonusSubcontract}</t:Cell><t:Cell>$Resource{approvalAmount}</t:Cell><t:Cell>$Resource{adjustmentDesc}</t:Cell><t:Cell>$Resource{opinionAmount}</t:Cell></t:Row></t:Head></t:Table><t:SheetOptions><t:MergeBlocks><t:Head /></t:MergeBlocks></t:SheetOptions></t:Sheet></Table></DocRoot>";
		
        this.kdtAssPersonnelDetail.setFormatXml(resHelper.translateString("kdtAssPersonnelDetail",kdtAssPersonnelDetailStrXML));

                this.kdtAssPersonnelDetail.putBindContents("editData",new String[] {"AssPersonnelDetail.seq","AssPersonnelDetail.person","AssPersonnelDetail.position","AssPersonnelDetail.indivBonusAmount","AssPersonnelDetail.bonusProportion","AssPersonnelDetail.attendanceRate","AssPersonnelDetail.functionCoefficient","AssPersonnelDetail.energyInputCoeff","AssPersonnelDetail.grade","AssPersonnelDetail.rankCoefficient","AssPersonnelDetail.performanceGradeQ1","AssPersonnelDetail.performanceGradeQ2","AssPersonnelDetail.performanceCoeffQ1","AssPersonnelDetail.performanceCoeffQ2","AssPersonnelDetail.assessmentCoeff","AssPersonnelDetail.cumulative","AssPersonnelDetail.remarks","AssPersonnelDetail.bonusDueDate","AssPersonnelDetail.bonusStartingDate","AssPersonnelDetail.initialProportion","AssPersonnelDetail.bonusSubcontract","AssPersonnelDetail.approvalAmount","AssPersonnelDetail.adjustmentDesc","AssPersonnelDetail.opinionAmount"});


        this.kdtAssPersonnelDetail.checkParsed();
        KDFormattedTextField kdtAssPersonnelDetail_seq_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_seq_TextField.setName("kdtAssPersonnelDetail_seq_TextField");
        kdtAssPersonnelDetail_seq_TextField.setVisible(true);
        kdtAssPersonnelDetail_seq_TextField.setEditable(true);
        kdtAssPersonnelDetail_seq_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_seq_TextField.setDataType(0);
        KDTDefaultCellEditor kdtAssPersonnelDetail_seq_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_seq_TextField);
        this.kdtAssPersonnelDetail.getColumn("seq").setEditor(kdtAssPersonnelDetail_seq_CellEditor);
        final KDBizPromptBox kdtAssPersonnelDetail_person_PromptBox = new KDBizPromptBox();
        kdtAssPersonnelDetail_person_PromptBox.setQueryInfo("com.kingdee.eas.basedata.person.app.PersonQuery");
        kdtAssPersonnelDetail_person_PromptBox.setVisible(true);
        kdtAssPersonnelDetail_person_PromptBox.setEditable(true);
        kdtAssPersonnelDetail_person_PromptBox.setDisplayFormat("$number$");
        kdtAssPersonnelDetail_person_PromptBox.setEditFormat("$number$");
        kdtAssPersonnelDetail_person_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtAssPersonnelDetail_person_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_person_PromptBox);
        this.kdtAssPersonnelDetail.getColumn("person").setEditor(kdtAssPersonnelDetail_person_CellEditor);
        ObjectValueRender kdtAssPersonnelDetail_person_OVR = new ObjectValueRender();
        kdtAssPersonnelDetail_person_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtAssPersonnelDetail.getColumn("person").setRenderer(kdtAssPersonnelDetail_person_OVR);
        final KDBizPromptBox kdtAssPersonnelDetail_position_PromptBox = new KDBizPromptBox();
        kdtAssPersonnelDetail_position_PromptBox.setQueryInfo("com.kingdee.eas.basedata.org.app.PositionQuery");
        kdtAssPersonnelDetail_position_PromptBox.setVisible(true);
        kdtAssPersonnelDetail_position_PromptBox.setEditable(true);
        kdtAssPersonnelDetail_position_PromptBox.setDisplayFormat("$number$");
        kdtAssPersonnelDetail_position_PromptBox.setEditFormat("$number$");
        kdtAssPersonnelDetail_position_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtAssPersonnelDetail_position_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_position_PromptBox);
        this.kdtAssPersonnelDetail.getColumn("position").setEditor(kdtAssPersonnelDetail_position_CellEditor);
        ObjectValueRender kdtAssPersonnelDetail_position_OVR = new ObjectValueRender();
        kdtAssPersonnelDetail_position_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtAssPersonnelDetail.getColumn("position").setRenderer(kdtAssPersonnelDetail_position_OVR);
        KDFormattedTextField kdtAssPersonnelDetail_indivBonusAmount_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setName("kdtAssPersonnelDetail_indivBonusAmount_TextField");
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setVisible(true);
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setEditable(true);
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setDataType(1);
        	kdtAssPersonnelDetail_indivBonusAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_indivBonusAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_indivBonusAmount_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_indivBonusAmount_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_indivBonusAmount_TextField);
        this.kdtAssPersonnelDetail.getColumn("indivBonusAmount").setEditor(kdtAssPersonnelDetail_indivBonusAmount_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_bonusProportion_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_bonusProportion_TextField.setName("kdtAssPersonnelDetail_bonusProportion_TextField");
        kdtAssPersonnelDetail_bonusProportion_TextField.setVisible(true);
        kdtAssPersonnelDetail_bonusProportion_TextField.setEditable(true);
        kdtAssPersonnelDetail_bonusProportion_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_bonusProportion_TextField.setDataType(1);
        	kdtAssPersonnelDetail_bonusProportion_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_bonusProportion_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_bonusProportion_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_bonusProportion_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_bonusProportion_TextField);
        this.kdtAssPersonnelDetail.getColumn("bonusProportion").setEditor(kdtAssPersonnelDetail_bonusProportion_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_attendanceRate_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_attendanceRate_TextField.setName("kdtAssPersonnelDetail_attendanceRate_TextField");
        kdtAssPersonnelDetail_attendanceRate_TextField.setVisible(true);
        kdtAssPersonnelDetail_attendanceRate_TextField.setEditable(true);
        kdtAssPersonnelDetail_attendanceRate_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_attendanceRate_TextField.setDataType(1);
        	kdtAssPersonnelDetail_attendanceRate_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_attendanceRate_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_attendanceRate_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_attendanceRate_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_attendanceRate_TextField);
        this.kdtAssPersonnelDetail.getColumn("attendanceRate").setEditor(kdtAssPersonnelDetail_attendanceRate_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_functionCoefficient_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_functionCoefficient_TextField.setName("kdtAssPersonnelDetail_functionCoefficient_TextField");
        kdtAssPersonnelDetail_functionCoefficient_TextField.setVisible(true);
        kdtAssPersonnelDetail_functionCoefficient_TextField.setEditable(true);
        kdtAssPersonnelDetail_functionCoefficient_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_functionCoefficient_TextField.setDataType(1);
        	kdtAssPersonnelDetail_functionCoefficient_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_functionCoefficient_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_functionCoefficient_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_functionCoefficient_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_functionCoefficient_TextField);
        this.kdtAssPersonnelDetail.getColumn("functionCoefficient").setEditor(kdtAssPersonnelDetail_functionCoefficient_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_energyInputCoeff_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setName("kdtAssPersonnelDetail_energyInputCoeff_TextField");
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setVisible(true);
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setEditable(true);
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setDataType(1);
        	kdtAssPersonnelDetail_energyInputCoeff_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_energyInputCoeff_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_energyInputCoeff_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_energyInputCoeff_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_energyInputCoeff_TextField);
        this.kdtAssPersonnelDetail.getColumn("energyInputCoeff").setEditor(kdtAssPersonnelDetail_energyInputCoeff_CellEditor);
        final KDBizPromptBox kdtAssPersonnelDetail_grade_PromptBox = new KDBizPromptBox();
        kdtAssPersonnelDetail_grade_PromptBox.setQueryInfo("com.kingdee.eas.hr.org.app.JobGradeListQuery");
        kdtAssPersonnelDetail_grade_PromptBox.setVisible(true);
        kdtAssPersonnelDetail_grade_PromptBox.setEditable(true);
        kdtAssPersonnelDetail_grade_PromptBox.setDisplayFormat("$number$");
        kdtAssPersonnelDetail_grade_PromptBox.setEditFormat("$number$");
        kdtAssPersonnelDetail_grade_PromptBox.setCommitFormat("$number$");
        KDTDefaultCellEditor kdtAssPersonnelDetail_grade_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_grade_PromptBox);
        this.kdtAssPersonnelDetail.getColumn("grade").setEditor(kdtAssPersonnelDetail_grade_CellEditor);
        ObjectValueRender kdtAssPersonnelDetail_grade_OVR = new ObjectValueRender();
        kdtAssPersonnelDetail_grade_OVR.setFormat(new BizDataFormat("$name$"));
        this.kdtAssPersonnelDetail.getColumn("grade").setRenderer(kdtAssPersonnelDetail_grade_OVR);
        KDFormattedTextField kdtAssPersonnelDetail_performanceCoeffQ1_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setName("kdtAssPersonnelDetail_performanceCoeffQ1_TextField");
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setVisible(true);
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setEditable(true);
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setDataType(1);
        	kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_performanceCoeffQ1_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_performanceCoeffQ1_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_performanceCoeffQ1_TextField);
        this.kdtAssPersonnelDetail.getColumn("performanceCoeffQ1").setEditor(kdtAssPersonnelDetail_performanceCoeffQ1_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_performanceCoeffQ2_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setName("kdtAssPersonnelDetail_performanceCoeffQ2_TextField");
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setVisible(true);
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setEditable(true);
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setDataType(1);
        	kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_performanceCoeffQ2_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_performanceCoeffQ2_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_performanceCoeffQ2_TextField);
        this.kdtAssPersonnelDetail.getColumn("performanceCoeffQ2").setEditor(kdtAssPersonnelDetail_performanceCoeffQ2_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_assessmentCoeff_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setName("kdtAssPersonnelDetail_assessmentCoeff_TextField");
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setVisible(true);
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setEditable(true);
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setDataType(1);
        	kdtAssPersonnelDetail_assessmentCoeff_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_assessmentCoeff_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_assessmentCoeff_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_assessmentCoeff_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_assessmentCoeff_TextField);
        this.kdtAssPersonnelDetail.getColumn("assessmentCoeff").setEditor(kdtAssPersonnelDetail_assessmentCoeff_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_cumulative_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_cumulative_TextField.setName("kdtAssPersonnelDetail_cumulative_TextField");
        kdtAssPersonnelDetail_cumulative_TextField.setVisible(true);
        kdtAssPersonnelDetail_cumulative_TextField.setEditable(true);
        kdtAssPersonnelDetail_cumulative_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_cumulative_TextField.setDataType(1);
        	kdtAssPersonnelDetail_cumulative_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_cumulative_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_cumulative_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_cumulative_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_cumulative_TextField);
        this.kdtAssPersonnelDetail.getColumn("cumulative").setEditor(kdtAssPersonnelDetail_cumulative_CellEditor);
        KDDatePicker kdtAssPersonnelDetail_bonusDueDate_DatePicker = new KDDatePicker();
        kdtAssPersonnelDetail_bonusDueDate_DatePicker.setName("kdtAssPersonnelDetail_bonusDueDate_DatePicker");
        kdtAssPersonnelDetail_bonusDueDate_DatePicker.setVisible(true);
        kdtAssPersonnelDetail_bonusDueDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtAssPersonnelDetail_bonusDueDate_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_bonusDueDate_DatePicker);
        this.kdtAssPersonnelDetail.getColumn("bonusDueDate").setEditor(kdtAssPersonnelDetail_bonusDueDate_CellEditor);
        KDDatePicker kdtAssPersonnelDetail_bonusStartingDate_DatePicker = new KDDatePicker();
        kdtAssPersonnelDetail_bonusStartingDate_DatePicker.setName("kdtAssPersonnelDetail_bonusStartingDate_DatePicker");
        kdtAssPersonnelDetail_bonusStartingDate_DatePicker.setVisible(true);
        kdtAssPersonnelDetail_bonusStartingDate_DatePicker.setEditable(true);
        KDTDefaultCellEditor kdtAssPersonnelDetail_bonusStartingDate_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_bonusStartingDate_DatePicker);
        this.kdtAssPersonnelDetail.getColumn("bonusStartingDate").setEditor(kdtAssPersonnelDetail_bonusStartingDate_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_initialProportion_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_initialProportion_TextField.setName("kdtAssPersonnelDetail_initialProportion_TextField");
        kdtAssPersonnelDetail_initialProportion_TextField.setVisible(true);
        kdtAssPersonnelDetail_initialProportion_TextField.setEditable(true);
        kdtAssPersonnelDetail_initialProportion_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_initialProportion_TextField.setDataType(1);
        	kdtAssPersonnelDetail_initialProportion_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_initialProportion_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_initialProportion_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_initialProportion_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_initialProportion_TextField);
        this.kdtAssPersonnelDetail.getColumn("initialProportion").setEditor(kdtAssPersonnelDetail_initialProportion_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_approvalAmount_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_approvalAmount_TextField.setName("kdtAssPersonnelDetail_approvalAmount_TextField");
        kdtAssPersonnelDetail_approvalAmount_TextField.setVisible(true);
        kdtAssPersonnelDetail_approvalAmount_TextField.setEditable(true);
        kdtAssPersonnelDetail_approvalAmount_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_approvalAmount_TextField.setDataType(1);
        	kdtAssPersonnelDetail_approvalAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_approvalAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_approvalAmount_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_approvalAmount_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_approvalAmount_TextField);
        this.kdtAssPersonnelDetail.getColumn("approvalAmount").setEditor(kdtAssPersonnelDetail_approvalAmount_CellEditor);
        KDFormattedTextField kdtAssPersonnelDetail_opinionAmount_TextField = new KDFormattedTextField();
        kdtAssPersonnelDetail_opinionAmount_TextField.setName("kdtAssPersonnelDetail_opinionAmount_TextField");
        kdtAssPersonnelDetail_opinionAmount_TextField.setVisible(true);
        kdtAssPersonnelDetail_opinionAmount_TextField.setEditable(true);
        kdtAssPersonnelDetail_opinionAmount_TextField.setHorizontalAlignment(2);
        kdtAssPersonnelDetail_opinionAmount_TextField.setDataType(1);
        	kdtAssPersonnelDetail_opinionAmount_TextField.setMinimumValue(new java.math.BigDecimal("-1.0E18"));
        	kdtAssPersonnelDetail_opinionAmount_TextField.setMaximumValue(new java.math.BigDecimal("1.0E18"));
        kdtAssPersonnelDetail_opinionAmount_TextField.setPrecision(10);
        KDTDefaultCellEditor kdtAssPersonnelDetail_opinionAmount_CellEditor = new KDTDefaultCellEditor(kdtAssPersonnelDetail_opinionAmount_TextField);
        this.kdtAssPersonnelDetail.getColumn("opinionAmount").setEditor(kdtAssPersonnelDetail_opinionAmount_CellEditor);
        // contstate		
        this.contstate.setBoundLabelText(resHelper.getString("contstate.boundLabelText"));		
        this.contstate.setBoundLabelLength(100);		
        this.contstate.setBoundLabelUnderline(true);		
        this.contstate.setVisible(true);
        // contname		
        this.contname.setBoundLabelText(resHelper.getString("contname.boundLabelText"));		
        this.contname.setBoundLabelLength(100);		
        this.contname.setBoundLabelUnderline(true);		
        this.contname.setVisible(true);
        // contreminderContent		
        this.contreminderContent.setBoundLabelText(resHelper.getString("contreminderContent.boundLabelText"));		
        this.contreminderContent.setBoundLabelLength(100);		
        this.contreminderContent.setBoundLabelUnderline(true);		
        this.contreminderContent.setVisible(true);
        // prmtCreator		
        this.prmtCreator.setEnabled(false);
        // kDDateCreateTime		
        this.kDDateCreateTime.setTimeEnabled(true);		
        this.kDDateCreateTime.setEnabled(false);
        // prmtLastUpdateUser		
        this.prmtLastUpdateUser.setEnabled(false);
        // kDDateLastUpdateTime		
        this.kDDateLastUpdateTime.setTimeEnabled(true);		
        this.kDDateLastUpdateTime.setEnabled(false);
        // txtNumber		
        this.txtNumber.setMaxLength(80);
        // pkBizDate		
        this.pkBizDate.setEnabled(true);
        // txtDescription		
        this.txtDescription.setMaxLength(80);
        // prmtAuditor		
        this.prmtAuditor.setEnabled(false);
        // txtcycleName		
        this.txtcycleName.setHorizontalAlignment(2);		
        this.txtcycleName.setMaxLength(100);		
        this.txtcycleName.setRequired(false);
        // state		
        this.state.addItems(EnumUtils.getEnumList("com.kingdee.eas.custom.projectbonus.bizEnum.CycleStateEnum").toArray());		
        this.state.setRequired(false);
        // txtname		
        this.txtname.setHorizontalAlignment(2);		
        this.txtname.setMaxLength(100);		
        this.txtname.setRequired(false);
        // scrollPanereminderContent
        // txtreminderContent		
        this.txtreminderContent.setRequired(false);		
        this.txtreminderContent.setMaxLength(2000);
        this.setFocusTraversalPolicy(new com.kingdee.bos.ui.UIFocusTraversalPolicy(new java.awt.Component[] {txtcycleName,txtname,state,txtreminderContent,kDDateLastUpdateTime,prmtLastUpdateUser,kDDateCreateTime,kdtBusDepProject,prmtCreator,prmtAuditor,txtDescription,pkBizDate,txtNumber,kdtAssPersonnelDetail}));
        this.setFocusCycleRoot(true);
		//Register control's property binding
		registerBindings();
		registerUIState();


    }

	public com.kingdee.bos.ctrl.swing.KDToolBar[] getUIMultiToolBar(){
		java.util.List list = new java.util.ArrayList();
		com.kingdee.bos.ctrl.swing.KDToolBar[] bars = super.getUIMultiToolBar();
		if (bars != null) {
			list.addAll(java.util.Arrays.asList(bars));
		}
		return (com.kingdee.bos.ctrl.swing.KDToolBar[])list.toArray(new com.kingdee.bos.ctrl.swing.KDToolBar[list.size()]);
	}




    /**
     * output initUIContentLayout method
     */
    public void initUIContentLayout()
    {
        this.setBounds(new Rectangle(0, 0, 1013, 629));
        this.setLayout(null);
        contCreator.setBounds(new Rectangle(440, 524, 270, 19));
        this.add(contCreator, null);
        contCreateTime.setBounds(new Rectangle(730, 524, 270, 19));
        this.add(contCreateTime, null);
        contLastUpdateUser.setBounds(new Rectangle(440, 555, 270, 19));
        this.add(contLastUpdateUser, null);
        contLastUpdateTime.setBounds(new Rectangle(730, 555, 270, 19));
        this.add(contLastUpdateTime, null);
        contNumber.setBounds(new Rectangle(728, 26, 270, 19));
        this.add(contNumber, null);
        contBizDate.setBounds(new Rectangle(350, 66, 270, 19));
        this.add(contBizDate, null);
        contDescription.setBounds(new Rectangle(728, 66, 270, 19));
        this.add(contDescription, null);
        contAuditor.setBounds(new Rectangle(15, 528, 270, 19));
        this.add(contAuditor, null);
        contcycleName.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contcycleName, null);
        kdtBusDepProject.setBounds(new Rectangle(0, 0, 600, 170));
        kdtBusDepProject_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtBusDepProject,new com.kingdee.eas.custom.projectbonus.BonusCycleBusDepProjectInfo(),null,false);
        this.add(kdtBusDepProject_detailPanel, null);
		kdtBusDepProject_detailPanel.addAddListener(new com.kingdee.eas.framework.client.multiDetail.IDetailPanelListener() {
			public void beforeEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
				IObjectValue vo = event.getObjectValue();
vo.put("state",new Integer(0));
			}
			public void afterEvent(com.kingdee.eas.framework.client.multiDetail.DetailPanelEvent event) throws Exception {
			}
		});
        kdtAssPersonnelDetail.setBounds(new Rectangle(0, 0, 600, 170));
        kdtAssPersonnelDetail_detailPanel = (com.kingdee.eas.framework.client.multiDetail.DetailPanel)com.kingdee.eas.framework.client.multiDetail.HMDUtils.buildDetail(this,dataBinder,kdtAssPersonnelDetail,new com.kingdee.eas.custom.projectbonus.BonusCycleBusDepProjectAssPersonnelDetailInfo(),null,false);
        this.add(kdtAssPersonnelDetail_detailPanel, null);
        contstate.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contstate, null);
        contname.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contname, null);
        contreminderContent.setBounds(new Rectangle(0, 0, 270, 19));
        this.add(contreminderContent, null);
        //contCreator
        contCreator.setBoundEditor(prmtCreator);
        //contCreateTime
        contCreateTime.setBoundEditor(kDDateCreateTime);
        //contLastUpdateUser
        contLastUpdateUser.setBoundEditor(prmtLastUpdateUser);
        //contLastUpdateTime
        contLastUpdateTime.setBoundEditor(kDDateLastUpdateTime);
        //contNumber
        contNumber.setBoundEditor(txtNumber);
        //contBizDate
        contBizDate.setBoundEditor(pkBizDate);
        //contDescription
        contDescription.setBoundEditor(txtDescription);
        //contAuditor
        contAuditor.setBoundEditor(prmtAuditor);
        //contcycleName
        contcycleName.setBoundEditor(txtcycleName);
        //contstate
        contstate.setBoundEditor(state);
        //contname
        contname.setBoundEditor(txtname);
        //contreminderContent
        contreminderContent.setBoundEditor(scrollPanereminderContent);
        //scrollPanereminderContent
        scrollPanereminderContent.getViewport().add(txtreminderContent, null);

    }


    /**
     * output initUIMenuBarLayout method
     */
    public void initUIMenuBarLayout()
    {
        this.menuBar.add(menuFile);
        this.menuBar.add(menuEdit);
        this.menuBar.add(MenuService);
        this.menuBar.add(menuView);
        this.menuBar.add(menuBiz);
        this.menuBar.add(menuTable1);
        this.menuBar.add(menuTool);
        this.menuBar.add(menuWorkflow);
        this.menuBar.add(menuHelp);
        //menuFile
        menuFile.add(menuItemAddNew);
        menuFile.add(kDSeparator1);
        menuFile.add(menuItemCloudFeed);
        menuFile.add(menuItemSave);
        menuFile.add(menuItemCloudScreen);
        menuFile.add(menuItemSubmit);
        menuFile.add(menuItemCloudShare);
        menuFile.add(menuSubmitOption);
        menuFile.add(kdSeparatorFWFile1);
        menuFile.add(rMenuItemSubmit);
        menuFile.add(rMenuItemSubmitAndAddNew);
        menuFile.add(rMenuItemSubmitAndPrint);
        menuFile.add(separatorFile1);
        menuFile.add(MenuItemAttachment);
        menuFile.add(kDSeparator2);
        menuFile.add(menuItemPageSetup);
        menuFile.add(menuItemPrint);
        menuFile.add(menuItemPrintPreview);
        menuFile.add(kDSeparator6);
        menuFile.add(menuItemSendMail);
        menuFile.add(kDSeparator3);
        menuFile.add(menuItemExitCurrent);
        //menuSubmitOption
        menuSubmitOption.add(chkMenuItemSubmitAndAddNew);
        menuSubmitOption.add(chkMenuItemSubmitAndPrint);
        //menuEdit
        menuEdit.add(menuItemCopy);
        menuEdit.add(menuItemEdit);
        menuEdit.add(menuItemRemove);
        menuEdit.add(kDSeparator4);
        menuEdit.add(menuItemReset);
        menuEdit.add(separator1);
        menuEdit.add(menuItemCreateFrom);
        menuEdit.add(menuItemCreateTo);
        menuEdit.add(menuItemCopyFrom);
        menuEdit.add(separatorEdit1);
        menuEdit.add(menuItemEnterToNextRow);
        menuEdit.add(separator2);
        //MenuService
        MenuService.add(MenuItemKnowStore);
        MenuService.add(MenuItemAnwser);
        MenuService.add(SepratorService);
        MenuService.add(MenuItemRemoteAssist);
        //menuView
        menuView.add(menuItemFirst);
        menuView.add(menuItemPre);
        menuView.add(menuItemNext);
        menuView.add(menuItemLast);
        menuView.add(separator3);
        menuView.add(menuItemTraceUp);
        menuView.add(menuItemTraceDown);
        menuView.add(kDSeparator7);
        menuView.add(menuItemLocate);
        //menuBiz
        menuBiz.add(menuItemCancelCancel);
        menuBiz.add(menuItemCancel);
        menuBiz.add(MenuItemVoucher);
        menuBiz.add(menuItemDelVoucher);
        menuBiz.add(MenuItemPCVoucher);
        menuBiz.add(menuItemDelPCVoucher);
        //menuTable1
        menuTable1.add(menuItemAddLine);
        menuTable1.add(menuItemCopyLine);
        menuTable1.add(menuItemInsertLine);
        menuTable1.add(menuItemRemoveLine);
        //menuTool
        menuTool.add(menuItemSendMessage);
        menuTool.add(menuItemMsgFormat);
        menuTool.add(menuItemCalculator);
        menuTool.add(menuItemToolBarCustom);
        //menuWorkflow
        menuWorkflow.add(menuItemStartWorkFlow);
        menuWorkflow.add(separatorWF1);
        menuWorkflow.add(menuItemViewSubmitProccess);
        menuWorkflow.add(menuItemViewDoProccess);
        menuWorkflow.add(MenuItemWFG);
        menuWorkflow.add(menuItemWorkFlowList);
        menuWorkflow.add(separatorWF2);
        menuWorkflow.add(menuItemMultiapprove);
        menuWorkflow.add(menuItemNextPerson);
        menuWorkflow.add(menuItemAuditResult);
        menuWorkflow.add(kDSeparator5);
        menuWorkflow.add(kDMenuItemSendMessage);
        //menuHelp
        menuHelp.add(menuItemHelp);
        menuHelp.add(kDSeparator12);
        menuHelp.add(menuItemRegPro);
        menuHelp.add(menuItemPersonalSite);
        menuHelp.add(helpseparatorDiv);
        menuHelp.add(menuitemProductval);
        menuHelp.add(kDSeparatorProduct);
        menuHelp.add(menuItemAbout);

    }

    /**
     * output initUIToolBarLayout method
     */
    public void initUIToolBarLayout()
    {
        this.toolBar.add(btnAddNew);
        this.toolBar.add(btnCloud);
        this.toolBar.add(btnEdit);
        this.toolBar.add(btnXunTong);
        this.toolBar.add(btnSave);
        this.toolBar.add(kDSeparatorCloud);
        this.toolBar.add(btnReset);
        this.toolBar.add(btnSubmit);
        this.toolBar.add(btnCopy);
        this.toolBar.add(btnRemove);
        this.toolBar.add(btnCancelCancel);
        this.toolBar.add(btnCancel);
        this.toolBar.add(btnAttachment);
        this.toolBar.add(separatorFW1);
        this.toolBar.add(btnPageSetup);
        this.toolBar.add(btnPrint);
        this.toolBar.add(btnPrintPreview);
        this.toolBar.add(separatorFW2);
        this.toolBar.add(btnFirst);
        this.toolBar.add(btnPre);
        this.toolBar.add(btnNext);
        this.toolBar.add(btnLast);
        this.toolBar.add(separatorFW3);
        this.toolBar.add(btnTraceUp);
        this.toolBar.add(btnTraceDown);
        this.toolBar.add(btnWorkFlowG);
        this.toolBar.add(btnSignature);
        this.toolBar.add(btnViewSignature);
        this.toolBar.add(separatorFW4);
        this.toolBar.add(btnNumberSign);
        this.toolBar.add(separatorFW7);
        this.toolBar.add(btnCreateFrom);
        this.toolBar.add(btnCopyFrom);
        this.toolBar.add(btnCreateTo);
        this.toolBar.add(separatorFW5);
        this.toolBar.add(separatorFW8);
        this.toolBar.add(btnAddLine);
        this.toolBar.add(btnCopyLine);
        this.toolBar.add(btnInsertLine);
        this.toolBar.add(btnRemoveLine);
        this.toolBar.add(separatorFW6);
        this.toolBar.add(separatorFW9);
        this.toolBar.add(btnVoucher);
        this.toolBar.add(btnDelVoucher);
        this.toolBar.add(btnPCVoucher);
        this.toolBar.add(btnDelPCVoucher);
        this.toolBar.add(btnAuditResult);
        this.toolBar.add(btnMultiapprove);
        this.toolBar.add(btnWFViewdoProccess);
        this.toolBar.add(btnWFViewSubmitProccess);
        this.toolBar.add(btnNextPerson);


    }

	//Regiester control's property binding.
	private void registerBindings(){
		dataBinder.registerBinding("BusDepProject.seq", int.class, this.kdtBusDepProject, "seq.text");
		dataBinder.registerBinding("BusDepProject", com.kingdee.eas.custom.projectbonus.BonusCycleBusDepProjectInfo.class, this.kdtBusDepProject, "userObject");
		dataBinder.registerBinding("BusDepProject.principal", java.lang.Object.class, this.kdtBusDepProject, "principal.text");
		dataBinder.registerBinding("BusDepProject.notPrincipalPropor", java.math.BigDecimal.class, this.kdtBusDepProject, "notPrincipalPropor.text");
		dataBinder.registerBinding("BusDepProject.principalPropor", java.math.BigDecimal.class, this.kdtBusDepProject, "principalPropor.text");
		dataBinder.registerBinding("BusDepProject.bonusAmount", java.math.BigDecimal.class, this.kdtBusDepProject, "bonusAmount.text");
		dataBinder.registerBinding("BusDepProject.totalBonusHalf", java.math.BigDecimal.class, this.kdtBusDepProject, "totalBonusHalf.text");
		dataBinder.registerBinding("BusDepProject.totalBonusReal", java.math.BigDecimal.class, this.kdtBusDepProject, "totalBonusReal.text");
		dataBinder.registerBinding("BusDepProject.directManProjBonus", java.math.BigDecimal.class, this.kdtBusDepProject, "directManProjBonus.text");
		dataBinder.registerBinding("BusDepProject.contraManProjBonus", java.math.BigDecimal.class, this.kdtBusDepProject, "contraManProjBonus.text");
		dataBinder.registerBinding("BusDepProject.condManProjectBonus", java.math.BigDecimal.class, this.kdtBusDepProject, "condManProjectBonus.text");
		dataBinder.registerBinding("BusDepProject.straManProjectBonus", java.math.BigDecimal.class, this.kdtBusDepProject, "straManProjectBonus.text");
		dataBinder.registerBinding("BusDepProject.bonusAdjustment", java.math.BigDecimal.class, this.kdtBusDepProject, "bonusAdjustment.text");
		dataBinder.registerBinding("BusDepProject.bonusAdjustmentDesc", String.class, this.kdtBusDepProject, "bonusAdjustmentDesc.text");
		dataBinder.registerBinding("BusDepProject.initialAllocationRatio1", java.math.BigDecimal.class, this.kdtBusDepProject, "initialAllocationRatio1.text");
		dataBinder.registerBinding("BusDepProject.initialAllocationRatio2", java.math.BigDecimal.class, this.kdtBusDepProject, "initialAllocationRatio2.text");
		dataBinder.registerBinding("BusDepProject.initialAllocationRatio3", java.math.BigDecimal.class, this.kdtBusDepProject, "initialAllocationRatio3.text");
		dataBinder.registerBinding("BusDepProject.busDep", java.lang.Object.class, this.kdtBusDepProject, "busDep.text");
		dataBinder.registerBinding("BusDepProject.type", String.class, this.kdtBusDepProject, "type.text");
		dataBinder.registerBinding("BusDepProject.project", java.lang.Object.class, this.kdtBusDepProject, "project.text");
		dataBinder.registerBinding("BusDepProject.state", com.kingdee.util.enums.Enum.class, this.kdtBusDepProject, "state.text");
		dataBinder.registerBinding("BusDepProject.secondcenter", java.lang.Object.class, this.kdtBusDepProject, "secondcenter.text");
		dataBinder.registerBinding("BusDepProject.projectPrincipal", java.lang.Object.class, this.kdtBusDepProject, "projectPrincipal.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.seq", int.class, this.kdtAssPersonnelDetail, "seq.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail", com.kingdee.eas.custom.projectbonus.BonusCycleBusDepProjectAssPersonnelDetailInfo.class, this.kdtAssPersonnelDetail, "userObject");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.person", java.lang.Object.class, this.kdtAssPersonnelDetail, "person.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.position", java.lang.Object.class, this.kdtAssPersonnelDetail, "position.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.indivBonusAmount", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "indivBonusAmount.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.bonusProportion", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "bonusProportion.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.attendanceRate", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "attendanceRate.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.functionCoefficient", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "functionCoefficient.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.energyInputCoeff", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "energyInputCoeff.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.grade", java.lang.Object.class, this.kdtAssPersonnelDetail, "grade.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.rankCoefficient", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "rankCoefficient.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.performanceGradeQ1", String.class, this.kdtAssPersonnelDetail, "performanceGradeQ1.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.performanceGradeQ2", String.class, this.kdtAssPersonnelDetail, "performanceGradeQ2.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.performanceCoeffQ1", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "performanceCoeffQ1.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.performanceCoeffQ2", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "performanceCoeffQ2.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.assessmentCoeff", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "assessmentCoeff.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.cumulative", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "cumulative.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.remarks", String.class, this.kdtAssPersonnelDetail, "remarks.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.bonusDueDate", java.util.Date.class, this.kdtAssPersonnelDetail, "bonusDueDate.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.bonusStartingDate", java.util.Date.class, this.kdtAssPersonnelDetail, "bonusStartingDate.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.initialProportion", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "initialProportion.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.bonusSubcontract", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "bonusSubcontract.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.approvalAmount", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "approvalAmount.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.adjustmentDesc", String.class, this.kdtAssPersonnelDetail, "adjustmentDesc.text");
		dataBinder.registerBinding("BusDepProject.AssPersonnelDetail.opinionAmount", java.math.BigDecimal.class, this.kdtAssPersonnelDetail, "opinionAmount.text");
		dataBinder.registerBinding("creator", com.kingdee.eas.base.permission.UserInfo.class, this.prmtCreator, "data");
		dataBinder.registerBinding("createTime", java.sql.Timestamp.class, this.kDDateCreateTime, "value");
		dataBinder.registerBinding("lastUpdateUser", com.kingdee.eas.base.permission.UserInfo.class, this.prmtLastUpdateUser, "data");
		dataBinder.registerBinding("lastUpdateTime", java.sql.Timestamp.class, this.kDDateLastUpdateTime, "value");
		dataBinder.registerBinding("number", String.class, this.txtNumber, "text");
		dataBinder.registerBinding("bizDate", java.util.Date.class, this.pkBizDate, "value");
		dataBinder.registerBinding("description", String.class, this.txtDescription, "text");
		dataBinder.registerBinding("auditor", com.kingdee.eas.base.permission.UserInfo.class, this.prmtAuditor, "data");
		dataBinder.registerBinding("cycleName", String.class, this.txtcycleName, "text");
		dataBinder.registerBinding("state", com.kingdee.eas.custom.projectbonus.bizEnum.CycleStateEnum.class, this.state, "selectedItem");
		dataBinder.registerBinding("name", String.class, this.txtname, "text");
		dataBinder.registerBinding("reminderContent", String.class, this.txtreminderContent, "text");		
	}
	//Regiester UI State
	private void registerUIState(){		
	}
	public String getUIHandlerClassName() {
	    return "com.kingdee.eas.custom.projectbonus.app.BonusCycleEditUIHandler";
	}
	public IUIActionPostman prepareInit() {
		IUIActionPostman clientHanlder = super.prepareInit();
		if (clientHanlder != null) {
			RequestContext request = new RequestContext();
    		request.setClassName(getUIHandlerClassName());
			clientHanlder.setRequestContext(request);
		}
		return clientHanlder;
    }
	
	public boolean isPrepareInit() {
    	return false;
    }
    protected void initUIP() {
        super.initUIP();
    }


    /**
     * output onShow method
     */
    public void onShow() throws Exception
    {
        super.onShow();
        this.txtcycleName.requestFocusInWindow();
    }

	
	

    /**
     * output setDataObject method
     */
    public void setDataObject(IObjectValue dataObject)
    {
        IObjectValue ov = dataObject;        	    	
        super.setDataObject(ov);
        this.editData = (com.kingdee.eas.custom.projectbonus.BonusCycleInfo)ov;
    }
    protected void removeByPK(IObjectPK pk) throws Exception {
    	IObjectValue editData = this.editData;
    	super.removeByPK(pk);
    	recycleNumberByOrg(editData,"NONE",editData.getString("number"));
    }
    
    protected void recycleNumberByOrg(IObjectValue editData,String orgType,String number) {
        if (!StringUtils.isEmpty(number))
        {
            try {
            	String companyID = null;            
            	com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID =com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}				
				if (!StringUtils.isEmpty(companyID) && iCodingRuleManager.isExist(editData, companyID) && iCodingRuleManager.isUseIntermitNumber(editData, companyID)) {
					iCodingRuleManager.recycleNumber(editData,companyID,number);					
				}
            }
            catch (Exception e)
            {
                handUIException(e);
            }
        }
    }
    protected void setAutoNumberByOrg(String orgType) {
    	if (editData == null) return;
		if (editData.getNumber() == null) {
            try {
            	String companyID = null;
				if(!com.kingdee.util.StringUtils.isEmpty(orgType) && !"NONE".equalsIgnoreCase(orgType) && com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType))!=null) {
					companyID = com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit(com.kingdee.eas.basedata.org.OrgType.getEnum(orgType)).getString("id");
				}
				else if (com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit() != null) {
					companyID = ((com.kingdee.eas.basedata.org.OrgUnitInfo)com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentOrgUnit()).getString("id");
            	}
				com.kingdee.eas.base.codingrule.ICodingRuleManager iCodingRuleManager = com.kingdee.eas.base.codingrule.CodingRuleManagerFactory.getRemoteInstance();
		        if (iCodingRuleManager.isExist(editData, companyID)) {
		            if (iCodingRuleManager.isAddView(editData, companyID)) {
		            	editData.setNumber(iCodingRuleManager.getNumber(editData,companyID));
		            }
	                txtNumber.setEnabled(false);
		        }
            }
            catch (Exception e) {
                handUIException(e);
                this.oldData = editData;
                com.kingdee.eas.util.SysUtil.abort();
            } 
        } 
        else {
            if (editData.getNumber().trim().length() > 0) {
                txtNumber.setText(editData.getNumber());
            }
        }
    }

    /**
     * output loadFields method
     */
    public void loadFields()
    {
        		setAutoNumberByOrg("NONE");
        dataBinder.loadFields();
    }
		protected void setOrgF7(KDBizPromptBox f7,com.kingdee.eas.basedata.org.OrgType orgType) throws Exception
		{
			com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer oufip = new com.kingdee.eas.basedata.org.client.f7.NewOrgUnitFilterInfoProducer(orgType);
			oufip.getModel().setIsCUFilter(true);
			f7.setFilterInfoProducer(oufip);
		}

    /**
     * output storeFields method
     */
    public void storeFields()
    {
		dataBinder.storeFields();
    }

	/**
	 * ????????§µ??
	 */
	protected void registerValidator() {
    	getValidateHelper().setCustomValidator( getValidator() );
		getValidateHelper().registerBindProperty("BusDepProject.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.principal", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.notPrincipalPropor", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.principalPropor", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.bonusAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.totalBonusHalf", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.totalBonusReal", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.directManProjBonus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.contraManProjBonus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.condManProjectBonus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.straManProjectBonus", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.bonusAdjustment", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.bonusAdjustmentDesc", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.initialAllocationRatio1", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.initialAllocationRatio2", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.initialAllocationRatio3", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.busDep", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.type", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.project", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.state", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.secondcenter", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.projectPrincipal", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.seq", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.person", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.position", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.indivBonusAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.bonusProportion", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.attendanceRate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.functionCoefficient", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.energyInputCoeff", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.grade", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.rankCoefficient", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.performanceGradeQ1", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.performanceGradeQ2", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.performanceCoeffQ1", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.performanceCoeffQ2", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.assessmentCoeff", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.cumulative", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.remarks", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.bonusDueDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.bonusStartingDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.initialProportion", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.bonusSubcontract", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.approvalAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.adjustmentDesc", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("BusDepProject.AssPersonnelDetail.opinionAmount", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("creator", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("createTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateUser", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("lastUpdateTime", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("number", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("bizDate", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("description", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("auditor", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("cycleName", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("state", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("name", ValidateHelper.ON_SAVE);    
		getValidateHelper().registerBindProperty("reminderContent", ValidateHelper.ON_SAVE);    		
	}



    /**
     * output setOprtState method
     */
    public void setOprtState(String oprtType)
    {
        super.setOprtState(oprtType);
        if (STATUS_ADDNEW.equals(this.oprtState)) {
        } else if (STATUS_EDIT.equals(this.oprtState)) {
        } else if (STATUS_VIEW.equals(this.oprtState)) {
        } else if (STATUS_FINDVIEW.equals(this.oprtState)) {
        }
    }

    /**
     * output getSelectors method
     */
    public SelectorItemCollection getSelectors()
    {
        SelectorItemCollection sic = new SelectorItemCollection();
		String selectorAll = System.getProperty("selector.all");
		if(StringUtils.isEmpty(selectorAll)){
			selectorAll = "true";
		}
    	sic.add(new SelectorItemInfo("BusDepProject.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.*"));
		}
		else{
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.principal.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.principal.id"));
			sic.add(new SelectorItemInfo("BusDepProject.principal.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.principal.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.notPrincipalPropor"));
    	sic.add(new SelectorItemInfo("BusDepProject.principalPropor"));
    	sic.add(new SelectorItemInfo("BusDepProject.bonusAmount"));
    	sic.add(new SelectorItemInfo("BusDepProject.totalBonusHalf"));
    	sic.add(new SelectorItemInfo("BusDepProject.totalBonusReal"));
    	sic.add(new SelectorItemInfo("BusDepProject.directManProjBonus"));
    	sic.add(new SelectorItemInfo("BusDepProject.contraManProjBonus"));
    	sic.add(new SelectorItemInfo("BusDepProject.condManProjectBonus"));
    	sic.add(new SelectorItemInfo("BusDepProject.straManProjectBonus"));
    	sic.add(new SelectorItemInfo("BusDepProject.bonusAdjustment"));
    	sic.add(new SelectorItemInfo("BusDepProject.bonusAdjustmentDesc"));
    	sic.add(new SelectorItemInfo("BusDepProject.initialAllocationRatio1"));
    	sic.add(new SelectorItemInfo("BusDepProject.initialAllocationRatio2"));
    	sic.add(new SelectorItemInfo("BusDepProject.initialAllocationRatio3"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.busDep.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.busDep.id"));
			sic.add(new SelectorItemInfo("BusDepProject.busDep.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.busDep.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.type"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.project.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.project.id"));
			sic.add(new SelectorItemInfo("BusDepProject.project.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.project.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.state"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.secondcenter.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.secondcenter.id"));
			sic.add(new SelectorItemInfo("BusDepProject.secondcenter.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.secondcenter.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.projectPrincipal.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.projectPrincipal.id"));
			sic.add(new SelectorItemInfo("BusDepProject.projectPrincipal.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.projectPrincipal.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.seq"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.id"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.person.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.person.id"));
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.person.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.person.number"));
		}
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.position.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.position.id"));
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.position.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.position.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.indivBonusAmount"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.bonusProportion"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.attendanceRate"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.functionCoefficient"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.energyInputCoeff"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.grade.*"));
		}
		else{
	    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.grade.id"));
			sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.grade.name"));
        	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.grade.number"));
		}
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.rankCoefficient"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.performanceGradeQ1"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.performanceGradeQ2"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.performanceCoeffQ1"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.performanceCoeffQ2"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.assessmentCoeff"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.cumulative"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.remarks"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.bonusDueDate"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.bonusStartingDate"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.initialProportion"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.bonusSubcontract"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.approvalAmount"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.adjustmentDesc"));
    	sic.add(new SelectorItemInfo("BusDepProject.AssPersonnelDetail.opinionAmount"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("creator.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("creator.id"));
        	sic.add(new SelectorItemInfo("creator.number"));
        	sic.add(new SelectorItemInfo("creator.name"));
		}
        sic.add(new SelectorItemInfo("createTime"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("lastUpdateUser.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("lastUpdateUser.id"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.number"));
        	sic.add(new SelectorItemInfo("lastUpdateUser.name"));
		}
        sic.add(new SelectorItemInfo("lastUpdateTime"));
        sic.add(new SelectorItemInfo("number"));
        sic.add(new SelectorItemInfo("bizDate"));
        sic.add(new SelectorItemInfo("description"));
		if(selectorAll.equalsIgnoreCase("true"))
		{
			sic.add(new SelectorItemInfo("auditor.*"));
		}
		else{
        	sic.add(new SelectorItemInfo("auditor.id"));
        	sic.add(new SelectorItemInfo("auditor.number"));
        	sic.add(new SelectorItemInfo("auditor.name"));
		}
        sic.add(new SelectorItemInfo("cycleName"));
        sic.add(new SelectorItemInfo("state"));
        sic.add(new SelectorItemInfo("name"));
        sic.add(new SelectorItemInfo("reminderContent"));
        return sic;
    }        
    	

    /**
     * output actionSubmit_actionPerformed method
     */
    public void actionSubmit_actionPerformed(ActionEvent e) throws Exception
    {
        super.actionSubmit_actionPerformed(e);
    }
    	

    /**
     * output actionPrint_actionPerformed method
     */
    public void actionPrint_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
    	if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.print(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
    	

    /**
     * output actionPrintPreview_actionPerformed method
     */
    public void actionPrintPreview_actionPerformed(ActionEvent e) throws Exception
    {
        ArrayList idList = new ArrayList();
        if (editData != null && !StringUtils.isEmpty(editData.getString("id"))) {
    		idList.add(editData.getString("id"));
    	}
        if (idList == null || idList.size() == 0 || getTDQueryPK() == null || getTDFileName() == null)
            return;
        com.kingdee.bos.ctrl.kdf.data.impl.BOSQueryDelegate data = new com.kingdee.eas.framework.util.CommonDataProvider(idList,getTDQueryPK());
        com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper appHlp = new com.kingdee.bos.ctrl.report.forapp.kdnote.client.KDNoteHelper();
        appHlp.printPreview(getTDFileName(), data, javax.swing.SwingUtilities.getWindowAncestor(this));
    }
	public RequestContext prepareActionSubmit(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionSubmit(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionSubmit() {
    	return false;
    }
	public RequestContext prepareActionPrint(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrint(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrint() {
    	return false;
    }
	public RequestContext prepareActionPrintPreview(IItemAction itemAction) throws Exception {
			RequestContext request = super.prepareActionPrintPreview(itemAction);		
		if (request != null) {
    		request.setClassName(getUIHandlerClassName());
		}
		return request;
    }
	
	public boolean isPrepareActionPrintPreview() {
    	return false;
    }

    /**
     * output getMetaDataPK method
     */
    public IMetaDataPK getMetaDataPK()
    {
        return new MetaDataPK("com.kingdee.eas.custom.projectbonus.client", "BonusCycleEditUI");
    }
    /**
     * output isBindWorkFlow method
     */
    public boolean isBindWorkFlow()
    {
        return true;
    }

    /**
     * output getEditUIName method
     */
    protected String getEditUIName()
    {
        return com.kingdee.eas.custom.projectbonus.client.BonusCycleEditUI.class.getName();
    }

    /**
     * output getBizInterface method
     */
    protected com.kingdee.eas.framework.ICoreBase getBizInterface() throws Exception
    {
        return com.kingdee.eas.custom.projectbonus.BonusCycleFactory.getRemoteInstance();
    }

    /**
     * output createNewData method
     */
    protected IObjectValue createNewData()
    {
        com.kingdee.eas.custom.projectbonus.BonusCycleInfo objectValue = new com.kingdee.eas.custom.projectbonus.BonusCycleInfo();
        objectValue.setCreator((com.kingdee.eas.base.permission.UserInfo)(com.kingdee.eas.common.client.SysContext.getSysContext().getCurrentUser()));		
        return objectValue;
    }


    	protected String getTDFileName() {
    	return "/bim/custom/projectbonus/BonusCycle";
	}
    protected IMetaDataPK getTDQueryPK() {
    	return new MetaDataPK("com.kingdee.eas.custom.projectbonus.app.BonusCycleQuery");
	}
    

    /**
     * output getDetailTable method
     */
    protected KDTable getDetailTable() {
        return kdtBusDepProject;
	}
    /**
     * output applyDefaultValue method
     */
    protected void applyDefaultValue(IObjectValue vo) {        
		vo.put("state",new Integer(1));
        
    }        
	protected void setFieldsNull(com.kingdee.bos.dao.AbstractObjectValue arg0) {
		super.setFieldsNull(arg0);
		arg0.put("number",null);
	}

}