Example #1
0
        public @UMHSDuplicateConstituentSearchUIModel() : base()
        {
            _editconstituentcontext = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _constituentid          = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _constituentlookupid    = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _newconstituent         = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <UMHSDuplicateConstituentSearchNEWCONSTITUENTUIModel>();
            _overallmatchthreshold  = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _automatchthreshold     = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _batchid            = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _constituentname    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _constituentaddress = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _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("60dca9c9-9c1a-4f50-b255-ef0eb1414779");
            this.SearchRecordType      = "Revenue";
            this.FORMHEADER.Value      = "Revenue Batch MIMED Duplicate Constituent Search";
            this.HelpKey               = "DATABatchDedupe.html";
            this.TranslationFunctionId = new System.Guid("ec1bc00b-fc28-435a-a6ad-07938211558f");
            this.UserInterfaceUrl      = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDuplicateConstituentSearch.html";

            //
            //_editconstituentcontext
            //
            _editconstituentcontext.Name      = "EDITCONSTITUENTCONTEXT";
            _editconstituentcontext.Caption   = "EDITCONSTITUENTCONTEXT";
            _editconstituentcontext.Visible   = false;
            _editconstituentcontext.MaxLength = 110;
            this.Fields.Add(_editconstituentcontext);
            //
            //_constituentid
            //
            _constituentid.Name    = "CONSTITUENTID";
            _constituentid.Caption = "Constituent ID";
            this.Fields.Add(_constituentid);
            //
            //_constituentlookupid
            //
            _constituentlookupid.Name            = "CONSTITUENTLOOKUPID";
            _constituentlookupid.Caption         = "Lookup ID";
            _constituentlookupid.SearchListId    = new System.Guid("6c1da9a2-766e-4b02-8878-5f5af7ec527e");
            _constituentlookupid.EnableQuickFind = true;
            _constituentlookupid.SearchListAddForms.Add(new global::Blackbaud.AppFx.UIModeling.Core.SearchListAddForm(new System.Guid("98819aef-f26b-48ab-ae31-146720533211"), "Individual"));
            _constituentlookupid.SearchListAddForms.Add(new global::Blackbaud.AppFx.UIModeling.Core.SearchListAddForm(new System.Guid("6dd8c507-481a-430b-925c-4b6a3a8663ae"), "Household"));
            _constituentlookupid.SearchListAddForms.Add(new global::Blackbaud.AppFx.UIModeling.Core.SearchListAddForm(new System.Guid("6e0e7fb5-4551-4135-bebf-c4356bc25fd5"), "Group"));
            _constituentlookupid.SearchListAddForms.Add(new global::Blackbaud.AppFx.UIModeling.Core.SearchListAddForm(new System.Guid("f38b0a00-51cb-43a6-8c82-a4f0ee371435"), "Organization"));
            this.Fields.Add(_constituentlookupid);
            //
            //_newconstituent
            //
            _newconstituent.Name               = "NEWCONSTITUENT";
            _newconstituent.Caption            = "New constituent";
            _newconstituent.Visible            = false;
            _newconstituent.AllowSingleRowOnly = true;
            this.Fields.Add(_newconstituent);
            //
            //_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);
            //
            //_batchid
            //
            _batchid.Name    = "BATCHID";
            _batchid.Caption = "BATCHID";
            _batchid.Visible = false;
            this.Fields.Add(_batchid);
            //
            //_constituentname
            //
            _constituentname.Name       = "CONSTITUENTNAME";
            _constituentname.Caption    = "CONSTITUENTNAME";
            _constituentname.DBReadOnly = true;
            this.Fields.Add(_constituentname);
            //
            //_constituentaddress
            //
            _constituentaddress.Name       = "CONSTITUENTADDRESS";
            _constituentaddress.Caption    = "CONSTITUENTADDRESS";
            _constituentaddress.DBReadOnly = true;
            this.Fields.Add(_constituentaddress);
            //
            //_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();
        }
        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();
        }