Sync single table

Through X++ code we can perform database synchronization either on a required table (or) on all tables bases on our requirement.


This could be very useful during on-premises environments package deployments because can can drastically reduce the downtime.


In fact you can only synchronize the tables that you have actually modified rather than perform an entire synchronization


public static void main(Args _args)

{

  // On specific table, for all tables just call the method dbSynchronize() without any parameters

   appl.dbSynchronize(tableNum(CustTable));

}

Comments

Popular posts from this blog