PdcMaterial.Billed

From External Bemet Wiki
Jump to navigation Jump to search

Declaration

Billed as double

Description

Returns the billed value

Notes

This property returns (i.e. READ ONLY) the billed value of a material that is a subcalculation and is obviously only of interest once invoices have been created.

Code example

This code example opens a calculation, loops through its materials and when it's a subcalculation, shows the billed value for them factor for each one in a message box.

dim objCalc

  set objCalc = pdc.OpenCalculation("00685")
  for i = 0 to objCalc.MaterialList.Count -1
    set objMat = objCalc.MaterialList(i)
    if IsValid(objMat.Calculation) then
      msgbox "Billed value is: " & objMat.Billed
    end if
  next

Availability