AxInternalBase.currentRecord Method [AX 2012]
Gets or sets the current record in the AxBC table.
Syntax
public Common currentRecord([Common _common])
Run On
Called
Parameters
- _common
Type: Common Table
Instance of the common object for the class.
Return Value
Type: Common Table
The instance of the common object for the class.
Examples
Use the following code as a template to override the currentRecord method. Replace all instances of tableName and TableName, which are provided as placeholders, as appropriate.
public TableName currentRecord(TableName _tableName = tableName)
{
if (!prmisdefault(_tableName))
{
super(_tableName);
tableName = _tableName;
}
else
{
super();
}
return tableName;
}