Share via


TradeCurrencyConversionPrompt::newFromParm Method [AX 2012]

Creates a new instance of the TradePromptConvertCurrencyCode class and initiates the internal variable.

Syntax

client server public static TradeCurrencyConversionPrompt newFromParm(
    Common _buffer, 
    Num _id, 
    boolean _priceDiscChangePolicyExistOnLine)

Run On

Called

Parameters

  • _priceDiscChangePolicyExistOnLine
    Type: boolean
    A Boolean value.

Return Value

Type: TradeCurrencyConversionPrompt Class
A new instance of the TradePromptConvertCurrencyCode class that uses the specified parameters.

Exceptions

Exception Condition
Error

Invalid data source parameter passed to the TradePromptConvertCurrencyCode class.

See Also

Reference

TradeCurrencyConversionPrompt Class