Skip to main content
Solved

Task creation based on BOM

  • August 24, 2020
  • 1 reply
  • 192 views

Forum|alt.badge.img+7

Hi,

I want create task automatically based on product selection Bill of material.

Suppose if i selected product in request and if that product model or task has BOM,task needs to be created for each model/ part in BOM.

I am able create task for product when it is selected in request through XML business rule, is their any way i can create tasks for BOM also,Please suggest.

 

 

Thanks

Ramya 

Best answer by Lee Pinchbeck

Hi @Ramya,

You would need to create a business rule that is triggered when a product on a request has a BoM and tasks do not exist on the request for those BoM elements. It may be easier to populate a user def field on the request on creation when the product has a BoM and then use that fields value to trigger the Business Rule.

You would then need to use an XML output with custom XML in order to generate multiple tasks from the one Business Rule. The XML would need to select all of the required BoM and then run the task generation using each element in turn.

Hope this helps,

Lee Pinchbeck

View original
Did this topic help you find an answer to your question?

1 reply

Lee Pinchbeck
Ultimate Hero
Forum|alt.badge.img+24
  • Ultimate Hero
  • 1219 replies
  • Answer
  • September 24, 2020

Hi @Ramya,

You would need to create a business rule that is triggered when a product on a request has a BoM and tasks do not exist on the request for those BoM elements. It may be easier to populate a user def field on the request on creation when the product has a BoM and then use that fields value to trigger the Business Rule.

You would then need to use an XML output with custom XML in order to generate multiple tasks from the one Business Rule. The XML would need to select all of the required BoM and then run the task generation using each element in turn.

Hope this helps,

Lee Pinchbeck


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings