PdcOperation.TotalCosts: Difference between revisions

From External Bemet Wiki
Jump to navigation Jump to search
Created page with "== Declaration == TotalCosts as double == Description == This method returns the forecast costs of an operation (Internal, subcontracting or extra costs), including part surc..."
 
No edit summary
 
Line 19: Line 19:
   set objBWPL = objCalc.OperationList(0)
   set objBWPL = objCalc.OperationList(0)


   msgbox objBWPL.TotalExtraCosts
   msgbox objBWPL.TotalCosts


   set objBWPL = nothing
   set objBWPL = nothing

Latest revision as of 08:55, 20 October 2016

Declaration

TotalCosts as double

Description

This method returns the forecast costs of an operation (Internal, subcontracting or extra costs), including part surcharges excluding ending surcharge.

Notes

Code example

This code example returns the forecast costs of an operation (Internal, subcontracting or extra costs), including part surcharges excluding ending surcharge.

Sub sGetTotalCosts
dim objCalc
dim objBWPL

  set objCalc = pdc.ActiveCalculation
  set objBWPL = objCalc.OperationList(0)

  msgbox objBWPL.TotalCosts

  set objBWPL = nothing
  set objCalc  = nothing
End Sub

Availability

5.3 and onwards