20.2.20 Maintenance (maintenance log)
This class manages the maintenance log for assets.
You can import or export this class. For details about importing by jamCsvImport.bat, see the section describing import processing by the Import job menu.
You can also specify this class as a search condition when creating a user report.
The following table lists the properties of Maintenance.
Property |
Key |
Description |
Type [maximum length (bytes)] |
Remarks |
Specification in jamimport |
---|---|---|---|---|---|
AssetID |
N |
Asset ID |
uint32 |
This is the ID of the asset. If you are specifying this information for an import operation, specify the same value as for the corresponding object class AssetInfo. |
O |
N |
string[60] |
This is the asset number of the corresponding asset. |
O |
||
N |
date |
This is the date on which maintenance of the asset was completed. |
O |
||
CreationClassName |
K |
CCN |
string[32] |
This is Maintenance. |
M |
N |
string[255] |
This is the name of the host that issued the event. |
O |
||
N |
string[255] |
This is a serial number in the event database that is assigned by JP1/Base to a JP1 event. |
O |
||
N |
string[255] |
This is the name of the host that executed JP1/IM. |
O |
||
N |
string[15] |
This is the maintenance expenses for the asset. |
O |
||
N |
string[3] |
See Importance. If the Import job menu is used for importing and this property is omitted, Emergency is set. |
R |
||
N |
date |
This is the date the maintenance log was registered. |
R |
||
N |
string[255] |
This is the IP address or name of the host where the problem occurred. |
O |
||
K |
uint32 |
This is a unique ID that identifies the maintenance log. When new information is imported, assign a unique value in the range from 10001 to 1000000000. |
M |
||
N |
string[3] |
See Problem type. |
R |
||
N |
string[3] |
See Status. If the Import job menu is used for importing and this property is omitted, Wrong is set. |
M |
||
N |
string[60] |
This is the managed number of the maintenance log |
M |
||
N |
string[1024] |
This is an overview of the problem with the asset |
O |
||
N |
string[255] |
These are notes on the maintenance log. |
O |
||
N |
string[1024] |
This is an overview of the problem with the asset. |
R |
||
N |
string[1024] |
These are reference materials for maintenance of the asset. |
O |
||
UpdateTime |
N |
Update control |
string[20] |
This information is used to control concurrent updating of information. |
O |
N |
string[512] |
This is the name of the user who registered the error information. If the Import job menu is used for importing and this property is omitted, the login user name (asset management name during execution of jamCsvImport.bat) is set. |
R |
||
UserPropertyArea_1# |
N |
User property area-1 |
string[255] |
This item can manage a maximum of 255 bytes of information. With a window operation, multiple character string lines can be specified. |
O |
UserPropertyArea_2# |
N |
User property area-2 |
string[255] |
O |
|
UserPropertyCode_1# |
N |
User property code-1 |
string[64] |
This item can control code information. |
O |
UserPropertyCode_2# |
N |
User property code-2 |
string[64] |
O |
|
UserPropertyField128_1# |
N |
User property field 128-1 |
string[128] |
This item can control a maximum of 128 bytes of information. |
O |
UserPropertyField128_2# |
N |
User property field 128-2 |
string[128] |
O |
|
UserPropertyField255_1# |
N |
User property field 255-1 |
string[255] |
This item can manage a maximum of 255 bytes of information. |
O |
UserPropertyField255_2# |
N |
User property field 255-2 |
string[255] |
O |
|
N |
string[512] |
This is the name of the maintenance person. |
O |
- Legend:
-
K: Key property
N: Non-key property
M: Mandatory property during registration (omitting this property results in an error)
R: Property whose specification is recommended during new registration (omitting this property does not result in an error)
O: Optional property
- #
-
This is an extended property. You can add managed items by editing the display name of this property and setting it to be displayed using the Customize Managed Items job menu.
The tables below provide details of the property codes.
Code |
Display value |
---|---|
001 |
Emergency |
002 |
Caution |
003 |
Fatal |
004 |
Error |
005 |
Warning |
006 |
Notice |
007 |
Information |
008 |
Debug |
Code |
Display value |
---|---|
001 |
JP1 event |
002 |
SNMP trap |
100 |
User Registered |
Code |
Display value |
---|---|
001 |
Wrong |
002 |
Informed |
003 |
Under repair |
901 |
Complete |