PdcCalculation.ArticleNo
Jump to navigation
Jump to search
Declaration
ArticleNo as String
Description
Returns or changes the articlenumber
Notes
This property sets or returns the article number of the calculation. This is specifically useful when determining whether an active calculation is an order or an standard article.
Code example
This code example uses the active calculation and continues only when the calculation is an order, not a standard article.
dim objCalc
dim GoOn
set objCalc = pdc.ActiveCalculation
if objCalc.CalculationNo = objCalc.ArticleNo then
GoOn = false
msgbox "The active calculation is a standard article, script does not continue"
else
GoOn = true
end if