How to get last modified dates on attribute level?
B
Bharat Joshi
started a topic
over 3 years ago
I have fuzzy matched entity where I would like to track on golden record the last modified date for specific attributes.
For example if I have Contact entity that has attribute Email I would like to have attribute called EmailLastModifiedDate that would be automatically set for golden record every time the value of the email changes on the golden record level.
What would be best way to achieve this?
Best Answer
B
Bharat Joshi
said
over 3 years ago
To achieve such attribute level last modified dates , we can take use of named query
For your case, you can add this single attribut expression in the named query (no extra technical attribute needed) :
lookup first UpdateDate
from GoldenHistoryRecords
where FromBatchID=
lookup
max ToBatchID
from CurrentGoldenRecord.GoldenHistoryRecords
where CurrentGoldenRecord.FirstName<>FirstName
end
end
In this case, you will check in all cases (Override or not) the correct UpdateDate.
also, enclosing the screenshot for same
1 Comment
B
Bharat Joshi
said
over 3 years ago
Answer
To achieve such attribute level last modified dates , we can take use of named query
For your case, you can add this single attribut expression in the named query (no extra technical attribute needed) :
lookup first UpdateDate
from GoldenHistoryRecords
where FromBatchID=
lookup
max ToBatchID
from CurrentGoldenRecord.GoldenHistoryRecords
where CurrentGoldenRecord.FirstName<>FirstName
end
end
In this case, you will check in all cases (Override or not) the correct UpdateDate.
Bharat Joshi
To achieve such attribute level last modified dates , we can take use of named query
lookup first UpdateDate from GoldenHistoryRecords where FromBatchID= lookup max ToBatchID from CurrentGoldenRecord.GoldenHistoryRecords where CurrentGoldenRecord.FirstName<>FirstName end endalso, enclosing the screenshot for same
Bharat Joshi
To achieve such attribute level last modified dates , we can take use of named query
lookup first UpdateDate from GoldenHistoryRecords where FromBatchID= lookup max ToBatchID from CurrentGoldenRecord.GoldenHistoryRecords where CurrentGoldenRecord.FirstName<>FirstName end endalso, enclosing the screenshot for same
-
LOV label in Named Query
-
How we can set Dynamically changing Form field Description?
-
Is it possible to have a conditional survivorship rule based on a SemQL filter (akin to the filter on privileges)?
-
Where Do I View 2 Merged Records?
-
Show/hide an attribute in a form
-
Restrict access of attributes
-
Is it possible to manage visible/invisible value in List depend on user role??
-
Why am I unable to merge duplicates?
-
How are child records selected when parent records are manually merged?
-
Can the response from the API Call Response can be formatted differently in the JSON output?
See all 178 topics