SRSReportRun.reportParameterFromElement Method [AX 2012]

Creates an instance of the SRSReportParameter class based on the contents of a report parameter XML element.

Syntax

private SRSReportParameter reportParameterFromElement(XmlDocument doc, XmlElement reportParameterElement)

Run On

Called

Parameters

  • doc
    Type: XmlDocument Class
    An instance of the XMLDocument class that contains the parameter.
  • reportParameterElement
    Type: XmlElement Class
    An instance of the XMLElement class that contains the report parameter definition.

Return Value

Type: SRSReportParameter Class
An instance of the SRSReportParameter class.

Remarks

If the parameter is based on a table field then the field is checked to ensure the user has access to it. If the user does not have access to the field then this method returns null Nothing nullptr unit a null reference (Nothing in Visual Basic) .

See Also

Reference

SRSReportRun Class