Hi,
is it o.k. to change the object type in dynamics (V1.1 SP2, planning to
upgrade to SP3, Roundtable integrated)? We have created some special
viewers and used a special object type (itViewer). Planning a fast
migration to Dynamics Version 2 we decided to go back to the original
object types and make use of the enhanced AppBuilder features for
dynamic objects.
FIND gsc_object WHERE gsc_object.OBJECT_filename = "xvdAdr" EXCLUSIVE.
FIND ryc_smartobject WHERE ryc_smartobject.object_filename =
gsc_object.OBJECT_filename EXCLUSIVE.
FIND gsc_object_type WHERE OBJECT_type_code = "dynView" NO-LOCK.
ASSIGN gsc_object.OBJECT_type_obj = gsc_object_type.OBJECT_type_obj
ryc_smartobject.object_type_obj = gsc_object_type.OBJECT_type_obj
.
The code runs fine and the object type gets changed. I wonder if this is
the right way to change the object type of an existing object. The next
thing I faced is that Roundtable does not change the code subtype from
itViewer to dynView for the object which makes me doubt that I am on the
right way or I might face problems during deployment.
What should be the right way to change the object type?
Thanks,
Mike
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org
Mike
I am not sure that what you want to do is very straight forward, as RTB does not support changing the Code Subtype of an object - and part of the integration between RTB and Dynamics is that the object type from Dynamics and the Code Subtype in RTB have to match. Although it is possible to have objects that do not match (there are some examples in the existing repository), this is not possible for new objects.
We have a similar situation where we need to make some changes to existing object types in RTB. If I come up with a safe solution for this, I will let you know.
Sorry I cannot be of more direct help right now.
Regards
Thomas Hansen
Managing Director
___________________________________
MIP Europe A/S
Ã…strupvej 53
9800 Hjørring
Denmark
Tel.: +45 98 90 49 16
Fax.: +45 98 90 49 17
Mobile : +45 20 16 19 29
E-mail : thomas@mip-europe.com
Web : www.mip-europe.com
Chairman - Danish Progress User Group
__________________________________
Dynamics-Based Astra2, AstraGen2 Global Application and AstraFin2 Financial Modules
Advanced Future Proof RAD Progress Enterprise Development ****
-Original Message-
Sent: Thursday, June 27, 2002 5:59 PM
To: dev@icf.possenet.org
Subject: changing object type
Hi,
is it o.k. to change the object type in dynamics (V1.1 SP2,
planning to upgrade to SP3, Roundtable integrated)? We have
created some special viewers and used a special object type
(itViewer). Planning a fast migration to Dynamics Version 2
we decided to go back to the original object types and make
use of the enhanced AppBuilder features for dynamic objects.
FIND gsc_object WHERE gsc_object.OBJECT_filename = "xvdAdr"
EXCLUSIVE. FIND ryc_smartobject WHERE
ryc_smartobject.object_filename = gsc_object.OBJECT_filename
EXCLUSIVE.
FIND gsc_object_type WHERE OBJECT_type_code = "dynView" NO-LOCK.
ASSIGN gsc_object.OBJECT_type_obj =
gsc_object_type.OBJECT_type_obj
ryc_smartobject.object_type_obj =
gsc_object_type.OBJECT_type_obj .
The code runs fine and the object type gets changed. I wonder
if this is the right way to change the object type of an
existing object. The next thing I faced is that Roundtable
does not change the code subtype from itViewer to dynView for
the object which makes me doubt that I am on the right way or
I might face problems during deployment.
What should be the right way to change the object type?
Thanks,
Mike
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org
To unsubscribe, e-mail: dev-unsubscribe@icf.possenet.org
For additional commands, e-mail: dev-help@icf.possenet.org