When creating a service request (SR) or a work order (WO), one may enter either an asset or a location. Calem Release R21e introduced the asset selection through location. Here is the description:
//Enable asset by location for WO $_CALEM_dist['wo_conf']['set_asset_by_loc']=false; //Enable asset by location for SR $_CALEM_dist['sr_conf']['set_asset_by_loc']=false;
//Mandatory Asset Tag in WO/SR CmMetadata['cm_wo']['fields']['asset_id']['required']=true; CmMetadata['cm_sr']['fields']['asset_id']['required']=true;
1. Priority by Asset/Location in WO/SR
When creating a work order from web, an asset or a location is selected, the work order priority is filled in based on the asset or location selected. User may adjust the priority later on.
When creating a work order via API with an asset or a location, subject and description, Calem will set the work order priority based on asset or location provided.
In either case, if an asset or a location does not have a priority, a default priority of "wop_p3" will be set at the WO created.
The same process applies to service request creation.
2. Cost Center by Asset & Location in WO
Cost center will be prefilled if the cost center field is shown in the work order creation screen. The cost center will be filled by a) the asset entered; or b) the location if a location is looked up, or the asset entered does not have a cost center.