Consultor Eletrônico



Kbase P16061: ADM-2: Calling an SDO internal procedure from a SmartDataWin
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/22/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.x

SYMPTOM(s):

ADM-2: Calling an SDO internal procedure from a SmartDataWindow through Appserver causes error 6456

Procedure <procedure> has no entry point for <internal-procedure>. (6456)

With DB connection it works o.k. (ie from Appbuilder)

CAUSE:

The problem is that the internal procedure that has been created in the SDO has the property DB-Required ticked.

The problem is that if DB-Required is ticked for that internal procedure then that procedure is saved only for the appserver on the appserver and cannot be called from the SmartDataWindow or whatever other client side object, it can only be called by a procedure in the appserver.
If you want to call the procedure from outside the appserver then you have to untick the DB-Required hence it will be saved in the .cl part of the SDO (the part outside the Appserver).

FIX:

If you go to the procedure in the section editor and you untick that property on the top right side of the section editor window once you have chosen your procedure, and recompile then it will work.
This is only applicable for procedures that don't require access to the DB.