SrsReportRdlDataContract::newContract Method [AX 2012]
Creates a new instance of the contract for the given contract name and map.
Syntax
client server public static SrsReportRdlDataContract newContract(ClassName _rdlContractName, Map _reportParametersMap)
Run On
Called
Parameters
- _rdlContractName
Type: ClassName Extended Data Type
The derived RDL contract class names.
- _reportParametersMap
Type: Map Class
A map of report parameters.
Return Value
Type: SrsReportRdlDataContract Class
An instance of the SrsReportRdlDataContract class that is based on the specified contract name.
Exceptions
Exception | Condition |
---|---|
Error | The input parameters are null Nothing nullptr unit a null reference (Nothing in Visual Basic) or the specified RDL contract name cannot be found in the AOT. |
Remarks
This is a factory method to create an instance SrsReportRdlDataContract .