Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Delete GL batches

Posted on by Microsoft Employee

Hello,

I try to use econnect to delete GL batches from C#, the problem i don't find the method to do that, i read taht only web services can do this, is there any help or samples can i use, i have dynamics GP 2015.

Thanks,

Aissam.

*This post is locked for comments

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Delete GL batches

    Well Aissam Ait Kacem 

    Apologies for the encountered delay in response, it is definitely a plus for me that we do agree and have a common background.

    This has to have a business-level resolution, it is definitely not a technical matter that you have to worry yourself about.

    Please never hesitate to share any further inquiries,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Delete GL batches

    Yep, i agree with you Mahmoud, the problem that sometimes my accounting department want to reverse transactions(Delete) for x reason.

    Our business process is each batch represent one transaction, by the end of month sometimes by error some one from another apps(Home made) insert a transaction, i don't want to keep that in my SQL table, just adding store proc to pass value of batch num, batch source, and which trx in my apps.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Delete GL batches

    Hello Aissam

    This is a typically controversial topic to be discussed when it comes to integrating "delete" transaction type

    From a technical perspective, it is absolutely doable regardless of the fact that there is no eConnect schema for deleting transactions. Although ,why would you build an integration for deleting journal entries ?

    Building an integration between two systems means that there is a specific business case requiring transactions to be migrated from one system to another, such as migrating sales transactions from POS machines, recording deferral transactions as derived from your expenses system ...etc. In your case, you are automating the process of deleting journal entries, then why they have been imported at the very first place ?

    The bottom line is, It is not recommended to automate a process of deleting batches on a database level, regardless of the fact that is is definitely doable.

    Looking forward to hearing from you

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Delete GL batches

    Thanks, in this case i must use store proc?

    thanks,

    Aissam.

  • Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: Delete GL batches

    Thanks Shan. I was not comfortable with this and did not know for sure how to reply.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Delete GL batches

    There is no such schema to delete the batch using econnect or web services.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Delete GL batches

    Yes

  • Bill Campbell Profile Picture
    Bill Campbell 22,647 on at
    RE: Delete GL batches

    Just to be clear, you are looking for a way to 'delete' a batch remotely from outside GP2015 application.

    Is that correct?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans