Skip to Content

FormDataEvent.Type / BoObjectTypes correlation

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Mar 02, 2007 at 10:20 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.