If you have the id from a table in AX and you need to find out the name of that table, you can use the tableId2Name functionality.
static void Job17(Args _args)
{
info (strFmt("%1", tableId2name(865)));
}
Figure 1 - The code to get the table name from an id
Figure 2 - The output from the job in Figure 1
static void Job17(Args _args)
{
info (strFmt("%1", tableName2id('CustTransOpen')));
}
Figure 3 - The code to get the table id from a table name
Figure 4 - The output from the job in Figure 3
A small but useful snippet. Thanks!
ReplyDeleteYour home is valueble for me. Thanks!… online casino bonus
ReplyDeleteit is like having exo-memory : )
ReplyDeleteAdobe Certified Expert certification training Check out free demo of all certifications Exam. Save your time and get on time success in cisco certification
ReplyDeleteMulesoft Examcollection MCD-Level-1 Exam Easy
ReplyDelete