IF COMM_STRUCTURE-recordmode EQ ' ' OR
COMM_STRUCTURE-recordmode EQ 'N'.
IF COMM_STRUCTURE-dlvieycr GT 0 AND COMM_STRUCTURE-dlvilecr GT 0.
RESULT = 1.
ELSEIF COMM_STRUCTURE-recordmode EQ 'X'.
IF COMM_STRUCTURE-dlvieycr LT 0 AND COMM_STRUCTURE-dlvilecr LT 0.
RESULT = -1.
I have the above update routine, for field 'dlvlcr' in one cube of update rules.
here result = 1 and result = -1 ia there.
but it shows the output values only ' 1 and 0 '.
why -1 is not coming in to the output.
Please tell me how the routine is executing .