public @UMHSBatchDupeCheckUIModel() : base()
        {
            _id                         = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _batchid                    = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _mrn                        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _constituentlookupid        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _batchconstituentid         = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _titlecodeid                = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _firstname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lastname                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcodeid               = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _birthdate                  = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _addresstypecodeid          = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _addressblock               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _city                       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _stateid                    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _postcode                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _countryid                  = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _phonenumber                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phonetypecodeid            = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _phonecountryid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _phoneother                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phoneothertypecodeid       = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _phoneothercountryid        = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _emailaddress               = new global::Blackbaud.AppFx.UIModeling.Core.EmailAddressField();
            _emailaddresstypecodeid     = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _duplicaterecordid          = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _overallmatchthreshold      = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _automatchthreshold         = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _domanualreviewforautomatch = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _gotonextrecord             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _save                       = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _cancel                     = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();

            this.SearchListId          = new System.Guid("0724fade-676e-4e54-84ae-8ab6ef10abe6");
            this.SearchRecordType      = "MIMED Data";
            this.FORMHEADER.Value      = "MIMED Batch Duplicate Search";
            this.TranslationFunctionId = new System.Guid("e58d466f-1532-4dea-9b50-dd046094ed31");
            this.UserInterfaceUrl      = "browser/htmlforms/constituent/duplicatecheck/DuplicateConstituentSearch.html";

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "Constituent";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_batchconstituentid
            //
            _batchconstituentid.Name    = "BATCHCONSTITUENTID";
            _batchconstituentid.Caption = "Batch Constituent ID";
            _batchconstituentid.Visible = false;
            this.Fields.Add(_batchconstituentid);
            //
            //_batchid
            //
            _batchid.Name    = "BATCHID";
            _batchid.Caption = "BATCHID";
            _batchid.Visible = false;
            this.Fields.Add(_batchid);
            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_constituentlookupid
            //
            _constituentlookupid.Name      = "CONSTITUENTLOOKUPID";
            _constituentlookupid.Caption   = "Constituent Lookup ID";
            _constituentlookupid.MaxLength = 200;
            this.Fields.Add(_constituentlookupid);

            //
            //_titlecodeid
            //
            _titlecodeid.Name          = "TITLECODEID";
            _titlecodeid.Caption       = "Title";
            _titlecodeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_titlecodeid);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name      = "MIDDLENAME";
            _middlename.Caption   = "Middle name";
            _middlename.MaxLength = 50;
            this.Fields.Add(_middlename);
            //
            //_lastname
            //
            _lastname.Name      = "LASTNAME";
            _lastname.Caption   = "Last name";
            _lastname.MaxLength = 100;
            this.Fields.Add(_lastname);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birthdate";
            this.Fields.Add(_birthdate);
            //
            //_addresstypecodeid
            //
            _addresstypecodeid.Name          = "ADDRESSTYPECODEID";
            _addresstypecodeid.Caption       = "Address type code";
            _addresstypecodeid.Category      = "Address";
            _addresstypecodeid.CodeTableName = "ADDRESSTYPECODE";
            this.Fields.Add(_addresstypecodeid);
            //
            //_addressblock
            //
            _addressblock.Name      = "ADDRESSBLOCK";
            _addressblock.Caption   = "Address";
            _addressblock.Category  = "Address";
            _addressblock.MaxLength = 500;
            this.Fields.Add(_addressblock);
            //
            //_city
            //
            _city.Name      = "CITY";
            _city.Caption   = "City";
            _city.Category  = "Address";
            _city.MaxLength = 100;
            this.Fields.Add(_city);
            //
            //_stateid
            //
            _stateid.Name             = "STATEID";
            _stateid.Caption          = "State";
            _stateid.Category         = "Address";
            _stateid.SimpleDataListId = new System.Guid("cae6185d-898e-474f-84d1-dadaa4b63ad3");
            this.Fields.Add(_stateid);
            //
            //_postcode
            //
            _postcode.Name      = "POSTCODE";
            _postcode.Caption   = "Post code";
            _postcode.Category  = "Address";
            _postcode.MaxLength = 12;
            this.Fields.Add(_postcode);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Address country";
            _countryid.Category         = "Address";
            _countryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_countryid);
            //
            //_phonenumber
            //
            _phonenumber.Name      = "PHONENUMBER";
            _phonenumber.Caption   = "Phone";
            _phonenumber.Category  = "Phone";
            _phonenumber.MaxLength = 200;
            this.Fields.Add(_phonenumber);
            //
            //_phonetypecodeid
            //
            _phonetypecodeid.Name          = "PHONETYPECODEID";
            _phonetypecodeid.Caption       = "Phone type code";
            _phonetypecodeid.Category      = "Phone";
            _phonetypecodeid.CodeTableName = "PHONETYPECODE";
            this.Fields.Add(_phonetypecodeid);
            //
            //_phonecountryid
            //
            _phonecountryid.Name             = "PHONE_COUNTRYID";
            _phonecountryid.Caption          = "Phone country";
            _phonecountryid.Category         = "Phone";
            _phonecountryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_phonecountryid);
            //
            //_phoneother
            //
            _phoneother.Name      = "PHONE_OTHER";
            _phoneother.Caption   = "Phone (other)";
            _phoneother.Category  = "Phone";
            _phoneother.MaxLength = 200;
            this.Fields.Add(_phoneother);
            //
            //_phoneothertypecodeid
            //
            _phoneothertypecodeid.Name          = "PHONE_OTHERTYPECODEID";
            _phoneothertypecodeid.Caption       = "Phone (other) type code";
            _phoneothertypecodeid.Category      = "Phone";
            _phoneothertypecodeid.CodeTableName = "PHONETYPECODE";
            this.Fields.Add(_phoneothertypecodeid);
            //
            //_phoneothercountryid
            //
            _phoneothercountryid.Name             = "PHONE_OTHER_COUNTRYID";
            _phoneothercountryid.Caption          = "Phone (other) country";
            _phoneothercountryid.Category         = "Phone";
            _phoneothercountryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_phoneothercountryid);
            //
            //_emailaddress
            //
            _emailaddress.Name     = "EMAILADDRESS";
            _emailaddress.Caption  = "Email address";
            _emailaddress.Category = "Email";
            this.Fields.Add(_emailaddress);
            //
            //_emailaddresstypecodeid
            //
            _emailaddresstypecodeid.Name          = "EMAILADDRESSTYPECODEID";
            _emailaddresstypecodeid.Caption       = "Email address type code";
            _emailaddresstypecodeid.Category      = "Email";
            _emailaddresstypecodeid.CodeTableName = "EMAILADDRESSTYPECODE";
            this.Fields.Add(_emailaddresstypecodeid);
            //
            //_duplicaterecordid
            //
            _duplicaterecordid.Name    = "DUPLICATERECORDID";
            _duplicaterecordid.Caption = "DUPLICATERECORDID";
            _duplicaterecordid.Visible = false;
            this.Fields.Add(_duplicaterecordid);
            //
            //_overallmatchthreshold
            //
            _overallmatchthreshold.Name              = "OVERALLMATCHTHRESHOLD";
            _overallmatchthreshold.Caption           = "Overall match threshold";
            _overallmatchthreshold.Visible           = false;
            _overallmatchthreshold.AvailableToClient = false;
            _overallmatchthreshold.Precision         = 20;
            _overallmatchthreshold.Scale             = 4;
            this.Fields.Add(_overallmatchthreshold);
            //
            //_automatchthreshold
            //
            _automatchthreshold.Name              = "AUTOMATCHTHRESHOLD";
            _automatchthreshold.Caption           = "Auto match threshold";
            _automatchthreshold.Visible           = false;
            _automatchthreshold.AvailableToClient = false;
            _automatchthreshold.Precision         = 20;
            _automatchthreshold.Scale             = 4;
            this.Fields.Add(_automatchthreshold);
            //
            //_domanualreviewforautomatch
            //
            _domanualreviewforautomatch.Name    = "DOMANUALREVIEWFORAUTOMATCH";
            _domanualreviewforautomatch.Caption = "DOMANUALREVIEWFORAUTOMATCH";
            _domanualreviewforautomatch.Visible = false;
            this.Fields.Add(_domanualreviewforautomatch);
            //
            //_gotonextrecord
            //
            _gotonextrecord.Name       = "GOTONEXTRECORD";
            _gotonextrecord.Caption    = "Automatically go to the next duplicate exception";
            _gotonextrecord.DBReadOnly = true;
            _gotonextrecord.Value      = true;
            this.Fields.Add(_gotonextrecord);
            //
            //_save
            //
            _save.Name    = "SAVE";
            _save.Caption = "Skip";
            this.Actions.Add(_save);
            //
            //_cancel
            //
            _cancel.Name    = "CANCEL";
            _cancel.Caption = "Cancel";
            this.Actions.Add(_cancel);

            OnCreated();
        }
Пример #2
0
        public @UMHSEmailAddressFormUIModel() : base()
        {
            _emailaddresstypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _emailaddress           = new global::Blackbaud.AppFx.UIModeling.Core.EmailAddressField();
            _isprimary                  = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotemail                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _infosourcecodeid           = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _infosourcecomments         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _startdate                  = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate                    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _isconfidential             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _invalidaccount             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _historicalstartdatemessage = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _showinvalid                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _invalidfield1              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _invalidfield2              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _origincodetranslation      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _sourceinformation          = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("95c3f69c-9adf-4b45-9b4c-4861329a53d8");
            this.DataFormInstanceId = new System.Guid("3e721531-9f45-4351-bcc3-9f7226551251");
            this.RecordType         = "MIMED Email Address";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add MIMED Email Address";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSEmailAddressForm.html";

            //
            //_emailaddresstypecodeid
            //
            _emailaddresstypecodeid.Name          = "EMAILADDRESSTYPECODEID";
            _emailaddresstypecodeid.Caption       = "Email address type";
            _emailaddresstypecodeid.CodeTableName = "EMAILADDRESSTYPECODE";
            this.Fields.Add(_emailaddresstypecodeid);
            //
            //_emailaddress
            //
            _emailaddress.Name     = "EMAILADDRESS";
            _emailaddress.Caption  = "Email address";
            _emailaddress.Required = true;
            this.Fields.Add(_emailaddress);
            //
            //_isprimary
            //
            _isprimary.Name    = "ISPRIMARY";
            _isprimary.Caption = "Set as primary email address";
            this.Fields.Add(_isprimary);
            //
            //_donotemail
            //
            _donotemail.Name    = "DONOTEMAIL";
            _donotemail.Caption = "Do not send email to this address";
            this.Fields.Add(_donotemail);
            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name          = "INFOSOURCECODEID";
            _infosourcecodeid.Caption       = "Information source";
            _infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_infosourcecomments
            //
            _infosourcecomments.Name      = "INFOSOURCECOMMENTS";
            _infosourcecomments.Caption   = "Comments";
            _infosourcecomments.MaxLength = 256;
            _infosourcecomments.Multiline = true;
            this.Fields.Add(_infosourcecomments);
            //
            //_startdate
            //
            _startdate.Name    = "STARTDATE";
            _startdate.Caption = "Start date";
            _startdate.Value   = System.DateTime.Today;
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_isconfidential
            //
            _isconfidential.Name    = "ISCONFIDENTIAL";
            _isconfidential.Caption = "Is confidential";
            this.Fields.Add(_isconfidential);
            //
            //_invalidaccount
            //
            _invalidaccount.Name       = "INVALIDACCOUNT";
            _invalidaccount.Caption    = "INVALIDACCOUNT";
            _invalidaccount.DBReadOnly = true;
            this.Fields.Add(_invalidaccount);
            //
            //_historicalstartdatemessage
            //
            _historicalstartdatemessage.Name       = "HISTORICALSTARTDATEMESSAGE";
            _historicalstartdatemessage.Caption    = "HISTORICALSTARTDATEMESSAGE";
            _historicalstartdatemessage.DBReadOnly = true;
            this.Fields.Add(_historicalstartdatemessage);
            //
            //_showinvalid
            //
            _showinvalid.Name       = "SHOWINVALID";
            _showinvalid.Caption    = "SHOWINVALID";
            _showinvalid.Visible    = false;
            _showinvalid.DBReadOnly = true;
            this.Fields.Add(_showinvalid);
            //
            //_invalidfield1
            //
            _invalidfield1.Name       = "INVALIDFIELD1";
            _invalidfield1.Caption    = "INVALIDFIELD1";
            _invalidfield1.Visible    = false;
            _invalidfield1.DBReadOnly = true;
            this.Fields.Add(_invalidfield1);
            //
            //_invalidfield2
            //
            _invalidfield2.Name       = "INVALIDFIELD2";
            _invalidfield2.Caption    = "INVALIDFIELD2";
            _invalidfield2.Visible    = false;
            _invalidfield2.DBReadOnly = true;
            this.Fields.Add(_invalidfield2);
            //
            //_origincodetranslation
            //
            _origincodetranslation.Name       = "ORIGINCODETRANSLATION";
            _origincodetranslation.Caption    = "Information source";
            _origincodetranslation.DBReadOnly = true;
            this.Fields.Add(_origincodetranslation);
            //
            //_sourceinformation
            //
            _sourceinformation.Name    = "SOURCEINFORMATION";
            _sourceinformation.Caption = "Email source";
            _sourceinformation.Fields.Add("INFOSOURCECODEID");
            _sourceinformation.Fields.Add("INFOSOURCECOMMENTS");
            this.Fields.Add(_sourceinformation);

            OnCreated();
        }