This method drops a Historical Attribute Type. The Attribute Type record isn't deleted, only it is no longer tracked as a historical attribute.
The actual values for historical attribute-types are not deleted either. This method only prevents future Time/Expense/Travel records from recording the historical value of the given Attribute Type.
See the general JXAPI documentation for a general explanation of Historical Attributes.
PARAMETERS
Param 1: object_type -- must be one of these: [ time_recs, expense_recs, travel_recs ]
Param 2: id_attr_type -- the ID of an Attribute Type
RETURN VALUE
Returns None if successfull.
EXCEPTIONS
If object_type is not in the allowed list (ValueError)
If id_attr_type is not a valid Attribute Type (ValueError)
If id_attr_type is not historical for this object_type (RuntimeError)
| Name | Type | Description |
|---|---|---|
| skey | string | |
| object_type | string | |
| id_attr_type | string |
The dropAttributeTypeAsHistorical method returns an integer.
© Copyright 1997-2007 Journyx