Function order_validate

This function validates the entries in the fields of the orders screen record.

Function order_validate (orders.4gl):

01 FUNCTION order_validate(d)
02   DEFINE d ui.Dialog 
03   IF NOT d.getFieldTouched("orders.*") THEN
04      RETURN TRUE
05   END IF
06   IF d.validate("orders.*") < 0 THEN
07      RETURN FALSE
08   END IF
09   IF NOT order_check_store_num() THEN
10      RETURN FALSE
11   END IF
12   RETURN TRUE
13 END FUNCTION
Note: