Community
I'm trying to change the value of the qty in the bom using ilogic with this expression
ThisBOM.OverrideQuantity("Model Data", "Steps", "QTY_STEPS")
but it gives me the following error
Conversion from string "QTY_STEPS" to type 'Integer' is not valid.
Any ideas on how to fix it?
Solved! Go to Solution.
Solved by Vladimir.Ananyev. Go to Solution.
iLogic failed to use string constant "QTY_STEPS" instead of integer value. Try this:
dim NN as integer = 99 ThisBOM.OverrideQuantity("Model Data", "Steps", NN)