PdcCalculation.CheckLevels: Difference between revisions
Jump to navigation
Jump to search
Created page with "== Declaration == == Description == == Notes == == Code example == <source lang="vb"> </source> == Availability ==" |
No edit summary |
||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
CheckLevels | |||
== Description == | == Description == | ||
Changes the production methode of a manufacturing article as is in the materials file | |||
== Notes == | == 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 == | == Code example == | ||
This code checks the levels of the whole bill of material. | |||
<source lang="vb"> | |||
Sub sCheckLevelsOfCalc(robjCalc) | |||
dim intTel | |||
for intTel = 0 to robjCalc.Children.Count – 1 | |||
sCheckLevelsOfCalc robjCalc.Children(intTel) | |||
next | |||
robjCalc.CheckLevels | |||
End Sub | |||
</source> | </source> | ||
== Availability == | == Availability == | ||
Available since September 2003. |
Latest revision as of 08:24, 21 May 2012
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.