Пример #1
0
        public @UMHSInteractionFormPARTICIPANTSUIModel() : base()
        {
            _id                        = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _constituentid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _constituentidsearchaction = new global::Blackbaud.AppFx.UIModeling.Core.ShowSearchFormUIAction();

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "ID";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_constituentid
            //
            _constituentid.Name             = "CONSTITUENTID";
            _constituentid.Caption          = "Participant";
            _constituentid.SimpleDataListId = new System.Guid("eec723dc-3ed3-425b-9ef2-8ba1ccc190d1");
            _constituentid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("CONSTITUENTID", "PARENT.FIELDS!CONTEXTID"));
            _constituentid.LinkedActions.Add(_constituentidsearchaction);
            this.Fields.Add(_constituentid);
            //
            //_constituentidsearchaction
            //
            _constituentidsearchaction.Name         = "CONSTITUENTIDSEARCHACTION";
            _constituentidsearchaction.Caption      = "Search";
            _constituentidsearchaction.SearchListId = new System.Guid("747530a1-be80-4054-a021-d2a599248261");
            //_constituentidsearchaction.EnableQuickFind = true;
            //_constituentidsearchaction.SearchFieldOverrides.Add(new global::Blackbaud.AppFx.UIModeling.Core.FieldOverride() {FieldId = "INCLUDENONCONSTITUENTRECORDS", DefaultValueText = "true"});
            this.Actions.Add(_constituentidsearchaction);

            OnCreated();
        }
Пример #2
0
        public @UMHSInterestFormDEPARTMENTSUIModel() : base()
        {
            _id              = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _departmentid    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _subdepartmentid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "ID";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_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);

            OnCreated();
        }
Пример #3
0
        public @UMHSInteractionFormSITESUIModel() : base()
        {
            _id                 = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _siteid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _siteidsearchaction = new global::Blackbaud.AppFx.UIModeling.Core.ShowSearchFormUIAction();

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "ID";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_siteid
            //
            _siteid.Name             = "SITEID";
            _siteid.Caption          = "Site";
            _siteid.Required         = true;
            _siteid.SimpleDataListId = new System.Guid("c8e8d3ba-2725-421f-a796-e2fcc1202780");
            _siteid.LinkedActions.Add(_siteidsearchaction);
            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);

            OnCreated();
        }
Пример #4
0
        public @UMHSInterestFormSITESUIModel() : base()
        {
            _id = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "ID";
            _id.Visible = false;
            this.Fields.Add(_id);


            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();
        }
Пример #6
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 @MIMEDAffiliationDeleteGlobalChangeUIModel() : base()
        {
            _idsetregisterid           = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _recordtypeid              = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _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();
            _departmentid    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _subdepartmentid = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();

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

            //
            //_idsetregisterid
            //
            _idsetregisterid.Name            = "IDSETREGISTERID";
            _idsetregisterid.Caption         = "Selection";
            _idsetregisterid.Required        = true;
            _idsetregisterid.SearchListId    = new System.Guid("98d0070e-c4a7-495b-a438-2ac12da79068");
            _idsetregisterid.EnableQuickFind = true;
            _idsetregisterid.SearchFieldOverrides.Add(new global::Blackbaud.AppFx.UIModeling.Core.FieldOverride()
            {
                FieldId = "RECORDTYPEID", Caption = "Record type", ReadOnly = true, DefaultValueText = "Fields!RECORDTYPEID"
            });
            _idsetregisterid.SystemSearchType = global::Blackbaud.AppFx.UIModeling.Core.SystemSearchType.Selection;
            this.Fields.Add(_idsetregisterid);
            //
            //_recordtypeid
            //
            _recordtypeid.Name       = "RECORDTYPEID";
            _recordtypeid.Caption    = "RECORDTYPEID";
            _recordtypeid.Visible    = false;
            _recordtypeid.DBReadOnly = true;
            this.Fields.Add(_recordtypeid);
            //
            //_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";
            this.Fields.Add(_startdate);
            //
            //_enddate
            //
            _enddate.Name    = "ENDDATE";
            _enddate.Caption = "End date";
            this.Fields.Add(_enddate);
            //
            //_departmentid
            //
            _departmentid.Name             = "DEPARTMENTID";
            _departmentid.Caption          = "MIMED department";
            _departmentid.Required         = true;
            _departmentid.SimpleDataListId = new System.Guid("0cbdb7f1-f629-4e7b-a7e1-c3e4ebd7d325");
            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);

            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 @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 @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();
        }