741
Points
Questions
5
Answers
96
-
- 1546 views
- 2 answers
- 0 votes
-
- 1328 views
- 2 answers
- 0 votes
-
- 1882 views
- 3 answers
- 0 votes
-
Hello,
There is no easy way to do it. However, I can suggest two alternative workarounds.
1. Select Print option from Action Menu dropdown of that particular item. Select All Tabs and below that All Levels for BOM option. Now when you click on Preview or Print, a web page will be generated showing a BOM Explosion along with Pending Changes info. You can save it as a PDF.
2. Export the item from Action Menu options creating a custom filter with Changes & all BOM levels. The output you get will be in Excel format.
This answer accepted by lwestley. on April 26, 2024 Earned 15 points.
- 2162 views
- 4 answers
- 0 votes
-
Hi Mahign,
Your query is not fully clear to me. However, based on my understanding, below is a sample code to get the next autonumber of a Part which is in the affected items of a ECO. Similar thing can be done for Relationships tab also. Here my sample ECO contained only one row so I haven’t iterated over the table in a loop.
<br />String next = "";<br />IChange change = (IChange)session.getObject(IChange.OBJECT_TYPE, "C00004");<br /> IItem item = (IItem) change.getTable(ChangeConstants.TABLE_AFFECTEDITEMS).getReferentIterator().next();<br /> for(IAutoNumber an : item.getAgileClass().getAutoNumberSources()){<br /> next = an.getNextNumber();<br /> }<br />Map<Integer, String> attributes = new HashMap<Integer, String>();<br /> attributes.put(ItemConstants.ATT_TITLE_BLOCK_NUMBER, next);<br /> session.createObject(IItem.OBJECT_TYPE, attributes);<br />
When you get the next autonumber i.e. String next, you can use it to create another part. Hope this helps.- 1273 views
- 1 answers
- 0 votes
-
- 1179 views
- 2 answers
- 0 votes
-
- 1721 views
- 3 answers
- 0 votes
-
- 1173 views
- 3 answers
- 0 votes
-
- 2886 views
- 4 answers
- 0 votes
-
If you have access to agile schema, connect with agile user & run this query:
select delete_flag from item where item_number = ‘AS72613’;
If it returns zero rows, that means the item has been hard deleted. If the delete_flag is set to 1, it means it’s in soft deleted state but sometimes in doesn’t show up in the recycle bin. Set it to 0 to make it visible by search again.
- 1555 views
- 3 answers
- 0 votes