Thursday, February 23, 2017

Outlook integration with AX Auto Sync for User Specific (Not in Batch)

static void AutoOutookSync(Args _args)
{
    smmOutlookSync  smmOutlookSync;
    TransDateTime _synchronizeFromDateTime = DateTimeUtil::minValue();
    TransDateTime _synchronizeToDateTime = DateTimeUtil::maxValue();
    smmOutlookSync = smmOutlookSync::construct(smmOutlookMappingTypes::Appointments);
    smmOutlookSync.init();
   
    smmOutlookSync.setSynchronizeFromDateTime(_synchronizeFromDateTime);
    smmOutlookSync.setSynchronizeToDateTime(_synchronizeToDateTime);
    smmOutlookSync.synchronize();
}

No comments:

Post a Comment

Copy Markup charges while posting purchase invoice using X++

 Copy Markup charges while posting purchase invoice using X++ Class: Important: Code logic is just for Reference.  New class => Duplicate...