PdcCalculation.CalculateLeadTimeStock
Jump to navigation
Jump to search
Declaration
CalculateLeadTimeStock(showLog as Boolean) as long
Description
This method calculates the lead time of a calculation including stock. With the boolean it is possible to specify if the function also should show the calculated lead time log.
Notes
Code example
This code example calculates the lead time including stock of an active calculation and shows the logfile.
Sub sCalcLeadTimeStock
dim objCalc
set objCalc = pdc.ActiveCalculation
msgbox objCalc.CalculateLeadTimeStock(true)
set objCalc = nothing
End Sub
Availability
Version 5.5