Solved

Why Media Items are not showing in Historical WO Screen?

  • 1 October 2019
  • 2 replies
  • 295 views

Userlevel 6
Badge +10
Media items which are attached to an active work order, disappear once the work order is moved to a status of Finished.
icon

Best answer by Mithila Rathnayake 1 October 2019, 14:43

View original

2 replies

Userlevel 5
Badge +8
This is probable because when you finish a work order, record get transferred from object ActiveSeparate to object HistoricalSeparate.

This functionality is handled through Object Connection Transformations for different LU's. So, in order to get this functionality right, we need to have the following object connections transformations, setup properly.

First you can allow media service for Historical WO window as below (unless you already have),
(Solution Manager, User Interface, Object connection)

  1. Add a new record
  2. LU Name : HistoricalSeparate
  3. View Name : HISTORICAL_SEPARATE
  4. Package : HISTORICAL_SEPARATE_API
  5. Service List – add “^MediaLibrary” into service list
Then to allow to transfer media files from Active Work Orders to Historical WO you can follow below steps
(Application Base Setup, System Setup, Object Connection Transformations)

Add a new record as defined below to setup connection between Active
  1. Target Lu Name : HistoricalSeparate
  2. Service Name : Media Library
  3. Source LU Name : WorkOrder
  4. Editable : Source
  5. Transformation Method :WO_NO
  6. Then Active the record
Add another record as below
  1. Target Lu Name : ActiveSeparate
  2. Service Name : Media Library
  3. Source LU Name : WorkOrder
  4. Editable : Source
  5. Transformation Method :WO_NO
  6. Then Active the record
Once we change these configurations, there is a need to change existing attachment data in order to make it visible on both Prepare Work order and Historical Work Order screens.
Userlevel 6
Badge +14
Furthermore to answer of @Mithila Rathnayake , by adding those OCT rules, system forces all the media items/documents to be saved in object WorkOrder ( as opposed to the way it was before OCT rule since it was saved in either object ActiveSeparate or HistoricalSeparate) and even though ActiveSeparate object will be deleted and recreated in HistoricalSeparate, WorkOrder object would still be there as well as the connected media/documents.

Reply