Maximo Open Forum

 View Only

 Report or Application

  • Functional
  • Reporting
Keith Henderson's profile image
Keith Henderson posted 06-05-2024 15:15

Good Afternoon

Trying to investigate an out of balance condition with the View Costs application or report.

I'm unable to determine where and how this view is triggered from the More Actions side bar navigation.

Is the View Costs an application or report ? 

Thanks for any suggestions or insight !

Craig Kokay's profile image
Craig Kokay

Hi Keith,

I'm confused with "how it's triggered".  That is simple...you selected the action from the menu.

It is a dynamically built dialogue using the costs/hrs for the work order (and its tasks) (LH Side) and plus any child work order (and its tasks) (RH side).

So, what I don't know is what material costs have been incurred by a) the work order b) each child work order.   It's just a coincidence that the LH almost looks the same as the RH.

There appears to be nothing wrong.

Regards, Craig

Keith Henderson's profile image
Keith Henderson

Thanks Craig for the reply.

Triggered was not the right wording, I know how to run the report/application from work order tracking. What I really want to know is the View>Costs a report or application so I can look at how the totals are calculated. You indicated everything looks fine but its not. The work order is one work order with only one material line item and the numbers are not computing correctly, hence the need to view the report/application. 

When I select from the More Actions menu then View>Costs the new dialog opens and the report/application appears. Is this dialog window a report or application ? What I meant with triggered is where is the setup for the More Actions menu and its setup to see how the View>Cost behaves, how does it launch the report/application (the setup).

Any insight would be appreciated.

Wes Williams's profile image
Wes Williams

Well it appears that you'd need to look at your library.xml file in there is where that is created from (search for "View Costs"). There the relationships are identified.

Norma Ramey's profile image
Norma Ramey

Hi Keith, I have to check if it was an out of box or custom report, but I did find this in my files. It has the old 2 image IBM header so older version.  I know IBM retired a bunch of reports also.  I might still have the .rptdesign that would require a few tweaks.

Craig Kokay's profile image
Craig Kokay

Hi Keith,

I'm still none the wiser as to what you're asking. 

Have you checked if that work order has any children? If there are children, then the RH side is the cost from them, whereas the LH is only for the current work order.  To understand the issue, the children question must first be answered.

Next, the pop-up you are seeing is solely a dialogue that uses two non-persistent objects WOTOTAL and WOGrandTotal.  The dialogue VIEWCOSTS can be found by exporting the Library XML.

So, neither an application or report, just a dialogue.

Martin Fabra's profile image
Martin Fabra

Hi @Keith Henderson

I'm intrigued, as I've been looking for where VIEWCOSTS is stored and haven't been able to find it. In the wotrack.xml there is a reference to VIEWCOSTS. Then, there is a domain of the synonymous type "WOVIEWCOST" that appears to have a structure associated with the visualization of costs. But I have not found a table, a view, or an xml, but still, I have searched within the .class (for example, I searched in WOSet.class) and I have not found that cost structure. 

I was about to respond to you and it occurred to me to look for .class files with the word Cost or WO and there I found something else.

In this path C:\maximo\maximo\applications\maximo\businessobjects\classes\psdi\app\workorder I found: 

FldWOEstTotalCost.class, FldWOEstToolCost.class, FldWOEstServCost.class, etc.

With this query you will find the reference to those classes from WO.

select objectname, attributename, alias, classname, columnname, remarks 
from maximo.MAXATTRIBUTECFG 
where CLASSNAME is not null 
and (classname like '%ost%' or  classname like '%OST%')
and objectname = 'WORKORDER'

Now, where that popup is(VIEWCOST on WORKORDER)  and what it calls the classes, that remains a mystery to me.

It would be nice if someone can answer it, so I can learn.

Regards!