Thursday, August 11, 2016

Deleting and Regenerating all target mapping DMF DIF Error

//Deleting and Regenerating all target mapping DMF DIF Error

static void San_DeletionRegenerateDMFTgtMapping(Args _args)
{
    DMFTargetXMLToEntityMap     dmfTargetXMLToEntityMap;
    DMFEntity                   dmfEntity;
    ;
    ttsBegin;
    delete_from dmfTargetXMLToEntityMap;
    ttsCommit;
    while select dmfEntity
    {
        DMFTargetXMLToEntityMap::generateMapping(dmfEntity);
    }
    info("Done");
}

No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...