ue_maintenance

Object for administrate maintenance

 

Object name:  ue_maintenance

 

declare=mtc=ue_maintenance

 

The Object is designed to manage actions related with an existing Maintenance plan.

Currently, you cannot create Maintenance plans with this object, and only the following actions can be managed:

 

import_compments

Import components from work order

change_component

Chage components

add_history

add history entry

automatictasks

run automatic task, create work order, service calls and so on

add_workorder

add work order for a maintenance order

add_servicecall

add service calll for a maintenance order

add_activity

add a activity for a maintenance order

order

create or update an maintenance order.

see order...

 

Function order

(Table: beas_maintanance_calendar)

order.new

initial a new order.

order.new

order.setparameter

order.add

order.add

insert the order, which you defined with order.new and order.parameters...

order.load

order.update

without function

 

Properties order

maintenancenr

Maintenance nr. Mandatory!

planid

Plan Id from maintenance. Mandatory!

date

the Date. Mandatory!

Statusid, status

the Status. 0=Plan,1=In Work, 2=Closed

Remarks

Remark information

udf1..udf4

UDF's

servicecallid


belnr_id

the work order reference

recurrence_id


 

Example - add an order:
declare=mtc=ue_maintenance
mtc.order.new
mtc.order.maintenancenr=1
mtc.order.planid=plan1
mtc.order.date=<today>
mtc.order.add