接着篇幅2,我们现在要该设计一个启用期间管理了,启用期间管理,主要为方便管理,比如一些历史的单据,不允许他反审核去修改,作假。也不允许操作者在录入以前历史的单据。
期间管理我们框架提供了一个期间表,这个表里面的表结构大家可以看jzCurrentPeriod这个表。
期间设置界面我们设置成如下:
启用期间一览表设置成如下,
点击上面的启用设置,弹出第一个界面,初始的时候这个一览表数据只有我们创建开发库时候的启用日期数据。
我们要弹出界面,利用的Base.ShowForm,第一个参数就是界面的ID,我们这里用枚举ID来解决,这样只要记得界面的名称就可以很简单,爱跳哪个界面就跳哪个界面。
/// <summary>
/// 启用期间一览表
/// </summary>
class SetList : Jeez.Runtime.Base.General.frmList
{
/// <summary>
/// 重载菜单事件
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
/// <param name="Tool"></param>
public override void ResponseMenuToolClickEvent(object sender, Infragistics.Win.UltraWinToolbars.ToolClickEventArgs e, object Tool)
{
Jeez.FormProperty.JeezTool tool = Tool as Jeez.FormProperty.JeezTool;
if (tool == null) return;
switch (tool.Name)
{
case "toolInit":
InitSet frm = base.ShowForm(EntityFormIDEnum.期间启用设置1) as InitSet;
frm.Visible = false;
frm.CallerForm = this;
frm.ShowDialog();
break;
default:
base.ResponseMenuToolClickEvent(sender, e, Tool);
break;
}
}
}
/// <summary>
/// 启用设置
/// </summary>
class InitSet : Jeez.Runtime.Base.General.GeneralUI
{
Jeez.Control.JeezUltraComboEditor.JeezUltraComboEditor cboOrg;
Jeez.Control.UltraButton.JeezUltraButton btnOK;
Jeez.Control.JeezNumberTextBox.JeezNumberTextBox txtYear;
Jeez.Control.JeezNumberTextBox.JeezNumberTextBox txtMonth;
public override bool LoadUI()
{
bool b = base.LoadUI();
if (b)
{
cboOrg = base.GetControlByName("cboOrg") as Jeez.Control.JeezUltraComboEditor.JeezUltraComboEditor;
btnOK = base.GetControlByName("btnSet") as Jeez.Control.UltraButton.JeezUltraButton;
txtYear = base.GetControlByName("txtYear") as Jeez.Control.JeezNumberTextBox.JeezNumberTextBox;
txtMonth = base.GetControlByName("txtMonth") as Jeez.Control.JeezNumberTextBox.JeezNumberTextBox;
btnOK.Click += new EventHandler(btnOK_Click);
}
return b;
}
protected override void GereralUI_Load(object sender, EventArgs e)
{
base.GereralUI_Load(sender, e);
EntityObjectList eol = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.CurrentPeriod).Find("isStart={0} and SystemName={1}", true, "通用企业ERP");
EntityObjectList eolOrg = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.Organization).FindAllObjects();
ArrayList arr = new ArrayList();
foreach (EntityObject eo in eolOrg)
{
if (eol.FindFirst("OrganizationID={0}", eo.PrimaryKeyValue) != null)
arr.Add(eo);
}
foreach (EntityObject eo in arr)
{
eolOrg.Remove(eo);
}
BaseFunc.FillCboValue(objContext, cboOrg, eolOrg);
txtYear.PropertyPage.Value = DateTime.Today.Year;
txtMonth.PropertyPage.Value = DateTime.Today.Month;
}
void btnOK_Click(object sender, EventArgs e)
{
if (cboOrg.SelectedItem == null)
{
Jeez.Common.UI.MsgBox.Inform("请选择要启用的组织机构");
return;
}
EntityObject eo = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.CurrentPeriod).FindFirst("OrganizationID={0} and SystemName={1}", cboOrg.SelectedItem.DataValue, "通用企业ERP");
if (eo != null)
{
Jeez.Common.UI.MsgBox.Inform("所选择的组织机构已经启用,不能重复启用");
return;
}
EntityObjectFactory eof = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.CurrentPeriod);
if (txtYear.PropertyPage.Value < 1799 || txtMonth.PropertyPage.Value == 0)
{
Jeez.Common.UI.MsgBox.Inform("请设置启用年度期间");
return;
}
if (Jeez.Common.UI.MsgBox.Confirm(string.Format("是否确认启用组织机构{0}", cboOrg.SelectedItem.DisplayText)))
{
eo = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.CurrentPeriod).CreateObject();
eo.SetProperty("OrganizationID", cboOrg.SelectedItem.DataValue);
eo.SetProperty("Year", txtYear.PropertyPage.Value);
eo.SetProperty("Period", txtMonth.PropertyPage.Value);
eo.SetProperty("isStart", true);
eo.SetProperty("SystemName", "通用企业ERP");
eo = EntityObjectFactory.GetInstance(objContext, EntityIDEnum.CurrentPeriod).CreateObject();
eo.SetProperty("OrganizationID", cboOrg.SelectedItem.DataValue);
eo.SetProperty("Year", txtYear.PropertyPage.Value);
eo.SetProperty("Period", txtMonth.PropertyPage.Value);
eo.SetProperty("isStart", false);
eo.SetProperty("SystemName", "通用企业ERP");
try
{
objContext.SaveChanges();
Jeez.Core.GlobalCache.AddDirtyEntity(eof.EntityMap, objContext);
objContext.Clear();
Jeez.Common.UI.MsgBox.Inform(string.Format("启用成功"));
this.Close();
Jeez.Runtime.Base.General.frmList f = this.CallerForm as Jeez.Runtime.Base.General.frmList;
if (f != null)
f.RefreshMe();
}
catch (Exception exp)
{
Jeez.Common.UI.MsgBox.Inform(string.Format("启用失败:{0}", exp.Message));
this.Close();
}
}
}
}
两个枚举类代码:
/// <summary> /// 界面ID枚举,可以用下面sql实现 /// select 'public const int '+Name+convert(varchar(20),Type)+'=' + convert(varchar(20),JeezUIMainContainerID) +';' from jzUIMainContainer where Name<>'' ///Type=1表示通用单据,2表示单据,3表示一览表 /// </summary> public class EntityFormIDEnum { public const int 组织机构2 = 10; public const int 组织机构3 = 11; public const int 用户管理1 = 13; public const int 角色管理1 = 14; public const int 辅助资料2 = 18; public const int 职员2 = 20; public const int 职员3 = 23; public const int 辅助资料3 = 40; public const int 业务编码规则设置3 = 320; public const int 系统参数设置2 = 327; public const int 上机日志3 = 423; public const int 工作流定义一览表3 = 430; public const int 新增工作流定义1 = 431; public const int 数据导入1 = 437; public const int 工作流实例一览表3 = 440; public const int 工作流实例审批意见一览表3 = 441; public const int 流程催办2 = 442; public const int 任务转发2 = 443; public const int 工作流实例5 = 445; public const int 我的工作台2 = 446; public const int 收发文2 = 447; public const int 注册服务2 = 449; public const int 外部邮件配置2 = 450; public const int 外部邮件设置3 = 451; public const int 新增车辆2 = 452; public const int 新增车辆维护2 = 453; public const int 单位车辆信息一览表3 = 454; public const int 单位车辆维护信息一览表3 = 455; public const int 新增会议室2 = 456; public const int 单位会议室一览表3 = 457; public const int 新增图书登记2 = 463; public const int 单位图书信息一览表3 = 465; public const int 车辆申请2 = 469; public const int 车辆归还2 = 470; public const int 会议室申请2 = 494; public const int 借用归还2 = 496; public const int 图书借阅归还2 = 497; public const int 单位会议室使用明细表3 = 499; public const int 通讯录3 = 503; public const int 个人通讯录2 = 504; public const int 新增单位通告2 = 509; public const int 发布通告3 = 510; public const int 单位通告4 = 512; public const int 单位通告详情2 = 513; public const int 收发文一览表3 = 518; public const int 单位车辆使用申请信息一览表3 = 519; public const int 单位图书借阅明细一览表3 = 520; public const int 我的申请4 = 527; public const int 已办事宜4 = 528; public const int 收件箱3 = 529; public const int 发件箱3 = 530; public const int 币别3 = 599; public const int 自定义报表一览表3 = 602; public const int 普通报表定义1 = 603; public const int 新增过滤参数2 = 612; public const int 过滤参数一览表3 = 613; public const int SQL报表主过滤界面5 = 615; public const int 新增自定义报表1 = 663; public const int 高级报表定义1 = 672; public const int 部门2 = 693; public const int 部门3 = 694; public const int 生成用户2 = 769; public const int 币别2 = 1000540; public const int 会计期间设置2 = 1000563; public const int 单据自定义2 = 1000571; public const int 单据字段自定义3 = 1000572; public const int 角色管理3 = 1000595; public const int 用户管理3 = 1000596; public const int 角色组2 = 1000597; public const int 用户组2 = 1000598; public const int 角色2 = 1000599; public const int 用户2 = 2270083; public const int 业务编码规则设置2 = 2270089; public const int 打印设置1 = 2270137; public const int 工作流监控1 = 2270197; public const int 我的申请3 = 2270209; public const int 监控流程3 = 2270213; public const int 结算账号2 = 2270221; public const int 结算账号3 = 2270222; public const int 文件2 = 2270268; public const int 文件夹2 = 2270269; public const int 个人文档3 = 2270270; public const int 公司文档3 = 2270272; public const int 设置权限1 = 2270273; public const int 车辆信息3 = 2270305; public const int 流程处理中的车辆4 = 2270306; public const int 图书信息3 = 2270307; public const int 流程处理中的图书4 = 2270308; public const int 会议室1 = 2270309; public const int 会议室信息3 = 2270310; public const int 用户自定义界面2 = 2270576; public const int 发起流程3 = 2270578; public const int 共享文档3 = 2270923; public const int 共享文件柜1 = 2270924; public const int 工作流授权2 = 2271177; public const int 物料替换1 = 2271500; public const int 可发短信数设置2 = 2271610; public const int 可发短信数设置3 = 2271612; public const int 短信接口配置1 = 2271706; public const int 更改短信接口密码1 = 2271707; public const int 新增邮件群组2 = 2271958; public const int 邮件群组一览表3 = 2271959; public const int 签报2 = 2272014; public const int 签报一览表3 = 2272015; public const int 消息中心2 = 2272018; public const int 最新通告2 = 2272019; public const int 收件箱2 = 2272020; public const int 发件箱2 = 2272021; public const int 已删除邮件2 = 2272022; public const int 发起流程2 = 2272023; public const int 我的申请2 = 2272024; public const int 待办事宜2 = 2272025; public const int 已办事宜2 = 2272026; public const int 流程监控2 = 2272027; public const int 个人文档2 = 2272028; public const int 公共文档2 = 2272029; public const int 已收短信2 = 2272030; public const int 已发短信2 = 2272031; public const int 日程安排2 = 2272032; public const int 车辆信息2 = 2272033; public const int 会议室2 = 2272034; public const int 图书信息2 = 2272035; public const int 已删除短信2 = 2272036; public const int 通讯录2 = 2272037; public const int 按组织参数定义1 = 2272194; public const int 借阅申请2 = 2272497; public const int 公共文档3 = 2272498; public const int 借阅申请记录3 = 2272499; public const int 发文2 = 2272632; public const int 收文2 = 2272633; public const int 费用报销单2 = 2272634; public const int 费用报销单一览3 = 2272635; public const int 问题反馈2 = 2272641; public const int 文件传阅2 = 2272652; public const int 文件传阅一览表3 = 2272654; public const int 请示报告2 = 2272730; public const int 请示报告一览表3 = 2272731; public const int 费用报销类型2 = 2272749; public const int 费用报销类型3 = 2272750; public const int 借款申请单2 = 2272752; public const int 借款申请单一览表3 = 2272754; public const int 差旅费报销单2 = 2272755; public const int 差旅费报销一览表3 = 2272756; public const int 工作流服务组2 = 2272762; public const int 辅助资料分组2 = 2272765; public const int 现金提取审批单2 = 2272775; public const int 现金提取审批单一览表3 = 2272776; public const int 我的计划3 = 2272997; public const int 我的计划2 = 2272998; public const int 我的日志2 = 2273000; public const int 即时通讯1 = 2273001; public const int 制订计划2 = 2273004; public const int 日志2 = 2273006; public const int 我的日志3 = 2273007; public const int 计划权限1 = 2273013; public const int 证照借用2 = 2273025; public const int 证照信息2 = 2273026; public const int 证照退还2 = 2273027; public const int 证照信息一览表3 = 2273028; public const int 证照借用一览表3 = 2273029; public const int 证照退还一览表3 = 2273030; public const int 银行2 = 2273063; public const int 银行3 = 2273064; public const int 日志过滤5 = 2273266; public const int 物料组新增2 = 1000000001; public const int 物料组一览表3 = 1000000002; public const int 当前期间2 = 1000000004; public const int 当前期间一览表3 = 1000000005; public const int 物料新增2 = 1000000006; public const int 计量单位新增2 = 1000000008; public const int 计量单位一览表3 = 1000000009; public const int 物料一览表3 = 1000000010; public const int 仓库新增2 = 1000000011; public const int 仓库一览表3 = 1000000012; public const int 物料BOM新增2 = 1000000013; public const int 物料BOM一览表3 = 1000000014; public const int 往来单位新增2 = 1000000016; public const int 往来单位一览表3 = 1000000017; public const int 期间启用设置1 = 1000000018; public const int 启用设置一览表3 = 1000000019; } /// <summary> /// 实体ID枚举,可以用SQL: /// select 'public const int '+ClassName + '=' + convert(varchar(20),EntityID) +';' from jzMetaData_DataEntity where ClassName<>'' --order by EntityID desc /// 生成下面所有的代码 /// </summary> public class EntityIDEnum { public const int DataEntity = 10; public const int DataEntityCol = 11; public const int BaseDataType = 12; public const int DataTypeNative = 14; public const int BuiltInFieldType = 16; public const int Language = 18; public const int SysUser = 38; public const int JeezUIContainerGroup = 87; public const int JeezUIMainContainer = 88; public const int JeezUISubContainer = 89; public const int JeezUIControl = 90; public const int JeezSysModuleName = 93; public const int JeezUIMainContainerProperty = 140; public const int JeezUISubContainerProp = 141; public const int JeezControlProp = 142; public const int FilterSchema = 144; public const int MasterFilter = 145; public const int FilterField = 146; public const int GridColProperty = 147; public const int SortField = 148; public const int ShowField = 149; public const int BaseData_Name = 150; public const int BusinessObject = 153; public const int MetaData_Entity = 154; public const int PrintPageProp = 158; public const int CheckBase = 161; public const int BillBusinessObject = 164; public const int SysRole = 168; public const int UserRole = 169; public const int Access = 170; public const int RoleAccess = 171; public const int BaseOrganise = 190; public const int PersonnelBase = 191; public const int AssistData = 192; public const int OrganiseType = 193; public const int EmployeeType = 196; public const int Sex = 197; public const int Degree = 198; public const int Duty = 204; public const int Employee = 223; public const int InnerPersonnelBase = 226; public const int PersonnelRelation = 288; public const int Organization = 392; public const int SystemProfile = 414; public const int Check = 419; public const int SettleType = 422; public const int MulEntityInputSort = 495; public const int BaseDataGroup = 497; public const int EmployeePost = 526; public const int VehicleType = 533; public const int AccessoriesEntry = 593; public const int Accessories = 594; public const int AccessoriesContent = 597; public const int SystemProfileGroup = 599; public const int BaseData_Number = 651; public const int BaseData_NumberName = 652; public const int ExtBillBusinessObject = 673; public const int BusiFlowArrow = 674; public const int NotePrintTemplet = 680; public const int NotePrintCol = 681; public const int BusiCodeRule = 688; public const int BillWithAutoNO = 692; public const int Messages = 697; public const int TempTable = 702; public const int Bank = 703; public const int ClientComConfg = 717; public const int ClientSysModule = 718; public const int JeezUIMainMultiViewSet = 722; public const int CurrentPeriod = 729; public const int OperationLog = 745; public const int NotePrintSetup = 751; public const int wfWorkflowService = 758; public const int wfWorkflow = 759; public const int wfWorkflowInstance = 763; public const int ImportScheme = 765; public const int ImportRule = 766; public const int wfStatus = 767; public const int wfEvent = 768; public const int wfAcitvityInstance = 770; public const int wfActivitySatusEvent = 771; public const int wfInstanceEvent = 772; public const int ArrangeField = 773; public const int ApproveStatus = 777; public const int wfApproveOpinion = 786; public const int wfActivityApprove = 788; public const int wfServiceEntity = 789; public const int wfActivityOutput = 790; public const int wfVariable = 791; public const int wfActivityPropertyDef = 792; public const int wfSourceUser = 793; public const int wfActivityActor = 794; public const int wfWorkflowCondition = 795; public const int wfAction = 799; public const int JeezNoVisbleFuncSet = 800; public const int JeezSysmoduleType = 801; public const int FileManagement = 809; public const int oaFolder = 810; public const int oaFolderRight = 811; public const int oaFile = 812; public const int SelfDefineForm = 820; public const int FieldType = 821; public const int UserEMail = 824; public const int OACar = 826; public const int VehicleSate = 827; public const int VehicleMaintenanceType = 828; public const int CarMaintenance = 829; public const int BookType = 831; public const int MettingRoom = 832; public const int OABook = 841; public const int wfActivityUIControl = 844; public const int OACarRequest = 849; public const int wfActivity = 872; public const int MettingRoomRequest = 874; public const int BookBorrow = 875; public const int PersonalAddressListGroup = 879; public const int PersonalAddressList = 880; public const int oaCompanyAnnounce = 881; public const int OAMeetingRoomResource = 882; public const int oaImportance = 883; public const int oaDispatchFileType = 885; public const int wfMyApplications = 893; public const int smsSend = 901; public const int smsReceive = 902; public const int smsStack = 903; public const int BaseData_MultiNumber = 929; public const int BaseData_MultiNumberName = 930; public const int DataControl = 933; public const int CustomReport = 948; public const int FilterParamter = 949; public const int ClassID = 978; public const int ReportFormulaCategory = 991; public const int ReportFormula = 992; public const int DepartMent = 996; public const int EmployeeBank = 1006; public const int MarryState = 1009; public const int EmployeeLevel = 1010; public const int CompanyEmployeeLevel = 1011; public const int NetControl = 1020; public const int wfAdminUser = 1021; public const int CertificateType = 1027; public const int FieldControl = 1035; public const int Industry = 2000941; public const int Region = 2000943; public const int DepartmentProp = 2000959; public const int CustomerGrade = 2000960; public const int DepartmentLink = 2000984; public const int FinancePeriodDefine = 2000986; public const int CurrencyRateCalcType = 2000987; public const int BaseDataSelfDefine = 2000995; public const int BaseDataSeflDefProp = 2000996; public const int BusinessObjectDetail = 2001005; public const int BusiCodeNumber = 2001009; public const int UIStyleSet = 2270110; public const int wfChildWorkflow = 2270121; public const int wfChildWorkflowActor = 2270122; public const int SettleAccount = 2270128; public const int ReleaseSchema = 2270158; public const int OrgSystemProfile = 2270253; public const int ResourceList = 2270337; public const int CustomMultiLangValue = 2270341; public const int ResourceNamespace = 2270343; public const int ResourceSource = 2270344; public const int TableSplit = 2270483; public const int EmployeeChange = 2270484; public const int SharedFolder = 2270486; public const int SharedFolderRight = 2270487; public const int SMSBusiCode = 2270523; public const int QQMessage = 2270546; public const int ResponseMessage = 2270547; public const int QQMessageBase = 2270548; public const int wfAuthorized = 2270601; public const int wfFieldMustIn = 2270651; public const int BillPrintTimes = 2270656; public const int Nation = 2270736; public const int Polity = 2270737; public const int HealthStatus = 2270738; public const int EmpolyeeDegree = 2270739; public const int Specialty = 2270740; public const int ForeignLanguage = 2270741; public const int ForeignLevel = 2270742; public const int SourceUserRole = 2270743; public const int EmployeeStudy = 2270744; public const int EmployeeWork = 2270745; public const int EmployeeRelation = 2270746; public const int EmployeeSkill = 2270747; public const int EmployeePact = 2270748; public const int PactState = 2270749; public const int PactProperty = 2270750; public const int PactRelieveType = 2270756; public const int TransferType = 2270762; public const int HRHolidayType = 2270767; public const int JiabanType = 2270784; public const int TimeMachineType = 2270789; public const int TimeRecordState = 2270813; public const int NoteQuantitySet = 2270822; public const int ArrivalLocation = 2270826; public const int EmpStatus = 2270864; public const int PostType = 2270938; public const int EmpPact = 2270947; public const int PersonalIdentity = 2270949; public const int TrainOrganizationType = 2270955; public const int TrainType = 2270956; public const int TrainStatus = 2270975; public const int CurHangye = 2271002; public const int Relation = 2271003; public const int JinengDegree = 2271043; public const int MailGroup = 2271094; public const int MailGroupEmployee = 2271095; public const int MailGroupCustomer = 2271096; public const int MailGroupRelate = 2271097; public const int Calendar = 2271098; public const int DeletedEMail = 2271099; public const int CompanyAnnounceRead = 2271100; public const int CompanyAnnounceOrg = 2271101; public const int Affix = 2271156; public const int MyAffixType = 2271157; public const int DeletedSmsMsg = 2271158; public const int ReleaseImportScheme = 2271187; public const int Employee_History = 2271205; public const int SalaryLevel = 2271224; public const int SystemProfileByOrg = 2271269; public const int SchoolType = 1000000004; public const int CreateType = 1000000005; public const int School = 1000000006; public const int Grade = 1000000007; public const int Class = 1000000008; public const int Teacher = 1000000009; public const int ClassManage = 1000000010; public const int Student = 1000000011; public const int HukouType = 1000000012; public const int RuxueType = 1000000013; public const int StudentType = 1000000014; public const int LiushouType = 1000000015; public const int JiatingInfo = 1000000016; public const int Subject = 1000000017; public const int JiangliInfo = 1000000018; public const int PriceDegree = 1000000019; public const int PriceDengji = 1000000020; public const int ChufenType = 1000000021; public const int StudentLiuji = 1000000022; public const int TeacherSubject = 1000000023; public const int GetType = 1000000024; public const int ShenfenType = 1000000025; public const int TeacherZigeType = 1000000026; public const int SchoolDepartMent = 1000000027; public const int ComputerDegree = 1000000028; public const int StudentCF = 1000000029; public const int StudentTiaoji = 1000000030; public const int StudentTiaoban = 1000000031; public const int StudentCarrer = 1000000032; public const int StudentZizu = 1000000033; public const int PinkunType = 1000000034; public const int StudentXiuxue = 1000000035; public const int StudentTuixue = 1000000036; public const int StudentDeath = 1000000038; public const int StudentZhuanxue = 1000000039; public const int StudentStatue = 1000000040; public const int ExamName = 1000000043; public const int ExamSubject = 1000000044; public const int CommentType = 1000000045; public const int CommantContent = 1000000046; public const int StudentCommant = 1000000047; public const int SystemParam = 1000000049; public const int Score = 1000000051; public const int NScore = 1000000052; public const int SingleSort = 1000000053; public const int AllSort = 1000000054; public const int TotalSort = 1000000055; public const int ProductType = 1000000060; public const int HangyeType = 1000000061; public const int YewuSource = 1000000062; public const int YewuStatue = 1000000063; public const int FCustomerLevel = 1000000064; public const int CCustomerStatue = 1000000065; public const int CCustomerSource = 1000000066; public const int DelegateType = 1000000068; public const int City = 1000000070; public const int Area = 1000000071; public const int FBuild = 1000000072; public const int FHouseType = 1000000073; public const int FUseType = 1000000074; public const int ExchangeType = 1000000075; public const int FHouseStatue = 1000000076; public const int FHouseSource = 1000000077; public const int ChanquanType = 1000000078; public const int ZhengjianType = 1000000079; public const int FPayType = 1000000081; public const int FuyongType = 1000000082; public const int HouseNowStatu = 1000000083; public const int ZhuangxiuType = 1000000084; public const int Chaoxiang = 1000000086; public const int Neiqiang = 1000000087; public const int Waiqiang = 1000000088; public const int GenjinType = 1000000089; public const int FBuildType = 1000000090; public const int Baoshuifei = 1000000091; public const int FHouse = 1000000092; public const int FShuilv = 1000000094; public const int FCustomer = 1000000095; public const int HouseSourceGenjin = 1000000096; public const int HouseSourceShare = 1000000097; public const int FCustomerShare = 1000000098; public const int FCustomerGenjin = 1000000099; public const int FSignPact = 1000000102; public const int FSignPactDetail = 1000000103; public const int SEmployee = 1000000104; public const int jiliangdanwei = 1000000105; public const int SaleArea = 1000000107; public const int Pijiupinzong = 1000000108; public const int SaleDay = 1000000109; public const int UnitGroup = 1000000110; public const int CustomerArea = 1000000111; public const int GCustomer = 1000000112; public const int Gongyingshang = 1000000113; public const int WareNew = 1000000114; public const int MaterialGroup = 1000000115; public const int Material = 1000000116; public const int CunliangManage = 1000000117; public const int Term = 1000000118; public const int NSingleSort = 1000000120; public const int NAllSort = 1000000121; public const int NTotalSort = 1000000122; public const int CGSQBill = 1000000124; public const int CGSQDetail = 1000000125; public const int CGBill = 1000000126; public const int CGDetail = 1000000127; public const int ShouliaoBill = 1000000129; public const int SLDetail = 1000000130; public const int CGRKBill = 1000000131; public const int CGRKDetail = 1000000132; public const int CGFPBill = 1000000133; public const int CGFPDetail = 1000000134; public const int XiaoshouBill = 1000000136; public const int XSDetail = 1000000137; public const int FahuoBill = 1000000138; public const int FHDetail = 1000000139; public const int XSCKBill = 1000000140; public const int XSCKDetail = 1000000141; public const int XSFapiaoBill = 1000000142; public const int XSFapiaoDetail = 1000000143; public const int WgRukuBill = 1000000145; public const int WGRKDetail = 1000000146; public const int SCLLBill = 1000000147; public const int SCLLDetail = 1000000148; public const int CKDBBill = 1000000149; public const int CKDBDetail = 1000000150; public const int PankuiPanyingBill = 1000000151; public const int PKPYDetail = 1000000152; public const int OtherCRKBill = 1000000153; public const int OtherCRKDetail = 1000000154; public const int NowKucun = 1000000155; public const int ZulinGangcaiType = 1000000157; public const int ZulinQicai = 1000000158; public const int GangchaiZulinBill = 1000000159; public const int ZulinDetail = 1000000160; public const int BaojiaBill = 1000000161; public const int MoneyType = 1000000162; public const int BaojiaDetail = 1000000163; public const int ClassKebiao = 1000000164; public const int SongHuoBill = 1000000165; public const int SonghuoDetail = 1000000166; public const int ProductBill = 1000000168; public const int ProductDetail = 1000000169; public const int DayangRecord = 1000000170; public const int WorkJingli = 1000000171; public const int TJiangchengInfo = 1000000172; public const int ClassRoom = 1000000173; public const int ExamStudentWeizhi = 1000000174; public const int Quyu = 1000000175; public const int StudentFuxue = 1000000176; public const int SystemPeizhi = 1000000177; public const int TermPaikePlan = 1000000179; public const int PaikeClass = 1000000180; public const int SubjectJieshu = 1000000181; public const int TeacherRenwu = 1000000182; public const int TeacherRenwuDetail = 1000000183; public const int JiaofeiType = 1000000186; public const int StudentJiaofei = 1000000187; public const int StudentJiaofeiDetail = 1000000188; public const int StudentJiaofeiBill = 1000000189; public const int StudentJiaofeiBillDetail = 1000000190; public const int TeacherJiangCheng = 1000000192; public const int TeacherDiaodong = 1000000193; public const int TeacherLizhi = 1000000194; public const int TeacherFuzhi = 1000000195; public const int Diqu = 1000000199; public const int Model = 1000000200; public const int WanglaiType = 1000000201; public const int FeiyongType = 1000000202; public const int WLUnit = 1000000203; public const int MGongyingshang = 1000000204; public const int MCustomer = 1000000205; public const int CKType = 1000000206; public const int MWareHouse = 1000000207; public const int MMaterial = 1000000208; public const int MBom = 1000000209; public const int MBomDetail = 1000000210; public const int MDKucun = 1000000211; public const int ShangpinType = 1000000213; public const int DoorCGBill = 1000000214; public const int CGMaterDetail = 1000000215; public const int DoorCGRKBill = 1000000217; public const int DoorCGRKDetail = 1000000218; public const int DoorCGBaojiaBill = 1000000220; public const int GFBJDDetail = 1000000221; public const int DoorCGTuihuoBill = 1000000222; public const int DoorCGTKDetail = 1000000223; public const int DoorCGFKBill = 1000000224; public const int DoorCGFKDetail = 1000000225; public const int CaigouType = 1000000226; public const int Jiaoyitiaojian = 1000000227; public const int DoorLingliaoBill = 1000000230; public const int DoorLingliaoDetail = 1000000231; public const int DoorCKPandian = 1000000232; public const int DoorPDDetail = 1000000233; // // public const int AttachList = 1000000013; public const int MailList = 1000000014; public const int MailServer = 1000000015; public const int MailSendBill = 1000000016; public const int MailSendDetail = 1000000017; public const int CountryMail = 1000000018; public const int CountryHoliday = 1000000019; public const int HolidayDetail = 1000000020; public const int Remark = 1000000022; public const int MeasureUnit = 1000000026; public const int WHQuantity = 1000000027; public const int Warehouse = 1000000028; public const int RelatedOrg = 1000000029; public const int WareHouseBill = 1000000030; public const int InOrOut = 1000000031; public const int InOutType = 1000000032; public const int WHBillDetail = 1000000033; public const int WHCurrentQty = 1000000034; public const int SalaryYearMonth = 1000000037; public const int SalaryCalItem = 1000000038; public const int SalaryExItem = 1000000039; public const int SalaryDate = 1000000040; public const int SalarySchem = 1000000041; public const int AddSalary = 1000000042; public const int OtherFee = 1000000043; public const int CheckSchem = 1000000044; public const int CheckDate = 1000000045; public const int SendTimes = 1000000046; public const int InstallSFStand = 1000000047; public const int InstallDetail = 1000000048; public const int JizhangKemu = 1000000049; public const int RichangJizhangReport = 1000000050; public const int JizhangReportItem = 1000000051; public const int JizhangReportField = 1000000052; public const int ReportFieldType = 1000000055; public const int JizhangReportData = 1000000056; public const int Companey = 1000000059; public const int ColorType = 1000000060; public const int SizeType = 1000000061; public const int BrandType = 1000000062; public const int HolidayType = 1000000065; public const int HolidayDefine = 1000000066; // public const int ClassKebiao = 1000000164; public const int JiangchengInfo = 1000000078; public const int TeacherDegree = 1000000086; public const int Minzu = 1000000087; public const int ProjectType = 1000000088; public const int BookWenxianType = 1000000090; public const int BookZDType = 1000000093; public const int BookCBSType = 1000000094; public const int BookState = 1000000095; public const int BookInfo = 1000000096; public const int BookBorrowBill = 1000000099; public const int BookBorrowDetail = 1000000100; public const int BooksBorrowRecord = 1000000101; public const int BookReturn = 1000000102; public const int BookReturnDetail = 1000000103; public const int MinzuType = 1000000104; public const int BooksFakuanRecord = 1000000105; public const int BooksFakuan = 1000000106; public const int BooksFakuanDetail = 1000000107; public const int SalaryItemType = 1000000115; public const int SalaryItem = 1000000116; public const int SalaryItemCalcDef = 1000000117; public const int EmployeeSalaryCalcStandard = 1000000118; public const int SalaryCalcScheme = 1000000119; public const int OrgSalaryScheme = 1000000120; public const int SalaryCalcHelpItem = 1000000121; public const int SalarySchemeDetail = 1000000122; public const int SalaryCalcData = 1000000124; public const int SalaryHelpCalcData = 1000000125; public const int SalarySumData = 1000000126; public const int SalaryAdjustRecord = 1000000127; public const int FiledType = 1000000128; public const int PutonghuaDegree = 1000000133; public const int TeacherBianzhi = 1000000134; public const int JiafangRecord = 1000000135; public const int JianchengType = 1000000136; // public const int Term = 1000000118; public const int SchoolBuild = 1000000142; public const int SchoolHouse = 1000000143; public const int StudentZhusuBill = 1000000144; public const int SchoolKaoqinType = 1000000145; public const int TeacherKaoqin = 1000000146; public const int StudentKaoqin = 1000000147; public const int HolidayReason = 1000000150; public const int QingjiaType = 1000000152; public const int HolidayBill = 1000000153; public const int XinglongCustomer = 1000000155; public const int PnForCal = 1000000156; public const int SampleForCal = 1000000157; public const int MeasurePartList = 1000000158; public const int SysColorList = 1000000159; public const int RollUnitList = 1000000160; public const int SewWayList = 1000000161; public const int YarnNumList = 1000000162; public const int Supply = 1000000163; public const int LinesForPn = 1000000164; public const int MeasureSew = 1000000165; public const int MeasureSewDetail = 1000000167; public const int BookCard = 1000000168; public const int ScoreEMail = 1000000170; public const int LandType = 1000000171; public const int DanweiType = 1000000172; public const int SchoolDesign = 1000000175; public const int Jianzhuwu = 1000000176; public const int House = 1000000177; public const int ShiyanRoom = 1000000178; public const int ShiyanshiType = 1000000179; public const int YiqiShebei = 1000000180; public const int ActionNotice = 1000000181; public const int AtionNoticeDetail = 1000000182; public const int ScoreNotice = 1000000183; public const int ANTeacherDetail = 1000000185; public const int myAppoint = 1000000186; public const int CompanyAnnounceReadNew = 1000000187; public const int CompanyAnnounceOrgNew = 1000000188; public const int PactShouzu = 1000000223; public const int Account = 1000000003; }
总结:单据界面开发步骤,第一先设计实体,再界面选择自动生成,再定义后台扩展代码。
极致平台开发十大特点:
1. 一个数据库下可以同时进行N套业务系统开发,开发出来的产品可以根据您客户的需要按模块界面组发布,客户想要啥模块就可以给啥模块。而且一个数据库下开发所有功能,当客户需要从你的人力资源增加客户关系管理模块的时候,你只要做个升级包就可以了。解决企业多个业务系统信息孤岛问题。
2. 智能升级功能,当客户从A模块增加B模块的时候,您只需要做一个升级包即可,给客户升级后,客户原来录入的数据不会有影响,而且所有客户端都是智能感应智能升级,大大节省您的部署成本。
3. 工作流套打报表均可以运行时候自定义,比如费用报销单,您100家客户就有一百种费用报销的流程,套打的格式,用我们平台您只需要设计好这个费用报销单,至于哪个客户走什么流程,完全可以让客户自己去定义,而不需要像传统开发那样,提前在开发中设置好,100个客户就维护100套代码。套打也是如此。
4. 支持数据授权,当您开发多组织架构的系统的时候,我们只要业务单据引用组织机构即可,然后组织机构支持数据授权,这样就可以不需要编写任何一行代码就可以做到,组织与组织之间数据彼此隔离,我想给哪个用户看哪个组织的数据只要给这个用户这个组织的数据权限即可。
5. 支持字段授权,对于一些表的核心字段对用户进行屏蔽直接利用我们平台的字段授权功能即可,比如职员薪酬字段进行字段授权,让有的用户在看职员信息的时候,自动隐藏薪酬的数据。这也是无需编写任何一行代码。
6. 单据界面自动生成,我们开发的时候只要设计好实体,也就是传统开发所说的表结构即可,还可以设置哪些字段是必录,可见,不允许重复,在界面生成的时候,会自动生成一个界面,而且这个界面的增删改查是无需写一行代码的,您只要对您特有业务逻辑编码即可,相对传统开发,你代码量可以节省2/3,开发周期缩短2/3
7.一次开发同时具有单机局域互联网三个版本,客户想要单机就给单机想要互联网版就给互联网版。
8.强大的公式引擎,让您可以灵活设计计算类的项目,比如工资,预算。
9.包含强大的各种控件,比如文本控件支持F8调用,编码名称自动带出。Grid控件支持表头过滤,单元格融合,固定列,表格列,表格行各种公式汇总,复合表头,表格宽度可以自己随意调整,而且关闭后会自动记录之前的宽度。还支持表格列随意调整顺序。
10.平台内置很多基础功能,比如权限管理,用户角色管理,还有实施的一些导入导出工具都能帮助客户大大提高一个项目验收进度。
官网:www.jeez.com.cn
平台介绍:www.jeez.com.cn/jbf
平台下载地址:http://www.jeez.com.cn/upfiles/jbfsetuppro.rar
(下载即可有3个月免费试用)
联系电话:13826519021 18988763421 QQ:180315586 420977542 (加我注明极致软件即可)
平台销售经理:李先生
将互联网时代的管理软件做到极致!
==================================================================