Synchronize D365 Database for single table through x++ code
Synchronise D365 Database for single table through x++ code #D365 #sql #AX #D365FO

Synchronize D365 Database for single table through x++ code

Synchronize D365 Database for single table through x++ code.


Synchronizing the complete D365 Database took a minimum of 30 minutes, and it is not useful to the synchronize full database on small changes on 1-2 tables.

although it is not recommended by Microsoft, to save development time we can sync the new table or table changes through x++ code by writing the below code and running it.

public static void main(Args _args)
{
appl.dbSynchronize(tableNum(NewTableName));
}

if you wish to run full sync through code then do not pass the table name in the parameter.



要查看或添加评论,请登录

Gaurav Gulati的更多文章

社区洞察

其他会员也浏览了