Quantcast
Viewing all articles
Browse latest Browse all 7775

Re: Get Related Entities

Hi

 

After getting related entities

  lv_children ?= lv_ent->get_related_entities( iv_relation_name = 'BuilRelationshipRel' ).

 

lv_size = lv_children->size( ).

 

If lv_size < 1.

Throw your error. and it means no relations exist for this BP.

else.

Implement your logic here to check the required relationships maintained or not.

endif.

 

Hope it helps

Thanks

Kumar.


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>