Get Current Record or Active line in AX 2012 R3 D365fo

public static void main(Args args)
{
    SalesTable                         salesTable;
    ;
 
    if(args.record().TableId == tableNum(SalesTable))
    {
        salesTable = args.record();
    }
    else
    {
        throw error('Class is called with incorrect parameters.');
    }

Table Browser in Dynamics 365FO

Copy D365FO Table Browser URL /?cmp=usmf&mi=SysTableBrowser&tablename= URL :  https://usnconeboxax1aos.cloud.onebox.dynamics.com...