Consultor Eletrônico



Kbase P67958: Custom super procedures fail to start after upgrade to Dynam
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/02/2004
Status: Unverified

FACT(s) (Environment):

Dynamics 2.1A

SYMPTOM(s):

Custom super procedures fail to start after upgrade to Dynamics 2.1A01

The standard ADM2 method of customising class behaviour for viewers, browsers,
sdos etc. is being used. This involved uncommenting code in ***custom.i and
adding new code to ***custom.p.

The 2.1A01 version of ***custom.i has been amended to include the following line prior to the start of ***custom.p:
IF NOT {&ADM-LOAD-FROM-REPOSITORY} THEN

Using Dynamics 2.1A01

CAUSE:

The new object type having the 'SuperProcedure' property with
the value of '***custom.p' has not been created in the Repository.

FIX:

1. Subclass the relevant object type(s) via the object type control and create
a SuperProcedure property for the new class.
2. Register the ***custom.p procedure
3. In the 'SuperProcedure' property value add the ***custom.p procedure
4. Using the 'Object Type Control' from the 'Development' window, choose
menu 'Options' and then 'Object Type Change Utility'
5. Use this utility to move all required object types under your newly
created subclass in order to inherit customized behavior.