Consultor Eletrônico



Kbase P2478: Error 78 with Dynamics
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Dynamics 1.1A

SYMPTOM(s):

** Value too large for integer. (78)

For some tables (entities GSMTM,GSMOM) the code loops twice through the following piece of code:

RUN getSiteNumber IN gshGenManager
(OUTPUT iSeqSiteRev).

/* Switch it round so we can put the right stuff
in the mantissa of the version number seq */
cSite = STRING(iSeqSiteRev).
iSeqSiteDiv = 1.
DO iNumChar = LENGTH(cSite) TO 1 BY -1:
cConvSite = cConvSite + SUBSTRING(cSite,iNumChar,1).
iSeqSiteDiv = iSeqSiteDiv * 10.
END.

iSeqSiteRev = INTEGER(cConvSite).

FIX:

Change:
af\app\afversionp.p
lines 278-279:
cSite = STRING(iSeqSiteRev).
iSeqSiteDiv = 1.
change to:
assign cSite = STRING(iSeqSiteRev)
iSeqSiteDiv = 1
cConvSite = "".