Regarding the Logic
Posted: Fri Feb 01, 2013 8:46 pm
Hi Experts,
Whenever Code is between 1-20 or 51-70, we are executing some business logic.
My requirement is that, whenever Item 500 with Code 30-40 comes, pass through this same logic.
I tried adding this logic but the problem is that whenever Item is 500 having Code between 1-20, that also gets passed through this business logic which I don't want.
Note: Item 500 only with Code 30-40 should be passed through this logic and other codes for this Item 500 should be bypassing this logic.
Please help.
Thanks
Vinu
Whenever Code is between 1-20 or 51-70, we are executing some business logic.
My requirement is that, whenever Item 500 with Code 30-40 comes, pass through this same logic.
I tried adding this logic but the problem is that whenever Item is 500 having Code between 1-20, that also gets passed through this business logic which I don't want.
Note: Item 500 only with Code 30-40 should be passed through this logic and other codes for this Item 500 should be bypassing this logic.
IF (CODE > 0 AND < 21) OR
(CODE > 50 AND < 71) OR
((ITEM = 500) AND (CODE > 29 AND < 41)) <= Newly inserted code
< Process business logics and write to file>
END-IF
(CODE > 50 AND < 71) OR
((ITEM = 500) AND (CODE > 29 AND < 41)) <= Newly inserted code
< Process business logics and write to file>
END-IF
Please help.
Thanks
Vinu