Deep linking not returning the specific record.
i have a sharepoint list that acts as the datasource for an dealslip application for generating slips, and a power automate flow for multiple approvers.

Here is the microsoft power automate flow.

here is the the code in the onvisbile property of my dealslipscreen:
If(
!IsBlank(Param("ID")),
Set(
varEmpID,
LookUp('DealSlip Debit Details', ID = Value(Param("ID")))
);
Set(
varFormMode,
FormMode.Edit
)
);
i have followed most of the tutorials from this community. your help is humbly needed.