PdcCalculation.GetMaterialCosts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Declaration == | == Declaration == | ||
GetMaterialCosts(boExpandAllLevels as Boolean,boInclusiveChildren as Boolean,boDoRecalc as Boolean) as double | GetMaterialCosts(boExpandAllLevels as Boolean,boInclusiveChildren as Boolean,boDoRecalc as Boolean, boToeslagen as Boolean, boDeelToeslagen as Boolean) as double | ||
== Description == | == Description == | ||
This method returns the material costs of a calculation. | |||
== Notes == | == Notes == | ||
Line 9: | Line 9: | ||
== Code example == | == Code example == | ||
This code example returns the material costs of an active calculation, including everything like surcharges and subcalculations. | |||
<source lang="vb"> | |||
Sub sGetMaterialCosts | |||
dim objCalc | |||
set objCalc = pdc.ActiveCalculation | |||
msgbox objCalc.GetMaterialCosts(true, true, true, true, true) | |||
set objCalc = nothing | |||
End Sub | |||
</source> | </source> | ||
== Availability == | == Availability == |
Latest revision as of 11:32, 31 July 2013
Declaration
GetMaterialCosts(boExpandAllLevels as Boolean,boInclusiveChildren as Boolean,boDoRecalc as Boolean, boToeslagen as Boolean, boDeelToeslagen as Boolean) as double
Description
This method returns the material costs of a calculation.
Notes
Code example
This code example returns the material costs of an active calculation, including everything like surcharges and subcalculations.
Sub sGetMaterialCosts
dim objCalc
set objCalc = pdc.ActiveCalculation
msgbox objCalc.GetMaterialCosts(true, true, true, true, true)
set objCalc = nothing
End Sub