Forum Discussion

ddidonato's avatar
ddidonato
Creator II
3 years ago

Part MultiLevel BOM

I added a new field in my "Part" item type that's is called "master file" which is an item type that comes from the FILE item type. I changed the PartLevel BOM code so it displays in the BOM Structure. My two issues are:

1. How can I display the keyed name for that file instead of the ID. I changed the GetMultiBom method from:

infoOfItem.file_master = itm.getProperty("related_file_master", "");
to
infoOfItem.file_master = itm.getPropertyAttribute("related_file_master","keyed_name","");

but that didn't work.

2. How can I make that field act like a item type field so it's clickable to display that item? It's only displaying the ID number and I'm not able to click the ID to display that file. - see attachment.

2 Replies

  • 1. How can I display the keyed name for that file instead of the ID. I changed the GetMultiBom method from:

    Is it in BOM structure tab or in report? Check keyed_name Order is set for the file item type.

    2. How can I make that field act like a item type field so it's clickable to display that item? It's only displaying the ID number and I'm not able to click the ID to display that file. - see attachment.

    Which version of ARAS you are using. later version use query definition to display the bom structure and it is easy to give the reference link

    • ddidonato's avatar
      ddidonato
      Creator II

      Hi Gopikrishnan

      1. It's in the BOM structure tab. The keyed_name order is set to "filename". I'm not sure why it's not working.

      2. I'm using version 11.11