PdcCalculation.GetMaterialCosts

From External Bemet Wiki
Revision as of 11:32, 31 July 2013 by Mike (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Availability