private void Do_Notify(object[] args) { #region 从事件参数中取得当前业务实体 if (args == null || args.Length == 0 || !(args[0] is UFSoft.UBF.Business.EntityEvent)) { return; } BusinessEntity.EntityKey key = ((UFSoft.UBF.Business.EntityEvent)args[0]).EntityKey; if (key == null) { return; } UFIDA.U9.CBO.HR.Department.Department holder = key.GetEntity() as UFIDA.U9.CBO.HR.Department.Department; if (holder == null) { return; } #endregion }
/// <summary> /// Constructor with Full Argument /// </summary> public SalesManDTO(System.Int64 iD, System.DateTime createdOn, System.String createdBy, System.DateTime modifiedOn, System.String modifiedBy, System.Int64 sysVersion, UFIDA.U9.CBO.SCM.Customer.CustomerItem customerItemsID, UFIDA.U9.CBO.HR.Operator.Operators sales, UFIDA.U9.CBO.HR.Department.Department deparment, System.String remark, System.Int32 rowNo) { this.ID = iD; this.CreatedOn = createdOn; this.CreatedBy = createdBy; this.ModifiedOn = modifiedOn; this.ModifiedBy = modifiedBy; this.SysVersion = sysVersion; this.CustomerItemsID = customerItemsID; this.Sales = sales; this.Deparment = deparment; this.Remark = remark; this.RowNo = rowNo; }
/// <summary> /// Constructor with Full Argument /// </summary> public OrderBomLineDTO(System.Int64 iD, System.DateTime createdOn, System.String createdBy, System.DateTime modifiedOn, System.String modifiedBy, System.Int64 sysVersion, UFIDA.U9.CBO.HR.Operator.Operators salesMan, UFIDA.U9.CBO.HR.Department.Department department, UFIDA.U9.CBO.SCM.Item.ItemMaster subKey, System.Decimal needNumber, UFIDA.U9.Cust.GS.FT.OrderBomBE.OrderBomHeadDTO orderBomHead, UFIDA.U9.Base.FlexField.DescFlexField.DescFlexSegments descflexfield, UFIDA.U9.Base.UOM.UOM needUom, System.Decimal procurementQty, System.String memo) { this.ID = iD; this.CreatedOn = createdOn; this.CreatedBy = createdBy; this.ModifiedOn = modifiedOn; this.ModifiedBy = modifiedBy; this.SysVersion = sysVersion; this.SalesMan = salesMan; this.Department = department; this.SubKey = subKey; this.NeedNumber = needNumber; this.OrderBomHead = orderBomHead; this.Descflexfield = descflexfield; this.NeedUom = needUom; this.ProcurementQty = procurementQty; this.Memo = memo; }