Hi,
i need to overwrite Target ICP based on the HFM account ICP attribute.
While i could do a manual explicit mapping, this is not very handy nor dynamic.
I was thinking about creating a AftValidate script to overwrite the Target ICP.
Now i know how to retrieve the IsICP attribute from HFM and compare it in a loop to the ACCOUNTX in FDM, but what is the right way to overwrite a single value in an existing row?
i know how to add new records but i do not know how to update existing ones...so i thought something like the following could solve the issue, just i do not know the right syntax...
Set NewRec = DW.DBTools.fCreateRec()
With NewRec
.varKey = z
.colFlds.update "ICP", ICP
End With
RES.PColRecs.Append NewRec
End If
regards
Benoit