Hello,
I try to patch 3 different tables that one refers to another right now I have a solution that does patch only two, but cannot think of any way to add 3rd patch.
With(
Patch(
Tickets,
Defaults(Tickets),
{'Ticket Status': 'Ticket Status'.'Not Started'}
) As Ticketz,
ForAll(
material_final,
Patch(
' Materials',
Defaults(' Materials'),
{
'Material Number': ThisRecord.Material,
'Related Ticket ID': Ticketz
}
)
) As Materialz
);
tried to do it with nested 'with' but always met with an error. Last patch is meant to refer to each material created.