PdcMaterial.Leadtime
Jump to navigation
Jump to search
Declaration
LeadTime as Integer
Description
Returns or changes the leadtime
Notes
This property sets or returns the leadtime of a material.
Code example
This code example opens a calculation, loops through its materials and increases the leadtime of each material
calc = PDC.App.OpenCalculation(tbCalcNr.Text)
matList = calc.MaterialList
For index As Integer = 0 To matList.Count - 1
mat = matList.Items(0)
mat.LeadTime = mat.LeadTime + 1
Next
Availability
Available since May 2023. Version 2022R2 build 4