Thank you for taking the time to read my question.
I have the following code that runs (without errors from what I can tell), but when I refresh the data in Excel of my Dataverse table, the value I'm trying to update, is not changed. I also made a Gallery filtered to the record I'm trying to update and the price does not change in the Gallery either.
ForAll(
galUpdatePrices.AllItems As galItems,
If(
IsBlank(
LookUp(
PriceLists,
And(
PriceListCode = galItems.cra98_PriceListCode,
ItemCode = galItems.cra98_ItemCode
)
)
),
Patch(PriceLists,Defaults(PriceLists),{Price:Value(galItems.cra98_Price)}),
Patch(PriceLists,LookUp(PriceLists,And(PriceListCode = galItems.cra98_PriceListCode,ItemCode = galItems.cra98_ItemCode),{Price:Value(galItems.cra98_Price)}))
)
);
//Patch(PriceLists,LookUp(PriceLists,And(PriceListCode = "42ABCFS",ItemCode = "10876045"),{Price:Value("7450.00")}))
I also tried just simply running the Patch() statement and nothing changed in my table either. I really don't know what I'm doing wrong!
Here is my Dataverse table:

any help would be great!
Thanks all,