Screen Script Syntax Required
Posted: Thu Apr 16, 2015 11:49 pm
Hi,
on the Stock Screen, I run a series of screen script tests to make sure that required fields are completed before saving.
Two of those tests are:
REORDER = 0 and OVERTSTOCK = 1, because these are the default values.
However, sometimes I might actually want REORDER = 0 or OVERSTOCK = 1.
These values are checked in Mode == 3.
I need a screen script, that will check these values for the first time that a stock item is added, but not check it again after that.
I could do this by setting a value on the display screen and checking for it on subsequent saves, but I would rather do it in screen script and not have a variable displayed on the actual screen.
Any assistance with the script syntax would be greatly appreciated.
on the Stock Screen, I run a series of screen script tests to make sure that required fields are completed before saving.
Two of those tests are:
REORDER = 0 and OVERTSTOCK = 1, because these are the default values.
However, sometimes I might actually want REORDER = 0 or OVERSTOCK = 1.
These values are checked in Mode == 3.
I need a screen script, that will check these values for the first time that a stock item is added, but not check it again after that.
I could do this by setting a value on the display screen and checking for it on subsequent saves, but I would rather do it in screen script and not have a variable displayed on the actual screen.
Any assistance with the script syntax would be greatly appreciated.