Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

Posted on by Microsoft Employee

Hi All,

Please help me on below thing.

Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

 

Thanks

Vamsi

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    You cannot post a GL Batch outside of GP, because the posting code is written in Dexterity. GP must be installed and running.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    Thanks Tim and Almas,

    Error:

    An unhandled exception of type 'System.IO.FileNotFoundException' occurred in mscorlib.dll

    Additional information: Could not load file or assembly 'Application.Dynamics, Version=14.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

    The above error getting while debugging vstools sample application.

    Could you tell me How to debug vstools sample application using Visual studio 2015?

    Thanks

    Vamsi.

  • Tim Wappat Profile Picture
    Tim Wappat 5,701 on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    I would save your time and look at using a pre-made solution such as PostMaster or similar.

    Posting externally is not a simple undertaking, these applications have years on the market and provide a robust solution to you.

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    There is a VSTDGPProgrammersGuide.pdf, google it, download and read.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    Thanks Almas,

    Could you give me some sample for how to use VSTolls AddIn.

    Thanks

    Vamsi.

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    With my limited knowledge I don't think you can execute Post_GL_Batch from your web Application. Other ways are related to dexterity, do you have Dexterity expertise?

    Also VSTools AddIn is an Option, you can go for it.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    Thanks Almas,

    I need to call or execute a Dynamics.Procedures.PostGlBatch from web application which is developed by using c# language, it means User can able to enter batch number,batch id and Destination parameters values and then click button called Post Batch, after that it will display message PostGLBatch success or not, these are the things i need to do using web application?Could you plz Suggest me whether is it possible or not? if possible how to do otherwise is there any alternate way.

    Thanks

    Vamsi.

  • Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    The Batch Source, Batch ID and Destination parameters depend on user selection , which batch they want to post.

    What do you mean by outside machine and external application, I assumed you are working on GP AddIn by using VSTools.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?

    Thanks Almas,

    I have to call this Procedure from outside machine using c# application where Gp is not installed, is it possible? if possible give me some suggestion and also where can i get these parameters values Batch source, Batch Number and Destination Id from Dynamics GP 2015.

    Thanks

    Vamsi.

  • Suggested answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,003 User Group Leader on at
    RE: Which procedure calling after clicking POST Button on Batch Entry form in Microsoft Dynamics GP application?
    Parameters:                 
    
    in          'Batch Source'   IN_Batch_Source;          {Batch source of batch to be posted.}
    
    in          'Batch Number' IN_Batch_Number;         {Batch number of batch to be posted.}
    
    in          boolean                        IN_Report_Cancelled;    {true=don't print posting journal.}
    
    in          ‘Destination ID’ IN_DestinationID;          {holds all report destination information.}
    
    in          boolean                        IN_Auto_Post_Batch;    {true=auto posting to gl from another module.}
    
    in          'Window Type'   IN_Window_Type;          {Window where batch got posted from: 1 = TRX_WINDOW; 2 =                                                                                                   BATCH_WINDOW; 3 = SERIES_WINDOW; 4 = MASTER_WINDOW}
    

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