PdcMaterial.PriceAgreementID

From External Bemet Wiki
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).