HOTSPOT
You need to populate the Incident Date and Status fields in the Room Incident table.
Which instructions or trigger should you use? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point
Answer:
Explanation:
Instructions to use for Incident Date and Status fields:
The correct instruction is "Incident Date" := Workdate(); "Status" := Status::Open;. This ensures that
when a new record is created, the Incident Date is set to the current work date, and the Status field is
initialized to ‘Open’. This is essential for ensuring that the incident data is always timestamped and
correctly marked upon creation.
Trigger to introduce the function:
The correct trigger is Trigger OnModify. This trigger ensures that when a record is modified, such as when an update to the status is made (e.g., from Open to Closed), the necessary logic will be executed to handle the update of fields like Incident Date and Status. Step-by-Step
DRAG DROP:
Workdate Function in AL
Triggers in AL
Latest MB-820 Dumps Valid Version with 56 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund