Hi @12vanblart,
Do you display the Approval Status column value using Toggle control within your app?
I think there is something wrong with the formula that you provided. I have made a test on my side (use a SP list as the data source of my app), please take a try with the following workaround:
The data structure of SP list as below:
App's configuration as below:


Set the OnSelect property of the "Submit" button to following formula:
ForAll(
RenameColumns(Gallery1.AllItems,"ID","ID1"),
If(
Toggle1.Value=true,
Patch('20181002_case6',LookUp('20181002_case6',ID=ID1),{ApprovalStatus:"Approved"}),
Patch('20181002_case6',LookUp('20181002_case6',ID=ID1),{ApprovalStatus:"Rejected"})
)
)
On your side, you should type the following formula:
ForAll(
RenameColumns(Gallery1.AllItems,"ID","ID1"),
If(
Toggle1.Value=true,
Patch('[dbo].[LINEITEM]',LookUp('[dbo].[LINEITEM]',ID=ID1),{APPROVAL_STATUS:"Approved"}),
Patch('[dbo].[LINEITEM]',LookUp('[dbo].[LINEITEM]',ID=ID1),{APPROVAL_STATUS:"Rejected"})
)
)
Or
ForAll(
RenameColumns(Gallery1.AllItems,"ID","ID1"),
If(
Toggle1.Value=true,
Patch('[dbo].[LINEITEM]',First(Filter('[dbo].[LINEITEM]',ID=ID1)),{APPROVAL_STATUS:"Approved"}),
Patch('[dbo].[LINEITEM]',First(Filter('[dbo].[LINEITEM]',ID=ID1)),{APPROVAL_STATUS:"Rejected"})
)
)
The GIF screenshot as below:
More details about the Patch function and RenameColumns function in PowerApps, please check the following workaround:
Patch function, RenameColumns function
In addition, you could also consider take a try to set the OnChange property of the Toggle control (within the Gallery control) to following formula:
If(
Toggle1.Value=true,
Patch('[dbo].[LINEITEM]',ThisItem,{APPROVAL_STATUS:"Approved"}),
Patch('[dbo].[LINEITEM]',ThisItem,{APPROVAL_STATUS:"Rejected"})
)
Best regards,
Kris