How to compose direct links to records in EAM (extended)

There exist two methods to compose direct links to records in EAM:

1. Links using php scripts

One method to access EAM records is provided by the means of the links below that call a php script. This method does only work on the production database. In the long run this method shall be replaced by the method explained under point 2:

     https://www.cern.ch/cmms/asset.php?code=asset_code

     https://www.cern.ch/cmms/position.php?code=position_code

     https://www.cern.ch/cmms/system.php?code=system_code

     https://www.cern.ch/cmms/location.php?code=location_code

     https://www.cern.ch/cmms/workorder.php?code=workorder_code

     https://www.cern.ch/cmms/part.php?code=part_code
 

2. EAM direct links

EAM provides the following method to access any record on any screen in the application:

https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=AAAAAA&USER_FUNCTION_NAME=BBBBBB&entityreference=CCCCCC
Replace  AAAAAA by the master screen code, BBBBBB by the cloned screen code (remove &USER_FUNCTION_NAME=BBBBBB if the link shall point to the master screen) and entityreference=CCCCCC as appropriate.

Examples:

Assets - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=OSOBJA&equipmentno=HCMBALA001-01000094

Positions - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=OSOBJP&equipmentno=MBA.A22R8

Systems - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=OSOBJS&equipmentno=Q$LHC-S67-SV

Locations - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=OSOBJL&equipmentno=CCC

Work orders - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=WSJOBS&workordernum=32470025

but also e.g. pick tickets - https://eam.cern.ch/web/base/logindisp?tenant=GMAO&organization=*&FROMEMAIL=YES&SYSTEM_FUNCTION_NAME=SSPICK&pickticketnum=38581