PdcMaterial.GrossPrice

From External Bemet Wiki
Revision as of 09:19, 22 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == GrossPrice as double == Description == Returns or changes the grossprice == Notes == This property sets or returns the sales gross price of a material. =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

GrossPrice as double

Description

Returns or changes the grossprice

Notes

This property sets or returns the sales gross price of a material.

Code example

This code example opens a calculation, loops through its materials and returns the gross price for each of them.

dim objCalc

  set objCalc = pdc.OpenCalculation("00685")
  for i = 0 to objCalc.MaterialList.Count -1
    set objMat = objCalc.MaterialList(i)
    msgbox "Material's gross price: " & objMat.GrossPrice
  next

Availability