Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Polish

W systemie PlusWorkflow istnieje możliwość podejrzenia dokumentu znajdującego się w elektronicznym archiwum poprzez wywołanie odpowiedniego linku. Podczas wywołania tego linku sprawdzane są wszystkie uprawnienia do dokumentu, więc jeśli użytkownik nie był zalogowany do systemu PlusWorkflow, wcześniej będzie musiał to zrobić. Struktura tego link jest następująca:

Code Block
http://<adres_systemu>/ShowDocumentFromArchive.do?type=<type>&[objectName=<nazwa_obiektu>|object=<id_obiektu>&[indexName=<Nazwa_indeksu>|index=<id_indeksu>]&value=<wartosc>

gdzie:

  • adres_systemu - nazwa systemu wraz ze ścieżką do niego i portem
  • type - typ wyświetlanego obiektu: link - zestaw dokumentu, docclass - klasa dokumentu
  • nazwa_obiektu - nazwa obiektu (Zestawu lub klasy dokumentów)
  • id_objektu - id (z bazy) obiektu (Zestawu lub klasy dokumentów)
  • indexName - nazwa indeksu (Zestawu lub klasy dokumentów)
  • id_indeksu - id indeksu (Zestawu lub klasy dokumentów)
  • wartosc – wartość znajdująca się w kolumnie indeksu którego identyfikator wskazany jest w parametrze id_indeksu

Info
titleUwaga
W przypadku, gdy zapytanie określające wyszukany dokument nie jest jednoznaczne, otrzymujemy tylko pierwszy dokument spełniający podane kryteria. W powyższym wywołaniu możliwe podanie jest tylko jednego indeksu z archiwum filtrującego wyniki wyszukiwania.
Info
titleUwaga

Od wersji 3.2.146 systemu wyszukiwanie dokumentu odbywa się zawsze po dokładnych wartościach indeksów (operator = ), z pominięciem systemowego parametru tak jakby włączony był systemowy parametr ExactSearch.

Info
titlePrzykład

http://www.plusworkflow.pl/PlusWorkflowPPD2/ShowDocumentFromArchive.do?type=docclass&objectName=Faktury&indexName=Identyfikator faktury&value=FK/17/000300

lub

http://www.plusworkflow.pl/PlusWorkflowPPD2/ShowDocumentFromArchive.do?type=docclass&objectName=Faktury&indexName=Kontrahent&value=Suncode

 

 

Jeśli chcemy wyszukać listę dokumentów lub podać więcej kryteriów wyszukiwania należy skorzystać z innego linku:

Poniżej opis takiego wywołania:

Code Block
http://<adres_systemu>/Goto.do?search=<typ>&name=<object_name>&{indices[<index_name>]=<value>}


gdzie:

  • adres_systemu - nazwa systemu wraz ze ścieżką do niego i portem
  • typ - typ przeszukiwanego obiektu: link - zestaw dokumentów, class - klasa dokumentów
  • object_name - nazwa obiektu (klasy dokumentów lub zestawu)
  • index_name - nazwa indeksu (w klasie dokumentów lub zestawie)
  • value - wartość indeksu dla wyszukiwanego dokumentu. W przypadku gdy typ = class i gdy nie ma podanej wartości, indeks ten zostanie tylko wyświetlony w wynikach wyszukiwania w przypadku gdy system znajdzie więcej niż 1 dokument. W przypadku gdy typ = link wyświetlane są wszystkie indeksy zestawu

Info
titleUwaga
  1. Lista indeksów w linku może być większa tzn. można podać kilka indeksów.
  2. W przypadku gdy podane kryteria zwracają jeden dokument zostaje od wyświetlony, w przypadku gdy zwracanych jest więcej niż jeden dokument spełniający podane kryteria zwracana jest lista dokumentów.
Info
titlePrzykłady
  • Wyszukanie wszystkich dokumentów w których kontrahent to Suncode:

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode

  • Wyszukanie wszystkich dokumentów w których kontrahent to Suncode i dodatkowo w przypadku znalezienia większej liczby dokumentów niż jeden wyświetlenie kolumn Identyfikator faktury i Numer faktury:

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode&indices[Identyfikator faktury]&indices[Numer faktury]

  • Wyszukanie wszystkich dokumentów w których kontrahent to Suncode, a Identyfikator faktury to FK/17/000300 i dodatkowo w przypadku znalezienia większej liczby dokumentów niż jeden wyświetlenie kolumny Numer faktury:

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode&indices[Identyfikator faktury]=FK/17/000300&indices[Numer faktury]


English

 

In the PlusWorkflow system it is possible to view a document in an electronic archive by calling the appropriate link. When calling this link, all permissions to the document are checked, so if the user was not logged in to the PlusWorkflow system, will have to do it. The structure of this link is as follows:

Code Block
http://<adres_systemu>/ShowDocumentFromArchive.do?type=<type>&[objectName=<nazwa_obiektu>|object=<id_obiektu>&[indexName=<Nazwa_indeksu>|index=<id_indeksu>]&value=<wartosc>

where:

  • system_address - the name of the system along with its path and port
  • type - type of displayed object: link - document set, docclass - document class
  • object_name - name of the object (Set or class of documents)
  • object_id - id (from the database) of the object (Document set or class)
  • indexName - index name (Document set or class)
  • index_id - index id (Set or class of documents)
  • value - the value in the index column whose identifier is indicated in the index_id parameter

 

Info
titleAttention

When the query specifying the searched document is not clear, we only receive the first document that meets the given criteria. In the above call it is possible to specify only one index from the archive filtering the search results.

Info
titleExample

http://www.plusworkflow.pl/PlusWorkflowPPD2/ShowDocumentFromArchive.do?type=docclass&objectName=Faktury&indexName=Identyfikator faktury&value=FK/17/000300

or

http://www.plusworkflow.pl/PlusWorkflowPPD2/ShowDocumentFromArchive.do?type=docclass&objectName=Faktury&indexName=Kontrahent&value=Suncode

 

If we want to search for a list of documents or provide more search criteria, please use another link:
Below is the description of such call:

Code Block
http://<adres_systemu>/Goto.do?search=<typ>&name=<object_name>&{indices[<index_name>]=<value>}


where:

  • system_address - the name of the system along with its path and port
  • type - type of searched object: link - set of documents, class - class of documents
  • object_name - the name of the object (document class or set)
  • index_name - index name (in the document class or set)
  • value - index value for the searched document. In case type = class and when there is no value provided, this index will only be displayed in the search results if the system finds more than 1 document. Where type = link all indexes of the set are displayed

 

Info
titleAttention
  1. The list of indexes in the link may be larger, i.e. you can enter several indexes.
  2. If the given criteria return one document, it is displayed, when more than one document meeting the given criteria is returned, the list of documents is returned.
Info
titleExample
  • Searching for all documents where the contractor is Suncode:

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode

  • Searching for all documents in which the contractor is Suncode and additionally if more than one document is found, displaying of the Invoice ID and Invoice Number columns:

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode&indices[Identyfikator faktury]&indices[Numer faktury]

  • Searching for all documents in which the contractor is Suncode and Invoice ID is FK / 17/000300 and additionally if more than one document is found, displaying of the Invoice Number columns

http://www.plusworkflow.pl/PlusWorkflowPPD2/Goto.do?search=class&name=Faktury&indices[Kontrahent]=Suncode&indices[Identyfikator faktury]=FK/17/000300&indices[Numer faktury]