示例#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();
        }
        public @UMHSInteractionCopyUIModel() : base()
        {
            _interactions = new global::Blackbaud.AppFx.UIModeling.Core.CollectionField <UMHSInteractionCopyINTERACTIONSUIModel>();
            _selectall    = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Edit;
            this.DataFormTemplateId = new System.Guid("85021f57-46f4-4198-880d-5af69efae00f");
            this.DataFormInstanceId = new System.Guid("459f298b-b383-451a-8dbe-fbc2cf26ebda");
            this.RecordType         = "MIMED Interaction";
            this.FORMHEADER.Value   = "Copy MIMED Interactions";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSInteractionCopy.html";

            //
            //_interactions
            //
            _interactions.Name    = "INTERACTIONS";
            _interactions.Caption = "Interactions";
            this.Fields.Add(_interactions);
            //
            //_selectall
            //
            _selectall.Name    = "SELECTALL";
            _selectall.Caption = "Select All";
            this.Actions.Add(_selectall);

            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();
        }
示例#4
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 @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();
        }