/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { m_iOldPricingStatusID = PricingStatus.NULL_STATUS; super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); //+ m_recBooking.addNew(); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { m_iOldPricingStatusID = PricingStatus.NULL_STATUS; super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { m_iOriginalMessageTransportID = 0; m_iOriginalDefaultMessageTransportID = 0; super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * Make sure the secondary record is inited. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { m_FileToRead.initRecord(bDisplayOption); // Clear the fields! super.doNewRecord(bDisplayOption); } }
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // init this field override for other value { super.doNewRecord(bDisplayOption); if (m_bUpdateOnUpdate) this.writeAndRefresh(); // If there are any changes waiting, write them! } /**
/** * Called when a valid record is read from the table/query. * Grab the old value of the field in case there is a change. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); m_dOldValue = this.getFieldValue(); // Old value (in case of change) } /**
/** * Called when a new blank record is required for the table/query. * Enables or disables the target field(s). * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // Init this field override for other value { this.setEnabled(m_bEnableOnNew); super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); this.setOldGroupID(-1); } /**
/** * Called when a new blank record is required for the table/query. * Make sure the secondary record is inited. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { m_FileToRead.initRecord(bDisplayOption); // Clear the fields! super.doNewRecord(bDisplayOption); } }
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { this.setEnabled(true); super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // init this field override for other value { this.setUserID(DBConstants.INIT_MOVE, bDisplayOption); super.doNewRecord(bDisplayOption); } /**
/** * Called when a valid record is read from the table/query. * Grab the old value of the field in case there is a change. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); m_dOldValue = this.getFieldValue(); // Old value (in case of change) } /**
/** * Called when a new blank record is required for the table/query. * Enables or disables the target field(s). * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // Init this field override for other value { this.setEnabled(m_bEnableOnNew); super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // init this field override for other value { super.doNewRecord(bDisplayOption); if (m_bUpdateOnUpdate) this.writeAndRefresh(); // If there are any changes waiting, write them! } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) // init this field override for other value { this.setUserID(DBConstants.INIT_MOVE, bDisplayOption); super.doNewRecord(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); m_pBookingComm.initField(bDisplayOption); } /**
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { ((BookingSub)this.getOwner()).initBookingDetailFields(m_recBooking, m_recTour, false); super.doNewRecord(bDisplayOption); }
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); // Booking->Tour->TourHeader->ProductCat P/P vs A/R Record recTour = ((ReferenceField)m_recBooking.getField(BookingModel.TOUR_ID)).getReference(); BaseField fldDepartureDate = recTour.getField(TourModel.DEPARTURE_DATE); this.getOwner().getField(ArTrx.DEPARTURE_DATE).moveFieldToThis(fldDepartureDate, DBConstants.DISPLAY, DBConstants.INIT_MOVE); }
/** * Called when a new blank record is required for the table/query. * @param bDisplayOption If true, display any changes. */ public void doNewRecord(boolean bDisplayOption) { super.doNewRecord(bDisplayOption); // Booking->Tour->TourHeader->ProductCat P/P vs A/R Record recTour = ((ReferenceField)m_recBooking.getField(BookingModel.TOUR_ID)).getReference(); BaseField fldDepartureDate = recTour.getField(TourModel.DEPARTURE_DATE); this.getOwner().getField(ArTrx.DEPARTURE_DATE).moveFieldToThis(fldDepartureDate, DBConstants.DISPLAY, DBConstants.INIT_MOVE); }