Questions tagged [accounthistory]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

Not able to pass the Oldvalue , newValue to HistoryObject Record through test class

I am not able to insert the newValue and OldValue of Account History record in Test class. In the below apex class, historyList containes the History object records. when i created account and updated ...
0
votes
1answer
21 views

Need to pull old value of a field on account object which is not enable on history tracking

I need to capture old value of a custom field on account object which may not updated recently. We are not enabled history tracking for that field. So would it possible to retrieve old value of field ...
0
votes
1answer
63 views

Duplicate values for Query on Account History object

When im running this Select Account.name, NewValue, OldValue, IsDeleted from AccountHistory where Field = 'Owner' ORDER BY CreatedDate DESC in salesforce it is giving me two records for one change....
2
votes
1answer
147 views

How to track Account Description field changes in Field history Tracking?

I'm trying to track history of Account Description field. Related list just shows it has changed, but seems no value changes being tracked. Tried to query using SOQL, but it doesn't give any value ...
2
votes
1answer
477 views

AccountHistory not deleting immediately after an update

As part of the GDPR compliance process, we are updating a few name fields in Account with a random text and then calling the AccountHistory delete function for the tracked field. We are running the ...
1
vote
1answer
307 views

AccountShare history after delete - how to determine who removed manual sharing?

At present, my organization using the territories(tm 1.0) for sharing accounts. If user want to manual share account to specific territory he can do that in UI. But we need to feature to account ...
3
votes
2answers
350 views

Is it possible to write changes of Account ownerships into the Activity History?

The requirement is to show a list of all ownership changes of an Account within the Account tab. Adding them to the Activity History would be nice, but a separate list is fine, too. All I (quite ...
2
votes
3answers
1k views

Create AccountHistory record in test class

Can we create the AccountHistory Reocrd in test class if it is possible plz post how ?
0
votes
2answers
940 views

How to delete Account History details

I would like to know as to how do we delete certain rows from the Account History details. I had tried using the Data loader but there is no way to export or delete the account history ?
0
votes
1answer
260 views

Summarize Custom field in Account History Report

Is there a way to summarize a custom field value (Old Value, New Value) in a Account History Report. I tried everything but it just doesn't provide me that option. See image below. I've marked ...
1
vote
0answers
576 views

Account History Track custom object

I have created this custom object. Problem is for say Account ID A1 if Lastname field was X now becomes Y. It creates an entry for this with Old value X new Value Y. Now if again updated by Z, the ...
2
votes
1answer
99 views

Can you delete AccountHistory data?

Does anyone know if it's possible to delete AccountHistory data? Bonus points: Is there an easy way to find the total number of AccountHistory records in an org?