line loop color apply Answered
i am trying to apply a color if a product is assigned with a special price for a bp, if i do this.
the color is applied for the whole order.
what am i doing wrong ? i tested the sql out in SQL Server Management Studio and i am 100% sure that is correct.

Comments
3 comments
Hello Alain,
This is not supported by SAP's UI, this is a limitation and we don't have a workaround for this.
@STORE1 = SQL(SELECT ItemCode FROM OSPP WHERE ItemCode = $[$38.1.0] AND CardCode = $[$4.0.0]) if($[$38.1.SELECTED]) != @STORE1
BEGIN
//MessageBox($[$38.1.0.SELECTED] in not in @STORE1 black is applied);
ForeColor($[$38.1.0]]|BLACK);
END
ELSE
BEGIN
//MessageBox($[$38.1.0.SELECTED] is in @STORE1 green is applied);
ForeColor($[$38.1.0]]|GREEN);
END
check out this post :
https://support.boyum-it.com/hc/en-us/community/posts/360009478438-Check-inventory-and-change-quantity-color
Please sign in to leave a comment.