I'm copying all the contents of the GroupItems collection onto the same ID in the PSOCache collection. Both collections have the same set of columns. Patch does not work because of the empty fields bug. I'm looking for a succinct way to make this work.
ForAll(
RenameColumns(GroupItems
, "ID"
, "ContentID"
),
UpdateIf(
PSOCache
, ID=ContentID
, {
Status: Status
, StatusText: StatusText
, 'Status Detail': 'Status Detail'
, Inspected: Inspected
, MSF: MSF
, SN: SN
, Ticket: Ticket
, 'Vendor Part Number': 'Vendor Part Number'
, Description: Description
, Bin: Bin
, Edited: Edited
}
)