PdcCalculation.GetOperationCosts: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:


== Description ==
== Description ==
 
This method returns the operation costs (precalculation) of a calculation.


== Notes ==
== Notes ==
Line 9: Line 9:


== Code example ==
== Code example ==
This code example returns the operation costs of an active calculation, including everything like surcharges and subcalculations.
<source lang="vb">
Sub sGetOperationCosts
dim objCalc


  set objCalc = pdc.ActiveCalculation


<source lang="vb">
  msgbox objCalc.GetOperationCosts(true, true, true, true, true)


  set objCalc = nothing
End Sub
</source>
</source>


== Availability ==
== Availability ==

Latest revision as of 10:56, 3 May 2016

Declaration

GetOperationCosts(boExpandAllLevels as Boolean,boInclusiveChildren as Boolean,boDoRecalc as Boolean, boToeslagen as Boolean, boDeelToeslagen as Boolean) as double

Description

This method returns the operation costs (precalculation) of a calculation.

Notes

Code example

This code example returns the operation costs of an active calculation, including everything like surcharges and subcalculations.

Sub sGetOperationCosts
dim objCalc

  set objCalc = pdc.ActiveCalculation

  msgbox objCalc.GetOperationCosts(true, true, true, true, true)

  set objCalc = nothing
End Sub

Availability