RetailPromotionDiscount.unpack Method [AX 2012]

Deserializes the _packedClass parameter value to an instance of the RetailPromotionDiscount class.

Syntax

public boolean unpack(container _packedClass)

Run On

Server

Parameters

  • _packedClass
    Type: container
    The container from which to deserialize the instance.

Return Value

Type: boolean
true if deserialization was successful; otherwise, false.

See Also

RetailPromotionDiscount Class

Pack-Unpack Design Pattern