Share via


TransactionTextContextProdPicklist.setTableBuffer Method [AX 2012]

Set a particular table buffer for the specified transaction type.

Syntax

public boolean setTableBuffer(Common _common)

Run On

Called

Parameters

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

Return Value

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

Exceptions

Exception Condition
Error

Thrown if table is not supported by this transaction type.

Remarks

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

See Also

Reference

TransactionTextContextProdPicklist Class