PdcCalculation.TotalMaterialCosts: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 12: Line 12:


<source lang="vb">
<source lang="vb">
Sub sGetPostMaterialCosts
Sub sGetMaterialCosts
dim objCalc
dim objCalc



Latest revision as of 08:06, 20 October 2016

Declaration

TotalMaterialCosts as double

Description

This method returns the forecast material costs of a calculation, including part surcharges excluding ending surcharge.

Notes

Code example

This code example returns the forecast material costs of a calculation, including part surcharges excluding ending surcharge.

Sub sGetMaterialCosts
dim objCalc

  set objCalc = pdc.ActiveCalculation

  msgbox objCalc.TotalMaterialCosts

  set objCalc = nothing
End Sub

Availability

5.3 and onwards