PdcMaterial.PriceAgreementID

From External Bemet Wiki
Revision as of 09:25, 22 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == PriceAgreementID as long == Description == == Notes == This property returns the PriceAgreementsID property for the current material. The returned value i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

PriceAgreementID as long

Description

Notes

This property returns the PriceAgreementsID property for the current material. The returned value is zero when no priceagreement is applied.

Code example

This code example returns the PriceAgreementID for the first material.

dim objCalc

dim objMat

  set objCalc = pdc.ActiveCalculation
  set objMat = objCalc.MaterialList(0)
  msgbox objMat.PriceAgreementID

Availability

Available since December 2010 (From version 4.1).