cancel
Showing results for 
Search instead for 
Did you mean: 

B1TCH Program for Removing BOMs

Former Member
0 Kudos

Hi,

Is there a way to remove Sales BOMs using the B1TCH program?

I can remove items with remove(ITEM,itemcode) is there an equivalent for BOMs?

Thanks.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Michael,

Did you have any success with this? I have tried using the PRODUCTTREES object, but B1TCH outputs that it is not defined.

Thanks.

Kind regards,

Simon Carolin

former_member583013
Active Contributor
0 Kudos

Hello Michael,

Please read about this tool from the link below

/people/community.user/blog/2007/08/19/get-your-kicks-with-di-commander

When you read the section on DELETING STUFF, there is a mention about Objects.

Example

remove(ITEM,'DEMOITEM1')

remove(BUSINESSPARTNER, cardcode)

It also mentions the following

Naturally, any of the above samples could just as well have been done for any DI API object types (BusinessPartners, Quotation documents etc). Simply replace the value of the objecttype parameter with the one you need. of the box (as long as the objecttype in question has the Remove() method in DI API).

I think using the Object ProductTrees you should be able to delete BOMs

-


ProductTrees is a business object that represents a completed product made up of parts and raw materials, which is described by means of a bill of materials. This object is part of the Inventory and Production module.

-


ProductTrees_Lines is a child object of the ProductTrees object and it represents the line entries of each product tree.

Suda