PdcCalculation.ExpandLevels
Declaration
ExpandLevels
Description
Changes the production methode of a manufacture article to order commitment
Notes
This method expands all materials in the calculation for stocked F-parts and changes them to be made-to-order for this calculation.
BEWARE; this method also executes a SaveAsArticle command!
Code example
This code Makes it possible to expand the levels of the whole bill of material.
Sub sExpandLevelsOfCalc(robjCalc)
dim intTel
if (robjCalc.MaterialList.Count – robjCalc.Children.Count) > 0 then
robjCalc.ExpandLevels
end if
for intTel = 0 to robjCalc.Children.Count – 1
sExpandLevelsOfCalc robjCalc.Children(intTel)
next
End Sub
Availability
Available since July 2004.