web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)
New Discussion

Cannot Delete Segment After Updating GL Account via taUpdateCreateAccountRcd (eConnect)

(0) ShareShare
ReportReport
Posted on by 576

I used taUpdateCreateAccountRcd to add a GL account.  Then the process was run a second time with the flag to update.  After that, I realized one of the segments was incorrect in the input.  A new segment had been created that I did not want.

Inside the application, I deleted the imported GL account.  I confirmed that GL00100 had no GL accounts referencing the unwanted segment.  However, when trying to delete the segment, GP produced an error that there is at least one account using the segment. 

It appears this may have been a result of a bug in taUpdateCreateAccountRcd.  When the account was originally added, SEGCOUNT in GL40200 was incremented.  When taUpdateCreateAccountRcd  was run a second time to update the account, SEGCOUNT was incremented again.  When I deleted the account, SEGCOUNT  was decremented by 1.  With it not at zero, GP would not allow me to deleted the unwanted segment.

I was able to resolve by manually setting SEGCOUNT to 0 in GL40200 for the segment.  That allowed me to delete it using the application.

*This post is locked for comments

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Dan Liebl Profile Picture

Dan Liebl 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans