Returns the requested detail type for the specified average earnings definition.
GETAVGDETAIL("DefName", Date, Index, Type)
"DefName": the name of the item for which you need additional detail. This name must be enclosed in quotes.
Date: the date as of which the detail should be returned.
Index: the index of the detail to be extracted (enter 0 for types 0, 1, or 2) where 1 is the latest detail.
Type: refer to the following to determine the type to use: