Versions Compared

Key

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

Polish

Jeśli masz problem ze zrozumieniem jak działa setter/zadanie automatyczne, sprawdź opisy: SetterZadanie automatyczneWykonanie warunkoweParametry komponentów

Panel
titlePodstawowe informacje

Wtyczka: barcode-reader

Kategoria: Kody kreskowe

Dostępne od wersji: 1.0.0

Panel
titleOpis

Skanuje dokumenty w poszukiwaniu kodów kreskowych.

Po znalezieniu kodu na stronie tworzy nowy dokument składający się ze strony z kodem oraz następujących po niej stron bez kodu kreskowego.

Nowy dokument zostaje dodany do wybranej klasy dokumentów (opcjonalnie przypięty do procesu).

Po utworzeniu dokumentów zostają wywołane akcje na dokumentach:

  • dodanie dokumentu do archiwum
  • dodanie dokumentu do procesu (jeżeli przypięto dokument do procesu)

Wynikiem aplikacji jest zestaw informacji na temat utworzonych dokumentów zapisywanych do zmiennych tabelarycznych. Informacje dotyczą:

  • Id dokumentu z którego został utworzony nowy dokument
  • Id nowego dokumentu z kodem kreskowym
  • Id paczki z której pochodzi dany kod kreskowy (nadawany w parametrze konfiguracji)
  • Kody z paczki w postaci: id_paczki:kod_kreskowy_znaleziony_dla_pierwszego_wzorca_z_paczki:kod_kreskowy_znaleziony_dla_drugiego_wzorca_z_paczki:... itd. (długość uzależniona od liczby wzorców należących do paczki)
  • Kod kreskowy znaleziony w dokumencie
  • Klasa dokumentów, do której został zapisany nowy dokument.
Panel
titleParametry konfiguracyjne
Nazwa parametruOpisTyp parametruWartość domyślnaRodzaj pola

Uwagi i ograniczenia

Id paczki*Identyfikator paczki, który określa rodzaj tworzonych dokumentówTablica wartości tekstowych Pole edytowalne 
Wzorzec kodu kreskowego*Wyrażenie regularne jakie musi zostać spełnione dla podanego kodu kreskowego.Tablica wartości tekstowych Pole edytowalne 
Klasa dokumentu*Określa do jakiej klasy dokumentów zostanie przypisany nowy dokument utworzony ze strony o podanym wzorcu.Tablica wartości tekstowych Lista rozwijanaDo wyboru lista klas dokumentów znalezionych w systemie
Obsługa niesklasyfikowanych dokumentów*

Określa w jaki sposób obsłużyć dokumenty w których nie znaleziono żadnego kodu kreskowego oraz jak obsłużyć strony znalezione przed pierwszym kodem kreskowym. Użytkownik może wybrać spośród wartości:

  • Pomiń - ignoruje nierozpoznane strony/dokumenty
  • Dodaj jako niesklasyfikowane - dodaje do tabeli wyników informacje o dokumencie: id dokumentu źródłowego
  • Przenieś do klasy dokumentów - przenosi do klasy dokumentów oraz dodaje do tabeli wyników informacje o dokumentcie: id dokumentu źródłowego, id dokumentu utworzonego, wynikowa klasa dokumentów
TekstSKIPPole edytowalne

Do wyboru jedna z wartości:

Wartość wyświetlanaWartość przekazywana
PomińSKIP
Dodaj jako niesklasyfikowaneUNCLASSIFIED
Przenieś do klasy dokumentówMOVE
Klasa dokumentów niesklasyfikowanych(parametr domyślnie ukryty) Klasa do której przenieść dokumenty niesklasyfikowane. Pojawia się w przypadku wyboru odpowiedniej opcji w parametrze Obsługa niesklasyfikowanych dokumentów.Tekst Lista rozwijanaDo wyboru lista klas dokumentów znalezionych w systemie
Login użytkownika dodającego*Login użytkownika, który dodaje nowe pliki.Tekst Pole edytowalne 
Dodanie dokumentów do procesu*Określa, czy nowe dokumenty zostaną dodane do aktualnego procesu.LogicznyNiePole edytowalne 
Id dokumentów źródłowychZmienna do której zostanie wpisana tablica z identyfikatorami dokumentów źródłowych, z których zostały utworzone nowe dokumenty. Ilość wpisów odpowiada liczbie nowo-utworzonych dokumentów.Zmienna Pole edytowalneTylko zmienne tabelaryczne całkowite.
Id dokumentów utworzonychZmienna do której zostanie wpisana tablica z identyfikatorami dokumentów utworzonych przez aplikację.Zmienna Pole edytowalneTylko zmienne tabelaryczne całkowite.

Id plików dokumentów utworzonych

Zmienna do której zostanie wpisana tablica z identyfikatorami plików dokumentów źródłowych utworzonych przez aplikację.Zmienna Pole edytowalneTylko zmienne tabelaryczne całkowite.
Wynikowe id paczekId paczki do jakiej został zakwalifikowany dokumentZmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.
Wynikowe kody paczek

Kody z paczki w postaci: id_paczki:kod_kreskowy_znaleziony_dla_pierwszego_wzorca_z_paczki:kod_kreskowy_znaleziony_dla_drugiego_wzorca_z_paczki:... itd. (długość uzależniona od liczby wzorców należących do paczki)

Zmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.
Znalezione kody kreskoweZmienna do której zostanie wpisana tablica z kodami kreskowymi znalezionymi w dokumentach.Zmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.
Wynikowe klasy dokumentówZmienna do której zostanie wpisana tablica z klasami dokumentów do których zostały przydzielone nowo-utworzone pliki.Zmienna Pole edytowalneTylko zmienne tabelaryczne tekstowe.

Parametr*- pole wymagane

Panel
titlePrzykładowa konfiguracja
 
Panel
titleChange log

 1.0.0

  • Dodanie komponentu
Panel
titlePakiet z przykładowym formularzem wykorzystującym komponent

View file
nameTesty Barcode reader 2019-12-20 14_36_33.zip
height250

<plik z mapą w zipie>

Hide If
special@anonymous

Powiązane zadania

JIRA
server192.168.1.52 JIRA
serverId2e6b42a8-62e1-3c71-bfe9-dbf183b33dc1
keyBAR-14

English

← Return to the list of available setters

← Return to the list of available applications 

Info

If you have trouble understanding how the action works, check the descriptions: Application, Setter, Conditional execution, Component parameters

Panel
titleBasic information

Plugin: barcode-reader

Category: Barcode

Available from version: 1.0.0

Panel
titleDescription

Scans documents for barcodes.

When it finds the code on the page, it creates a new document consisting of a page with the code and subsequent pages without a barcode. In addition, if this is the first bar code found, then all pages preceding it without a bar code will also be attached to the new document.

The new document is added to the selected document class (optionally pinned to the process).

After the documents are created, actions on the documents are triggered:

  • adding a document to the archive
  • adding a document to the process (if the document was pinned to the process)

The result of the application is a set of information about created documents saved to tabular variables. Information applies to:

  • Document id from which the new document was created
  • Id of the new barcode document
  • Package id from which the given bar code comes (given in the configuration parameter)
  • Barcode found in the document
  • Document class in which the new document has been saved.
Panel
titleConfiguration parameters
Name of the parameterDescriptionParameter typeDefault valueField typeNotes and restrictions
Package idPackage id, which specifies the type of documents createdArray of text values Editable field 
Bar code patternRegular expression that must be met for the given bar code.Array of text values Editable field 
Document ClassSpecifies which document class will be assigned a new document created from the page with the given pattern.Array of text values Drop-down listAll document classes to choose from.

Handling of unclassified documents

Specifies how to handle documents where no bar code was found and how to handle pages found before the first bar code. The user can choose from the values:
  • Skip - ignores unrecognized pages / documents    
  • Add as unclassified - adds document information to the result table: source document id    
  • Move to document class - moves to the document class and adds information about the document to the results table: source document id, created document id, resulting document class
TextSKIPDrop-down list

To choose from:

Displayed ValueValue transmitted
SkipSKIP
Add as unclassifiedUNCLASSIFIED
Move to document classMOVE
Class of unclassified documents

The class to which unclassified documents should be moved

Text Drop-down listAll document classes to choose from.
Login of the adding userLogin of user who adds new files.Text Editable field 
Adding documents to the processSpecifies whether new documents will be added to the current process.BooleanNoEditable field 
ID of source documentsThe variable into which the table with the identifiers of the source documents from which new documents were created will be entered. The number of entries corresponds to the number of newly created documents.Variable Editable fieldOnly tabular integer variable
Id of documents createdThe variable into which the table with the identifiers of documents created by the application will be entered.Variable Editable fieldOnly tabular integer variable

File ids of created documents

The variable into which the table will be entered with the identifiers of the document files created by the application.Variable Editable fieldOnly tabular integer variable
Result package idID of the package to which the document was qualifiedVariable Editable fieldOnly tabular integer string variable
Barcodes foundThe variable into which the table with bar codes found in the documents will be entered.Variable Editable fieldOnly tabular string variable
Resulting document classesThe variable into which the table with the document classes to which the newly created files have been allocated will be entered.Variable Editable fieldOnly tabular string variable

Parameter*- required field

Panel
titleSample configuration

 

 

Panel
titleChange log

 1.0.0

  • Adding component