RunBaseMultiParm::initFromFormOnServer Method [AX 2012]
Delegates the initialization of an instance of the RunBaseMultiParm class from a calling form to the server tier.
Syntax
server private static container initFromFormOnServer(
ClassId _classId,
container _packedClass,
boolean _includeRecords,
container _packedRecords)
Run On
Server
Parameters
- _classId
Type: ClassId Extended Data Type
An ID of the class to be initialized.
- _packedClass
Type: container
A container from which to deserialize a class instance.
- _includeRecords
Type: boolean
A Boolean parameter that indicates whether the selected records on the calling form are included.
- _packedRecords
Type: container
A container with a packed set of records.
Return Value
Type: container
A container that contains the serialized current instance of the RunBaseMultiParm class.
Exceptions
Exception | Condition |
---|---|
Error | An instance of a class that has an ID that is equal to _classId enumerated value cannot be initialized or it does not belong to the RunBaseMultiParm class hierarchy. |