Skip to main content

SetEquipmentAttributeDate

Structure

SetEquipmentAttributeDate(sEquipmentAttributeName,dtValue)

Parameters

ParameterTypeDescription
sEquipmentAttributeNameStringthe name of the equipment attribute.
dtValueDatethe date to be saved to the above attribute. Date values can be returned from other event custom rule functions like LookupEquipmentAttributeDate

Description

This procedure sets a date value for the equipment attribute in the parameter - as currently true for the selected asset in the event. Equipment attributes can be setup through Add/Edit Attributes...Attribute Types. This procedure is only applicable to date-based equipment attributes.

Example

No example provided

See also

No related topics