PdcMaterial.AdditionalCosts
Jump to navigation
Jump to search
Declaration
AdditionalCosts as double
Description
Returns or changes the additional costs
Notes
This property sets or returns the additional costs of the material. It can not be found in the calculation form, it's a result of certificate costs. In the database this is field DM_MATLINES.DM_EKOST.
Code example
This code example opens a calculation, loops through its materials, and shows the additional costs for each material in a message box.
dim objCalc
set objCalc = pdc.OpenCalculation("00685")
for i = 0 to objCalc.MaterialList.Count -1
set objMat = objCalc.MaterialList(i)
msgbox "The additional costs are " & objMat.AdditionalCosts
next
Availability
Available since June 2008 (from version 3.8)