Skip to Content
0
Mar 02, 2007 at 09:09 AM

FormDataEvent.Type / BoObjectTypes correlation

41 Views

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?