Delete a complete BOM (if any) using Batch Loader

Hello,

I am learning how to use the batch loader to add a BOM to a specific part, but now I would like to do the opposite: I would like to come up with a script I can run with the Batch Loader that would delete a BOM regardless of how many components it has. How could I get started on this?

Regards,

PMateo

Parents
  • I think it´s possible to delete all elements of type 'Part_BOM' which has the source_id of your parent Part. 

    <Item type="Part_BOM" action="delete" where="[Part_BOM].source_id='123456....'"></Item>

    Not tested! Use with care :-).

Reply
  • I think it´s possible to delete all elements of type 'Part_BOM' which has the source_id of your parent Part. 

    <Item type="Part_BOM" action="delete" where="[Part_BOM].source_id='123456....'"></Item>

    Not tested! Use with care :-).

Children