Select the correct syntax for a PeopleCode conditional construct.

Select the correct syntax for a PeopleCode conditional construct.

Select the correct syntax for a PeopleCode conditional construct.

A.
Do Case <field, variable, or expression>Case = <expression1>Case =
<expression2><PeopleCode statement(s)>;Case = <expression3><PeopleCode
statement(s)>;Case-Other<PeopleCode statement(s)>;End-Case;

B.
When <expression1>Or When = <expression1><PeopleCode statement(s)>;Else When =
<expression3><PeopleCode statement(s)>;When-Other<PeopleCode statement(s)>;End-When;

C.
Evaluate <field, variable, or expression>When = <expression1>When =
<expression2><PeopleCode statement(s)>;When = <expression3><PeopleCode
statement(s)>;When-Other<PeopleCode statement(s)>;End-Evaluate;

D.
Evaluate <field, variable, or expression>When = <expression1> thenWhen = <expression2>
then<PeopleCode statement(s)>;When = <expression3> then<PeopleCode
statement(s)>;Else<PeopleCode statement(s)>;End-Evaluate;

E.
Do When <field, variable, or expression> When = <expression1>When =
<expression2><PeopleCode statement(s)>;When = <expression3><PeopleCode
statement(s)>;When-Other<PeopleCode statement(s)>;End-When;

Explanation:



Leave a Reply 0

Your email address will not be published. Required fields are marked *