Force_Error with Condition

How to pass force_error with condition?

Questions by abmaahi   answers by abmaahi

Showing Answers 1 - 3 of 3 Answers

DilipPanda

  • Apr 4th, 2010
 

You can write force_error function in following fashion

out:reformat(in)
begin
if (in.cust_name=="XYZ") force_error("Invalid Customer");
out.*::in.*
end

Hope this helps...

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions