Is there an item attribute history report for all items or list of items?

Hi,

We’re on version 9.3.5.  We see there is an item attribute history report to see updates of change controlled fields between revisions, but this report can only be run for one part at a time.
 
Is there any other report like this that can be run for all items or a list of items from a search to see changes to change controlled items? (report allows you to use a saved search but still only allows one part at a time from the saved search).
 
Thank you,
Laura
Agile Talent Asked on November 29, 2017 in Agile PLM (v9),   Product Collaboration.
Add Comment
6 Answer(s)

Item Attribute History Report

Agile Angel Answered on November 30, 2017.
Add Comment

You’re right – the Item Attribute History report can only do one part at a time.  I wonder if there’s ways to run this report automatically using a list of items (perhaps a WSX?)
Nonetheless, this is ultimately possible using a SQL/connect factory type script but it’s pretty advanced.  You’d tap into the ITEM_HISTORY table where ITEM (column) = ITEM_NUMBER from the ITEM table and ACTION (column) = (whatever number Agile assigns to Modify field), then return the Details column.  That’ll show you all the times an item was modified and then you’d pull that for a bunch of item numbers.  Obviously sounds advanced, which it is and will just give you a bunch of rows of text, rather than the formatted Item Attribute History Report you’re used to seeing.

Agile Angel Answered on November 30, 2017.
Add Comment

Thank you for your answer Matt.  
I figured the best way was to use SQL but yes, I believe it is a complicated report to write to get it in a columnar format we’d like to see. I wonder if anyone has done it and is selling it!?

Your first answer was interesting too – unfortunately I’m not familiar with WSX.  Is that like a macrro?

Thank you,
Laura

Agile Talent Answered on November 30, 2017.
Add Comment

I was referring to a Web Service Extensions.  Not sure if it’s useful or possible in your case, but they have their own functionality and here it would extract Agile data and present it to the user a bit better format than a database inquiry would.  I haven’t done my own WSX either yet, so I’m not as familiar with them either but the Agile 9.3.x SDK Developer guide has a whole chapter about them.

Agile Angel Answered on November 30, 2017.
Add Comment

Laura,
Here is a SQL query example that may be use. In my case I was only looking for history of change-controlled changes on a subclass we named ‘Raw Material’  The Action ID in our case (‘Modify Change Controlled’) was 615.  I probably looked that value up somewhere, but don’t recall where at the moment.  This query takes the DETAILS string apart to get some useful info.  Obviously, you’ll have to tweak it to suit your needs.

Steve

Select I.Item_Number
, I.Description
, Substr(H.Details,Instr(H.Details,’:<‘)+2,Instr(H.Details,’>WAS’)-1-Instr(H.Details,’:<‘)-1) ATTRIB
, H.Details, H.Revnumber, H.Timestamp, U.Loginid
, Substr(H.Details,Instr(H.Details,’WAS<‘)+4,Instr(H.Details,’>IS’)-1-Instr(H.Details,’WAS<‘)-3) Value_Was
, Substr(H.Details,Instr(H.Details,’IS<‘)+3,Instr(H.Details,’>’||Chr(1)||’H’)-1-Instr(H.Details,’IS<‘)-2) Value_Is
From Agile.Item_P2p3 I
inner join agile.nodetable N on (I.subclass = N.id)
Inner Join Agile.Item_History H On I.Id = H.Item
Inner Join Agile.Agileuser U On H.User_Id = U.Id
Where 1=1
And Action = 615  –ID FOR ‘Modify Change Controlled’
And H.Details Like ‘%Page Three.%’
and n.description = ‘Raw Material’
  order by 1;

Agile Professional Answered on December 1, 2017.
Add Comment

Thank you for your answers Steve and Matt! I really appreciate it!

Agile Talent Answered on January 15, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.