• RE: höchsten vorhandenen Indexwert in ein Indexfeld schreiben

    Hallo Herr Acker,

    "Maximale Anzahl an zurückgegebenen Dokumenten" im Screenshot unten ist äquivalent zu "TOP" in SQL, also dieses auf 1 stellen. So kommt nur das Dokument mit der höchsten DocID zurück. 

    Gruß aus Neuss, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: höchsten vorhandenen Indexwert in ein Indexfeld schreiben

    Hallo Herr Acker, 

    ja, das hilft. Handelt es sich um ein Cloud- oder on-premise System?
    ier wäre es wahrscheinlich sinnvoll, in dem Mieterstammdatenarchiv die Mieternummer und die Wohnungsnummer beide in ein einzelnes Feld zu schreiben, also einmal "M2001" und einmal "03".

    Option 1, falls on-premise System:
    Hier könnte man mit einem MAX SQL Statement in einer DB-View arbeiten, welche dann über Daten zuweisen abgefragt wird.
    SELECT MAX(Mieternummer), Wohnungsnummer
    FROM Mieterstammdaten
    // im Daten zuweisen filtern: 
    WHERE Wohnungsnummer = GV_Wohnungsnummer
    

    Option 2, falls Cloud:
    Hier ist ja leider kein SQL Zugriff möglich. Dennoch können wir eine "versteckte" DW-Funktion ausnutzen: Wenn wir im Daten zuweisen ein Archiv abfragen, sind die Abfrageergebnisse immer absteigend nach DocID sortiert (zumindest bis einschl. Version 7.7, wer weiß was zukünftige Updates bringen).
    SELECT TOP 1 Mieternummer
    FROM Mieterstammdaten
    WHERE Wohnungsnummer = GV_WOHNUNGSNUMMER
    
    TOP 1 meint, dass unter dem WHERE-Feld ausgewählt wird, dass nur ein Dokument zurückgegeben wird. Das ist dann der Mieter mit der höchsten DocID, der ja wahrscheinlich auch der aktuelle Mieter ist.

    Ich hoffe, das hilft ein bisschen weiter oder bringt zumindest einen Denkanstoß in die richtige Richtung :)

    Gruß aus Neuss, 
    Simon H. Hellmann
    ​​​​​​​DocuWare System Consultant
  • RE: höchsten vorhandenen Indexwert in ein Indexfeld schreiben

    Hallo Herr Acker, 

    ich verstehe glaube ich das Problem noch nicht ganz. Sind die Mieter mit Stammdaten in einem separaten Archiv oder einer anderen Datenbank gepflegt und sollen am Dokument vervollständigt werden? Oder soll über ein Indexwertprofil alles außer dem aktuellen Mieter ausgeblendet werden?
    Oder verstehe ich Sie hier ganz falsch? 

    Gruß aus Neuss, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: DocuWare Consultant?

    Hi Holly, 

    in case you currently do not have an Authorized DocuWare Partner (ADP), please take a look at the list of ADPs near you here: DocuWare Partner List
    Every ADP employs at least one DocuWare System Consultant (DSC). DSCs are trained on all the technical aspects and on process design.
    Alternatively, you can also contact DocuWare Professional Services Team - they also employ highly knowledgeable consultants. 

    Hope this helps. 

    Greetings from Germany, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Table as a destination in workflow Assign Data activity

    Hi Steve, 

    thanks for the detailed description. 
    @Gerardo: Yes, I forgot about this feature to add rows.
    However, this seems to be exactly the use case for adding new rows which is currently not possible.

    As far as I understand, Steve wants to add a new row to a table of the PO each time an invoice related to the PO is stored. To my knowledge, up until DW 7.7 this is not possible without using the .NET/REST API.

    Greetings from Germany,
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Table as a destination in workflow Assign Data activity

    Hi Steve, 

    just a wild guess here, but maybe the table field of your test document has no rows?
    The assign data to table activity can only assign data to already existing rows, it can and will not create new rows.

    Hope this helps. 
    Greetings from Germany, 
    Simon H. Hellmann

    DocuWare System Consultant

  • RE: iif Anweisung in Kombination mit Replace gibt nur erstes Wort aus

    Hallo Herr Acker, 

    ein IIF nimmt nur 3 Parameter an.
    IIF(Bedinung, Operation bei true, Operation bei false)

    Sie versuchen an dieser Stelle mehr Parameter in einem IIF mitzugeben.
    Die sinnvollste Lösung wäre hier mMn wenn Sie drei IIF in jeweils einzelnen Datenzuweisungen verwenden.

    Gruß aus Neuss, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Aktualisieren einer Tabelle eines anderen Dokumentes in dem gleichen Archiv

    Hallo Patrick, 

    Autoindex unterstützt aktuell (bis einschl. Version 7.7) keine Tabellenfelder.
    Genauso die Datenzuweisung an ein Archiv aus dem Workflow heraus.
    Mein Vorschlag wäre entweder kein Tabellenfeld sondern mehrere Datensätze zu verwenden, oder einen Webservice dafür zu programmieren.

    Gruß aus Neuss,
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: How to lock a document once a specific index field value is met??

    Hi Daryl, 

    this sounds like a use case for index value profiles in the file cabinet. With those, you can set up edit rights for all documents where "STATUS does not equal Final" for example.

    Greetings from Germany, 
    Simon H. Hellmann
    DocuWare System Consultant
  • RE: Formular: Dropdown mit eigenem Eintrag

    Hallo Bernhard, 

    über genau das Problem bin ich diese Woche auch gestolpert. Soweit ich das sehen konnte, gibt es aktuell keine Möglichkeit für Drop-Down Formularfelder ohne Auswahlzwang. Das wäre evtl. was für die Uservoice.

    Mein Workaround war, einfach weiter ein Textfeld zu nutzen, weil die freien Einträge dem Kunden wichtiger sind als die Liste.

    Gruß aus Neuss, 
    Simon H. Hellmann
    DocuWare System Consultant