Manual sync database in code x++

 Manual sync database in code x++

Song Nghia - Technical Consultant

Challenge/Problem: Synchronise Dynamics AX database from X++

Description: Previously I have written code to manipulate AX AOT objects via code (reflection) and found the need to kick off a database sync automatically from X++ code. I found the code snippets below to be useful for this operation.

The following two options allow you to perform the db syncronisation.

1. To synchronize a specific table: appl.dbSynchronize([tableid]);
2. To synchronize the whole app: appl.dbSynchronize(0);


HOW TO APPLY PACKAGE RETAIL D365 TO TIER 2

 HOW TO APPLY PACKAGE RETAIL D365 TO TIER 2


SONG NGHIA - TECHNICAL CONSULTANT

STEP 0. Build package 


STEP 1. Microsoft limit package small than 300mb  so delete source setup before upload to lcs



STEP 2. Login to LCS and choose  => asset libary  => software deployalbe package
STEP 3. Upload package to asset and waiting validate package



STEP 4. Choose upload package to apply 

In Tab Enviroment Features => Manage

Then waiting package applied.



End.