webReportStr Function

Validates that the specified web report exists in the AOT; if not, a compiler error occurs.


str webReportStr(str name)

Parameter

Description

name

The name of the web report to validate.

The name of the specified web report if valid.

This function is an intrinsic function, which is a metadata assertion function. Intrinsic functions take arguments that represent entities in the Application Object Tree (AOT) and validate these arguments at compile time. They have no effect at run time.

{
    str s;
    ;
    s = webReportStr(EPCSSSalesConfirm);
    print "String for web report EPCSSalesConfirm is " + s;
    pause;
}

Community Additions

ADD
Show: