private void myRadDataForm_AddedNewItem(object sender, AddedNewItemEventArgs e) { VoucherItemKind dmItem = (VoucherItemKind)myRadDataForm.CurrentItem; //dmItem.ParentCode = "02"; //dmItem.Code = CommonDataLogic.GenerateCodeForBusiDataDictionary(dmItem.ParentCode); dmItem.Kind = 2; dmItem.OrganizationID = VMGlobal.CurrentUser.OrganizationID; }
public VoucherItemKindBO(VoucherItemKind kind) { this.ID = kind.ID; this.Name = kind.Name; OrganizationID = kind.OrganizationID; this.IsEnabled = kind.IsEnabled; CreateTime = kind.CreateTime; CreatorID = kind.CreatorID; Kind = kind.Kind; }