PdcCalculation.CheckLevels
Jump to navigation
Jump to search
Declaration
CheckLevels
Description
Changes the production methode of a manufacturing article as is in the materials file
Notes
This method checks all materials in the calculation for made-to-order-production or deliver-from-stock.
Stocked materials are added as material, non-stocked F-parts are added as subcalculation. BEWARE; this method also executes a SaveAsArticle command!
Code example
This code checks the levels of the whole bill of material.
Sub sCheckLevelsOfCalc(robjCalc)
dim intTel
for intTel = 0 to robjCalc.Children.Count – 1
sCheckLevelsOfCalc robjCalc.Children(intTel)
next
robjCalc.CheckLevels
End Sub
Availability
Available since September 2003.