Share via


TransactionTextContext::newForTransactionType Method [AX 2012]

Constructs an instance of the TransactionTextContext class.

Syntax

server public static TransactionTextContext newForTransactionType(LedgerTransTxt _type)

Run On

Server

Parameters

  • _type
    Type: LedgerTransTxt Enumeration
    The LedgerTransTxt enumeration type representing the specified transaction type that will be used to create the TransactionTextContext instance.

Return Value

Type: TransactionTextContext Class
A TransactionTextContext instance.

Exceptions

Exception Condition
Warning

Thrown when method is called using a LedgerTransTxt type that is not supported.

See Also

Reference

TransactionTextContext Class