Skip to main content

Line loop with more than 8 conditions

Comments

1 comment

  • Keshava Best

    If the line loop is not working, you can use a regular macro and create your own loop and actions.

    Simple example:

    @STORE80 = 1
    @STORE81 = $[$38.0.0.LAST]
     
    WHILE @STORE80 < @STORE81
    BEGIN //Loop through order lines
        IF $[$38.11.NUMBER.@STORE80] > 0
        BEGIN 
    //Do your function here
        END
        @STORE80 = @STORE80 + 1
    END

    Keshava

Please sign in to leave a comment.