Random Numara Oluşturma
Random Numara Oluşturma Merhaba, geliştirmelerimizde ara ara gereken bir konu; random numara generete etmeyi anlatacağım. Kullanım yerine örnek vermek gerekirse, telefonlanlara gönderilen doğrulama kodlarını bu yöntem ile oluşturabiliriz. Gelelim nasıl yapılacağına. WF'umuza ekleyeceğimiz sadece 2 step ile yapacağız bunu. Step 1: Business Service Name : SIS OM PC Service Business Service Method: Get Next RowId Input Argument : Yok Output Argument Property Name : PinCode Type : Output Argument Output Argument : RowId Step 2: Business Service Name : Workflow Utilities Business Service Method : Echo Input Argument : Yok Output Argument Property Name : PinCode Type : Expression Value: RowIdToRowIdNum([&PinCode]) Benim geliştirmemde echo step'inden çıkan random numarayı bir kolona yazıyoruz ve müşteriye doğrulama kodu olarak gönderiyoruz. Textbox'a girilen değer ile kolona yazdığımız değeri kontol edip doğrulama sür...