package com.kingdee.eas.custom.erp;

import org.apache.log4j.Logger;
import javax.ejb.*;
import java.rmi.RemoteException;
import java.util.Date;

import com.kingdee.bos.*;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.metadata.IMetaDataPK;
import com.kingdee.bos.metadata.rule.RuleExecutor;
import com.kingdee.bos.metadata.MetaDataPK;
//import com.kingdee.bos.metadata.entity.EntityViewInfo;
import com.kingdee.bos.framework.ejb.AbstractEntityControllerBean;
import com.kingdee.bos.framework.ejb.AbstractBizControllerBean;
//import com.kingdee.bos.dao.IObjectPK;
import com.kingdee.bos.dao.IObjectValue;
import com.kingdee.bos.dao.IObjectCollection;
import com.kingdee.bos.service.ServiceContext;
import com.kingdee.bos.service.IServiceContext;
import com.kingdee.eas.custom.erp.util.SynAdminOrgToERPUtils;
import com.kingdee.eas.custom.erp.util.SynPersonToErpUtils;


public class SynPersonToErpFacadeControllerBean extends AbstractSynPersonToErpFacadeControllerBean
{
    private static Logger logger =
        Logger.getLogger("com.kingdee.eas.custom.erp.SynPersonToErpFacadeControllerBean");
    
    
    @Override
    protected void _synPersonToErp(Context ctx, String startDate, String endDate) throws BOSException
    {    	
    	
    	try{
    		logger.info("into synPersonToErp method...");
    		SynPersonToErpUtils.synPersonToErp(ctx, startDate, endDate);
    	}catch(Exception e){
    		logger.error("Å×Òì³££º"+e);
    	}
        return;
    }    
 
    
}