Share via


TransactionTextContextCust.setTableBuffer Method [AX 2012]

Set a particular table buffer for a specified transaction type.

Syntax

public boolean setTableBuffer(Common _common)

Run On

Called

Parameters

  • _common
    Type: Common Table
    The Common record that is set based on the TableId value of the buffer.

Return Value

Type: boolean
true if the table is supported and the buffer is saved; otherwise, false.

Exceptions

Exception Condition
Error

The table is not supported by this transaction type.

Remarks

The Common record is cast to the appropriate table through switch logic. This method can be called repeatedly to assign multiple buffers.

See Also

Reference

TransactionTextContextCust Class