I guess the error is in this variable [COLOR=#333333]!getSctnforBom[1].Dbref().Nwei.String('D2').Before('kg')[/COLOR] U should check the material(matref), if it is set then ask value..
I guess the error is in this variable [COLOR=#333333]!getSctnforBom[1].Dbref().Nwei.String('D2').Before('kg')[/COLOR] U should check the material(matref), if it is set then ask value..