Skip to main content
Question

Value BRs for Extension Tables


Forum|alt.badge.img+3

I have a product table and Product extension table. i am trying to create a value BR to update the extension table based on Product table field change. My Primary table for BR is Product but i am getting “Data member specified by USER_DEF26 cannot be found.” error. 

can any one advise how to create a value BR for extension table

7 replies

Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Hi @manikandan ,

Could you please send a screenshot of your business rule?


Forum|alt.badge.img+3
  • Author
  • Do Gooder
  • 5 replies
  • October 4, 2021

@Saranga Amaraweera Please find the below screen shots.

 

Custom Process:

Business Rule:

 

 


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Hi @manikandan ,

 

Instead of adding the extension table as the output column to update, have you tried using PRODUCT.USER_DEF26 if you have already defined the relationships correctly in the custom metadata?


Forum|alt.badge.img+3
  • Author
  • Do Gooder
  • 5 replies
  • October 4, 2021

@Saranga Amaraweera The lookup provided for selecting the column name not showing user def26.

 i have also tried typing the field name but its throwing below error.

 

 


Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Could you send how you have defined the custom metadata relationships for ext table and product?


Forum|alt.badge.img+3
  • Author
  • Do Gooder
  • 5 replies
  • October 4, 2021

Saranga Amaraweera
Superhero
Forum|alt.badge.img+22

Hi @manikandan ,

 

Usually, in a value business rule, we specify the primary table as the table name to set property and a relevant column of it in the output columns. According to your scenario, the primary table is product but the table name to set is the extension table. Hence, this should be the reason for the error that you are getting here. Is it possible for you to, make the extension table as a primary table and bind that with product table to trigger your rule to update (with a view or something, not quite sure). Otherwise, you might need to update the extension table column in a XML business rule instead of a value rule.


Reply


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