Hi,
I have a flow where I would like to remove items in a SharePoint list and also in an SQL server. I'm hitting issues there.
See below the details:
- One SharePoint list: one column is called "ParseurItemID" which has unique values.
- An SQL table where the ParseurItemID is recorded also (might have duplicate, I can make sure there is no duplicate for the column ParseurItemID, but for the time being I would like to accommodate the ParseurItemID to have some duplication if possible)
Then the power app where I want to: on a click of a "Button" I would like to remove from
- The sharepoint list "Purchase Invoices"
- The SQL table "Power_Automate_CSI_Purchase_Invoice_Auto_Processing"
all the record for the ParseurItemID. The parseurItem ID I want to remove is in the powerapp page under the an editform, field called PaseurItemID_datacard1, and it's the datacardvalue10. One the page we are processing a specific parseuritemID. not multiple one (just to make this clear).
To remove it from the SharePoint List I tried "OnSelect" of the button the following:
- Remove('Purchase Invoices',LookUp('Purchase Invoices',ParseurItemID=DataCardValue10))
- Remove('Purchase Invoices',LookUp('Purchase Invoices',ParseurItemID=DataCardValue10.Value))
- Remove if as well and multiple other patch / remove from what I could find.
So far all my test failed. Would you have a tip to remove the record from the sharepoint list and from the SQL.
I tried to remove it from SQL as well different function but it all failed.
Thanks a lot to the community, as always !
Nick007