A company uses Dynamics 365 Finance.
You implement the Insert method for a table you create. The class must meet the following requirements:
• If FieldA is equal to “Hello,” then FieldB must save the integer value 10.
• If FieldA is equal to “World,” then FieldB must save the integer value 20.
• Otherwise FieldB must save the integer 0.
You need to implement the code.
Which two code segments can you use? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Comments