Ejemplo n.º 1
0
        public @OmaticDeployedVersionViewDataFormUIModel() : base()
        {
            _versions   = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <OmaticDeployedVersionViewDataFormVERSIONSUIModel>();
            _servername = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("e7b0f7b9-cb35-4af6-b948-566a78d8892e");
            this.DataFormInstanceId = new System.Guid("c949a245-4f01-4fa8-8368-3e7c0b440347");
            this.RecordType         = "";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/omaticsoftware.uimodel/OmaticDeployedVersionViewDataForm.html";

            //
            //_versions
            //
            _versions.Name       = "VERSIONS";
            _versions.Caption    = "Versions";
            _versions.DBReadOnly = true;
            this.Fields.Add(_versions);
            //
            //_servername
            //
            _servername.Name       = "SERVERNAME";
            _servername.Caption    = "Server name";
            _servername.DBReadOnly = true;
            this.Fields.Add(_servername);

            OnCreated();
        }
Ejemplo n.º 2
0
        public @OmaticDeployedVersionViewDataFormVERSIONSUIModel() : base()
        {
            _name         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _version      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _datemodified = new global::Blackbaud.AppFx.UIModeling.Core.DateField();

            //
            //_name
            //
            _name.Name       = "NAME";
            _name.Caption    = "Filename";
            _name.DBReadOnly = true;
            this.Fields.Add(_name);
            //
            //_version
            //
            _version.Name       = "VERSION";
            _version.Caption    = "Version";
            _version.DBReadOnly = true;
            this.Fields.Add(_version);
            //
            //_datemodified
            //
            _datemodified.Name              = "DATEMODIFIED";
            _datemodified.Caption           = "Date modified";
            _datemodified.DBReadOnly        = true;
            _datemodified.IncludeTimeOnDate = true;
            this.Fields.Add(_datemodified);

            OnCreated();
        }
        public @UMHSDataFormUIModel() : base()
        {
            _mrn                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _birthdate                = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _titlecodeid              = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _title2codeid             = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _suffixcodeid             = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _suffix2codeid            = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _nickname                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecodeid         = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _isdmineligible           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _dmineligiblereasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _gendercode               = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _umhsinformation          = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _sourceinformation        = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("c7976657-1974-4225-b724-f143b7651998");
            this.DataFormInstanceId = new System.Guid("a3e4ea4a-1328-467f-99cd-d352c409eee8");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "Constituent";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataForm.html";

            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI seq";
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_lookupid
            //
            _lookupid.Name       = "LOOKUPID";
            _lookupid.Caption    = "_lookupid";
            _lookupid.MaxLength  = 50;
            _lookupid.DBReadOnly = true;
            this.Fields.Add(_lookupid);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.Required  = true;
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name      = "MIDDLENAME";
            _middlename.Caption   = "Middle name";
            _middlename.MaxLength = 50;
            this.Fields.Add(_middlename);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last name";
            _keyname.Required  = true;
            _keyname.MaxLength = 100;
            this.Fields.Add(_keyname);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birth date";
            // _birthdate.Required = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_titlecodeid
            //
            _titlecodeid.Name          = "TITLECODEID";
            _titlecodeid.Caption       = "Title";
            _titlecodeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_titlecodeid);
            //
            //_title2codeid
            //
            _title2codeid.Name          = "TITLE2CODEID";
            _title2codeid.Caption       = "Title 2";
            _title2codeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_title2codeid);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_suffix2codeid
            //
            _suffix2codeid.Name          = "SUFFIX2CODEID";
            _suffix2codeid.Caption       = "Suffix 2";
            _suffix2codeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffix2codeid);
            //
            //_nickname
            //
            _nickname.Name      = "NICKNAME";
            _nickname.Caption   = "Nickname";
            _nickname.MaxLength = 50;
            this.Fields.Add(_nickname);


            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name          = "INFOSOURCECODEID";
            _infosourcecodeid.Caption       = "Information source";
            _infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_isdmineligible
            //
            _isdmineligible.Name    = "ISDMINELIGIBLE";
            _isdmineligible.Caption = "Direct Mail Ineligible";
            this.Fields.Add(_isdmineligible);

            _dmineligiblereasoncodeid.Name          = "DMINELIGIBLEREASONCODEID";
            _dmineligiblereasoncodeid.Caption       = "Reason";
            _dmineligiblereasoncodeid.CodeTableName = "USR_UMHS_DMINELIGIBLEREASONCODE";
            this.Fields.Add(_dmineligiblereasoncodeid);

            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            _gendercode.Value = GENDERCODES.@Unknown;
            this.Fields.Add(_gendercode);


            //
            //_umhsinformation
            //
            _umhsinformation.Name    = "UMHSINFORMATION";
            _umhsinformation.Caption = "MIMED Information";
            _umhsinformation.Fields.Add("MRN");
            _umhsinformation.Fields.Add("CPISEQUENCE");
            _umhsinformation.Fields.Add("LOOKUPID");
            _umhsinformation.Fields.Add("KEYNAME");
            _umhsinformation.Fields.Add("FIRSTNAME");
            _umhsinformation.Fields.Add("MIDDLENAME");
            _umhsinformation.Fields.Add("TITLECODEID");
            _umhsinformation.Fields.Add("TITLE2CODEID");
            _umhsinformation.Fields.Add("SUFFIXCODEID");
            _umhsinformation.Fields.Add("SUFFIX2CODEID");
            _umhsinformation.Fields.Add("NICKNAME");
            _umhsinformation.Fields.Add("BIRTHDATE");
            _umhsinformation.Fields.Add("GENDERCODE");
            _umhsinformation.Fields.Add("ISDMINELIGIBLE");
            _umhsinformation.Fields.Add("DMINELIGIBLEREASONCODEID");
            this.Fields.Add(_umhsinformation);

            //
            //_umhssource
            //
            _sourceinformation.Name    = "UMHSSOURCE";
            _sourceinformation.Caption = "MIMED Source";
            _sourceinformation.Fields.Add("INFOSOURCECODEID");
            _sourceinformation.DBReadOnly = true;
            this.Fields.Add(_sourceinformation);

            OnCreated();
        }
Ejemplo n.º 4
0
        public @UMHSEmailAddressViewDataFormUIModel() : base()
        {
            _emailaddresstypecode = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _emailaddress         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primary            = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotemail         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _infosourcecode     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _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();
            _dateadded          = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            //_origincode = new Blackbaud.AppFx.UIModeling.Core.ValueListField<UMHSEmailAddressViewDataFormUIModel.ORIGINCODE?>();
            _invalidaccount        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primaryimage          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotemailimage       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotemaildescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactimage          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactdescription    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _showinvalid           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _origincodetranslation = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _enddatedescription    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _hyphen = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("9696e562-cc4c-46c1-8bea-bd44ee7c329e");
            this.DataFormInstanceId = new System.Guid("67f2d064-dd1c-4512-b2d5-1df37026ab9e");
            this.RecordType         = "MIMED Email Address";
            this.FixedDialog        = true;

            //
            //_emailaddresstypecode
            //
            _emailaddresstypecode.Name       = "EMAILADDRESSTYPECODE";
            _emailaddresstypecode.Caption    = "Type";
            _emailaddresstypecode.DBReadOnly = true;
            _emailaddresstypecode.MaxLength  = 100;
            this.Fields.Add(_emailaddresstypecode);
            //
            //_emailaddress
            //
            _emailaddress.Name       = "EMAILADDRESS";
            _emailaddress.Caption    = "Email address";
            _emailaddress.DBReadOnly = true;
            _emailaddress.MaxLength  = 100;
            this.Fields.Add(_emailaddress);
            //
            //_primary
            //
            _primary.Name       = "PRIMARY";
            _primary.Caption    = "Set as primary email address";
            _primary.DBReadOnly = true;
            this.Fields.Add(_primary);
            //
            //_donotemail
            //
            _donotemail.Name       = "DONOTEMAIL";
            _donotemail.Caption    = "Do not email";
            _donotemail.DBReadOnly = true;
            this.Fields.Add(_donotemail);
            //
            //_infosourcecode
            //
            _infosourcecode.Name       = "INFOSOURCECODE";
            _infosourcecode.Caption    = "Information source";
            _infosourcecode.DBReadOnly = true;
            _infosourcecode.MaxLength  = 100;
            this.Fields.Add(_infosourcecode);
            //
            //_infosourcecomments
            //
            _infosourcecomments.Name       = "INFOSOURCECOMMENTS";
            _infosourcecomments.Caption    = "Comments";
            _infosourcecomments.DBReadOnly = true;
            _infosourcecomments.MaxLength  = 256;
            this.Fields.Add(_infosourcecomments);
            //
            //_startdate
            //
            _startdate.Name       = "STARTDATE";
            _startdate.Caption    = "Start date";
            _startdate.DBReadOnly = true;
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name       = "ENDDATE";
            _enddate.Caption    = "End date";
            _enddate.DBReadOnly = true;
            this.Fields.Add(_enddate);
            //
            //_isconfidential
            //
            _isconfidential.Name       = "ISCONFIDENTIAL";
            _isconfidential.Caption    = "Is confidential";
            _isconfidential.DBReadOnly = true;
            this.Fields.Add(_isconfidential);
            //
            //_dateadded
            //
            _dateadded.Name       = "DATEADDED";
            _dateadded.Caption    = "Date added";
            _dateadded.DBReadOnly = true;
            this.Fields.Add(_dateadded);



            //
            //_invalidaccount
            //
            _invalidaccount.Name       = "INVALIDACCOUNT";
            _invalidaccount.Caption    = "INVALIDACCOUNT";
            _invalidaccount.DBReadOnly = true;
            this.Fields.Add(_invalidaccount);
            //
            //_primaryimage
            //
            _primaryimage.Name       = "PRIMARYIMAGE";
            _primaryimage.Caption    = "PRIMARYIMAGE";
            _primaryimage.DBReadOnly = true;
            this.Fields.Add(_primaryimage);
            //
            //_donotemailimage
            //
            _donotemailimage.Name       = "DONOTEMAILIMAGE";
            _donotemailimage.Caption    = "DONOTEMAILIMAGE";
            _donotemailimage.DBReadOnly = true;
            this.Fields.Add(_donotemailimage);
            //
            //_donotemaildescription
            //
            _donotemaildescription.Name       = "DONOTEMAILDESCRIPTION";
            _donotemaildescription.Caption    = "DONOTEMAILDESCRIPTION";
            _donotemaildescription.DBReadOnly = true;
            this.Fields.Add(_donotemaildescription);
            //
            //_contactimage
            //
            _contactimage.Name       = "CONTACTIMAGE";
            _contactimage.Caption    = "CONTACTIMAGE";
            _contactimage.DBReadOnly = true;
            this.Fields.Add(_contactimage);
            //
            //_contactdescription
            //
            _contactdescription.Name       = "CONTACTDESCRIPTION";
            _contactdescription.Caption    = "CONTACTDESCRIPTION";
            _contactdescription.DBReadOnly = true;
            this.Fields.Add(_contactdescription);
            //
            //_showinvalid
            //
            _showinvalid.Name       = "SHOWINVALID";
            _showinvalid.Caption    = "SHOWINVALID";
            _showinvalid.Visible    = false;
            _showinvalid.DBReadOnly = true;
            this.Fields.Add(_showinvalid);
            //
            //_origincodetranslation
            //
            _origincodetranslation.Name       = "ORIGINCODETRANSLATION";
            _origincodetranslation.Caption    = "Information source";
            _origincodetranslation.DBReadOnly = true;
            this.Fields.Add(_origincodetranslation);
            //
            //_enddatedescription
            //
            _enddatedescription.Name       = "ENDDATEDESCRIPTION";
            _enddatedescription.Caption    = "ENDDATEDESCRIPTION";
            _enddatedescription.DBReadOnly = true;
            this.Fields.Add(_enddatedescription);
            //
            //_hyphen
            //
            _hyphen.Name       = "HYPHEN";
            _hyphen.Caption    = "HYPHEN";
            _hyphen.DBReadOnly = true;
            this.Fields.Add(_hyphen);

            OnCreated();
        }
        public @UMHSDataConstituentSearchUIModel() : base()
        {
            _constituenttype    = new global::Blackbaud.AppFx.UIModeling.Core.IntegerField();
            _fullname           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _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.SearchListField <string>();
            _countryid          = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _includeinactive    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includedeceased    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _onlyprimaryaddress = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _exactmatchonly     = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _ssn                          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _checknickname                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _checkaliases                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _classof                      = new global::Blackbaud.AppFx.UIModeling.Core.YearField();
            _primarybusiness              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _checkmergedconstituents      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _minimumdate                  = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _excludecustomgroups          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _excludehouseholds            = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _emailaddress                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _includeindividuals           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includeorganizations         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includegroups                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _checkalternatelookupids      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _fuzzysearchonname            = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includenonconstituentrecords = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _phonenumber                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _prospectmanagerid            = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _middlename                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcodeid                 = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _constituency                 = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _sourcecode                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _gendercode                   = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _scu                          = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _umhsdata                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _mrn                          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _patientsonly                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _birthdate                    = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _searchin                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _advancedsearchoptionsgroup   = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _showadvancedoptions          = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _hideadvancedoptions          = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();

            this.SearchListId          = new System.Guid("747530a1-be80-4054-a021-d2a599248261");
            this.SearchRecordType      = "MIMED Data";
            this.FORMHEADER.Value      = "MIMED Constituent Search";
            this.TranslationFunctionId = new System.Guid("68ee2516-f46f-45ae-a6c2-e480d0e794d8");
            this.UserInterfaceUrl      = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataConstituentSearch.html";

            //
            //_constituenttype
            //
            _constituenttype.Name    = "CONSTITUENTTYPE";
            _constituenttype.Caption = "CONSTITUENTTYPE";
            _constituenttype.Visible = false;
            this.Fields.Add(_constituenttype);
            //
            //_fullname
            //
            _fullname.Name    = "FULLNAME";
            _fullname.Caption = "FULLNAME";
            _fullname.Visible = false;
            this.Fields.Add(_fullname);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last/Org name";
            _keyname.MaxLength = 50;
            this.Fields.Add(_keyname);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_lookupid
            //
            _lookupid.Name      = "LOOKUPID";
            _lookupid.Caption   = "Lookup ID";
            _lookupid.MaxLength = 36;
            this.Fields.Add(_lookupid);
            //
            //_addressblock
            //
            _addressblock.Name      = "ADDRESSBLOCK";
            _addressblock.Caption   = "Address";
            _addressblock.MaxLength = 100;
            this.Fields.Add(_addressblock);
            //
            //_city
            //
            _city.Name      = "CITY";
            _city.Caption   = "City";
            _city.MaxLength = 100;
            this.Fields.Add(_city);
            //
            //_stateid
            //
            _stateid.Name             = "STATEID";
            _stateid.Caption          = "State";
            _stateid.SimpleDataListId = new System.Guid("7fa91401-596c-4f7c-936d-6e41683121d7");
            _stateid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("COUNTRYID", "FIELDS!COUNTRYID"));
            this.Fields.Add(_stateid);
            //
            //_postcode
            //
            _postcode.Name               = "POSTCODE";
            _postcode.Caption            = "ZIP/Postal code";
            _postcode.MaxLength          = 20;
            _postcode.SearchListId       = new System.Guid("e5de8c33-de58-4dc6-9a13-48be9f03db81");
            _postcode.DisplayTextIsValue = true;
            this.Fields.Add(_postcode);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Country";
            _countryid.SimpleDataListId = new System.Guid("c9649672-353d-42e8-8c25-4d34bbabfbba");
            this.Fields.Add(_countryid);
            //
            //_includeinactive
            //
            _includeinactive.Name    = "INCLUDEINACTIVE";
            _includeinactive.Caption = "Include inactive";
            this.Fields.Add(_includeinactive);
            //
            //_includedeceased
            //
            _includedeceased.Name    = "INCLUDEDECEASED";
            _includedeceased.Caption = "Include deceased";
            this.Fields.Add(_includedeceased);
            //
            //_onlyprimaryaddress
            //
            _onlyprimaryaddress.Name    = "ONLYPRIMARYADDRESS";
            _onlyprimaryaddress.Caption = "Only search primary addresses";
            _onlyprimaryaddress.Value   = true;
            this.Fields.Add(_onlyprimaryaddress);
            //
            //_exactmatchonly
            //
            _exactmatchonly.Name    = "EXACTMATCHONLY";
            _exactmatchonly.Caption = "Match all criteria exactly";
            this.Fields.Add(_exactmatchonly);
            //
            //_ssn
            //
            _ssn.Name      = "SSN";
            _ssn.Caption   = "SSN";
            _ssn.Visible   = false;
            _ssn.MaxLength = 20;
            this.Fields.Add(_ssn);
            //
            //_checknickname
            //
            _checknickname.Name    = "CHECKNICKNAME";
            _checknickname.Caption = "Check nickname";
            this.Fields.Add(_checknickname);
            //
            //_checkaliases
            //
            _checkaliases.Name    = "CHECKALIASES";
            _checkaliases.Caption = "Check aliases";
            this.Fields.Add(_checkaliases);
            //
            //_classof
            //
            _classof.Name    = "CLASSOF";
            _classof.Caption = "Primary class year";
            this.Fields.Add(_classof);
            //
            //_primarybusiness
            //
            _primarybusiness.Name    = "PRIMARYBUSINESS";
            _primarybusiness.Caption = "Primary business";
            this.Fields.Add(_primarybusiness);
            //
            //_checkmergedconstituents
            //
            _checkmergedconstituents.Name    = "CHECKMERGEDCONSTITUENTS";
            _checkmergedconstituents.Caption = "Check merged constituents";
            this.Fields.Add(_checkmergedconstituents);
            //
            //_minimumdate
            //
            _minimumdate.Name    = "MINIMUMDATE";
            _minimumdate.Caption = "Minimum date";
            this.Fields.Add(_minimumdate);
            //
            //_excludecustomgroups
            //
            _excludecustomgroups.Name    = "EXCLUDECUSTOMGROUPS";
            _excludecustomgroups.Caption = "Exclude custom groups";
            this.Fields.Add(_excludecustomgroups);
            //
            //_excludehouseholds
            //
            _excludehouseholds.Name    = "EXCLUDEHOUSEHOLDS";
            _excludehouseholds.Caption = "Exclude households";
            this.Fields.Add(_excludehouseholds);
            //
            //_emailaddress
            //
            _emailaddress.Name      = "EMAILADDRESS";
            _emailaddress.Caption   = "Email address";
            _emailaddress.MaxLength = 100;
            this.Fields.Add(_emailaddress);
            //
            //_includeindividuals
            //
            _includeindividuals.Name    = "INCLUDEINDIVIDUALS";
            _includeindividuals.Caption = "Individuals";
            _includeindividuals.Value   = true;
            this.Fields.Add(_includeindividuals);
            //
            //_includeorganizations
            //
            _includeorganizations.Name    = "INCLUDEORGANIZATIONS";
            _includeorganizations.Caption = "Organizations";
            _includeorganizations.Value   = true;
            this.Fields.Add(_includeorganizations);
            //
            //_includegroups
            //
            _includegroups.Name    = "INCLUDEGROUPS";
            _includegroups.Caption = "Groups/Households";
            _includegroups.Value   = true;
            this.Fields.Add(_includegroups);
            //
            //_checkalternatelookupids
            //
            _checkalternatelookupids.Name    = "CHECKALTERNATELOOKUPIDS";
            _checkalternatelookupids.Caption = "Check alternate lookup IDs";
            this.Fields.Add(_checkalternatelookupids);
            //
            //_fuzzysearchonname
            //
            _fuzzysearchonname.Name    = "FUZZYSEARCHONNAME";
            _fuzzysearchonname.Caption = "Include fuzzy search on name";
            this.Fields.Add(_fuzzysearchonname);
            //
            //_includenonconstituentrecords
            //
            _includenonconstituentrecords.Name    = "INCLUDENONCONSTITUENTRECORDS";
            _includenonconstituentrecords.Caption = "Include constituents not considered for fundraising purposes";
            _includenonconstituentrecords.Visible = false;
            this.Fields.Add(_includenonconstituentrecords);
            //
            //_phonenumber
            //
            _phonenumber.Name    = "PHONENUMBER";
            _phonenumber.Caption = "Phone number";
            this.Fields.Add(_phonenumber);
            //
            //_prospectmanagerid
            //
            _prospectmanagerid.Name            = "PROSPECTMANAGERID";
            _prospectmanagerid.Caption         = "Prospect manager";
            _prospectmanagerid.SearchListId    = new System.Guid("35fa0186-b669-436f-913a-5e9fd5e59982");
            _prospectmanagerid.EnableQuickFind = true;
            this.Fields.Add(_prospectmanagerid);
            //
            //_middlename
            //
            _middlename.Name    = "MIDDLENAME";
            _middlename.Caption = "Middle name";
            this.Fields.Add(_middlename);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_constituency
            //
            _constituency.Name             = "CONSTITUENCY";
            _constituency.Caption          = "Constituency";
            _constituency.SimpleDataListId = new System.Guid("7821c1ab-3001-485b-aec7-f55749f959e6");
            this.Fields.Add(_constituency);
            //
            //_sourcecode
            //
            _sourcecode.Name    = "SOURCECODE";
            _sourcecode.Caption = "Source code";
            this.Fields.Add(_sourcecode);
            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            this.Fields.Add(_gendercode);
            //
            //_scu
            //
            _scu.Name             = "SCU";
            _scu.Caption          = "Degree from";
            _scu.SimpleDataListId = new System.Guid("bb0353ee-ac0e-4d80-9fc3-0d4e6202dbf6");
            this.Fields.Add(_scu);
            //
            //_umhsdata
            //
            _umhsdata.Name      = "UMHSDATA";
            _umhsdata.Caption   = "MIMED Data";
            _umhsdata.MaxLength = 3;
            this.Fields.Add(_umhsdata);
            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI Sequence";
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_patientsonly
            //
            _patientsonly.Name    = "PATIENTSONLY";
            _patientsonly.Caption = "MIMED Constituents Only";
            this.Fields.Add(_patientsonly);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birth date";
            this.Fields.Add(_birthdate);
            //
            //_searchin
            //
            _searchin.Name       = "SEARCHIN";
            _searchin.Caption    = "Search in";
            _searchin.DBReadOnly = true;
            this.Fields.Add(_searchin);
            //
            //_advancedsearchoptionsgroup
            //
            _advancedsearchoptionsgroup.Name    = "ADVANCEDSEARCHOPTIONSGROUP";
            _advancedsearchoptionsgroup.Caption = "Advanced search options";
            this.Fields.Add(_advancedsearchoptionsgroup);
            //
            //_showadvancedoptions
            //
            _showadvancedoptions.Name    = "SHOWADVANCEDOPTIONS";
            _showadvancedoptions.Caption = "Show advanced search options";
            this.Actions.Add(_showadvancedoptions);
            //
            //_hideadvancedoptions
            //
            _hideadvancedoptions.Name    = "HIDEADVANCEDOPTIONS";
            _hideadvancedoptions.Caption = "Hide advanced search options";
            this.Actions.Add(_hideadvancedoptions);

            OnCreated();
        }
        public @UMHSInteractionCopyINTERACTIONSUIModel() : base()
        {
            _id            = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _selected      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _date          = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _status        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _category      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _subcategory   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _summary       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactmethod = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "ID";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_selected
            //
            _selected.Name    = "SELECTED";
            _selected.Caption = "Selected";
            this.Fields.Add(_selected);
            //
            //_date
            //
            _date.Name       = "DATE";
            _date.Caption    = "Date";
            _date.DBReadOnly = true;
            this.Fields.Add(_date);
            //
            //_status
            //
            _status.Name       = "STATUS";
            _status.Caption    = "Status";
            _status.DBReadOnly = true;
            this.Fields.Add(_status);
            //
            //_category
            //
            _category.Name       = "CATEGORY";
            _category.Caption    = "Category";
            _category.DBReadOnly = true;
            this.Fields.Add(_category);
            //
            //_subcategory
            //
            _subcategory.Name       = "SUBCATEGORY";
            _subcategory.Caption    = "Sub category";
            _subcategory.DBReadOnly = true;
            this.Fields.Add(_subcategory);
            //
            //_summary
            //
            _summary.Name       = "SUMMARY";
            _summary.Caption    = "Summary";
            _summary.DBReadOnly = true;
            this.Fields.Add(_summary);
            //
            //_contactmethod
            //
            _contactmethod.Name       = "CONTACTMETHOD";
            _contactmethod.Caption    = "Contact method";
            _contactmethod.DBReadOnly = true;
            this.Fields.Add(_contactmethod);

            OnCreated();
        }
Ejemplo n.º 7
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 @AddDataFormTemplateSpecAddDataFormUIModel() : base()
        {
            _name                        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _description                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _recordtypeid                = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _querycategorycodeid         = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _siteid                      = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _siteidsearchaction          = new global::Blackbaud.AppFx.UIModeling.Core.ShowSearchFormUIAction();
            _useinquerydesigner          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _file                        = new global::Blackbaud.AppFx.UIModeling.Core.FileField <string>();
            _filename                    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _idfield                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _idtypecode                  = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <IDTYPECODES>();
            _alternatelookupidtypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _importfilename              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _idfieldui                   = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <string>();
            _idtypecodeui                = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <byte>();
            _importfileerror             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _invalidfiletype             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _importfileinfogroup         = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("beca2ec3-d89f-4714-a967-d8af422395e1");
            this.DataFormInstanceId = new System.Guid("5b0d9979-2a30-4308-92f7-4e774800ea4e");
            this.RecordType         = "Add Data Form Template Spec";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add an add data form template spec";
            this.UserInterfaceUrl   = "browser/htmlforms/AddDataFormTemplateSpecAddDataForm.html";

            //
            //_name
            //
            _name.Name     = "NAME";
            _name.Caption  = "Name";
            _name.Required = true;
            this.Fields.Add(_name);
            //
            //_description
            //
            _description.Name      = "DESCRIPTION";
            _description.Caption   = "Description";
            _description.Multiline = true;
            this.Fields.Add(_description);
            //
            //_recordtypeid
            //
            _recordtypeid.Name             = "RECORDTYPEID";
            _recordtypeid.Caption          = "Record type";
            _recordtypeid.Required         = true;
            _recordtypeid.SimpleDataListId = new System.Guid("51e50c02-b8cc-4842-a639-df2a14fc3947");
            this.Fields.Add(_recordtypeid);
            //
            //_querycategorycodeid
            //
            _querycategorycodeid.Name          = "QUERYCATEGORYCODEID";
            _querycategorycodeid.Caption       = "Category";
            _querycategorycodeid.CodeTableName = "QUERYCATEGORYCODE";
            this.Fields.Add(_querycategorycodeid);
            //
            //_siteid
            //
            _siteid.Name             = "SITEID";
            _siteid.Caption          = "Site";
            _siteid.SimpleDataListId = new System.Guid("c8e8d3ba-2725-421f-a796-e2fcc1202780");
            _siteid.LinkedActions.Add(_siteidsearchaction);
            _siteid.BlankValueCaption = "All sites";
            this.Fields.Add(_siteid);
            //
            //_siteidsearchaction
            //
            _siteidsearchaction.Name            = "SITEIDSEARCHACTION";
            _siteidsearchaction.Caption         = "Search";
            _siteidsearchaction.SearchListId    = new System.Guid("27a63ede-a0d4-4074-a85a-196df4adc0dd");
            _siteidsearchaction.EnableQuickFind = true;
            this.Actions.Add(_siteidsearchaction);
            //
            //_useinquerydesigner
            //
            _useinquerydesigner.Name    = "USEINQUERYDESIGNER";
            _useinquerydesigner.Caption = "Show this selection in the Query Designer";
            this.Fields.Add(_useinquerydesigner);
            //
            //_file
            //
            _file.Name            = "FILE";
            _file.Caption         = "File";
            _file.FileNameFieldId = "FILENAME";
            _file.ShowProgressUI  = true;
            _file.UploadType      = global::Blackbaud.AppFx.UIModeling.Core.FileFieldUploadType.OnFieldValueChanged;
            this.Fields.Add(_file);
            //
            //_filename
            //
            _filename.Name     = "FILENAME";
            _filename.Caption  = "Import file";
            _filename.Required = true;
            this.Fields.Add(_filename);
            //
            //_idfield
            //
            _idfield.Name     = "IDFIELD";
            _idfield.Caption  = "ID column";
            _idfield.Required = true;
            this.Fields.Add(_idfield);
            //
            //_idtypecode
            //
            _idtypecode.Name     = "IDTYPECODE";
            _idtypecode.Caption  = "ID type";
            _idtypecode.Required = true;
            _idtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <IDTYPECODES> {
                Value = IDTYPECODES.@SystemRecordID, Translation = "System record ID"
            });
            _idtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <IDTYPECODES> {
                Value = IDTYPECODES.@MRN, Translation = "MRN"
            });
            //_idtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<IDTYPECODES> {Value = IDTYPECODES.@AlternateLookupID, Translation = "Alternate lookup ID"});
            //_idtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<IDTYPECODES> {Value = IDTYPECODES.@MRN, Translation = "MRN"});
            _idtypecode.Value = IDTYPECODES.@SystemRecordID;
            this.Fields.Add(_idtypecode);
            //
            //_alternatelookupidtypecodeid
            //
            _alternatelookupidtypecodeid.Name             = "ALTERNATELOOKUPIDTYPECODEID";
            _alternatelookupidtypecodeid.Caption          = "Type";
            _alternatelookupidtypecodeid.SimpleDataListId = new System.Guid("32a7b280-cc3f-43c3-af56-1bcb0b04cf68");
            this.Fields.Add(_alternatelookupidtypecodeid);
            //
            //_importfilename
            //
            _importfilename.Name       = "IMPORTFILENAME";
            _importfilename.Caption    = "IMPORTFILENAME";
            _importfilename.Required   = true;
            _importfilename.Visible    = false;
            _importfilename.DBReadOnly = true;
            this.Fields.Add(_importfilename);
            //
            //_idfieldui
            //
            _idfieldui.Name             = "IDFIELDUI";
            _idfieldui.Caption          = "ID column";
            _idfieldui.Required         = true;
            _idfieldui.DBReadOnly       = true;
            _idfieldui.SimpleDataListId = new System.Guid("7fccc167-e0ce-40d9-8056-a05ebe9d95a5");
            _idfieldui.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("IMPORTFILENAME", "Fields!IMPORTFILENAME"));
            _idfieldui.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("USETEMPLOCATION", "true"));
            this.Fields.Add(_idfieldui);
            //
            //_idtypecodeui
            //
            _idtypecodeui.Name             = "IDTYPECODEUI";
            _idtypecodeui.Caption          = "ID type";
            _idtypecodeui.Required         = true;
            _idtypecodeui.DBReadOnly       = true;
            _idtypecodeui.SimpleDataListId = new System.Guid("478ad13e-16f4-48b3-a8ed-07f4ae4412e8");
            _idtypecodeui.EnableTypeAhead  = false;
            _idtypecodeui.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("RECORDTYPEID", "Fields!RECORDTYPEID"));
            this.Fields.Add(_idtypecodeui);
            //
            //_importfileerror
            //
            _importfileerror.Name       = "IMPORTFILEERROR";
            _importfileerror.Caption    = "IMPORTFILEERROR";
            _importfileerror.DBReadOnly = true;
            this.Fields.Add(_importfileerror);
            //
            //_invalidfiletype
            //
            _invalidfiletype.Name       = "INVALIDFILETYPE";
            _invalidfiletype.Caption    = "Obsolete";
            _invalidfiletype.Visible    = false;
            _invalidfiletype.DBReadOnly = true;
            this.Fields.Add(_invalidfiletype);
            //
            //_importfileinfogroup
            //
            _importfileinfogroup.Name    = "IMPORTFILEINFOGROUP";
            _importfileinfogroup.Caption = "Import file information";
            _importfileinfogroup.Fields.Add("FILENAME");
            _importfileinfogroup.Fields.Add("IDFIELD");
            _importfileinfogroup.Fields.Add("IDTYPECODE");
            _importfileinfogroup.Fields.Add("ALTERNATELOOKUPIDTYPECODEID");
            this.Fields.Add(_importfileinfogroup);

            OnCreated();
        }
Ejemplo n.º 9
0
        public @UMHSInteractionViewDataFormUIModel() : base()
        {
            _participants           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _comment                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _belongsto              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _expecteddate           = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _actualdate             = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _objective              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _status                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _owner                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _type                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _interactioncategory    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _interactionsubcategory = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _sites                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _expectedstarttime      = new global::Blackbaud.AppFx.UIModeling.Core.HourMinuteField();
            _expectedendtime        = new global::Blackbaud.AppFx.UIModeling.Core.HourMinuteField();
            _timezone               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _actualstarttime        = new global::Blackbaud.AppFx.UIModeling.Core.HourMinuteField();
            _actualendtime          = new global::Blackbaud.AppFx.UIModeling.Core.HourMinuteField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("fc825438-2a74-43a7-b417-0deb017eb863");
            this.DataFormInstanceId = new System.Guid("a20b702c-9466-42aa-9cc0-5060a9036f28");
            this.RecordType         = "MIMED Interaction";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSInteractionsViewForm.html";

            //
            //_participants
            //
            _participants.Name       = "PARTICIPANTS";
            _participants.Caption    = "Participants";
            _participants.DBReadOnly = true;
            this.Fields.Add(_participants);
            //
            //_comment
            //
            _comment.Name       = "COMMENT";
            _comment.Caption    = "Comments";
            _comment.DBReadOnly = true;
            this.Fields.Add(_comment);
            //
            //_belongsto
            //
            _belongsto.Name       = "BELONGSTO";
            _belongsto.Caption    = "Belongs to";
            _belongsto.DBReadOnly = true;
            _belongsto.MaxLength  = 700;
            this.Fields.Add(_belongsto);
            //
            //_expecteddate
            //
            _expecteddate.Name       = "EXPECTEDDATE";
            _expecteddate.Caption    = "Expected date";
            _expecteddate.DBReadOnly = true;
            this.Fields.Add(_expecteddate);
            //
            //_actualdate
            //
            _actualdate.Name       = "ACTUALDATE";
            _actualdate.Caption    = "Actual date";
            _actualdate.DBReadOnly = true;
            this.Fields.Add(_actualdate);
            //
            //_objective
            //
            _objective.Name       = "OBJECTIVE";
            _objective.Caption    = "Summary";
            _objective.DBReadOnly = true;
            _objective.MaxLength  = 100;
            this.Fields.Add(_objective);
            //
            //_status
            //
            _status.Name       = "STATUS";
            _status.Caption    = "Status";
            _status.DBReadOnly = true;
            _status.MaxLength  = 100;
            this.Fields.Add(_status);
            //
            //_owner
            //
            _owner.Name       = "OWNER";
            _owner.Caption    = "Owner";
            _owner.DBReadOnly = true;
            _owner.MaxLength  = 154;
            this.Fields.Add(_owner);
            //
            //_type
            //
            _type.Name       = "TYPE";
            _type.Caption    = "Contact method";
            _type.DBReadOnly = true;
            _type.MaxLength  = 100;
            this.Fields.Add(_type);
            //
            //_interactioncategory
            //
            _interactioncategory.Name       = "INTERACTIONCATEGORY";
            _interactioncategory.Caption    = "Category";
            _interactioncategory.DBReadOnly = true;
            _interactioncategory.MaxLength  = 100;
            this.Fields.Add(_interactioncategory);
            //
            //_interactionsubcategory
            //
            _interactionsubcategory.Name       = "INTERACTIONSUBCATEGORY";
            _interactionsubcategory.Caption    = "Subcategory";
            _interactionsubcategory.DBReadOnly = true;
            _interactionsubcategory.MaxLength  = 100;
            this.Fields.Add(_interactionsubcategory);
            //
            //_sites
            //
            _sites.Name       = "SITES";
            _sites.Caption    = "Sites";
            _sites.DBReadOnly = true;
            _sites.MaxLength  = 1024;
            this.Fields.Add(_sites);
            //
            //_expectedstarttime
            //
            _expectedstarttime.Name       = "EXPECTEDSTARTTIME";
            _expectedstarttime.Caption    = "Expected start time";
            _expectedstarttime.DBReadOnly = true;
            this.Fields.Add(_expectedstarttime);
            //
            //_expectedendtime
            //
            _expectedendtime.Name       = "EXPECTEDENDTIME";
            _expectedendtime.Caption    = "Expected end time";
            _expectedendtime.DBReadOnly = true;
            this.Fields.Add(_expectedendtime);
            //
            //_timezone
            //
            _timezone.Name       = "TIMEZONE";
            _timezone.Caption    = "Time zone";
            _timezone.DBReadOnly = true;
            _timezone.MaxLength  = 255;
            this.Fields.Add(_timezone);
            //
            //_actualstarttime
            //
            _actualstarttime.Name       = "ACTUALSTARTTIME";
            _actualstarttime.Caption    = "Actual start time";
            _actualstarttime.DBReadOnly = true;
            this.Fields.Add(_actualstarttime);
            //
            //_actualendtime
            //
            _actualendtime.Name       = "ACTUALENDTIME";
            _actualendtime.Caption    = "Actual end time";
            _actualendtime.DBReadOnly = true;
            this.Fields.Add(_actualendtime);

            OnCreated();
        }
        public @UMHSReferralFormUIModel() : base()
        {
            _referrerid           = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _referrerrolecodeid   = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _departmentid         = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _subdepartmentid      = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _followupcompleted    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _followupstatuscodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();//
            _followupstatuscode   = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <FOLLOWUPSTATUSCODES> >();
            _referraldate         = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _umhsdevstaffid       = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            //_umhsdevstaffassignmentdate = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _comments = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("a7d483b7-2c7f-4295-bfe0-e1a9b9e2d097");
            this.DataFormInstanceId = new System.Guid("77fc6de5-1849-4d84-aa6e-56dd5300f20b");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSReferralForm.html";

            //
            //_referrerid
            //
            _referrerid.Name             = "REFERRERID";
            _referrerid.Caption          = "Referrer";
            _referrerid.Required         = true; //May come around to make it required. And it did! 8/30/17 :)
            _referrerid.SearchListId     = new System.Guid("76d8c79c-b8d4-4349-beb5-283b4bad4285");
            _referrerid.EnableQuickFind  = true;
            _referrerid.EnableAutoSearch = true;
            this.Fields.Add(_referrerid);

            //
            //_departmentid
            //
            _departmentid.Name             = "DEPARTMENTID";
            _departmentid.Caption          = "Referrer department";
            _departmentid.Required         = true;
            _departmentid.SimpleDataListId = new System.Guid("0cbdb7f1-f629-4e7b-a7e1-c3e4ebd7d325");
            this.Fields.Add(_departmentid);
            //
            //_subdepartmentid
            //
            _subdepartmentid.Name             = "SUBDEPARTMENTID";
            _subdepartmentid.Caption          = "Referrer subdepartment";
            _subdepartmentid.SimpleDataListId = new System.Guid("879b4e21-6a71-4c60-9b41-771fa39ef9cf");
            _subdepartmentid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("DEPARTMENTID", "Fields!DEPARTMENTID"));
            this.Fields.Add(_subdepartmentid);



            //
            //_referrerrolecodeid
            //
            _referrerrolecodeid.Name          = "REFERRERROLECODEID";
            _referrerrolecodeid.Caption       = "Referrer role";
            _referrerrolecodeid.Required      = true;
            _referrerrolecodeid.CodeTableName = "USR_UMHS_REFERRERROLECODE";
            this.Fields.Add(_referrerrolecodeid);


            //
            //_followupcompleted
            //
            _followupcompleted.Name    = "FOLLOWUPCOMPLETED";
            _followupcompleted.Caption = "Follow-up completed";
            this.Fields.Add(_followupcompleted);

            //
            //_followupstatuscodeid
            //
            _followupstatuscodeid.Name          = "FOLLOWUPSTATUSCODEID";
            _followupstatuscodeid.Caption       = "Follow-up status";
            _followupstatuscodeid.CodeTableName = "USR_UMHS_MIMEDFOLLOWUPSTATUSCODE";
            this.Fields.Add(_followupstatuscodeid);


            //
            //_followupstatuscode
            //
            _followupstatuscode.Name    = "FOLLOWUPSTATUSCODE";
            _followupstatuscode.Caption = "Follow-up status";
            _followupstatuscode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <FOLLOWUPSTATUSCODES> > {
                Value = FOLLOWUPSTATUSCODES.@Empty, Translation = " "
            });
            _followupstatuscode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <FOLLOWUPSTATUSCODES> > {
                Value = FOLLOWUPSTATUSCODES.@Unsuccessful, Translation = "Unsuccessful"
            });
            _followupstatuscode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <FOLLOWUPSTATUSCODES> > {
                Value = FOLLOWUPSTATUSCODES.@Successful, Translation = "Successful"
            });
            _followupstatuscode.Value   = FOLLOWUPSTATUSCODES.@Empty;
            _followupstatuscode.Visible = false;
            this.Fields.Add(_followupstatuscode);

            //
            //_referraldate
            //
            _referraldate.Name     = "REFERRALDATE";
            _referraldate.Caption  = "Referral date";
            _referraldate.Required = true;
            this.Fields.Add(_referraldate);
            //
            //_umhsdevstaffid
            //
            _umhsdevstaffid.Name            = "UMHSDEVSTAFFID";
            _umhsdevstaffid.Caption         = "MIMED Development staff";
            _umhsdevstaffid.Required        = true;
            _umhsdevstaffid.SearchListId    = new System.Guid("23c5c603-d7d8-4106-aecc-65392b563887");
            _umhsdevstaffid.EnableQuickFind = true;
            this.Fields.Add(_umhsdevstaffid);
            ////
            ////_umhsdevstaffassignmentdate
            ////
            //_umhsdevstaffassignmentdate.Name = "UMHSDEVSTAFFASSIGNMENTDATE";
            //_umhsdevstaffassignmentdate.Caption = "Assignment date";
            //this.Fields.Add(_umhsdevstaffassignmentdate);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);

            OnCreated();
        }
        public @MIMEDHistoryReportUIModel() : base()
        {
            _userid           = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _actiontypecode   = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <ACTIONTYPECODES>();
            _datetype         = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <DATETYPES>();
            _startdate        = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate          = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _recordtypecode   = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <RECORDTYPECODES>();
            _daterangedisplay = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _umhsid           = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <Guid>();

            this.UserInterfaceUrl = "browser/htmlforms/custom/um.customfx.gratefulpatient/MIMEDHistoryReport.html";

            //
            //_userid
            //
            _userid.Name             = "USERID";
            _userid.Caption          = "User";
            _userid.Description      = "Filter the list based on the user who made the change.";
            _userid.SimpleDataListId = new System.Guid("c8f924ea-3aaf-4025-bd9e-36bc9fadee75");
            this.Fields.Add(_userid);
            //
            //_actiontypecode
            //
            _actiontypecode.Name        = "ACTIONTYPECODE";
            _actiontypecode.Caption     = "Action";
            _actiontypecode.Description = "Filter the list based on database actions.";
            _actiontypecode.Required    = true;
            _actiontypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <ACTIONTYPECODES> {
                Value = ACTIONTYPECODES.All
            });                                                                                                                                  //, Translation = "All"});
            _actiontypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <ACTIONTYPECODES> {
                Value = ACTIONTYPECODES.Add
            });                                                                                                                                   //, Translation = "Add"});
            _actiontypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <ACTIONTYPECODES> {
                Value = ACTIONTYPECODES.Edit
            });                                                                                                                                        //, Translation = "Edit"});
            _actiontypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <ACTIONTYPECODES> {
                Value = ACTIONTYPECODES.Delete
            });                                                                                                                                          //, Translation = "Delete"});
            _actiontypecode.Value = ACTIONTYPECODES.@All;
            this.Fields.Add(_actiontypecode);
            //
            //_datetype
            //
            _datetype.Name        = "DATETYPE";
            _datetype.Caption     = "Show";
            _datetype.Description = "Filter the list based on a time frame.";
            _datetype.Required    = true;
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.SpecificDate
            });                                                                                                                          //, Translation = "Specific Date"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.AllDates
            });                                                                                                                          //, Translation = "All Dates"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.Last30Days
            });                                                                                                                            //, Translation = "Last 30 days"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.Last60Days
            });                                                                                                                            //, Translation = "Last 60 days"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.Last90Days
            });                                                                                                                            //, Translation = "Last 90 days"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.Last6Months
            });                                                                                                                             //, Translation = "Last 6 months"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.LastYear
            });                                                                                                                          //, Translation = "Last year"});
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.Last5Years
            });                                                                                                                            //, Translation = "Last 5 years"});
            _datetype.Value = DATETYPES.@Last30Days;
            this.Fields.Add(_datetype);
            //
            //_startdate
            //
            _startdate.Name        = "STARTDATE";
            _startdate.Caption     = "Start date";
            _startdate.Description = "Beginning of the date range on which to filter the list.";
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name        = "ENDDATE";
            _enddate.Caption     = "End date";
            _enddate.Description = "End of the date range on which to filter the list.";
            this.Fields.Add(_enddate);
            //
            //_recordtypecode
            //
            _recordtypecode.Name        = "RECORDTYPECODE";
            _recordtypecode.Caption     = "Field type";
            _recordtypecode.Description = "Filter the list based on database actions.";
            _recordtypecode.Required    = true;
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.All
            });                                                                                                                                   //, Translation = "All"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Address
            });                                                                                                                                           //, Translation = "Address"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Alias
            });                                                                                                                                         //, Translation = "Alias"});
                                                                                                                                                        //_recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@ApplicationUserLink, Translation = "Application user link"});
                                                                                                                                                        // _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@Constituency, Translation = "Constituency"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.MIMEDData
            });                                                                                                                                             //, Translation = "MIMED Data"});
                                                                                                                                                            //_recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@DeceasedConstituent, Translation = "Deceased constituent"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Documentation
            });                                                                                                                                                 //, Translation = "Documentation"});
                                                                                                                                                                // _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@EducationalHistory, Translation = "Educational history"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.EmailAddress
            });                                                                                                                                                //, Translation = "Email address"});
                                                                                                                                                               //_recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@FinancialAccount, Translation = "Financial account"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Interest
            });                                                                                                                                            //, Translation = "Interest"});
                                                                                                                                                           //_recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@MatchingGiftCondition, Translation = "Matching gift condition"});
                                                                                                                                                           // _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@NameFormat, Translation = "Name format"});
                                                                                                                                                           // _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@OrganizationData, Translation = "Organization data"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Interaction
            });
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Affiliation
            });
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Team
            });
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Phone
            });                                                                                                                                         //, Translation = "Phone"});
            _recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <RECORDTYPECODES> {
                Value = RECORDTYPECODES.Relationship
            });                                                                                                                                                //, Translation = "Relationship"});
                                                                                                                                                               //_recordtypecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem<RECORDTYPECODES> {Value = RECORDTYPECODES.@SecurityGroup, Translation = "Security group"});
                                                                                                                                                               // _recordtypecode.Value = RECORDTYPECODES.@All;
            this.Fields.Add(_recordtypecode);
            //
            //_daterangedisplay
            //
            _daterangedisplay.Name    = "DATERANGEDISPLAY";
            _daterangedisplay.Caption = "DATERANGEDISPLAY";
            _daterangedisplay.Visible = false;
            this.Fields.Add(_daterangedisplay);
            //
            //_umhsid
            //
            _umhsid.Name            = "UMHSID";
            _umhsid.Caption         = "MIMED Constituent Name";
            _umhsid.Required        = true;
            _umhsid.EnableQuickFind = true;
            _umhsid.SearchListId    = new System.Guid("747530a1-be80-4054-a021-d2a599248261");
            _umhsid.Visible         = true;
            this.Fields.Add(_umhsid);

            OnCreated();
        }
Ejemplo n.º 12
0
        public @UMHSAddressFormUIModel() : base()
        {
            _addresstypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _isprimary         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _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>();
            _countryid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _postcode              = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <string>();
            _donotmail             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotmailreasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _historicalstartdate   = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _historicalenddate     = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _isconfidential        = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _infosourcecodeid      = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _infosourcecomments    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _addressinformation    = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _addresssource         = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("0df28b0a-7d6a-417b-a990-1218ac17c55b");
            this.DataFormInstanceId = new System.Guid("76d17156-002d-415d-a534-23ba9529025d");
            this.RecordType         = "MIMED Address";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add MIMED Address";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSAddressForm.html";

            //
            //_addresstypecodeid
            //
            _addresstypecodeid.Name          = "ADDRESSTYPECODEID";
            _addresstypecodeid.Caption       = "Address type";
            _addresstypecodeid.CodeTableName = "ADDRESSTYPECODE";
            this.Fields.Add(_addresstypecodeid);
            //
            //_isprimary
            //
            _isprimary.Name    = "ISPRIMARY";
            _isprimary.Caption = "Is primary";
            this.Fields.Add(_isprimary);
            //
            //_addressblock
            //
            _addressblock.Name      = "ADDRESSBLOCK";
            _addressblock.Caption   = "Address";
            _addressblock.MaxLength = 150;
            _addressblock.Multiline = true;
            this.Fields.Add(_addressblock);
            //
            //_city
            //
            _city.Name      = "CITY";
            _city.Caption   = "City";
            _city.MaxLength = 50;
            this.Fields.Add(_city);
            //
            //_stateid
            //
            _stateid.Name             = "STATEID";
            _stateid.Caption          = "State";
            _stateid.SimpleDataListId = new System.Guid("7fa91401-596c-4f7c-936d-6e41683121d7");
            _stateid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("COUNTRYID", "Fields!COUNTRYID"));
            this.Fields.Add(_stateid);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Country";
            _countryid.Required         = true;
            _countryid.SimpleDataListId = new System.Guid("c9649672-353d-42e8-8c25-4d34bbabfbba");
            _countryid.Value            = System.Guid.Parse("27CF0F7D-CDAF-448F-80DE-E9196BF28D36");
            this.Fields.Add(_countryid);
            //
            //_postcode
            //
            _postcode.Name               = "POSTCODE";
            _postcode.Caption            = "ZIP";
            _postcode.MaxLength          = 12;
            _postcode.SearchListId       = new System.Guid("e5de8c33-de58-4dc6-9a13-48be9f03db81");
            _postcode.DisplayTextIsValue = true;
            this.Fields.Add(_postcode);
            //
            //_donotmail
            //
            _donotmail.Name    = "DONOTMAIL";
            _donotmail.Caption = "Do not send mail to this address";
            this.Fields.Add(_donotmail);
            //
            //_donotmailreasoncodeid
            //
            _donotmailreasoncodeid.Name          = "DONOTMAILREASONCODEID";
            _donotmailreasoncodeid.Caption       = "Reason";
            _donotmailreasoncodeid.CodeTableName = "DONOTMAILREASONCODE";
            this.Fields.Add(_donotmailreasoncodeid);
            //
            //_historicalstartdate
            //
            _historicalstartdate.Name    = "HISTORICALSTARTDATE";
            _historicalstartdate.Caption = "Start date";
            _historicalstartdate.Value   = System.DateTime.Today;
            this.Fields.Add(_historicalstartdate);

            //
            //_historicalenddate
            //
            _historicalenddate.Name    = "HISTORICALENDDATE";
            _historicalenddate.Caption = "End date";
            this.Fields.Add(_historicalenddate);
            //
            //_isconfidential
            //
            _isconfidential.Name    = "ISCONFIDENTIAL";
            _isconfidential.Caption = "Is confidential";
            this.Fields.Add(_isconfidential);
            //
            //_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);
            //
            //_addressinformation
            //
            _addressinformation.Name    = "ADDRESSINFORMATION";
            _addressinformation.Caption = "Address information";
            _addressinformation.Fields.Add("ADDRESSTYPECODEID");
            _addressinformation.Fields.Add("COUNTRYID");
            _addressinformation.Fields.Add("ADDRESSBLOCK");
            _addressinformation.Fields.Add("CITY");
            _addressinformation.Fields.Add("STATEID");
            _addressinformation.Fields.Add("POSTCODE");
            _addressinformation.Fields.Add("ISPRIMARY");
            _addressinformation.Fields.Add("DONOTMAIL");
            _addressinformation.Fields.Add("DONOTMAILREASONCODEID");
            _addressinformation.Fields.Add("ISCONFIDENTIAL");
            this.Fields.Add(_addressinformation);

            //
            //_addresssource
            //
            _addresssource.Name    = "ADDRESSSOURCE";
            _addresssource.Caption = "Address Source";
            _addresssource.Fields.Add("INFOSOURCECODEID");
            _addresssource.Fields.Add("INFOSOURCECOMMENTS");
            this.Fields.Add(_addresssource);

            OnCreated();
        }
Ejemplo n.º 13
0
        public @UMHSConnectionFormUIModel() : base()
        {
            _mrn                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relationshipcodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _birthdate          = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                = new global::Blackbaud.AppFx.UIModeling.Core.TinyIntField();
            _gendercode         = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _infosourcecodeid   = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _comments           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            //_relexists = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("0d96a634-6f95-4317-b097-27268de0a69c");
            this.DataFormInstanceId = new System.Guid("6085707b-f469-4d8a-bbc4-f6111aa092e6");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add Patient Connection";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSConnectionForm.html";

            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.Required  = true;
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI sequence";
            _cpisequence.Required  = true;
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last name";
            _keyname.MaxLength = 100;
            this.Fields.Add(_keyname);
            //
            //_relationshipcodeid
            //
            _relationshipcodeid.Name          = "RELATIONSHIPCODEID";
            _relationshipcodeid.Caption       = "Relationship";
            _relationshipcodeid.CodeTableName = "USR_UMHS_RELATIONSHIPCODE";
            this.Fields.Add(_relationshipcodeid);
            //
            //_birthdate
            //
            _birthdate.Name     = "BIRTHDATE";
            _birthdate.Caption  = "Birth date";
            _birthdate.Required = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            _gendercode.Value = GENDERCODES.@Unknown;
            this.Fields.Add(_gendercode);
            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name          = "INFOSOURCECODEID";
            _infosourcecodeid.Caption       = "Information source";
            _infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);

            ////
            ////_relexists
            ////
            //_relexists.Name = "RELEXISTS";
            //_relexists.Caption = "Relationship Exists";
            //this.Fields.Add(_relexists);

            OnCreated();
        }
Ejemplo n.º 14
0
        public @MIMEDLoggingReportReportUIModel() : base()
        {
            _userid           = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _tabname          = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <string>();
            _datetype         = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <DATETYPES>();
            _dateragestart    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _daterageend      = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _daterangedisplay = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.UserInterfaceUrl = "browser/htmlforms/custom/um.customfx.gratefulpatient/MIMEDLoggingReportReport.html";

            //
            //_userid
            //
            _userid.Name             = "USERID";
            _userid.Caption          = "User";
            _userid.Description      = "Filter the list based on the user who made the change.";
            _userid.SimpleDataListId = new System.Guid("c8f924ea-3aaf-4025-bd9e-36bc9fadee75");
            this.Fields.Add(_userid);
            //
            //_tabname
            //
            _tabname.Name             = "TABNAME";
            _tabname.Caption          = "TabName";
            _tabname.Description      = "Filter the list based on the Tabs that was accessed.";
            _tabname.SimpleDataListId = new System.Guid("c8f924ea-3aaf-4025-bd9e-36bc9fadee75");
            this.Fields.Add(_tabname);
            //
            //_datetype
            //
            _datetype.Name        = "DATETYPE";
            _datetype.Caption     = "Show";
            _datetype.Description = "Filter the list based on a time frame.";
            _datetype.Required    = true;
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@SpecificDate, Translation = "Specific Date"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@AllDates, Translation = "All Dates"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@Last30Days, Translation = "Last 30 days"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@Last60Days, Translation = "Last 60 days"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@Last90Days, Translation = "Last 90 days"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@Last6Months, Translation = "Last 6 months"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@LastYear, Translation = "Last year"
            });
            _datetype.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATETYPES> {
                Value = DATETYPES.@Last5Years, Translation = "Last 5 years"
            });
            _datetype.Value = DATETYPES.@Last30Days;
            this.Fields.Add(_datetype);
            //
            //_dateragestart
            //
            _dateragestart.Name        = "DATERAGESTART";
            _dateragestart.Caption     = "Start date";
            _dateragestart.Description = "Beginning of the date range on which to filter the list.";
            this.Fields.Add(_dateragestart);
            //
            //_daterageend
            //
            _daterageend.Name        = "DATERAGEEND";
            _daterageend.Caption     = "End date";
            _daterageend.Description = "End of the date range on which to filter the list.";
            this.Fields.Add(_daterageend);
            //
            //_daterangedisplay
            //
            _daterangedisplay.Name    = "DATERANGEDISPLAY";
            _daterangedisplay.Caption = "DATERANGEDISPLAY";
            _daterangedisplay.Visible = false;
            this.Fields.Add(_daterangedisplay);

            OnCreated();
        }
        public @UMHSRelationshipAddFormUIModel() : base()
        {
            _reciprocalumhsid       = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _relationshiptypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _reciprocaltypecodeid   = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _startdate                  = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate                    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _contacttypecodeid          = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _relationshipsetid          = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _isprimarybusiness          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _iscontact                  = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isprimarycontact           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _ismatchinggiftrelationship = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isemergencycontact         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _receivesreportcard         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isguarantor                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _comments                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _patientname                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relationshipgroup          = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _commentsgroup              = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("248a6bb9-dc11-4bb0-aaeb-c105ee489dd2");
            this.DataFormInstanceId = new System.Guid("6f2b393b-80c9-474a-9ffb-f6dffd0f0f2d");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add patient relationship";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSRelationshipAddForm.html";

            //
            //_reciprocalumhsid
            //
            _reciprocalumhsid.Name         = "RECIPROCALUMHSID";
            _reciprocalumhsid.Caption      = "Related individual";
            _reciprocalumhsid.Required     = true;
            _reciprocalumhsid.SearchListId = new System.Guid("747530a1-be80-4054-a021-d2a599248261");
            _reciprocalumhsid.SearchFieldOverrides.Add(new global::Blackbaud.AppFx.UIModeling.Core.FieldOverride()
            {
                FieldId = "PATIENTSONLY", DefaultValueText = "true"
            });
            this.Fields.Add(_reciprocalumhsid);
            //
            //_relationshiptypecodeid
            //
            _relationshiptypecodeid.Name             = "RELATIONSHIPTYPECODEID";
            _relationshiptypecodeid.Caption          = "Relationship type";
            _relationshiptypecodeid.Required         = true;
            _relationshiptypecodeid.SimpleDataListId = new System.Guid("4e869c5a-9b9d-4e84-b6e0-1fc66bafbafc");
            _relationshiptypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("CONSTITUENTID", "Form!ContextID"));
            this.Fields.Add(_relationshiptypecodeid);
            //
            //_reciprocaltypecodeid
            //
            _reciprocaltypecodeid.Name             = "RECIPROCALTYPECODEID";
            _reciprocaltypecodeid.Caption          = "Individual is the";
            _reciprocaltypecodeid.Required         = true;
            _reciprocaltypecodeid.SimpleDataListId = new System.Guid("c3018803-2ea5-4f62-91cf-412e88d15f9b");
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("APPLIESTOCONSTITUENTTYPE", "Fields!CONSTITUENTTYPE"));
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("CONSTITUENTID", "Fields!RECIPROCALCONSTITUENTID"));
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("APPLIESTORELATIONSHIPTYPEID", "Fields!RELATIONSHIPTYPECODEID"));
            this.Fields.Add(_reciprocaltypecodeid);
            //
            //_startdate
            //
            _startdate.Name    = "STARTDATE";
            _startdate.Caption = "Start date";
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_contacttypecodeid
            //
            _contacttypecodeid.Name          = "CONTACTTYPECODEID";
            _contacttypecodeid.Caption       = "Contact type";
            _contacttypecodeid.CodeTableName = "CONTACTTYPECODE";
            this.Fields.Add(_contacttypecodeid);
            //
            //_relationshipsetid
            //
            _relationshipsetid.Name    = "RELATIONSHIPSETID";
            _relationshipsetid.Caption = "Relationship set";
            _relationshipsetid.Visible = false;
            this.Fields.Add(_relationshipsetid);
            //
            //_isprimarybusiness
            //
            _isprimarybusiness.Name    = "ISPRIMARYBUSINESS";
            _isprimarybusiness.Caption = "Primary business";
            this.Fields.Add(_isprimarybusiness);
            //
            //_iscontact
            //
            _iscontact.Name    = "ISCONTACT";
            _iscontact.Caption = "Contact";
            this.Fields.Add(_iscontact);
            //
            //_isprimarycontact
            //
            _isprimarycontact.Name    = "ISPRIMARYCONTACT";
            _isprimarycontact.Caption = "Primary contact";
            this.Fields.Add(_isprimarycontact);
            //
            //_ismatchinggiftrelationship
            //
            _ismatchinggiftrelationship.Name    = "ISMATCHINGGIFTRELATIONSHIP";
            _ismatchinggiftrelationship.Caption = "Matching gift relationship";
            this.Fields.Add(_ismatchinggiftrelationship);
            //
            //_isemergencycontact
            //
            _isemergencycontact.Name    = "ISEMERGENCYCONTACT";
            _isemergencycontact.Caption = "Emergency contact";
            this.Fields.Add(_isemergencycontact);
            //
            //_receivesreportcard
            //
            _receivesreportcard.Name    = "RECEIVESREPORTCARD";
            _receivesreportcard.Caption = "Receives report card";
            this.Fields.Add(_receivesreportcard);
            //
            //_isguarantor
            //
            _isguarantor.Name    = "ISGUARANTOR";
            _isguarantor.Caption = "Is guarantor";
            this.Fields.Add(_isguarantor);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);
            //
            //_comments
            //
            _patientname.Name    = "PATIENTNAME";
            _patientname.Caption = "Patient name";
            this.Fields.Add(_patientname);
            //
            //_relationshipgroup
            //
            _relationshipgroup.Name    = "RELATIONSHIPGROUP";
            _relationshipgroup.Caption = "Relationship";
            _relationshipgroup.Fields.Add("PATIENTNAME");
            _relationshipgroup.Fields.Add("RECIPROCALUMHSID");
            _relationshipgroup.Fields.Add("RELATIONSHIPTYPECODEID");
            _relationshipgroup.Fields.Add("RECIPROCALTYPECODEID");
            _relationshipgroup.Fields.Add("STARTDATE");
            _relationshipgroup.Fields.Add("ENDDATE");
            _relationshipgroup.Fields.Add("CONTACTTYPECODEID");
            _relationshipgroup.Fields.Add("RELATIONSHIPSETID");
            this.Fields.Add(_relationshipgroup);
            //
            //_commentsgroup
            //
            _commentsgroup.Name    = "COMMENTSGROUP";
            _commentsgroup.Caption = "Comments";
            _commentsgroup.Fields.Add("COMMENTS");
            _commentsgroup.Fields.Add("ISPRIMARYBUSINESS");
            _commentsgroup.Fields.Add("ISCONTACT");
            _commentsgroup.Fields.Add("ISPRIMARYCONTACT");
            _commentsgroup.Fields.Add("ISMATCHINGGIFTRELATIONSHIP");
            _commentsgroup.Fields.Add("ISEMERGENCYCONTACT");
            _commentsgroup.Fields.Add("RECEIVESREPORTCARD");
            _commentsgroup.Fields.Add("ISGUARANTOR");
            this.Fields.Add(_commentsgroup);

            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();
        }
        public @ExchangeRateRefreshProcessEditDataFormUIModel() : base()
        {
            _name              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _description       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _fixerapiaccesskey = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _datecode          = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <DATECODES>();
            _historicaldate    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit;
            this.DataFormTemplateId = new System.Guid("42ba2276-1976-4a6d-9599-8aea48902dec");
            this.DataFormInstanceId = new System.Guid("0e1b44fa-cb8a-4997-9f89-6ef4d8b5f9c9");
            this.RecordType         = "Exchange Rate Refresh Process";
            this.FORMHEADER.Value   = "Edit an exchange rate refresh process";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/currency/ExchangeRateRefreshProcessEditDataForm.html";

            //
            //_name
            //
            _name.Name      = "NAME";
            _name.Caption   = "Name";
            _name.Required  = true;
            _name.MaxLength = 100;
            this.Fields.Add(_name);
            //
            //_description
            //
            _description.Name      = "DESCRIPTION";
            _description.Caption   = "Description";
            _description.MaxLength = 255;
            this.Fields.Add(_description);
            //
            //_fixerapiaccesskey
            //
            _fixerapiaccesskey.Name      = "FIXERAPIACCESSKEY";
            _fixerapiaccesskey.Caption   = "Fixer API access key";
            _fixerapiaccesskey.Required  = true;
            _fixerapiaccesskey.MaxLength = 32;
            this.Fields.Add(_fixerapiaccesskey);
            //
            //_datecode
            //
            _datecode.Name     = "DATECODE";
            _datecode.Caption  = "Use date";
            _datecode.Required = true;
            _datecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATECODES> {
                Value = DATECODES.@Latest, Translation = "Latest"
            });
            _datecode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <DATECODES> {
                Value = DATECODES.@Historical, Translation = "Historical"
            });
            _datecode.Value = DATECODES.@Latest;
            this.Fields.Add(_datecode);
            //
            //_historicaldate
            //
            _historicaldate.Name    = "HISTORICALDATE";
            _historicaldate.Caption = "Date";
            this.Fields.Add(_historicaldate);

            OnCreated();
        }
Ejemplo n.º 18
0
        public MultiSelectTransactionTypesUIModel() : base()
        {
            _payment                   = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _pledge                    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _recurringgift             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _matchinggift              = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _selectall                 = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _unselectall               = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _transactionTypes          = new global::System.Collections.Generic.List <BooleanField>();
            _transactiontypesdelimited = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.FORMHEADER.Value = "Select transaction types";
            this.UserInterfaceUrl = "browser/htmlforms/custom/reportingmultiselect/MultiSelectTransactionTypes.html";
            //
            // _transactiontypesdelimited
            //
            _transactiontypesdelimited.Name = "TRANSACTIONTYPESDELIMITED";
            this.Fields.Add(_transactiontypesdelimited);
            //
            //_payment
            //
            _payment.Name    = "PAYMENT";
            _payment.Caption = "Payment";
            this.Fields.Add(_payment);
            //
            //_pledge
            //
            _pledge.Name    = "PLEDGE";
            _pledge.Caption = "Pledge";
            this.Fields.Add(_pledge);
            //
            //_recurringgift
            //
            _recurringgift.Name    = "RECURRINGGIFT";
            _recurringgift.Caption = "Recurring gift";
            this.Fields.Add(_recurringgift);
            //
            //_matchinggift
            //
            _matchinggift.Name    = "MATCHINGGIFT";
            _matchinggift.Caption = "Matching gift claim";
            this.Fields.Add(_matchinggift);
            //
            //_selectall
            //
            _selectall.Name    = "SELECTALL";
            _selectall.Caption = "Select all";
            this.Actions.Add(_selectall);
            //
            //_unselectall
            //
            _unselectall.Name    = "UNSELECTALL";
            _unselectall.Caption = "Unselect all";
            this.Actions.Add(_unselectall);

            _transactionTypes.Add(this._payment);
            _transactionTypes.Add(this._pledge);
            _transactionTypes.Add(this._recurringgift);
            _transactionTypes.Add(this._matchinggift);

            OnCreated();
        }
        public @UMHSPhoneViewDataFormUIModel() : base()
        {
            _phonetypecode           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phonenumber             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primary                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotcall               = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotcallreasoncode     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecode          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecomments      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _startdate               = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate                 = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _callbefore              = new global::Blackbaud.AppFx.UIModeling.Core.TimeField();
            _callafter               = new global::Blackbaud.AppFx.UIModeling.Core.TimeField();
            _dateadded               = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _isconfidential          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _country                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _confidentialimage       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _confidentialdescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primaryimage            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _enddatedescription      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotcallimage          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotcalldescription    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _hyphen             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactimage       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactdescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("a55fc2f8-f9cc-479a-82c5-e41102319793");
            this.DataFormInstanceId = new System.Guid("dc0be8a6-d96c-4374-aee5-897404ad975b");
            this.RecordType         = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSPhoneViewDataForm.html";

            //
            //_phonetypecode
            //
            _phonetypecode.Name       = "PHONETYPECODE";
            _phonetypecode.Caption    = "Type";
            _phonetypecode.DBReadOnly = true;
            _phonetypecode.MaxLength  = 100;
            this.Fields.Add(_phonetypecode);
            //
            //_phonenumber
            //
            _phonenumber.Name       = "PHONENUMBER";
            _phonenumber.Caption    = "Number";
            _phonenumber.DBReadOnly = true;
            _phonenumber.MaxLength  = 100;
            this.Fields.Add(_phonenumber);
            //
            //_primary
            //
            _primary.Name       = "PRIMARY";
            _primary.Caption    = "Primary";
            _primary.DBReadOnly = true;
            this.Fields.Add(_primary);
            //
            //_donotcall
            //
            _donotcall.Name       = "DONOTCALL";
            _donotcall.Caption    = "Do not call";
            _donotcall.DBReadOnly = true;
            this.Fields.Add(_donotcall);
            //
            //_donotcallreasoncode
            //
            _donotcallreasoncode.Name       = "DONOTCALLREASONCODE";
            _donotcallreasoncode.Caption    = "Reason";
            _donotcallreasoncode.DBReadOnly = true;
            _donotcallreasoncode.MaxLength  = 100;
            this.Fields.Add(_donotcallreasoncode);
            //
            //_infosourcecode
            //
            _infosourcecode.Name       = "INFOSOURCECODE";
            _infosourcecode.Caption    = "Information source";
            _infosourcecode.DBReadOnly = true;
            _infosourcecode.MaxLength  = 100;
            this.Fields.Add(_infosourcecode);
            //
            //_infosourcecomments
            //
            _infosourcecomments.Name       = "INFOSOURCECOMMENTS";
            _infosourcecomments.Caption    = "Comments";
            _infosourcecomments.DBReadOnly = true;
            _infosourcecomments.MaxLength  = 256;
            this.Fields.Add(_infosourcecomments);
            //
            //_startdate
            //
            _startdate.Name       = "STARTDATE";
            _startdate.Caption    = "Start date";
            _startdate.DBReadOnly = true;
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name       = "ENDDATE";
            _enddate.Caption    = "End date";
            _enddate.DBReadOnly = true;
            this.Fields.Add(_enddate);
            //
            //_callbefore
            //
            _callbefore.Name    = "CALLBEFORE";
            _callbefore.Caption = "Call before";
            this.Fields.Add(_callbefore);
            //
            //_callafter
            //
            _callafter.Name    = "CALLAFTER";
            _callafter.Caption = "Call after";
            this.Fields.Add(_callafter);

            //
            //_dateadded
            //
            _dateadded.Name       = "DATEADDED";
            _dateadded.Caption    = "Date added";
            _dateadded.DBReadOnly = true;
            this.Fields.Add(_dateadded);
            //
            //_isconfidential
            //
            _isconfidential.Name       = "ISCONFIDENTIAL";
            _isconfidential.Caption    = "Confidential";
            _isconfidential.DBReadOnly = true;
            this.Fields.Add(_isconfidential);
            //
            //_country
            //
            _country.Name       = "COUNTRY";
            _country.Caption    = "Country";
            _country.DBReadOnly = true;
            _country.MaxLength  = 100;
            this.Fields.Add(_country);
            //
            //_confidentialimage
            //
            _confidentialimage.Name       = "CONFIDENTIALIMAGE";
            _confidentialimage.Caption    = "CONFIDENTIALIMAGE";
            _confidentialimage.DBReadOnly = true;
            this.Fields.Add(_confidentialimage);
            //
            //_confidentialdescription
            //
            _confidentialdescription.Name       = "CONFIDENTIALDESCRIPTION";
            _confidentialdescription.Caption    = "CONFIDENTIALDESCRIPTION";
            _confidentialdescription.DBReadOnly = true;
            this.Fields.Add(_confidentialdescription);
            //
            //_primaryimage
            //
            _primaryimage.Name       = "PRIMARYIMAGE";
            _primaryimage.Caption    = "PRIMARYIMAGE";
            _primaryimage.DBReadOnly = true;
            this.Fields.Add(_primaryimage);
            //
            //_enddatedescription
            //
            _enddatedescription.Name       = "ENDDATEDESCRIPTION";
            _enddatedescription.Caption    = "ENDDATEDESCRIPTION";
            _enddatedescription.DBReadOnly = true;
            this.Fields.Add(_enddatedescription);
            //
            //_donotcallimage
            //
            _donotcallimage.Name       = "DONOTCALLIMAGE";
            _donotcallimage.Caption    = "DONOTCALLIMAGE";
            _donotcallimage.DBReadOnly = true;
            this.Fields.Add(_donotcallimage);
            //
            //_donotcalldescription
            //
            _donotcalldescription.Name       = "DONOTCALLDESCRIPTION";
            _donotcalldescription.Caption    = "DONOTCALLDESCRIPTION";
            _donotcalldescription.DBReadOnly = true;
            this.Fields.Add(_donotcalldescription);
            //
            //_hyphen
            //
            _hyphen.Name       = "HYPHEN";
            _hyphen.Caption    = "HYPHEN";
            _hyphen.DBReadOnly = true;
            this.Fields.Add(_hyphen);
            //
            //_contactimage
            //
            _contactimage.Name       = "CONTACTIMAGE";
            _contactimage.Caption    = "CONTACTIMAGE";
            _contactimage.DBReadOnly = true;
            this.Fields.Add(_contactimage);
            //
            //_contactdescription
            //
            _contactdescription.Name       = "CONTACTDESCRIPTION";
            _contactdescription.Caption    = "CONTACTDESCRIPTION";
            _contactdescription.DBReadOnly = true;
            this.Fields.Add(_contactdescription);

            OnCreated();
        }
        public @UMHSRelationshipEditFormUIModel() : base()
        {
            _patientname            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relatedindividual      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relationshiptypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _reciprocaltypecodeid   = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _startdate                  = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate                    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _contacttypecodeid          = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _relationshipsetid          = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _isspouse                   = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isprimarybusiness          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _iscontact                  = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isprimarycontact           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _ismatchinggiftrelationship = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isemergencycontact         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _receivesreportcard         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _isguarantor                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _comments                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relationshipgroup          = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _commentsgroup              = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit;
            this.DataFormTemplateId = new System.Guid("9ae6c14d-4d35-4fb4-a25d-820e0719b243");
            this.DataFormInstanceId = new System.Guid("204f8d3a-2e0b-47ca-bc7e-3e10cdf41d49");
            this.RecordType         = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/UMHSRelationshipEditForm.html";

            //
            //_patientname
            //
            _patientname.Name       = "PATIENTNAME";
            _patientname.Caption    = "Patient name";
            _patientname.Visible    = false;
            _patientname.DBReadOnly = true;
            _patientname.MaxLength  = 100;
            this.Fields.Add(_patientname);
            //
            //_relatedindividual
            //
            _relatedindividual.Name       = "RELATEDINDIVIDUAL";
            _relatedindividual.Caption    = "Related individual";
            _relatedindividual.DBReadOnly = true;
            _relatedindividual.MaxLength  = 100;
            this.Fields.Add(_relatedindividual);
            //
            //_relationshiptypecodeid
            //
            _relationshiptypecodeid.Name             = "RELATIONSHIPTYPECODEID";
            _relationshiptypecodeid.Caption          = "Relationship type";
            _relationshiptypecodeid.Required         = true;
            _relationshiptypecodeid.SimpleDataListId = new System.Guid("4e869c5a-9b9d-4e84-b6e0-1fc66bafbafc");
            _relationshiptypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("CONSTITUENTID", "Form!ContextID"));
            this.Fields.Add(_relationshiptypecodeid);
            //
            //_reciprocaltypecodeid
            //
            _reciprocaltypecodeid.Name             = "RECIPROCALTYPECODEID";
            _reciprocaltypecodeid.Caption          = "Individual is the";
            _reciprocaltypecodeid.Required         = true;
            _reciprocaltypecodeid.SimpleDataListId = new System.Guid("c3018803-2ea5-4f62-91cf-412e88d15f9b");
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("APPLIESTOCONSTITUENTTYPE", "Fields!CONSTITUENTTYPE"));
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("CONSTITUENTID", "Fields!RECIPROCALCONSTITUENTID"));
            _reciprocaltypecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("APPLIESTORELATIONSHIPTYPEID", "Fields!RELATIONSHIPTYPECODEID"));
            this.Fields.Add(_reciprocaltypecodeid);
            //
            //_startdate
            //
            _startdate.Name    = "STARTDATE";
            _startdate.Caption = "Start date";
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_contacttypecodeid
            //
            _contacttypecodeid.Name          = "CONTACTTYPECODEID";
            _contacttypecodeid.Caption       = "Contact type";
            _contacttypecodeid.CodeTableName = "CONTACTTYPECODE";
            this.Fields.Add(_contacttypecodeid);
            //
            //_relationshipsetid
            //
            _relationshipsetid.Name    = "RELATIONSHIPSETID";
            _relationshipsetid.Caption = "Relationship set";
            _relationshipsetid.Visible = false;
            this.Fields.Add(_relationshipsetid);
            //
            //_isspouse
            //
            _isspouse.Name    = "ISSPOUSE";
            _isspouse.Caption = "Spouse";
            this.Fields.Add(_isspouse);
            //
            //_isprimarybusiness
            //
            _isprimarybusiness.Name    = "ISPRIMARYBUSINESS";
            _isprimarybusiness.Caption = "Primary business";
            this.Fields.Add(_isprimarybusiness);
            //
            //_iscontact
            //
            _iscontact.Name    = "ISCONTACT";
            _iscontact.Caption = "Contact";
            this.Fields.Add(_iscontact);
            //
            //_isprimarycontact
            //
            _isprimarycontact.Name    = "ISPRIMARYCONTACT";
            _isprimarycontact.Caption = "Primary contact";
            this.Fields.Add(_isprimarycontact);
            //
            //_ismatchinggiftrelationship
            //
            _ismatchinggiftrelationship.Name    = "ISMATCHINGGIFTRELATIONSHIP";
            _ismatchinggiftrelationship.Caption = "Matching gift relationship";
            this.Fields.Add(_ismatchinggiftrelationship);
            //
            //_isemergencycontact
            //
            _isemergencycontact.Name    = "ISEMERGENCYCONTACT";
            _isemergencycontact.Caption = "Emergency contact";
            this.Fields.Add(_isemergencycontact);
            //
            //_receivesreportcard
            //
            _receivesreportcard.Name    = "RECEIVESREPORTCARD";
            _receivesreportcard.Caption = "Receives report card";
            this.Fields.Add(_receivesreportcard);
            //
            //_isguarantor
            //
            _isguarantor.Name    = "ISGUARANTOR";
            _isguarantor.Caption = "Is guarantor";
            this.Fields.Add(_isguarantor);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);
            //
            //_relationshipgroup
            //
            _relationshipgroup.Name    = "RELATIONSHIPGROUP";
            _relationshipgroup.Caption = "Relationship";
            _relationshipgroup.Fields.Add("RELATEDINDIVIDUAL");
            _relationshipgroup.Fields.Add("RELATIONSHIPTYPECODEID");
            _relationshipgroup.Fields.Add("RECIPROCALTYPECODEID");
            _relationshipgroup.Fields.Add("STARTDATE");
            _relationshipgroup.Fields.Add("ENDDATE");
            _relationshipgroup.Fields.Add("CONTACTTYPECODEID");
            _relationshipgroup.Fields.Add("RELATIONSHIPSETID");
            this.Fields.Add(_relationshipgroup);
            //
            //_commentsgroup
            //
            _commentsgroup.Name    = "COMMENTSGROUP";
            _commentsgroup.Caption = "Comments";
            _commentsgroup.Fields.Add("COMMENTS");
            _commentsgroup.Fields.Add("ISSPOUSE");
            _commentsgroup.Fields.Add("ISPRIMARYBUSINESS");
            _commentsgroup.Fields.Add("ISCONTACT");
            _commentsgroup.Fields.Add("ISPRIMARYCONTACT");
            _commentsgroup.Fields.Add("ISMATCHINGGIFTRELATIONSHIP");
            _commentsgroup.Fields.Add("ISEMERGENCYCONTACT");
            _commentsgroup.Fields.Add("RECEIVESREPORTCARD");
            _commentsgroup.Fields.Add("ISGUARANTOR");
            this.Fields.Add(_commentsgroup);

            OnCreated();
        }
        public @UMHSAddressViewDataFormUIModel() : base()
        {
            _address                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _country                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primary                      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotmail                    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotmailreasoncode          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _isformer                     = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _dateadded                    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _historicalstartdate          = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _historicalenddate            = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _infosourcecode               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecomments           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _isconfidential               = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _confidentialimage            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _confidentialdescription      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _primaryimage                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _historicalenddatedescription = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotmailimage               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _donotmaildescription         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _seasonalrangedescription     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _hyphen                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactimage          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _contactdescription    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _origincodetranslation = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("f1f35dc0-946f-4170-ad74-9fc7b9fedc83");
            this.DataFormInstanceId = new System.Guid("75f282f7-9e30-41fb-84ca-321bc8c9eb98");
            this.RecordType         = "MIMED Data";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSAddressViewDataForm.html";

            //
            //_address
            //
            _address.Name       = "ADDRESS";
            _address.Caption    = "Address";
            _address.DBReadOnly = true;
            _address.MaxLength  = 300;
            this.Fields.Add(_address);
            //
            //_country
            //
            _country.Name       = "COUNTRY";
            _country.Caption    = "Country";
            _country.DBReadOnly = true;
            _country.MaxLength  = 100;
            this.Fields.Add(_country);
            //
            //_primary
            //
            _primary.Name       = "PRIMARY";
            _primary.Caption    = "Primary";
            _primary.DBReadOnly = true;
            this.Fields.Add(_primary);
            //
            //_donotmail
            //
            _donotmail.Name       = "DONOTMAIL";
            _donotmail.Caption    = "Do not mail";
            _donotmail.DBReadOnly = true;
            this.Fields.Add(_donotmail);
            //
            //_donotmailreasoncode
            //
            _donotmailreasoncode.Name       = "DONOTMAILREASONCODE";
            _donotmailreasoncode.Caption    = "Reason";
            _donotmailreasoncode.DBReadOnly = true;
            _donotmailreasoncode.MaxLength  = 100;
            this.Fields.Add(_donotmailreasoncode);
            //
            //_isformer
            //
            _isformer.Name       = "ISFORMER";
            _isformer.Caption    = "Is former";
            _isformer.DBReadOnly = true;
            this.Fields.Add(_isformer);
            //
            //_dateadded
            //
            _dateadded.Name       = "DATEADDED";
            _dateadded.Caption    = "Date added";
            _dateadded.DBReadOnly = true;
            this.Fields.Add(_dateadded);
            //
            //_historicalstartdate
            //
            _historicalstartdate.Name       = "HISTORICALSTARTDATE";
            _historicalstartdate.Caption    = "Historical start date";
            _historicalstartdate.DBReadOnly = true;
            this.Fields.Add(_historicalstartdate);
            //
            //_historicalenddate
            //
            _historicalenddate.Name       = "HISTORICALENDDATE";
            _historicalenddate.Caption    = "Historical end date";
            _historicalenddate.DBReadOnly = true;
            this.Fields.Add(_historicalenddate);
            //
            //_infosourcecode
            //
            _infosourcecode.Name       = "INFOSOURCECODE";
            _infosourcecode.Caption    = "Information source";
            _infosourcecode.DBReadOnly = true;
            _infosourcecode.MaxLength  = 100;
            this.Fields.Add(_infosourcecode);
            //
            //_infosourcecomments
            //
            _infosourcecomments.Name       = "INFOSOURCECOMMENTS";
            _infosourcecomments.Caption    = "Comments";
            _infosourcecomments.DBReadOnly = true;
            _infosourcecomments.MaxLength  = 256;
            this.Fields.Add(_infosourcecomments);
            //
            //_isconfidential
            //
            _isconfidential.Name       = "ISCONFIDENTIAL";
            _isconfidential.Caption    = "Confidential";
            _isconfidential.DBReadOnly = true;
            this.Fields.Add(_isconfidential);
            //
            //_confidentialimage
            //
            _confidentialimage.Name       = "CONFIDENTIALIMAGE";
            _confidentialimage.Caption    = "CONFIDENTIALIMAGE";
            _confidentialimage.DBReadOnly = true;
            this.Fields.Add(_confidentialimage);
            //
            //_confidentialdescription
            //
            _confidentialdescription.Name       = "CONFIDENTIALDESCRIPTION";
            _confidentialdescription.Caption    = "CONFIDENTIALDESCRIPTION";
            _confidentialdescription.DBReadOnly = true;
            this.Fields.Add(_confidentialdescription);
            //
            //_primaryimage
            //
            _primaryimage.Name       = "PRIMARYIMAGE";
            _primaryimage.Caption    = "PRIMARYIMAGE";
            _primaryimage.DBReadOnly = true;
            this.Fields.Add(_primaryimage);
            //
            //_historicalenddatedescription
            //
            _historicalenddatedescription.Name       = "HISTORICALENDDATEDESCRIPTION";
            _historicalenddatedescription.Caption    = "HISTORICALENDDATEDESCRIPTION";
            _historicalenddatedescription.DBReadOnly = true;
            this.Fields.Add(_historicalenddatedescription);
            //
            //_donotmailimage
            //
            _donotmailimage.Name       = "DONOTMAILIMAGE";
            _donotmailimage.Caption    = "DONOTMAILIMAGE";
            _donotmailimage.DBReadOnly = true;
            this.Fields.Add(_donotmailimage);
            //
            //_donotmaildescription
            //
            _donotmaildescription.Name       = "DONOTMAILDESCRIPTION";
            _donotmaildescription.Caption    = "DONOTMAILDESCRIPTION";
            _donotmaildescription.DBReadOnly = true;
            this.Fields.Add(_donotmaildescription);
            //
            //_seasonalrangedescription
            //
            _seasonalrangedescription.Name       = "SEASONALRANGEDESCRIPTION";
            _seasonalrangedescription.Caption    = "SEASONALRANGEDESCRIPTION";
            _seasonalrangedescription.DBReadOnly = true;
            this.Fields.Add(_seasonalrangedescription);
            //
            //_hyphen
            //
            _hyphen.Name       = "HYPHEN";
            _hyphen.Caption    = "HYPHEN";
            _hyphen.DBReadOnly = true;
            this.Fields.Add(_hyphen);
            //
            //_contactimage
            //
            _contactimage.Name       = "CONTACTIMAGE";
            _contactimage.Caption    = "CONTACTIMAGE";
            _contactimage.DBReadOnly = true;
            this.Fields.Add(_contactimage);
            //
            //_contactdescription
            //
            _contactdescription.Name       = "CONTACTDESCRIPTION";
            _contactdescription.Caption    = "CONTACTDESCRIPTION";
            _contactdescription.DBReadOnly = true;
            this.Fields.Add(_contactdescription);
            //
            //_origincodetranslation
            //
            _origincodetranslation.Name       = "ORIGINCODETRANSLATION";
            _origincodetranslation.Caption    = "Information source";
            _origincodetranslation.DBReadOnly = true;
            this.Fields.Add(_origincodetranslation);

            OnCreated();
        }
Ejemplo n.º 22
0
        public @MultiSelectApplicationsUIModel() : base()
        {
            _donation              = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _eventregistration     = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _matchinggift          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _plannedgift           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _pledge                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _recurringgift         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _other                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _applicationsdelimited = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _selectall             = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _unselect              = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _applications          = new global::System.Collections.Generic.List <BooleanField>();

            this.FORMHEADER.Value = "Select applications";
            this.UserInterfaceUrl = "browser/htmlforms/custom/reportingmultiselect/MultiSelectApplications.html";

            //
            //_donation
            //
            _donation.Name    = "DONATION";
            _donation.Caption = "Donation";
            this.Fields.Add(_donation);
            //
            //_eventregistration
            //
            _eventregistration.Name    = "EVENTREGISTRATION";
            _eventregistration.Caption = "Event registration";
            this.Fields.Add(_eventregistration);
            //
            //_matchinggift
            //
            _matchinggift.Name    = "MATCHINGGIFT";
            _matchinggift.Caption = "Matching gift";
            this.Fields.Add(_matchinggift);
            //
            //_plannedgift
            //
            _plannedgift.Name    = "PLANNEDGIFT";
            _plannedgift.Caption = "Planned gift";
            this.Fields.Add(_plannedgift);
            //
            //_pledge
            //
            _pledge.Name    = "PLEDGE";
            _pledge.Caption = "Pledge";
            this.Fields.Add(_pledge);
            //
            //_recurringgift
            //
            _recurringgift.Name    = "RECURRINGGIFT";
            _recurringgift.Caption = "Recurring gift";
            this.Fields.Add(_recurringgift);
            //
            //_other
            //
            _other.Name    = "OTHER";
            _other.Caption = "Other";
            this.Fields.Add(_other);
            //
            //_applicationsdelimited
            //
            _applicationsdelimited.Name    = "APPLICATIONSDELIMITED";
            _applicationsdelimited.Caption = "APPLICATIONSDELIMITED";
            this.Fields.Add(_applicationsdelimited);
            //
            //_selectall
            //
            _selectall.Name    = "SELECTALL";
            _selectall.Caption = "Select all";
            this.Actions.Add(_selectall);
            //
            //_unselect
            //
            _unselect.Name    = "UNSELECT";
            _unselect.Caption = "Unselect all";
            this.Actions.Add(_unselect);

            _applications.Add(_donation);
            _applications.Add(_eventregistration);
            _applications.Add(_matchinggift);
            _applications.Add(_plannedgift);
            _applications.Add(_pledge);
            _applications.Add(_recurringgift);
            _applications.Add(_other);

            OnCreated();
        }
        public @UMHSDocumentationFormUIModel() : base()
        {
            _contexttype    = new global::Blackbaud.AppFx.UIModeling.Core.IntegerField();
            _title          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _dateentered    = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _authorid       = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _notetypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _textnote       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _htmlnote       = new global::Blackbaud.AppFx.UIModeling.Core.HtmlField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("5cc0148b-3314-41a6-912e-81b8fd6308c4");
            this.DataFormInstanceId = new System.Guid("c1acc6db-8da4-4586-bb88-3e785f88370d");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FORMHEADER.Value   = "Add a note";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDocumentationForm.html";

            //
            //_contexttype
            //
            _contexttype.Name       = "CONTEXTTYPE";
            _contexttype.Caption    = "Context type";
            _contexttype.Visible    = false;
            _contexttype.DBReadOnly = true;
            this.Fields.Add(_contexttype);
            //
            //_title
            //
            _title.Name        = "TITLE";
            _title.Caption     = "Title";
            _title.Description = "The title of this note";
            _title.MaxLength   = 50;
            this.Fields.Add(_title);
            //
            //_dateentered
            //
            _dateentered.Name        = "DATEENTERED";
            _dateentered.Caption     = "Date";
            _dateentered.Description = "The date this note was entered";
            _dateentered.Required    = true;
            this.Fields.Add(_dateentered);
            //
            //_authorid
            //
            _authorid.Name            = "AUTHORID";
            _authorid.Caption         = "Author";
            _authorid.Description     = "The author of this note";
            _authorid.SearchListId    = new System.Guid("23c5c603-d7d8-4106-aecc-65392b563887");
            _authorid.EnableQuickFind = true;
            this.Fields.Add(_authorid);
            //
            //_notetypecodeid
            //
            _notetypecodeid.Name          = "NOTETYPECODEID";
            _notetypecodeid.Caption       = "Type";
            _notetypecodeid.Description   = "The user-defined type of this note";
            _notetypecodeid.Required      = true;
            _notetypecodeid.CodeTableName = "USR_UMHS_NOTETYPECODE";
            this.Fields.Add(_notetypecodeid);
            //
            //_textnote
            //
            _textnote.Name        = "TEXTNOTE";
            _textnote.Caption     = "Notes";
            _textnote.Description = "The plain text that comprises this note";
            _textnote.Visible     = false;
            this.Fields.Add(_textnote);
            //
            //_htmlnote
            //
            _htmlnote.Name        = "HTMLNOTE";
            _htmlnote.Caption     = "Notes";
            _htmlnote.Description = "The HTML that comprises this note";
            this.Fields.Add(_htmlnote);

            OnCreated();
        }
Ejemplo n.º 24
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();
        }
        public @UMHSInterestFormUIModel() : base()
        {
            _interesttypecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _interestlevelcode  = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <INTERESTLEVELCODES> >();
            //_sites = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField<UMHSInterestFormSITESUIModel>();
            _departments    = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <UMHSInterestFormDEPARTMENTSUIModel>();
            _comment        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _discoveredbyid = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _startdate      = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate        = new global::Blackbaud.AppFx.UIModeling.Core.DateField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("bedde000-4e46-4547-8679-9299e6296684");
            this.DataFormInstanceId = new System.Guid("91e075c3-9fb3-4764-809b-9b43675477ab");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSInterestForm.html";

            //
            //_interesttypecodeid
            //
            _interesttypecodeid.Name          = "INTERESTTYPECODEID";
            _interesttypecodeid.Caption       = "Interest type";
            _interesttypecodeid.Required      = true;
            _interesttypecodeid.CodeTableName = "USR_UMHS_INTERESTTYPECODE";
            this.Fields.Add(_interesttypecodeid);
            //
            //_interestlevelcode
            //
            _interestlevelcode.Name    = "INTERESTLEVELCODE";
            _interestlevelcode.Caption = "Interest level";
            _interestlevelcode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <INTERESTLEVELCODES> > {
                Value = INTERESTLEVELCODES.@ExtremelyPositive, Translation = "Extremely positive"
            });
            _interestlevelcode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <INTERESTLEVELCODES> > {
                Value = INTERESTLEVELCODES.@SomewhatPositive, Translation = "Somewhat positive"
            });
            _interestlevelcode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <INTERESTLEVELCODES> > {
                Value = INTERESTLEVELCODES.@Neutral, Translation = "Neutral"
            });
            _interestlevelcode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <INTERESTLEVELCODES> > {
                Value = INTERESTLEVELCODES.@SomewhatNegative, Translation = "Somewhat negative"
            });
            _interestlevelcode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <INTERESTLEVELCODES> > {
                Value = INTERESTLEVELCODES.@ExtremelyNegative, Translation = "Extremely negative"
            });
            _interestlevelcode.Value = INTERESTLEVELCODES.@Neutral;
            this.Fields.Add(_interestlevelcode);
            ////
            ////_sites
            ////
            //_sites.Name = "SITES";
            //_sites.Caption = "Sites";
            //_sites.Visible = false;
            //this.Fields.Add(_sites);
            //
            //_departments
            //
            _departments.Name     = "DEPARTMENTS";
            _departments.Caption  = "MIMED departments";
            _departments.Required = true;
            this.Fields.Add(_departments);
            //
            //_comment
            //
            _comment.Name    = "COMMENT";
            _comment.Caption = "Comment";
            this.Fields.Add(_comment);
            //
            //_discoveredbyid
            //
            _discoveredbyid.Name            = "DISCOVEREDBYID";
            _discoveredbyid.Caption         = "Discovered by";
            _discoveredbyid.SearchListId    = new System.Guid("23c5c603-d7d8-4106-aecc-65392b563887");
            _discoveredbyid.EnableQuickFind = true;
            _discoveredbyid.Required        = true;
            this.Fields.Add(_discoveredbyid);
            //
            //_startdate
            //
            _startdate.Name     = "STARTDATE";
            _startdate.Caption  = "Start date";
            _startdate.Required = true;
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);

            OnCreated();
        }
        public @ExampleDataListUIModel() : base()
        {
            _transactiontypes         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _transactiontypesselector = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <TRANSACTIONTYPESSELECTORS>();
            _applications             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _applicationsselector     = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <APPLICATIONSSELECTORS>();
            _showtransactiontypesform = new global::Blackbaud.AppFx.UIModeling.Core.ShowCustomFormUIAction();
            _showapplicationsform     = new global::Blackbaud.AppFx.UIModeling.Core.ShowCustomFormUIAction();

            this.DataListId       = new System.Guid("a3652731-baaa-496a-89f9-f0efe68cdba6");
            this.UserInterfaceUrl = "browser/htmlforms/custom/reportingmultiselect/ExampleDataList.html";

            //
            //_transactiontypes
            //
            _transactiontypes.Name              = "TRANSACTIONTYPES";
            _transactiontypes.Caption           = "Transaction types";
            _transactiontypes.AvailableToClient = false;
            this.Fields.Add(_transactiontypes);
            //
            //_transactiontypesselector
            //
            _transactiontypesselector.Name     = "TRANSACTIONTYPESSELECTOR";
            _transactiontypesselector.Caption  = "Transaction types";
            _transactiontypesselector.Required = true;
            _transactiontypesselector.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <TRANSACTIONTYPESSELECTORS> {
                Value = TRANSACTIONTYPESSELECTORS.@AllTransactionTypes, Translation = "All transaction types"
            });
            _transactiontypesselector.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <TRANSACTIONTYPESSELECTORS> {
                Value = TRANSACTIONTYPESSELECTORS.@SelectedTransactionTypes, Translation = "Selected transaction types"
            });
            _transactiontypesselector.Value = TRANSACTIONTYPESSELECTORS.@AllTransactionTypes;
            this.Fields.Add(_transactiontypesselector);
            //
            //_applications
            //
            _applications.Name              = "APPLICATIONS";
            _applications.Caption           = "Applications";
            _applications.AvailableToClient = false;
            this.Fields.Add(_applications);
            //
            //_applicationsselector
            //
            _applicationsselector.Name     = "APPLICATIONSSELECTOR";
            _applicationsselector.Caption  = "Applications";
            _applicationsselector.Required = true;
            _applicationsselector.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <APPLICATIONSSELECTORS> {
                Value = APPLICATIONSSELECTORS.@AllApplications, Translation = "All applications"
            });
            _applicationsselector.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <APPLICATIONSSELECTORS> {
                Value = APPLICATIONSSELECTORS.@SelectedApplications, Translation = "Selected applications"
            });
            _applicationsselector.Value = APPLICATIONSSELECTORS.@AllApplications;
            this.Fields.Add(_applicationsselector);
            //
            //_showtransactiontypesform
            //
            _showtransactiontypesform.Name              = "SHOWTRANSACTIONTYPESFORM";
            _showapplicationsform.Enabled               = false;
            _showtransactiontypesform.Caption           = "";
            _showtransactiontypesform.ImageKey          = "res:editsmall";
            _showtransactiontypesform.ModelAssemblyName = "ReportingMultiSelect.UIModel.dll";
            _showtransactiontypesform.ModelClassName    = "ReportingMultiSelect.UIModel.MultiSelectTransactionTypesUIModel";
            _transactiontypesselector.LinkedActions.Add(_showtransactiontypesform);
            this.Actions.Add(_showtransactiontypesform);
            //
            //_showapplicationsform
            //
            _showapplicationsform.Name              = "SHOWAPPLICATIONSFORM";
            _showapplicationsform.Enabled           = false;
            _showapplicationsform.Caption           = "";
            _showapplicationsform.ImageKey          = "res:editsmall";
            _showapplicationsform.ModelAssemblyName = "ReportingMultiSelect.UIModel.dll";
            _showapplicationsform.ModelClassName    = "ReportingMultiSelect.UIModel.MultiSelectApplicationsUIModel";
            _applicationsselector.LinkedActions.Add(_showapplicationsform);
            this.Actions.Add(_showapplicationsform);

            OnCreated();
        }
Ejemplo n.º 27
0
        public @UMHSDataViewFormUIModel() : base()
        {
            _mrn                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _birthdate                = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                      = new global::Blackbaud.AppFx.UIModeling.Core.IntegerField();
            _titlecode                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _title2code               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcode               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffix2code              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _nickname                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecodeid         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _isdmineligible           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _dmineligiblereasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _gendercode               = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _primaryimage             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            _datecreated = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _dateupdated = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _msg         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            _umhsinformation   = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _sourceinformation = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("09205855-aabd-4266-9b21-b9bf09ca2488");
            this.DataFormInstanceId = new System.Guid("97d591d1-75b1-417f-94da-a03fca7357e4");
            this.RecordType         = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataViewForm.html";

            //
            //_mrn
            //
            _mrn.Name       = "MRN";
            _mrn.Caption    = "MRN";
            _mrn.DBReadOnly = true;
            _mrn.MaxLength  = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name       = "CPISEQUENCE";
            _cpisequence.Caption    = "CPI seq";
            _cpisequence.DBReadOnly = true;
            _cpisequence.MaxLength  = 50;
            this.Fields.Add(_cpisequence);
            //
            //_firstname
            //
            _firstname.Name       = "FIRSTNAME";
            _firstname.Caption    = "First name";
            _firstname.DBReadOnly = true;
            _firstname.MaxLength  = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name       = "MIDDLENAME";
            _middlename.Caption    = "Middle name";
            _middlename.DBReadOnly = true;
            _middlename.MaxLength  = 50;
            this.Fields.Add(_middlename);
            //
            //_keyname
            //
            _keyname.Name       = "KEYNAME";
            _keyname.Caption    = "Last name";
            _keyname.DBReadOnly = true;
            _keyname.MaxLength  = 100;
            this.Fields.Add(_keyname);
            //
            //_birthdate
            //
            _birthdate.Name       = "BIRTHDATE";
            _birthdate.Caption    = "Birth date";
            _birthdate.DBReadOnly = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_titlecode
            //
            _titlecode.Name       = "TITLECODE";
            _titlecode.Caption    = "Title";
            _titlecode.DBReadOnly = true;
            _titlecode.MaxLength  = 100;
            this.Fields.Add(_titlecode);
            //
            //_title2code
            //
            _title2code.Name       = "TITLE2CODE";
            _title2code.Caption    = "Title 2";
            _title2code.DBReadOnly = true;
            _title2code.MaxLength  = 100;
            this.Fields.Add(_title2code);
            //
            //_suffixcode
            //
            _suffixcode.Name       = "SUFFIXCODE";
            _suffixcode.Caption    = "Suffix";
            _suffixcode.DBReadOnly = true;
            _suffixcode.MaxLength  = 100;
            this.Fields.Add(_suffixcode);
            //
            //_suffix2code
            //
            _suffix2code.Name       = "SUFFIX2CODE";
            _suffix2code.Caption    = "Suffix 2";
            _suffix2code.DBReadOnly = true;
            _suffix2code.MaxLength  = 100;
            this.Fields.Add(_suffix2code);
            //
            //_nickname
            //
            _nickname.Name       = "NICKNAME";
            _nickname.Caption    = "Nickname";
            _nickname.DBReadOnly = true;
            _nickname.MaxLength  = 100;
            this.Fields.Add(_nickname);
            //
            //_gendercode
            //
            _gendercode.Name       = "GENDERCODE";
            _gendercode.Caption    = "Gender";
            _gendercode.DBReadOnly = true;
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            this.Fields.Add(_gendercode);

            //
            //_datecreated
            //
            _datecreated.Name       = "DATECREATED";
            _datecreated.Caption    = "Date created";
            _datecreated.DBReadOnly = true;
            this.Fields.Add(_datecreated);
            //
            //_dateupdated
            //
            _dateupdated.Name       = "DATEUPDATED";
            _dateupdated.Caption    = "Date last updated";
            _dateupdated.DBReadOnly = true;
            this.Fields.Add(_dateupdated);

            //
            //_msg
            //
            _msg.Name       = "MSG";
            _msg.Caption    = "Message";
            _msg.DBReadOnly = true;
            this.Fields.Add(_msg);

            //
            //_lookupid
            //
            _lookupid.Name       = "LOOKUPID";
            _lookupid.Caption    = "_lookupid";
            _lookupid.MaxLength  = 50;
            _lookupid.DBReadOnly = true;
            this.Fields.Add(_lookupid);
            //
            //_primaryimage
            //
            _primaryimage.Name       = "PRIMARYIMAGE";
            _primaryimage.Caption    = "PRIMARYIMAGE";
            _primaryimage.DBReadOnly = true;
            this.Fields.Add(_primaryimage);
            //
            //_isdmineligible
            //
            _isdmineligible.Name    = "ISDMINELIGIBLE";
            _isdmineligible.Caption = "Direct Mail Ineligible";
            this.Fields.Add(_isdmineligible);
            //
            //_dmineligiblereasoncodeid
            //
            _dmineligiblereasoncodeid.Name       = "DMINELIGIBLEREASONCODEID";
            _dmineligiblereasoncodeid.Caption    = "Reason";
            _dmineligiblereasoncodeid.DBReadOnly = true;
            this.Fields.Add(_dmineligiblereasoncodeid);


            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name    = "INFOSOURCECODE";
            _infosourcecodeid.Caption = "Information source";
            //_infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_umhsinformation
            //
            _umhsinformation.Name    = "UMHSINFORMATION";
            _umhsinformation.Caption = "MIMED Information";
            _umhsinformation.Fields.Add("MRN");
            _umhsinformation.Fields.Add("CPISEQUENCE");
            _umhsinformation.Fields.Add("LOOKUPID");
            _umhsinformation.Fields.Add("KEYNAME");
            _umhsinformation.Fields.Add("FIRSTNAME");
            _umhsinformation.Fields.Add("MIDDLENAME");
            _umhsinformation.Fields.Add("TITLECODEID");
            _umhsinformation.Fields.Add("TITLE2CODEID");
            _umhsinformation.Fields.Add("SUFFIXCODEID");
            _umhsinformation.Fields.Add("SUFFIX2CODEID");
            _umhsinformation.Fields.Add("NICKNAME");
            _umhsinformation.Fields.Add("BIRTHDATE");
            _umhsinformation.Fields.Add("GENDERCODE");
            _umhsinformation.Fields.Add("ISDMINELIGIBLE");
            _umhsinformation.Fields.Add("DMINELIGIBLEREASONCODEID");
            this.Fields.Add(_umhsinformation);

            //
            //_umhssource
            //
            _sourceinformation.Name    = "UMHSSOURCE";
            _sourceinformation.Caption = "MIMED Source";
            _sourceinformation.Fields.Add("INFOSOURCECODE");
            _sourceinformation.DBReadOnly = true;
            this.Fields.Add(_sourceinformation);

            OnCreated();
        }
        public UMHSAffiliationDataFormUIModel() : base()
        {
            _affiliationcategorycodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _affiliationbasenamecodeid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _startdate          = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate            = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _siteid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _siteidsearchaction = new global::Blackbaud.AppFx.UIModeling.Core.ShowSearchFormUIAction();
            _departmentid       = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _subdepartmentid    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            //_optout = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            //_infosourcecodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _comments = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit;
            this.DataFormTemplateId = new System.Guid("0b6d8f1c-3b01-4077-ae98-7c851fb2a07a");
            this.DataFormInstanceId = new System.Guid("4da32618-3d0d-4035-81f2-5323083a3f79");
            this.RecordType         = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSAffiliationEditForm.html";

            //
            //_affiliationcategorycodeid
            //
            _affiliationcategorycodeid.Name          = "AFFILIATIONCATEGORYCODEID";
            _affiliationcategorycodeid.Caption       = "Category";
            _affiliationcategorycodeid.Required      = true;
            _affiliationcategorycodeid.CodeTableName = "USR_UMHS_AFFILIATIONCATEGORYTYPECODE";
            this.Fields.Add(_affiliationcategorycodeid);
            //
            //_affiliationbasenamecodeid
            //
            _affiliationbasenamecodeid.Name             = "AFFILIATIONBASENAMECODEID";
            _affiliationbasenamecodeid.Caption          = "Name";
            _affiliationbasenamecodeid.Required         = true;
            _affiliationbasenamecodeid.SimpleDataListId = new System.Guid("4c646cee-0f5b-4197-b4d3-0869693cfc2d");
            _affiliationbasenamecodeid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("AFFILIATIONCATEGORYCODEID", "Fields!AFFILIATIONCATEGORYCODEID"));
            this.Fields.Add(_affiliationbasenamecodeid);
            //
            //_startdate
            //
            _startdate.Name     = "STARTDATE";
            _startdate.Caption  = "Start date";
            _startdate.Required = true;
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_siteid
            //
            _siteid.Name             = "SITEID";
            _siteid.Caption          = "Site";
            _siteid.Visible          = true;
            _siteid.SimpleDataListId = new System.Guid("c8e8d3ba-2725-421f-a796-e2fcc1202780");
            _siteid.LinkedActions.Add(_siteidsearchaction);
            _siteid.Required = true;
            this.Fields.Add(_siteid);
            //
            //_siteidsearchaction
            //
            _siteidsearchaction.Name         = "SITEIDSEARCHACTION";
            _siteidsearchaction.Caption      = "Search";
            _siteidsearchaction.SearchListId = new System.Guid("27a63ede-a0d4-4074-a85a-196df4adc0dd");
            this.Actions.Add(_siteidsearchaction);
            //
            //_departmentid
            //
            _departmentid.Name             = "DEPARTMENTID";
            _departmentid.Caption          = "MIMED department";
            _departmentid.SimpleDataListId = new System.Guid("0cbdb7f1-f629-4e7b-a7e1-c3e4ebd7d325");
            _departmentid.Required         = true;
            this.Fields.Add(_departmentid);
            //
            //_subdepartmentid
            //
            _subdepartmentid.Name             = "SUBDEPARTMENTID";
            _subdepartmentid.Caption          = "MIMED subdepartment";
            _subdepartmentid.SimpleDataListId = new System.Guid("879b4e21-6a71-4c60-9b41-771fa39ef9cf");
            _subdepartmentid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("DEPARTMENTID", "Fields!DEPARTMENTID"));
            this.Fields.Add(_subdepartmentid);

            //
            ////_optout
            ////
            //_optout.Name = "OPTOUT";
            //_optout.Caption = "Opt out";
            //this.Fields.Add(_optout);
            ////
            ////_infosourcecodeid
            ////
            //_infosourcecodeid.Name = "INFOSOURCECODEID";
            //_infosourcecodeid.Caption = "Information source";
            //_infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            //this.Fields.Add(_infosourcecodeid);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);

            OnCreated();
        }
        public @UMHSPhoneFormUIModel() : base()
        {
            _phonetypecodeid       = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _number                = new global::Blackbaud.AppFx.UIModeling.Core.PhoneField();
            _isprimary             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _countryid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _startdate             = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _enddate               = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _donotcall             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _donotcallreasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _infosourcecodeid      = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _infosourcecomments    = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _callbefore            = new global::Blackbaud.AppFx.UIModeling.Core.TimeField();
            _callafter             = new global::Blackbaud.AppFx.UIModeling.Core.TimeField();
            _isconfidential        = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _countrycode           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _showinvalid           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _invalidfield3         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _invalidfield4         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _origincodetranslation = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phoneinformation      = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _sourceinformation     = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            // _countrycodes = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            // _countryCodesDictionary = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("f76a4009-eabb-4ad8-9603-10c572cf0fe5");
            this.DataFormInstanceId = new System.Guid("10f54640-0b72-4569-99a4-334c9a12fd3b");
            this.RecordType         = "UMHS Phone";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add MIMED Phone";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSPhoneForm.html";

            //
            //_phonetypecodeid
            //
            _phonetypecodeid.Name          = "PHONETYPECODEID";
            _phonetypecodeid.Caption       = "Phone type";
            _phonetypecodeid.CodeTableName = "PHONETYPECODE";
            this.Fields.Add(_phonetypecodeid);
            //
            //_number
            //
            _number.Name      = "NUMBER";
            _number.Caption   = "Number";
            _number.Required  = true;
            _number.MaxLength = 100;
            this.Fields.Add(_number);
            //
            //_isprimary
            //
            _isprimary.Name    = "ISPRIMARY";
            _isprimary.Caption = "Set as primary phone number";
            this.Fields.Add(_isprimary);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Country";
            _countryid.Required         = true;
            _countryid.SimpleDataListId = new System.Guid("c9649672-353d-42e8-8c25-4d34bbabfbba");
            _countryid.Value            = new System.Guid("27CF0F7D-CDAF-448F-80DE-E9196BF28D36");
            this.Fields.Add(_countryid);
            //
            //_startdate
            //
            _startdate.Name    = "STARTDATE";
            _startdate.Caption = "Start date";
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_donotcall
            //
            _donotcall.Name    = "DONOTCALL";
            _donotcall.Caption = "Do not call this phone number";
            this.Fields.Add(_donotcall);
            //
            //_donotcallreasoncodeid
            //
            _donotcallreasoncodeid.Name          = "DONOTCALLREASONCODEID";
            _donotcallreasoncodeid.Caption       = "Reason";
            _donotcallreasoncodeid.CodeTableName = "DONOTCALLREASONCODE";
            this.Fields.Add(_donotcallreasoncodeid);
            //
            //_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);
            //
            //_callbefore
            //
            _callbefore.Name    = "CALLBEFORE";
            _callbefore.Caption = "Call before";
            this.Fields.Add(_callbefore);
            //
            //_callafter
            //
            _callafter.Name    = "CALLAFTER";
            _callafter.Caption = "Call after";
            this.Fields.Add(_callafter);
            //
            //_isconfidential
            //
            _isconfidential.Name    = "ISCONFIDENTIAL";
            _isconfidential.Caption = "This phone number is confidential";
            this.Fields.Add(_isconfidential);
            //
            //_countrycode
            //
            _countrycode.Name       = "COUNTRYCODE";
            _countrycode.Caption    = "COUNTRYCODE";
            _countrycode.DBReadOnly = true;
            this.Fields.Add(_countrycode);
            //
            //_showinvalid
            //
            _showinvalid.Name       = "SHOWINVALID";
            _showinvalid.Caption    = "SHOWINVALID";
            _showinvalid.Visible    = false;
            _showinvalid.DBReadOnly = true;
            this.Fields.Add(_showinvalid);
            //
            //_invalidfield3
            //
            _invalidfield3.Name       = "INVALIDFIELD3";
            _invalidfield3.Caption    = "INVALIDFIELD3";
            _invalidfield3.Visible    = false;
            _invalidfield3.DBReadOnly = true;
            this.Fields.Add(_invalidfield3);
            //
            //_invalidfield4
            //
            _invalidfield4.Name       = "INVALIDFIELD4";
            _invalidfield4.Caption    = "INVALIDFIELD4";
            _invalidfield4.Visible    = false;
            _invalidfield4.DBReadOnly = true;
            this.Fields.Add(_invalidfield4);
            //
            //_origincodetranslation
            //
            _origincodetranslation.Name       = "ORIGINCODETRANSLATION";
            _origincodetranslation.Caption    = "Information source";
            _origincodetranslation.DBReadOnly = true;
            this.Fields.Add(_origincodetranslation);
            //
            //_phoneinformation
            //
            _phoneinformation.Name    = "PHONEINFORMATION";
            _phoneinformation.Caption = "Phone information";
            _phoneinformation.Fields.Add("PHONETYPECODEID");
            _phoneinformation.Fields.Add("NUMBER");
            _phoneinformation.Fields.Add("ISPRIMARY");
            _phoneinformation.Fields.Add("DONOTCALL");
            _phoneinformation.Fields.Add("ISCONFIDENTIAL");
            this.Fields.Add(_phoneinformation);
            //
            //_sourceinformation
            //
            _sourceinformation.Name    = "SOURCEINFORMATION";
            _sourceinformation.Caption = "Phone source";
            _sourceinformation.Fields.Add("INFOSOURCECODEID");
            _sourceinformation.Fields.Add("INFOSOURCECOMMENTS");
            this.Fields.Add(_sourceinformation);

            ////
            ////_countrycodes
            ////
            //this._countrycodes.Name = "COUNTRYCODES";
            //this._countrycodes.Caption = "COUNTRYCODES";
            //this._countrycodes.Visible = false;
            //this._countrycodes.DBReadOnly = true;
            //this.Fields.Add(_countrycodes);


            OnCreated();
        }
        public @UMHSInteractionFormUIModel() : base()
        {
            _summary                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _name                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _statuscodeid             = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _fundraiserid             = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _interactioncategoryid    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _interactionsubcategoryid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _contactmethodcodeid      = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _eventid                  = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _expecteddate             = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _actualdate               = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _sites                    = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <UMHSInteractionFormSITESUIModel>();
            _siterequired             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _comments                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _participants             = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <UMHSInteractionFormPARTICIPANTSUIModel>();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("51f7a78b-7da7-48a6-860c-cde8848edc5a");
            this.DataFormInstanceId = new System.Guid("b3a04417-321f-44c4-a3b7-4b115e5eeafc");
            this.RecordType         = "MIMED Interaction";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSInteractionForm.html";

            //
            //_summary
            //
            _summary.Name      = "SUMMARY";
            _summary.Caption   = "Summary";
            _summary.Required  = true;
            _summary.MaxLength = 100;
            this.Fields.Add(_summary);
            //
            //_name
            //
            _name.Name       = "NAME";
            _name.Caption    = "Patient name";
            _name.Visible    = false;
            _name.DBReadOnly = true;
            _name.MaxLength  = 700;
            this.Fields.Add(_name);
            //
            //_statuscodeid
            //
            _statuscodeid.Name          = "STATUSCODEID";
            _statuscodeid.Caption       = "Status";
            _statuscodeid.Required      = true;
            _statuscodeid.CodeTableName = "USR_INTERACTION_STATUSCODE";
            this.Fields.Add(_statuscodeid);
            //
            //_fundraiserid
            //
            _fundraiserid.Name            = "FUNDRAISERID";
            _fundraiserid.Caption         = "Owner";
            _fundraiserid.SearchListId    = new System.Guid("35fa0186-b669-436f-913a-5e9fd5e59982");
            _fundraiserid.EnableQuickFind = true;
            this.Fields.Add(_fundraiserid);
            //
            //_interactioncategoryid
            //
            _interactioncategoryid.Name             = "INTERACTIONCATEGORYID";
            _interactioncategoryid.Caption          = "Category";
            _interactioncategoryid.Required         = true;
            _interactioncategoryid.SimpleDataListId = new System.Guid("cbba7545-b66f-44ac-aa24-d9c2f8cbc4ec");
            this.Fields.Add(_interactioncategoryid);
            //
            //_interactionsubcategoryid
            //
            _interactionsubcategoryid.Name             = "INTERACTIONSUBCATEGORYID";
            _interactionsubcategoryid.Caption          = "Subcategory";
            _interactionsubcategoryid.Required         = true;
            _interactionsubcategoryid.SimpleDataListId = new System.Guid("0eacc39b-07d1-4641-8774-e319559535a7");
            _interactionsubcategoryid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("INTERACTIONCATEGORYID", "Fields!INTERACTIONCATEGORYID"));
            this.Fields.Add(_interactionsubcategoryid);
            //
            //_contactmethodcodeid
            //
            _contactmethodcodeid.Name          = "CONTACTMETHODCODEID";
            _contactmethodcodeid.Caption       = "Contact method";
            _contactmethodcodeid.Required      = true;
            _contactmethodcodeid.CodeTableName = "INTERACTIONTYPECODE";
            this.Fields.Add(_contactmethodcodeid);
            //
            //_eventid
            //
            _eventid.Name            = "EVENTID";
            _eventid.Caption         = "Event";
            _eventid.SearchListId    = new System.Guid("21452a39-7c7d-4334-8b89-6c0ea619acec");
            _eventid.EnableQuickFind = true;
            this.Fields.Add(_eventid);
            //
            //_expecteddate
            //
            _expecteddate.Name     = "EXPECTEDDATE";
            _expecteddate.Caption  = "Expected date";
            _expecteddate.Required = true;
            this.Fields.Add(_expecteddate);
            //
            //_actualdate
            //
            _actualdate.Name    = "ACTUALDATE";
            _actualdate.Caption = "Actual date";
            this.Fields.Add(_actualdate);
            //
            //_sites
            //
            _sites.Name    = "SITES";
            _sites.Caption = "Sites";
            this.Fields.Add(_sites);
            //
            //_siterequired
            //
            _siterequired.Name       = "SITEREQUIRED";
            _siterequired.Caption    = "Site required";
            _siterequired.DBReadOnly = true;
            this.Fields.Add(_siterequired);
            //
            //_comments
            //
            _comments.Name    = "COMMENT";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);
            //
            //_participants
            //
            _participants.Name    = "PARTICIPANTS";
            _participants.Caption = "Participants";
            this.Fields.Add(_participants);

            OnCreated();
        }