Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

What do I need to do prior to making sanscript call to SOP_DP_Print_Sales_Documents, in order to get a pack slip printed to a word template (new feature in GP11)?

Posted on by

Prior to GP11, given the proper paramaters, calling SOP_DP_Print_Sales_Documents would result in printing a pack slip.  A new feature in GP11 allows you to use Word templates for printing.  Now, even if GP11 is configured to always use the Word templates, calling the above sanscript still results in the standard printing of a pack slip.  A dexterity trace did not show anything different with the paramaters when SOP_DP_Print_Sales_Documents is called.  Also, the GP documentation for this function does not show any new paramaters related to this.  From what I can tell the 2 new paramaters just pertain to the new Destination check boxes. 

As a bonus question that is likely never to be answered... What tweak needs to be made in order to print a In Transit Pack Slip?  The option to print In Transit Pack Slips was added to the Print Sales Documents window in version 10 I believe and I've yet to find a way to make those work via sanscript as well.

Any help would be most appreciated.  I'm open to alternate means of accomplishing the same goal, (programmatically printing a pack slip to a Word Template in GP11 and/or programmatically printing an In Transit Pack Slip in GP10), except for using continuum, already have that working in either case.  I don't believe the GP Web Services have anything that can do this though.

*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

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans