PdcMaterial.LocationManagement

From External Bemet Wiki
Revision as of 14:11, 25 April 2017 by Mike (talk | contribs) (Created page with "== Declaration == LocationManagement as Boolean == Description == Returns the LocationManagement value. READ ONLY. == Notes == == Code example == This code example loops th...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

LocationManagement as Boolean

Description

Returns the LocationManagement value. READ ONLY.

Notes

Code example

This code example loops through the material list of the calculation and determines which materials have location management.

dim objCalc
set objCalc = pdc.OpenCalculation("00685")
for i = 0 to objCalc.MaterialList.Count -1
  set objMat = objCalc.MaterialList(i)
  if objMat.LocationManagement then
   msgbox (objMat.No +  has location management)
  end if
next

Availability

Available since May 2017 (from version 5.4)