#1
|
||||
|
||||
Edit and Fill BOM attribute / table
Hi all
There is a way to edit part attribute? And to set new attribute? Like, name, description, etc I'm using OSD 19.0 without PDM (no MM and no WM) Basic command on OSD are very poor! Thanks a lot! |
#2
|
|||
|
|||
Re: Edit and Fill BOM attribute / table
Hi Shaba,
We use PDM, but we don't use the Bill of Materials from PDM. So we had to build our own scan of the BOM and add our own columns to it. In order to do this I had to find out what OSD does by enabling ME10 trace in annotation (that way you can see all the ME10 code which is executed). With the build-in functions I could perform my own scan an build the table my self (but still keep the build-in functionality for placing pos-numbers etc.) You might be able to change the data in the ME10 logical tables directly after scanning. But if it is just different data you want to show you might be able to just add a bom-attribute column based on a function. It is years ago when I wrote my BOM implementation, so I'm not sure this is possible, but in my code I register BOM-attributes: (docu-register-bom-attr :attr-type "DOCU_BOM_QUANTITY" :attr-title "Amount" :attr-display t :attr-value-fnc nil ) This also as the attribute: attr-value-fnc, which is a function which will be called when the data is required. This function could probably fetch, format and return the data you need in the format you want it. I build the BOM with all the attributes I want manually, so I don't have an example of this, but I think it should be possible. Regards, Marten |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|