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)

Is there any sample code for procedure SOP_Post_TRX

(0) ShareShare
ReportReport
Posted on by

Hi Experts,

We want to get a quick solution for how to post a sales return by sanScript code in Dexterity. This is very urgent requirement from our customer. We found a close procedure SOP_Post_TRX in GP 16 SDK. But we don't know what should be passed in the parameter list. because there are some parameters we don't understand what meaning they are. Is there any expert can provide some sample code for how to use the procedure SOP_Post_TRX. It will very helpful for us now. 

Thanks & Regards,

Sinon 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    You can not simply post from dexterity code, the parameters have some temp tables too and through out posting process there are references of forms has been used in default posting process, which may not exist if you will try to call the script from your window.

     

    You can automate posting from dex code with the help of macro.

  • Tim Wappat Profile Picture
    5,715 on at

    For posting from code, I strongly recommend you just go for Post Master,

    envisagesoftware.com/post-master-for-dynamics-gp

    ...let it deal with it for you.

    I've used it before, triggering it from a .NET solution I was working on, all the posting trickiness is taken away by it and it is a mature solution that has been in use for years, so your customer can have confidence in it.

    regards,

    Tim

  • Suggested answer
    Almas Mahfooz Profile Picture
    11,009 User Group Leader on at

    You can also use AutoPost.dll.

    Allows you to call a COM DLL to post Sales Order Processing, GL Transaction Entry, IV Transaction
    Entry and RM Cash Receipt Batches. 

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

#2
Shravan Attelli Profile Picture

Shravan Attelli 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans