on 03-02-2007 9:09 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.