Views Reply Votes
Kundan Srivastava
Kundan
 0
how to add scripts in EAM report designer?
1058
1
00
Posted: Jan 19, 2016   
Votes
Danilo Barbosa
Danilo
 4
Replied 

Hello,

In the report designer you can open the report and under Script you can add VB or C# scripts for the report. Here is an example of a script we use to Display a Void watermark in our PO when it is not confirmed:

public void GroupHeader1_Format()
{

// Watermark Visible for "Planned" POs

if ( ((TextBox)rpt.Sections["GroupHeader1"].Controls["Auth_Status"]).Text == "P")

{
   ((Picture)rpt.Sections["GroupHeader1"].Controls["VOID"]).Visible = true;
}
else
{
    ((Picture)rpt.Sections["GroupHeader1"].Controls["VOID"]).Visible = false;
}
}
00
Replied: Feb 22, 2017
Forums
All
Forum Help
Help Using Forums