Ejemplo n.º 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);
        }
Ejemplo n.º 2
0
        public void Get()
        {
            ITypeDocumentService       servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
            ICollection <TypeDocument> types            = servTypeDocument.Get(userId, entityId);

            Assert.IsTrue(types.Count > 0);
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 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"));
        }
Ejemplo n.º 5
0
 public void AddDataField()
 {
     ITypeDocumentService servTypeDocument = UnityHelper.Resolve <ITypeDocumentService>();
     //servTypeDocument.AddDataField("TESTAVT", "DATE_NOTE_FRAIS", true, false, null, "MASTER", "ROOT");
 }