protected override void InitNewRow() { base.InitNewRow(); objBLDetail.InitNewRow(DsDictionary.Employee); BsDetail.MoveFirst(); txtEmployeeCode.Focus(); }
protected override void InitNewRow() { base.InitNewRow(); objBLDetail.InitNewRow(DsDictionary.InventoryItem); BsDetail.MoveFirst(); txtInventoryItemCode.Focus(); }
protected override void InitNewRow() { base.InitNewRow(); objBLDetail.InitNewRow(DsDictionary.Customer); BsDetail.MoveFirst(); txtCustomerCode.Focus(); }
protected override void InitNewRow() { base.InitNewRow(); objBLDetail.InitNewRow(DsDictionary.Unit); BsDetail.MoveFirst(); txtUnitName.Focus(); }
protected override void InitCopyRow() { base.InitNewRow(); DictionaryDataSet.InventoryItemRow drCurrent = (DictionaryDataSet.InventoryItemRow)((DataRowView)bsDetail.Current).Row; objBLDetail.InitCopyRow(DsDictionary.InventoryItem, drCurrent); BsDetail.MoveFirst(); txtInventoryItemCode.Focus(); }
protected override void InitCopyRow() { base.InitNewRow(); DictionaryDataSet.EmployeeRow drCurrent = (DictionaryDataSet.EmployeeRow)((DataRowView)bsDetail.Current).Row; objBLDetail.InitCopyRow(DsDictionary.Employee, drCurrent); BsDetail.MoveFirst(); txtEmployeeCode.Focus(); }
protected override void InitNewRow() { base.InitNewRow(); objBLDetail.InitNewRow(DsDictionary.Booking); if (FormActionMode == ActionMode.AddNew) { dteFromTime.Value = Session.Today; } BsDetail.MoveFirst(); txtBookingNo.Focus(); }
protected override void InitNewRow() { base.InitNewRow(); DictionaryDataSet.OrderRow row = (DictionaryDataSet.OrderRow)objBLDetail.InitNewRow(DsDictionary.Order); if (BookingID != Guid.Empty) { row.BookingID = BookingID; var bookingRow = ShareDictionary.DsDictionary.Booking.FindByBookingID(BookingID); if (bookingRow != null) { row.CustomerID = ShareDictionary.DsDictionary.Booking.FindByBookingID(BookingID).CustomerID; row.NumberOfPeople = bookingRow.NumberOfPeople; row.OrderDate = bookingRow.FromTime; } else { row.OrderDate = Session.Today; } } BsDetail.MoveFirst(); txtOrderNo.Focus(); }