Page History
...
Command Name | Usage | Description | Example | Version |
---|---|---|---|---|
Text | Text(column,row,text,JSON) | Writes the text to the specified column and row on the screen. If it is defined, it performs operations according to the parameters in JSON format. The column parameter is valid only on Telnet handheld terminals. In the text of the command, variables can be used. Values to be used in JSON Parameters:
The parameter is optional. | Text(1,1,"Material Name") Text(0,0,"Company Selection") Text(1,1, @barcode,{"start":5,"length":10}) Text(1,1, "Material Name: @materialname", {"case":" upper"}) Set(@Style.error, {"color" : "Red-Black","effect" : "Bold-Blink", "size":"4"}) Text(1,1, @error,{"style":"@Style.error"}) Text(1,1, @materialname,{"title":"Material Name"}) (From As of v1 .2) | 1.0 |
Input | Input(x, y, tag, | It is used to enter information. The parameters are used as described below:
Format parameters :
result variable: The variable to which the information will be assigned. If the format definition contains fields with parentheses, these field values are saved as subfields of the variable. | Input(1,4,"User Name", {"type":"text","min":"1"," 1.0 Input(1,4,"Barcode", {"type":"text","min":"1","max":"10", Input(1,4,"Barcode", {"type":"text","min":"1","max":"10", Input(1,4,"Barcode", {"type":"text","min":"1","max":"10", | 1.0 |
MenuItem | MenuItem(form name, menu text, authorization code, icon number) | Bir menü seçeneği oluşturur. Menünün ekranda gösterilmesi için MenuRun komutu çalıştırılmalıdır. Yetki kodu bölümünde tanımlanan kod, Sys uygulamasında Kullanıcı Tanımları ekranında, kullanıcılara menü yetkisi vermek için kullanılır. Simge numarası parametresi opsiyoneldir. Mobil uygulamada menülerin önünde simge gösterilmesini sağlar. Kullanılabilecek menü simge numaralarına şuradan ulaşılabilir Creates a menu option. MenuRun command must be run to display the menu on the screen. | MenuItem(Receiving, "RECEIVING","",3) | 1.0 |
MenuRun | MenuRun(row, column, title) Seçenekleri | tanımlanmış menünün ekranda gösterilmesini sağlar. Menünün en üstünde gösterilmek üzere bir başlık belirlenebilir. Başlık metninde değişken adı yazılabilir. (v1.2 itibariyle) Menüden seçim işlemi, klavyedeki 1-9 arası sayı tuşları ile ya da dokunmatik ekranlarda seçeneğe tıklayarak yapılabilir. Klavyedeki ok tuşlarıyla menü seçenekleri arasında dolaşılabilir Allows the menu with options to be displayed on the screen. A title can be specified to be displayed at the top of the menu. The variable name can be written in the title text. (as of v1.2) Selection from the menu can be performed with the number keys 1-9 on the keyboard or by clicking the option on the touch screens. It is possible to navigate through the menu options with the arrow keys on the keyboard. | MenuRun(1,1,"MAIN MENU") MenuRun(1,1,"MAIN MENU-@@LoginUser. | 1.0 |
PopupView | PopupView(variable name, JSON, result variable) Verilen liste yapısındaki değişkenin değerlerinin, açılan ayrı bir ekranda listelenebilmesini ve seçim yapılabilmesini sağlar. JSON biçiminde tanımlanan parametreleri şunlardır: | fields: Gösterilecek alanlar. Her alan bir JSON dizi nesnesi olarak tanımlanır. Alanın gösterim özellikleri (dikme) karakteriyle ayrılarak belirtilir. Yazım biçimi şöyledir: Alan Adı column başlığı (Ör. Stok Kodu) Alanın kaç karakter gösterileceği (Ör.10) Hizalama It enables the values of the variable in the given list structure to be listed and selected on a separate screen. The parameters defined in JSON format are: fields: Fields to display. Each field is defined as a JSON array object. The display properties of the field are indicated by separating them with the pipe character. The format is as follows: Field Name column title (For example, Stock Code) How many characters the field will display (For example, 10) Alignment (L-left, R-right) mode: Liste iki şekilde gösterilebilir: columnlu liste The list can be displayed in two ways: columned list (mode=list) ya da alt alta or top and bottom (mode=card) Eğer bir If there is no "mode" nesnesi yoksa, columnlu liste gösterileceği varsayılır. Çok sayıda row varsa, sayfayı dolduracak kadarı gösterilir. Aşağı-yukarı ok tuşlarıyla sayfalar arasında geçiş yapılır. columnlu listede sağ-sol ok tuşlarıyla listede ekranın görünmeyen kısmına kaydırma yapılabilir. size: Açılacak ekranın boyutları "genişlik yükseklik" şeklinde tanımlanabilir. Varsayılan olarak 40 25 değerleri geçerlidir. Telnet için geçerlidir. title: Ekranın en üstünde başlık gösterilebilir. style: Liste için belirlenen stili uygular. Listelenen her rown başında row numarası gösterilir. Klavyeden rown numarası yazılıp Enter tuşuna basılarak ya da dokunmatik ekranda ilgili seçeneğe dokunarak seçim yapılabilir. multiselect : boolean true olması durumunda listelerden çoklu seçim yapılması desteklenir. multiselect belirtilmezse default değer false alınır. Çoklu seçim desteklenmez. multiselect kullanımıyla liste seçimi aşağıdaki şekilde döndürülür. (v1.16 itibariyleobject, it is assumed that the columned list will be displayed. If there are many rows, only enough to fill the page is displayed. size: The size of the screen to be opened can be defined as "width height". The values 40 25 are default. It applies to telnet. title: The title can be displayed at the top of the screen. style: Applies the style specified for the list. The row number is displayed at the beginning of each row. Selection can be made by typing the row number on the keyboard and clicking the Enter key, or by touching the relevant option on the touch screen. multiselect : Multiple selections from lists are supported if boolean is true. The default value is false if multiselect is not specified. Multiple selection is not supported. Using multiselect returns the list selection as follows. (as of v1.16) { "rows": [ { "rowNumber": 1, } , { "rowNumber": 3, } , { "rowNumber": 5, }, ], "rowCount": 3 } | PopupView(@liste@list.rows, {"mode":"list","size":" 30|20","title":"Stok ListesiStock List","fields": ["stk_koducode|Stok KoduStock Code|10|L","stk_adiname|StokStock AdıName|15|L"]},@secim@selection) PopupView(@liste@list.rows, {"mode":"card","fields": ["stk_koducode|Stok KoduStock Code|10|L","stk_adiname|StokStock AdıName|15|L"]},@secim@selection) PopupView(@depoliste@warehouselist.rows, {"title": "KAYNAKSOURCE DEPO SEÇİMİWAREHOUSE SELECTION", "fields":["depowarehouse_koducode|DepoWarehouse KoduCode|10|L","depowarehouse_adiname|Depo AdıWarehouse Name|15|L"], "multiselect":"false","style" : "@Style.listelist"},@secim@selection) | 1.0 |
TableView | TableView(variable name, first row, first column, JSON) | Verilen liste yapısındaki değişkenin değerlerini ekranda bir tablo olarak gösterir. İlk column parametresi sadece Telnet için geçerlidir. Bu parametreye yazılan değer mobil uygulamada tablonun ekranda kaç rowlık yer kaplayacağını belirler. JSON biçiminde tanımlanan gösterim parametrelerinde, rows: Değişken içindeki kayıtların kaç tanesinin basılacağını gösterir. start: Listenin kaçıncı kaydından başlanacağını gösterir. (Opsiyonel. Kullanılmazsa ilk kayıttan başlarIt displays the values of the variable in the given list structure as a table on the screen. The first column parameter is valid for Telnet only. The value written to this parameter specifies how many rows the table will occupy on the screen in the mobile application. In display parameters defined in JSON format, rows: Indicates how many of the records in the variable will be displayed. start: Indicates from which record the list will start. (Optional. If not used, it starts from the first record.) columns: columnsın özellikleri. Her column bir JSON dizi nesnesi olarak tanımlanır. columnn gösterim özellikleri | (dikme) karakteriyle ayrılarak belirtilir. Yazım biçimi şöyledir: Alan Adı | column başlığı (Ör. Stok Kodu) Alanın kaç karakter gösterileceği (Ör. 10 ya da 3-7. 3.karakterden 7.karaktere kadar) Hizalama properties of columns. Each column is defined as a JSON array object. column display features It is specified by separating with the | (pipe) character. The spelling is as follows: Field Name | column header (Ex. Stock Code) How many characters the field will display (For example: 10 or 3-7. 3rd to 7th character) Alignment (L-left, R-right) The arrow keys can be used to see the parts of the table that do not fit on the screen. | TableView(@liste@list.rows,1,5, {"rows":10,"columns": 1.0 ["stk_koducode|Stok KoduStock Code|10|L","stk_adiname|Stok AdıStock Name|15|L"]}) | 1.0 |
ShowMessage | ShowMessage(JSON) | Creates an easy screen to send a message or ask for approval. The message is displayed on the screen as a separate window/popup. When exiting the message, it returns to the previous screen. The parameters defined in JSON format are as follows: title: Title message: Message text. Variable can be used. buttons: Action buttons. A maximum of 3 buttons can be defined. Respectively, the 1,2,3 keys on the keyboard correspond to these button options. If there is only one button or for the first option, the Enter key can be used. If there is only one button, or for the last option, the ESC button can be used. If no button is specified, it is shown as "OK". style: Definition of style. It is only for telnet handheld terminals. (as of v1.2, it is also available for Android terminals.) .title, .border, .button1, .button2, .button3 and .text elements in the defined style are used. | ShowMessage({"title": "HATAERROR", "message" : "@kod @code 1.0 KODLU MALZEME BULUNAMADICODED MATERIAL NOT FOUND!","buttons": "TAMAMOK"}, @selection) ShowMessage({"title": "HATAERROR", "message" : "HATALI SEÇİMINCORRECT SELECTION!" "buttons": "TAMAMOK|İPTALCANCEL", "style" : "@Style.mesajmessage"}, @selection) | 1.0 |
Image | start row, end row, JSON | Displays the content of saved images for material and AR/AP. It is displayed in the specified lines. The parameters defined in JSON format are as follows: RecordType : Type number of record. AR/AP-142,Material-145 RecordId : Record Id ImageType : 0-Thumbnail (Default) 1- Original This command is meaningful only for use in the mobile application. | Image(5,8, {"RecordType" : "145", "RecordId": 1}) | 1.0 |
ClearScreen | ClearScreen() | Clears the screen. | ClearScreen() | 1.0 |
ClearLines | ClearLines(start row, end row) | Resets the values between the given lines. | ClearLines(1,5) | 1.0 |
Beep | Beep(number of beeps) | It beeps a specified number of times via the handheld terminal. The other audio files supported by the operating system can be played in the mobile application. The number of repetitions is optional. | Beep() Beep(2) | 1.0 |
ListBox | Input(x, y, tag, Örnek : ListBox(variable, y, tag, field name, result variable) | It waits for selecting from the given list (Combobox). variable: A list including one or more records. line: The line where the combo box will be displayed. tag: Description information to display in front of the information entry field. A variable can be used in the tag text. field name: Name of the column to be displayed in the variable list. result variable: Variable to which the information will be assigned. Returns the value of the selected line with this variable. | Warehouse.List("Id>0","Code Desc",@list) ListBox(@list.rows, 1, "Depo SeçimiWarehouse Selection", "Name",@selection) Text(1,2,"@liste@list[email protected]", {"title":"Seçilen Depo KoduSelected Warehouse Code","style": {"color":"Blue","titleColor":"Green", "effect":"Bold"}}) | 1.16 |