Page History
Kullanıcı tanımlı iş kuralları ile Backoffice üzerindenThe user-defined (interactive) business rule execution feature has been added to our product, which enables the user-defined business rules to be processed by running the value after data entry and selection via the Backoffice, pop-up seçim selection (browser) ya da değer giriş formlarıyla veri giriş/seçim yapılmasından sonra, alınan değerin bir kural ile çalıştırılarak, işlem yapılmasını sağlayan kullanıcı tanımlı (etkileşimli) iş kuralı çalıştırma özelliği ürünümüze eklenmiştir. Bu özellik, sevkiyat Planlama gibi fişlerde yoğunlukla kullanılan personel atama, peron atama, araç atama ya da öncelik belirleme gibi işlemlerin kullanıcı etkileşimli iş kurallarıyla yapılabilmesi amacıyla geliştirilmiştir.
Planlama fiş satırlarına personel atama işleminin iş kurallarıyla nasıl yapılacağının işlem adımları aşağıda sıralanmıştır.
1. Sistem işletmeni ekranından İş kuralları formu açılır.
İş kurallı çalıştırılırken hangi tip (Seçim formu, Değer giriş formu)veri giriş formunun kullanılacağı 1. İşlemde seçilir.
Seçim Formu: Kullanıcı, Adres, Araç liste ekranlarının açılır pencere (pop-up) olarak açılıp seçim yapılmasını sağlar. Değer giriş Formu: Metin, Tam Sayı, Numerik, Tarih tipinden pop-up açılacak ekrandan değer girilmesini sağlar.
2.Sağ tık ile kullanıcı tanımlı kural çalıştırma menü seçeneğinde görünecek kural ismi Kural Adı bölümüne yazılır. (Planlama Satır Kullanıcı Belirle)
3.Kural 1. Satırında İşlem türü olarak Seçim Formu seçilir ardından Detaylar bölümünden Kullanıcı liste ekranının (browser) açılması için "Kullanıcı" listeden seçilir. Kural Sonucu Başarılıysa onay işareti işaretlenir.
4.Scrip editörden Rule scripti açılarak bu kod parçası scripte eklenir.
Ekrandan seçilen değer , or value entry forms.
This feature has been developed in order to perform operations such as employee assignment, platform assignment, vehicle assignment, or priority determination, which are used frequently in slips such as Shipment Planning, with user-defined interactive business rules.
The steps of assigning employees to planning slip lines with business rules are listed below.
1. The Business rules form opens on the system operator screen.
The 1st operation is used to select which type (Selection form, Value entry form) data entry form will be used when executing the business rules.
Selection Form: It allows opening the User, Address, and Vehicle list screens as a pop-up window and making selections.
Value Entry Form: It allows entering values in Text, Integer, Numeric, and Date types on the pop-up screen.
2. The rule name to display in the user-defined rule execution menu option by right-clicking is written in the Rule Name field. (Specify Planning Line User)
3. In the 1st line of the rule, Selection Form is selected as the Operation type, then "User" is selected from the list to open the User browser in Details. If the Rule Result is successful, the checkbox is marked.
4.Rule script is opened via the script editor and this piece of code is added to the script.
The value selected from the screen is used in the rule as {Actions.1.RuleResponse} içinde kuralda kullanılır.
Bu script Planlama fiş satırlarında dönerek planlama fiş satırlarının AssignTo alanına liste ekranından (browser) seçilen kullanıcıyı yazar.
...
6.Belirlenen kuralın nerede çalışacağını belirlemek için ""Menüye Eklle" işaretlenir, Listeden kuralın nereye bağlanacağı seçilir ""Planlama Fişi"
Planlama liste ekranında (browser) seçilen planlamanın satırları için bu kural çalıştırılacaktır.
Bu kuralı değiştirerek planlama fiş satırlarına bağlayarak da satır bazında seçimle çalıştırmakta mümkündür.
Kural tanımlandıktan sonra Backoffice açıldığında yazılan kural, ilgili formun sağ tık ile gelen "Kullanıcı tanımlı Kural" menü seçeneği altında görünür. Seçim yapılan satır için ilgili kural kullanıcı tarafından seçilerek çalıştırılır.
Planlama fişi satırlarında incele modunda öncelik belirlemek için örnek kural;
...
Planlama fişi satırlarında incele modunda kullanıcı atama This script returns on the Planning slip lines and writes the user selected from the browser in the AssignTo field of the planning slip lines.
5. Prerequisite: Action 1 and Status: Successful are selected in Line 2 of the rule definition and "Operation Type" is set to Run command. The rule execution step definitions are completed by selecting "SpecifyUserinPlanningLines" on the details.
6. "Add to Menu" is marked to determine where the specified rule will work. The field to link the rule is selected from the list. "Planning Slip"
This rule will be executed for the lines of the planning selected in the planning browser.
It is possible to select on a line basis by changing this rule and linking it to planning slip lines.
When the Backoffice is opened after the rule is defined, the written rule is displayed under the "User Defined Rule" menu option, which is displayed with a right-click on the relevant form. The relevant rule for the selected row is selected and run by the user.
Example rule for prioritizing in planning slip lines in review mode;
An example rule for vehicle assignment on the planning list screen;
Assigning users in review mode in planning slip lines