Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

eConnect Error Number = 768 Stored Procedure= taPMDistribution Error Description = Account does not exist for Account Index

(0) ShareShare
ReportReport
Posted on by 76

Hello,

Getting this error using eConnect, I'm pretty sure I'm passing in the Account Index. I cannot repro this on my dev box. But this is happening on the customer site. I believe it's some configuration in GP. Any help would be appreciated.

thanks

Error Number = 768  Stored Procedure= taPMDistribution  Error Description = Account does not exist for Account Index

Categories:
  • Suggested answer
    Derek Albaugh Profile Picture
    on at
    RE: eConnect Error Number = 768 Stored Procedure= taPMDistribution Error Description = Account does not exist for Account Index

    Looking at the taPMDistribution procedure, error 768 is produced from this piece of code:

    if (@I_vACTNUMST <> '')

    begin

    select @I_vACTINDX = 0

    select @I_vACTINDX = ACTINDX from GL00105 (nolock) where ACTNUMST = @I_vACTNUMST

    if (@I_vACTINDX = 0)

    begin

    select @O_iErrorState = 769    

    exec @iStatus = taUpdateString

    @O_iErrorState,

    @oErrString,

    @oErrString output,

    @O_oErrorState output

    end

    end

    else

    begin

    if not exists(select 1 from GL00105 (nolock) where ACTINDX = @I_vACTINDX)

    begin

    select @O_iErrorState = 768  

    exec @iStatus = taUpdateString

    @O_iErrorState,

    @oErrString,

    @oErrString output,

    @O_oErrorState output

    end

    In this case it's looking for the @I_vACTINDX value in the ACTINDX column of the GL00105 table, if not found, it generates this error message.

    The entire code string is here:

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans