Archives
In syteline 7 it was SessionManager.BaseUserName. In Syteline 8 Create form component ‘UserEdit’ and bind it to variable ‘User’ with initial value ‘USERNAME()’ Get the value on form script by ‘ThisForm.Variables(“User”).Value’ This will return the UserID who login to Syteline. Use System.Environment.UserName to get the UserID login to Windows. Here is a sample screen shot
In Syteline form grid, if you have line# and you want it to be auto populated, you may use the AUTONUMBER function, just set the component default value property to AUTONUMBER. Syntax AUTONUMBER( [ STEP( ) ] [ FILTER( ) ] ) Remarks During processing of the New standard operation, AUTONUMBER sets the value of […]
I have been trapped on this more than one time. In order for a method call validator to work, the return value has to be bigger than 5. This is clearly state in the WinStudio document: “If the method returns a value less than 5, WinStudio passes the validation. Otherwise, WinStudio fails the validation. The […]
From out of box Syteline, the pull down list of customer# field is sorted by customer#. The same thing happens to the vendor# field. Many Syteline users would prefer that the pull down list is sorted by customer name / vendor name in alphanumeric order, especially when you have hundreds customers/vendors. Syteline Application Case Change […]
The out of box Syteline missed some of the detail carelessly. For example, the Grid view for RMA is sorted by RMA date ascending. So it shows the oldest RMA up front and you are seeing those years old closed RMAs. Syteline Application Case Change the sorting of Grid view in RMA form, to show […]
In Syteline, there are many ways to default field value. The most simple way is to use the default value property of the field component. But if you need to set the default value based on some other field value, that simple property value would not cut it. Syteline Application Case We want to default […]