Microsoft/Dynamics AX

[AX2012] Flush label X++ code

swanseo 2018. 1. 18. 17:57

Flush Label

static void FlushLabel(Args _args)
{
    // https://blogs.msdn.microsoft.com/emeadaxsupport/2010/08/17/how-label-flushing-works-under-the-hood/
    // https://msdn.microsoft.com/en-us/library/aa892792(v=ax.50).aspx

    // Flushes the label file buffers to disk.
    Label::flush('psa','en-za');
    Label::flush('mcr','en-za');
    Label::flush('sys','en-za');

    info('Done');
}