Custom properties for business objects

Next month we are planning on upgrading to the v.14 of the Lansa Framework. I have no real idea of how much has changed, so I am still making notes that may or may not be relevant anymore.

This is related to the WAM Visual Lansa Framework Designer, where there is a nice setting to enable the configuration of filters and command handlers, based on custom properties set on each business object.

bo-custom-prop.png

Then, in the code I can retrieve that value with

Invoke Method(#avFrameworkManager.avGetUserProperty) Atlevel(B) Withname(MENUPUNKT) Alphavalue(#XTYPE)

This way I can set a different value, or groups of values, depending on which application the business object is a part of.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s