|
ProgramGenerator location You can find the Program Generator within our downloads section following the path: support > downloads and then click on "Downloads for Sales, Inventories and Security". Once you clicked on the link, you are given two options. You can open the file or save it. You should save it and then extract its contents to a known location.
Once you have extracted the file, you should take the following steps:
Click on "Load"
Initial Screen
When declaring the variable 'document' as 1.2 or 3, the variable will be enabled for use as Index and it will have 3 separate lists.
Here you set up the screen that should appear on the terminal once the program starts. The above example produces the following screen on the terminal:
User variables Here is defined the variables that will be used internally, to show attributes, names, and so forth. To send variables to the terminal you should send a string separated by spaces. For instance, if you wish to send a file with data to the above example, it should be done as follows: Art1 111111111 Coca Cola 10 Art2 222222222 seven up 15 Art3 333333333 Cafe 12.5 Art4 444444444 Bola 10 Art5 555555555 Manteiga 112.3 Art6 666666666 Sprite 10 Art7 777777777 Tabaco 10 Art8 888888888 Queijo 10 To send it, you should use the program "datacollector" with the paremeters as "Load". Datacollector /Load ficheiro.txt Table1 Table1 is the table´s default name. Header fields Here you set up the initial data screen. In this example the data is automatically filled by the previous choice. We can take as a real world example the invoice number request.
Aqui define-se o ecran inicial de dados. Neste exemplo os dados são preenchidos automaticamente pela escolha anterior. Poderia-se usar para pedir um numero de factura etc... Variable name
Variable size
Type
Input
Default Value
Prefix
Size
New Line after field
Find
Show
Visible
Body fields Lets you define how you see the main screen, or where the data is. In this example we found a list of bills, the items and quantities.
The code above would generate the following terminal screen layout: Variable name
Field template
Input
Allow repeated
If repeated
Find
Default Value
Show
Validate Show
Auto exit field
![]() Allows to configure whether each field should appear on a screen or not through the value of a variable. In the above example the price is set in sales and consultation and it doesn't appear in inventory. ![]() Extract data from field Use this screen to extract data from a field. For example if we have a bar code in which the first 3 digits are the quantity, and we want to add all the quantities of stock to the terminal. ![]() EAN128 Equivalent to the previous screen but specific to EAN128. Memory Status
Allows the definition of which memory is to be used for inventory and which memory is to be used with the wording of references for example. By changing the value of this bar 'size_body' (System Variables) and 'Number of elements' (Properties) the user variables change automatically. You can open these windows before changing the bar to see how the values are.
System Variables
Lets you define some key variables that the generator will use to generate the program.
size_header_max
Advanced
|
![]() |







Variable name






