Quantcast
Channel: SCN : Discussion List - SAP PowerDesigner
Viewing all articles
Browse latest Browse all 739

Cannot access ParentEntity for an Inheritance in a script

$
0
0

I'm writing a VBscript function to determine the ultimate parent entity for a LDM inheritance. It falls over at the first step, because PD doesn't allow me to access the parent entity for the Inheritance as an object

 

Here's a simple Get Method to clone this property into a text computed extended attribute:

 

Function %Get%(obj)

 

  %Get% = obj.ParentEntity

 

End Function

 

The extended attribute is populated with a string such as 'Entity : Fred', not with an object.


Viewing all articles
Browse latest Browse all 739

Trending Articles



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