Line Loop Sales Order with sales BOM Answered

David Erkelius

Hi, I use Line Loop in Sales orders where it might be lines that are sales BOM.

I want the line loop to "do nothing" with the items when it is a a part of sales BOM.

But when its a single item I want it to "do something".

The question is how can I check if I am on a row that is a part of a BOM? As now I have this in the UF rowexpression, and that of course doesnt work...

IF (@STORE1 IN 'PA023,MMP1L,MMP2, MMC8.....') BEGIN

//Do Nothing

END

ELSE BEGIN

//DO something

END

 

 

See also attached picture.

 

 

 

Best regards

 

David Erkelius

Comments

2 comments

  • Comment author
    Thomas
    • Official comment

    Hi David,

    You can validate the BOM type column to figure out if it's a BOM row or not:

     

    Best regards,

    Thomas

  • Comment author
    David Erkelius

    Great, Thanx!!

    0

Please sign in to leave a comment.