getHistoryObjectName
getHistoryObjectName(
sobject):string
Defined in: fieldHistory.ts:26
Derive the field history object’s API name for an sobject. Opportunity is a special case —
its history object is OpportunityFieldHistory, not OpportunityHistory.
Parameters
Section titled “Parameters”sobject
Section titled “sobject”string
The tracked sobject’s API name.
Returns
Section titled “Returns”string
The corresponding field history object’s API name.