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!