Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Help, I am trying to assign a raw material number based on a tubes height, width and thickness through IF statements. Any suggestions?
Thanks Ben Loosi for helping me with this.
Ben,
Thanks again for the relation assistance, I have provided an example below of you're work.
For rectangular tubing:
IF HEIGHT == 7.00 & WIDTH == 4.00 & WALL_THICKNESS == .25
RAW_MAT_NUMBER = "910-020R"
ENDIF
For square tubing:
IF HEIGHT == 4.00 & WIDTH == 4.00 & WALL_THICKNESS == .25
RAW_MAT_NUMBER = "910-021R"
ENDIF
Jason