Find answers, ask questions, and connect with our
community around the world.

  • Andrew

    Member
    22-Apr-21 at 10:56 am
    0 Diamonds
    0 Gold
    470 Experience
    Scout

    John,

    You could do it just on the Prolog Tab by using a loop, but you would still call the existing process.

    Something like this

    DimName = ‘Cost Centre’;
    nCCs = DIMSIZ( DimName);
    nCount = 1;
    WHILE(nCount <= nCCs);
    sCC = DIMNM( DimName, nCount);
    IF( ELLEV( DimName, sCC) = 0;
    ExecuteProcess ( ‘eMail CC Process’, ‘pCC’, sCC );
    ENDIF;
    nCount = nCount + 1;
    END;