Posts

Showing posts from March, 2020

Job to update sync log table

static client void updateNotSynced2(Args _args) {    SysVersionControlSynchronizeLog         syncLog;    SysVersionControlSynchronizeBatchNum    lastNum;    boolean                                 entered = false;    //find last batch num    select firstOnly BatchNum from syncLog    order by syncLog.BatchNum desc;    lastNum = syncLog.BatchNum;    setPrefix('Numbers to process:');    //classes    ttsBegin;    while select forUpdate syncLog        where syncLog.Processed == NoYes::No &&              syncLog.ItemPath  like '*Classes*'    {        syncLog.BatchNum = lastNum + 1;        syncLog.update();   ...

D365 Environment Platform Service update from LCS

Image
To apply latest platform update to a D365 VM, firstly, the deployable package must be imported to asset library in LCS and then it can be applied to selected cloud hosted environment as below. Login to LCS  https://lcs.dynamics.com/ Goto your project and click the burger icon Select Cloud-hosted environments Select a Environment and click 'Full details'. Under Environment Version Infomation, you can see the current application release version and the platform release version. click the burger icon and select asset library Select software deployable package from left pane Click import Select the service update to be applied to the VM from the Shared asset library and click pick It will be loaded to the Software deployable package files in LCS Now go back to cloud hosted environments, click full details and click Maintain and select Apply updates. Select the loaded deployable package from asset library and click apply In the confimation ...