Exemple #1
0
        public void DeleteBackOfficeUser()
        {
            ITypeDocumentService servTypeDocument         = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TakeDocModel.TypeDocument> types = servTypeDocument.Get(userId, entityId);

            servTypeDocument.DeleteBackOfficeUser(userId, types.First().TypeDocumentId, entityId, userId);
        }
Exemple #2
0
        public void Get()
        {
            ITypeDocumentService       servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TypeDocument> types            = servTypeDocument.Get(userId, entityId);

            Assert.IsTrue(types.Count > 0);
        }
Exemple #3
0
 public QuickFindTypeDataMenuItem(IShell shell, ITypeDocumentService documentService)
 {
     this.shell = shell;
     this.shell.ServiceChanged             += this.InvokeCanExecuteChangedEvent;
     this.documentService                   = documentService;
     this.documentService.SelectionChanged += this.InvokeCanExecuteChangedEvent;
     this.InputGesture = new KeyGesture(Key.F, ModifierKeys.Control);
     this.DisplayName  = Resources.MenuItem_QuickFind;
 }
Exemple #4
0
        public void GetBackOfficeUser()
        {
            ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();

            servTypeDocument.GetBackOfficeUser(new Guid("75E455BD-0717-4121-BFBB-1AF71DB4DB95"), new Guid("55C72E33-8864-4E0E-9BC8-C82378B2BF8C"));
        }
Exemple #5
0
 public void AddDataField()
 {
     ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
     //servTypeDocument.AddDataField("TESTAVT", "DATE_NOTE_FRAIS", true, false, null, "MASTER", "ROOT");
 }