Automate

 View Only
  • 1.  Script Support

    Posted 01-18-2022 16:58
    Hi Team,
    Request help for below cases
    1. Deleting one component from mass BOM
    2. Adding One component for mass BOM
    3. Getting Table join report for selected mass material entry(There is no option for multiple entry in criteria)
    4. mass BOM creation without H and D.Looking for Flat

    Thanks
    Jeeju
    PLM Administrator
    Sullair LLC( Hitachi Cmpany)

    ------------------------------
    Jeeju Karayate | PLM Consultant
    Sullair | 2192624309
    ------------------------------


  • 2.  RE: Script Support

    Employee
    Posted 01-19-2022 09:19
    Hi Jeeju

    On the community, we can try to help with questions, or provide a simple example, but providing one-on-one help to create a list of scripts is a bit beyond the scope of what we can do here.  I've reached out to your account rep who can provide you options.

    In the interim, there are some BOM examples in the templates
    Both use loops, i.e. H/D, because there are many line items.  While you may be able to flatten it out, it would require you choose a maximum number of components, and it would mean formatting it just right to load them, with IF statements to skip blank ones, i.e, one bom might have 5 components and another 10.
    The update BOM script includes a query to extract the BOM, and it has an update script with options to ADD, DELETE, REPLACE and UPDATE components.

    I don't understand your question about query with join and multiple entries.  If you can clarify, there may be an example I can share, unless they query in the update BOM example works for you.

    Best Regards,
    Sigrid

    ------------------------------
    Sigrid Kok
    PSE | Winshuttle NA
    ------------------------------