Community Tip - You can change your system assigned username to something more personal in your community settings. X
I'm trying to set up relations that automatically generate a material stock code, based on the combination of two other parameters that governmaterial type and thickness. Everything works fine for thicknesses that are listed, but I'm wanting the stock code to display "-" if a thickness is used that doesn't exist in the listing, and it's not working; the stock code doesn't change. The below is a partial listing. Anyone know how to make this work?
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '2_1/2'
RAW_MAT_STOCK_CODE = "202-015"
ELSE
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '3'
RAW_MAT_STOCK_CODE = "202-016"
ELSE
IF RAW_MAT_SPEC == "RAW PLATE-44W" & THICK == '3_1/2'
RAW_MAT_STOCK_CODE = "202-017"
ELSE
RAW_MAT_STOCK_CODE = "-"
ENDIF
ENDIF
ENDIF
Thanks in advance,
Dave Tate
Peerless Trailers, Penticton, BC