How to Modify the Output Format for JDE Report File Names

Follow

If JDE Report emails are not being received, the Output Format file name may need to be customized.

Note: JAMS 6.4.36 (or higher) must be installed for this feature to be supported.

In C:\Program Files\MVPSI\JAMS\Scheduler and in C:\Program Files\MVPSI\JAMS\Agent (on the remote JDE agent machine), there exists a file called JAMSJDEHost.Dll.Config. The file should be edited as such to customize the OutputFormat for the report file name.

Below is an example of what the contents of the Config file may look like.

<configuration>
    <appSettings>

        <add key="BinPath" value=""/>

        <add key="PrintQueuePath" value=""/>

        <add key="Schema" value=""/>

        <add key="Session" value=""/>

        <add key="Role" value=""/>

        <add key="Environment" value=""/>

        <add key="IncludeJDELog" value="True"/>

        <add key="IncludeJDEDebugLog" value="False"/>

        <add key="FromAddress" value=""/>

        <add key="OutputFormat" value="{0}"/>

        <!-- <add key="OutputFormat" value="{0}_{1}_PDF"/> -->

    </appSettings>

    <connectionStrings>

        <add name="jdeSystem" connectionString="Server=(local); Database=JDEDB; Integrated Security=SSPI" providerName="System.Data.SqlClient"/>

    </connectionStrings>

</configuration>

The "OutputFormat" key is new and lets users adjust the format of the file name used to search for Job output. The default setting is the same as always.

To customize the format use the following guide:

{0} - The job output value retrieved from the JDE database

{1} - The Job Id

{2} - The Report Name

{3} - The Report Version

{4} - The EXE Host

For example, if the report output format is R0005P_XJDE0001_PDF.PDF

Then the key should be: 

<add key="OutputFormat" value="{0}_{1}_PDF"/>

 

Have more questions? Submit a request

Comments