Cancel
Showing results for 
Search instead for 
Did you mean: 

latestRevisionOnly in a PLM XML/TC XML Export Import Administration

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer

Hello,

 

I'm trying to do an Excel export of a BOM of Item revisions. I also want to get the revision of a type of item linked to the ones of the BOM. But I only want to get the latest revision, or the latest with a status of these items. I'm using the application on the RAC to build my ClosureRule and used revision_list to display the items linked to the BOM ones.

But my export to EXcel shows me all the revisions and I only want the latest.

 

In the documentation which I thought could help me but I didn't make it work :

 

This clause specifies that during traversal, when the transfer
mode encounters an instance of Item as a primary object, it
must determine the necessary ItemRevision secondary objects
and execute the appropriate FUNCTION registered against
process_revision_selector function handle.
The possible revision rule selector values for $opt_rev_select are:
• allItemRevisions
(Include All Revisions in Multi-Site Collaboration)
• latestRevisionOnly
(Latest Revision Only in Multi-Site Collaboration)
• latestWorkingRevisionOnly
(Latest Working Revision Only in Multi-Site Collaboration)
• latestWorkingAnyOnly
(Latest Working/Any Release Status in Multi-Site
Collaboration)
• latestReleasedRevisionOnly
(Latest Any Release Status in Multi-Site Collaboration)
• selectedRevisionsOnly
(Selected Revision(s) Only in Multi-Site Collaboration)
• specificStatusOnly_status-name
(Specific Release Status Only in Multi-Site Collaboration)

 

Could someone give me some guidance to make it on the rich client ?

 

Thank you in advance Smiley Happy

 

Sènan

2 REPLIES

Re: latestRevisionOnly in a PLM XML/TC XML Export Import Administration

Legend
Legend
Are you doing the export from structure manager? If so I'm pretty sure when I export to plmxml with the revision rule applied the export respects this?

Richard
Richard Bennett
PLM Consultant
www.ProspectPLM.co.uk

Re: latestRevisionOnly in a PLM XML/TC XML Export Import Administration

Solution Partner Pioneer Solution Partner Pioneer
Solution Partner Pioneer
Yes I'm doing it from the structure manager.
The thing is that I'm exporting datas related to the items from the bom. And it is on these datas that I want to get the last revision.

Here is a simple example where I want the last revision of document linked to part revision
BOM(structure manager) Report (Excel)
-> Part Revision 1/A -> Part Revision 1/A
-> Part Revision 2/A Document Revision 1/A
-> Part Revision 3/A -> Part Revision 2/A
Document Revision 2/A
Document Revision 2/B
-> Part Revision 3/A
Document Revision 3/A