cancel
Showing results for 
Search instead for 
Did you mean: 

FormDataEvent.Type / BoObjectTypes correlation

bruno_peyron
Active Participant
0 Kudos

Hi,

The 2005 SP1 documention for the BusinessObjectInfo.Type property (used in the FormData eventhandler) states:

<i>Returns a string value specifying the type of the business object on which the Application.FormDataEvent occurs.

For example, 2 is the type of the Business Partners object.</i>

"2" happens to be the value of oBusinessPartners of the BoObjectTypes Enum in the DI API.

These two values match.

1) Is this on purpose, id est is the "Type" Property always the String representation of the BoObjectTypes value?

2) Can I be confident it will remain so in the future?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

The BusinessObjectInfo.Type property is not restricted to just standard BoObjectTypes, it can also include the name of User Defined Objects.

In standard screens it matches the appropriate BoObjectType.

In a custom UDO screen it will return the Code of the UDO

John.

bruno_peyron
Active Participant
0 Kudos

Thank you.

This information ought to be included in the documentation.