Quantcast
Channel: Microsoft Dynamics GP Forum - Recent Threads
Viewing all articles
Browse latest Browse all 14686

GP Web Client - Reports Defaulting to Template

$
0
0

In the GP Web Client, if you have Word Templates Enabled, it defaults ALL reports to TEMPLATE in the report destination window.  I want to do a simple customization that will check to see the Template Configuration Setup tables each time the Report Destination window is loaded in GP and set the Report Type to Standard or Template based on whether the Word Template is set as the Default.  It would look something like below.  Its just the basic logic(obviously the syntax is not good but you get the picture) but the query is good.  My question is:  Could I do this in Dexterity?  Do I have to be a partner to have access to the Code on the various Events on the Report Destination Window?  What are my options keeping in mind that this is a Dynamics GP 2013 R2 Web Clientscenario and VBA is not an option. 

DeclareTempID

TempID=TemplateIDFromReportDestinationWindow

Select*fromDYNAMICS.dbo.SY20000a

innerjoinDYNAMICS.dbo.SY20020bona.TemplateID=b.TemplateID

whereCMPANYID= 3 anda.TemplateID=TempIDandIsDefault= 1

IFEndOfFilethen

SetReprtType=Standard

Else

SetReportType=Template

EndIf

Thanks!

 


Viewing all articles
Browse latest Browse all 14686

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>