Code: Select all
If IsEmpty(ReadTranValue("REQUIRED"))
Echo("Sorry, you must specify a required date.",, TRUE)
Return FALSE
Endif
If ReadTranValue("REQUIRED") <= ReadTranValue("DATE")
Echo("Sorry, the required date must be greater than the transaction's date.",, TRUE)
Return FALSE
Endif
Return TRUE