Escolar Documentos
Profissional Documentos
Cultura Documentos
Production Management
Batch
Contact Rockwell
Copyright Notice
Trademark Notices
FactoryTalk, Rockwell Automation, Rockwell Software, RSBizWare, and RSBizWare MaterialTrack are
trademarks of Rockwell Automation, Inc.
Any Rockwell Automation software or hardware not mentioned here is also a trademark, registered or
otherwise, of Rockwell Automation, Inc.
Other Trademarks
ActiveX, Microsoft, Microsoft Access, SQL Server, Visual Basic, Visual C++, Visual SourceSafe,
Windows, Windows Server-, Windows XP, and Vista are either registered trademarks or trademarks of
Microsoft Corporation in the United States and/or other countries.
Adobe, Acrobat, and Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
All other trademarks are the property of their respective holders and are hereby acknowledged.
Warranty
This product is warranted in accordance with the product license. The products performance may be
affected by system configuration, the application being performed, operator control, maintenance, and
other related factors. Rockwell Automation is not responsible for these intervening factors. The
instructions in this document do not cover all the details or variations in the equipment, procedure, or
process described, nor do they provide directions for meeting every possible contingency during
installation, operation, or maintenance. This products implementation may vary among users.
This document is current as of the time of release of the product; however, the accompanying software
may have changed since the release. Rockwell Automation, Inc. reserves the right to change any
information contained in this document or the software at anytime without prior notice. It is your
responsibility to obtain the most current information available from Rockwell when installing or using
this product.
Contents
11
11
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
21
22
23
23
24
25
25
26
26
27
27
28
28
iii
I n t er f a c e D e f i n i t i o n s ( co n t i n u ed )
GetErrorCorrection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
GetErrorCorrections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
GetLot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
GetLotList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
GetLots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
GetLotState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
GetLotStateList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
GetLotStates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
GetMaterial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
GetMaterialByControllerID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
GetMaterialByID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
GetMaterialClass. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
GetMaterialClassByID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
GetMaterialClasses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
GetMaterialClassList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
GetMaterialList. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
GetMaterials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GetMaterialType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
GetMaterialTypeByID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GetMaterialTypeList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
GetMaterialTypes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
GetStorageLocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
GetStorageLocationByID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
GetStorageLocationList . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
GetStorageLocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
InsertContainer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
InsertContainerMaterial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
InsertContainerProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
InsertContainerState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
InsertErrorCorrection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
InsertErrorCorrectionResult . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
InsertLimit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
InsertLot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
InsertLotState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
InsertMaterial. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
InsertMaterialClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
InsertMaterialClassProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
InsertMaterialProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
InsertMaterialType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
InsertStorageLocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
InsertSubLot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
InsertTestSpecification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
IsLotAuthor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
IsMaterialAuthor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
IsMaterialServerAvailable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
IsMaterialViewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
MapMaterialClassProperty. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
iv
Contents
I n t er f a c e D e f i n i t i o n s ( co n t i n u ed )
MaterialClassProperties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateContainer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateContainerPriority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateContainerProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateContainerState. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateErrorCorrection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateErrorCorrectionResult . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateLimit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateLot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateLotProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateLotState . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateMaterial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateMaterialClass . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateMaterialClassProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateMaterialProperty . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateMaterialType . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateStorageLocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateSubLot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateTestResult. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
UpdateTestSpecification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
53
53
54
54
55
55
56
56
57
57
58
58
59
59
60
60
61
61
62
62
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
vi
CHAPTER 1
Document Organization
The information in this document is presented in an order that should minimize the effort
required to locate information on the Material Server API (Application Programming
Interface).
The following subjects are presented in this document:
The material object model provides the interface to the Material Server:
MaterialSvr
MaterialClasses
Materials
MaterialProperties
SubLots
MaterialClassProperties
MaterialTypes
Lots
LotStates
SubLots
ContainerStates
QATestSpecs
QAErrorCorrections
QATestResults
Lots
Legend
LotProperties
SubLots
Object Only
Object and Collection
QATestResults
Containers
ContainerProperties
ContainerMaterials
SubLots
StorageLocations
Object
Description
Container
ContainerMaterial
ContainerProperty
ContainerState
Object
Description
Lot
Represents a single Lot record from the material database. The Lot
object also can be represented as a collection of Lots. The Lot object
contains collections for LotProperties, and SubLots. Each Lot object
can contain 1 to N LotProperties, and SubLots collections.
LotProperty
LotState
Material
MaterialType
MaterialClass
MaterialProperty
MaterialSvr
StorageLocation
SubLot
Three methods are assumed to be available for every collection class in the Material
Object Model.
Method
Description
Count
Item
NewEnum
Description
CreateTestResult on
page 11
DeleteContainer on
page 11
DeleteContainerState
on page 13
DeleteErrorCorrection
on page 13
DeleteLimit on
page 14
DeleteLot on page 14
DeleteLotProperty on
page 15
DeleteLotState on
page 15
DeleteMaterial on
page 16
DeleteMaterialClass
on page 16
Item
Description
DeleteMaterialClassPr
operty on page 17
DeleteMaterialPropert
y on page 17
DeleteMaterialType
on page 18
DeleteTestResult on
page 19
DeleteTestSpecificatio
n on page 20
DistributeSubLot on
page 21
GetContainer on
page 22
GetContainerByContr
ollerID on page 23
GetContainerOrStorag
eLocationMaterials on
page 25
GetContainerPriortyLi
stByContainer on
page 25
GetContainerPriorityL
istByMaterial on
page 26
GetContainers on
page 26
Item
Description
GetContainersHaving
Material on page 27
GetContainerState on
page 27
GetContainerStateList
on page 28
GetContainerStates
on page 28
GetErrorCorrection
on page 29
GetErrorCorrections
on page 29
GetLot on page 30
Returns a Lot object populated with the specified Lot data from the
material database, based on the Lot name.
GetLotList on
page 31
GetLots on page 32
GetLotState on
page 32
GetLotStateList on
page 33
GetLotStates on
page 33
GetMaterial on
page 34
GetMaterialByControl
lerID on page 34
GetMaterialByID on
page 35
GetMaterialClass on
page 35
Item
Description
GetMaterialClasses
on page 36
GetMaterialClassList
on page 37
GetMaterialList on
page 38
GetMaterials on
page 39
GetMaterialType on
page 39
GetMaterialTypeByID
on page 40
GetMaterialTypeList
on page 40
GetMaterialTypes on
page 41
GetStorageLocation
on page 41
GetStorageLocations
on page 43
InsertContainer on
page 43
InsertContainerMateri
al on page 43
InsertErrorCorrection
on page 45
Item
Description
InsertErrorCorrection
Result on page 45
InsertLimit on
page 46
InsertLot on page 46
InsertLotState on
page 47
InsertMaterial on
page 47
InsertMaterialClass
on page 47
InsertMaterialType
on page 49
InsertStorageLocation
on page 49
InsertSubLot on
page 49
IsMaterialAuthor on
page 51
Item
Description
UpdateContainerPriori
ty on page 54
UpdateLotState on
page 58
UpdateMaterial on
page 58
UpdateMaterialClass
on page 59
UpdateMaterialClassP
roperty on page 59
UpdateStorageLocatio
n on page 61
UpdateSubLot on
page 61
UpdateTestResult on
page 62
UpdateTestSpecificati
on on page 62
10
CHAPTER 2
CREATETESTRESULT
Inserts a QA test result record associated with a test specification in the material database.
Syntax
TestSpecification.CreateTestResult(TestResult As TestResult, Lot As Lot)
The CreateTestResult method syntax has these parts:
Part
Description
TestSpecification
TestResult
Lot
Remarks
This interface allows for the creation of QA test results in the material database.
D E L E T E C ONTAI NER
Deletes a Container from the material database.
Syntax
MaterialSvr.DeleteContainer(Container As Container, [ActivityDescription As String])
The DeleteContainer method syntax has these parts:
Part
Description
MaterialSvr
Container
ActivityDescription
11
Remarks
Along with the deletion of the Container, all associated ContainerProperties,
ContainerPriorities, ContainerMaterials and Promises are deleted from the database when
this method is executed.
Containers cannot be deleted if they are in use by any SubLot in the material database.
The Virtual Container is a system-defined Container which cannot be deleted via this
method or any other means.
Description
Container
ContainerMaterial
ActivityDescription
D E L E T E C ONTAI NER P R O P E R T Y
Deletes a ContainerProperty from the material database.
Syntax
Container.DeleteContainerProperty(ContainerProperty As ContainerProperty,
[ActivityDescription As String])
The DeleteContainerProperty method syntax has these parts:
12
Part
Description
Container
ContainerProperty
ActivityDescription
Description
MaterialSvr
ContainerState
Remarks
A ContainerState can only be deleted if no Containers are using it. There is no provision in
this method to override this functionality or un-associate the Containers that are using the
ContainerState.
The Ready To Use ContainerState is system-defined and cannot be deleted via this
interface or any other means.
D E L E T E E R R O R C O RR E C T IO N
Deletes a QA error correction record associated with a test specification in the material
database.
Syntax
MaterialSvr.DeleteErrorCorrection(ErrorCorrection As ErrorCorrection)
The DeleteErrorCorrection method syntax has these parts:
Part
Description
MaterialSvr
ErrorCorrection
Remarks
This interface allows for the deletion of QA error corrections from the material database.
13
D E L E T E L I M IT
Deletes a QA test specification limit record associated with a base test specification in the
material database.
Syntax
TestSpecification.DeleteLimit(TestSpecificationLimit As TestSpecificationLimit)
The DeleteLimit method syntax has these parts:
Part
Description
TestSpecification
TestSpecificationLimit
Remarks
This interface allows for the deletion of a QA test specification limit record from the
material database.
DELETELOT
Deletes a Lot record from the material database.
Syntax
Material.DeleteLot(Lot As Lot, [ActivityDescription As String])
The DeleteLot method syntax has these parts:
Part
Description
Material
Lot
ActivityDescription
Remarks
Along with deleting the Lot, this interface will delete SubLots and LotProperties
associated with the specified Lot.
14
D E L E T E L O T P R O P E R TY
Deletes a LotProperty from the material database.
Syntax
Lot.DeleteLotProperty(LotProperty As LotProperty, [ActivityDescription As String])
The DeleteLotProperty method syntax has these parts:
Part
Description
Lot
LotProperty
ActivityDescription
D E L E T E L O T S TA TE
Deletes a LotState from the material database.
Syntax
MaterialSvr.DeleteLotState(LotState As LotState)
The DeleteLotState method syntax has these parts:
Part
Description
MaterialSvr
LotState
Remarks
A LotState can only be deleted if no Lots are using it. There is no provision in this method
to override this functionality, nor is there a way to un-associate the Lots that are using the
LotState.
The Ready To Use LotState is system-defined and cannot be deleted.
15
D E L E T E M ATERIAL
Deletes a Material record from the material database.
Syntax
MaterialSvr.DeleteMaterial(Material As Material, [ActivityDescription As String])
The DeleteMaterial method syntax has these parts:
Part
Description
MaterialSvr
Material
ActivityDescription
Remarks
Along with the deletion of the Material, all associated MaterialProperties, LotProperties,
Lots, and SubLots are deleted from the database.
D E L E T E M ATERIAL C LA SS
Deletes a MaterialClass record from the material database.
Syntax
MaterialSvr.DeleteMaterialClass(MaterialClass As MaterialClass)
The DeleteMaterialClass method syntax has these parts:
Part
Description
MaterialSvr
MaterialClass
Remarks
A MaterialClass can only be deleted if there are no Materials using it. There is no
provision in this method to override this functionality or un-associate the Materials that
are using the MaterialClass.
16
D E L E T E M ATERIAL C LA SS P R O P E R T Y
Deletes a MaterialClassProperty record from the material database.
Syntax
MaterialClass.DeleteMaterialClassProperty(MaterialClassProperty As
MaterialClassProperty), [ActivityDescription As String])
The DeleteMaterialClassProperty method syntax has these parts:
Part
Description
MaterialClass
MaterialClassProperty
ActivityDescription
Remarks
Executing this interface will delete the MaterialClassProperty from the material database
and remove all mapped material definition properties.
D E L E T E M ATERIAL P R O P E R TY
Deletes a MaterialProperty record from the material database.
Syntax
Material.DeleteMaterialProperty(MaterialProperty As MaterialProperty,
[ActivityDescription As String])
The DeleteMaterialProperty method syntax has these parts:
Part
Description
Material
MaterialProperty
ActivityDescription
Remarks
Along with the MaterialProperty, all LotProperties associated with the specified
MaterialProperty are deleted.
17
D E L E T E M ATERIAL T YPE
Deletes a MaterialType record from the material database.
Syntax
MaterialSvr.DeleteMaterialType(MaterialType As MaterialType)
The DeleteMaterialType method syntax has these parts:
Part
Description
MaterialSvr
MaterialType
Remarks
A Material Type can only be deleted if there are no Materials using it. There is no
provision in this method to override this functionality or un-associate the Materials that
are using the MaterialType. The MaterialTypes Raw, Intermediate, and Finished are
system-defined MaterialTypes and cannot be deleted.
D E L E T E S TORAGE L OCATI ON
Deletes a StorageLocation record from the material database.
Syntax
MaterialSvr.DeleteStorageLocation(StorageLocation As StorageLocation,
[ActivityDescription As String])
The DeleteStorageLocation method syntax has these parts:
Part
Description
MaterialSvr
StorageLocation
ActivityDescription
Remarks
A StorageLocation can only be deleted if there are no Containers using it. There is no
provision in this method to override this functionality, nor is there a way to un-associate
the Containers that are using the StorageLocation.
18
D E L E T E S UB L OT
Deletes a SubLot record from the material database.
Syntax
MaterialSvr.DeleteSubLot(SubLot As SubLot, [ActivityDescription As String])
Lot.DeleteSubLot(SubLot As SubLot, [ActivityDescription As String])
The DeleteSubLot method syntax has these parts:
Part
Description
MaterialSvr
Lot
SubLot
ActivityDescription
Remarks
SubLots that are deleted do not have the effect of returning any of the remaining SubLot
quantity back to the Lot in which the SubLot was created. In effect, the SubLot and any
quantity are deleted from inventory.
This method is available in two locations within the Material Object Model: the
MaterialServer object and the Lot Object. Use the one that is appropriate for your needs.
D E L E T E T E S T R ESULT
Deletes a QA test result record associated with a test specification in the material database.
Syntax
TestSpecification.DeleteTestResult(TestResult As TestResult)
The DeleteTestResult method syntax has these parts:
Part
Description
TestSpecification
TestResult
Remarks
This interface allows for the deletion of QA test results from the material database.
19
D E L E T E T E S T S P ECI FI CA T ION
Deletes a QA test specification record from the material database.
Syntax
Material.DeleteTestSpecification(TestSpecification As TestSpecification, ForceDelete as
Boolean)
The DeleteTestSpecification method syntax has these parts:
Part
Description
Material
TestSpecification
ForceDelete
TRUE | FALSE
TRUE deletes the test specification and all detail.
FALSE deletes the test specification if there is no detail
information. FALSE is the default for the argument, so the user must
explicitly set to TRUE to cause a force delete to occur.
Remarks
This interface will not only delete the QA test specification it will also delete all QA
test specification details that are a part of the test specification.
The ForceDelete argument allows the user to delete a test specification and all associated
test result data by setting the value to TRUE. If the value is set to FALSE and the test
specification has associated test results, the test specification cannot be deleted.
20
D I S TR I B UT E S U B L O T
Distributes all or a portion of a Lots total quantity to a Container. It also can be used to
distribute or redistribute portions of existing SubLots to other Containers.
Syntax
SubLot.DistributeSubLot(ByVal Quantity As Double, ByVal Container As Long, [ByVal
Label As String, [ActivityDescription As String])
The DistributeSubLot method syntax has these parts:
Part
Description
SubLot
Quantity
Container
Label
ActivityDescription
21
G ET C O NT AI N ER
Returns a Container object with its properties populated with corresponding data from the
material database, based on the Container Name.
Syntax
Set object = MaterialSvr.GetContainer(ByVal ContainerName As String, UseCollection
As Boolean)
The GetContainer method syntax has these parts:
Part
Description
object
MaterialSvr
ContainerName
UseCollection
Remarks
Although this method loads the Container data of the Container object, this object contains
a collection of ContainerProperties and ContainerMaterials. These collection objects are
not populated until you explicitly call those properties on the Container object. The
purpose for this is that pre-loading these collection objects is a performance hit that need
not be taken unless those particular elements are required.
22
G ET C O NT AI N E R B Y C ONTRO LLER I D
Returns a Container object populated with the specified Container data from the material
database, based on the ControllerID.
Syntax
object = MaterialSvr.GetContainerByControllerID (ByVal ControllerID As Long)
The GetContainerByControllerID method syntax has these parts:
Part
Description
object
MaterialSvr
ControllerID
G ET C O NT AI N E R B Y I D
Returns a Container object with its properties populated with corresponding data from the
material database, based on the ContainerID.
Syntax
Set object = MaterialSvr.GetContainerByID(ByVal ContainerID As Long)
The GetContainerByID method syntax has these parts:
Part
Description
object
MaterialSvr
ContainerID
Remarks
Although this method loads the Container data of the Container object, this object contains
a collection of ContainerProperties and ContainerMaterials. These collection objects are
not populated until you explicitly call those properties on the Container object. The
purpose for this is that pre-loading these collection objects is a performance hit that need
not be taken unless those particular elements are required.
23
G ET C O NT AI N ER L IST
Returns a list of Containers in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetContainerList(ByVal ContainerFilter As ContainerFilterEnum
, ByVal FilterValue As String)
The GetContainerList method syntax has these parts:
Part
Description
vResult
MaterialSvr
ContainerFilter
FilterValue
Description
vResult
ContainerData
24
Description
MaterialSvr
Remarks
Pass it the name of a Container or StorageLocation to get back a list of Materials that are
configured for use with the specified Container or StorageLocation.
G ET C O NT AI N E R P RI OR T Y L I ST B Y C ONTAINER
Returns a collection of 1 to N ContainerPriority objects.
Syntax
Set object = MaterialSvr.GetContainerPriorityListByContainer(ContainerName As
String)
The GetContainerPriorityListByContainer method syntax has these parts:
Part
Description
object
MaterialSvr
ContainerName
25
G ET C O NT AI N ER P RI OR IT Y L IST B Y M ATERIAL
Returns a collection of 1 to N ContainerPriority objects.
Syntax
Set object = MaterialSvr.GetContainerPriorityListByMaterial(MaterialName As
String)
The GetContainerPriorityListByMaterial method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialName
G ET C O NT AI N ER S
Returns a collection of 1 to N Container objects.
Syntax
Set object = MaterialSvr.GetContainers()
The GetContainers method syntax has these parts:
26
Part
Description
object
MaterialSvr
G ET C O NT AI N E RS H AVING M ATERIAL
Returns a collection of 1 to N MaterialContainer objects.
Syntax
Set object = MaterialSvr.GetContainersHavingMaterial(IMaterialID As Long)
The GetContainersHavingMaterial method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialID
G ET C O NT AI N E R S TA T E
Returns a ContainerState object with its properties populated with corresponding data
from the material database, based on the ContainerState Name.
Syntax
Set object = MaterialSvr.GetContainerState(ByVal sName As String, UseCollection As
Boolean)
The GetContainerState method syntax has these parts:
Part
Description
object
MaterialSvr
sName
UseCollection
True: Attempts to locate the specified ContainerState in a prepopulated collection. If no collection is present, one is created and
the record is read from the collection.
False: Reads the record directly from the database.
27
G ET C O NT AI N ER S TA TE L IST
Returns a list of ContainerStates in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetContainerStateList()
The GetContainerStateList method syntax has these parts:
Part
Description
vResult
MaterialSvr
Description
vResult
ContainerStateData
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the vResult
array. If both bounds are zero, then the array is empty and can be treated as such.
G ET C O NT AI N ER S TATES
Returns a collection of 1 to N ContainerState objects.
Syntax
Set object = MaterialSvr.GetContainerStates()
The GetContainerStates method syntax has these parts:
28
Part
Description
object
MaterialSvr
G ET E RR OR C ORRECTI ON
Gets an instance of an ErrorCorrection object based on the name of the error correction
passed to the interface.
Syntax
MaterialSvr.GetErrorCorrection(sName AS String, UseCollection AS Boolean) As
ErrorCorrection
The GetErrorCorrection method syntax has these parts:
Part
Description
MaterialSvr
sName
UseCollection
Remarks
This interface provides you with the ability to get an instance of a particular error
correction object by providing the error correction name.
G ET E RR OR C ORRECTI ONS
Gets a list of QA error corrections and presents it to the user as a collection of
ErrorCorrection objects.
Syntax
MaterialSvr.GetErrorCorrections( ) As ErrorCorrections
The GetErrorCorrections method syntax has these parts:
Part
Description
MaterialSvr
Remarks
This interface provides you with a list of QA error corrections.
29
G ET L O T
Returns a Lot object populated with the specified Lot data from the material database,
based on the Lot Name.
Syntax
Set object = MaterialSvr.GetLot(ByVal sName As String, UseCollection As Boolean)
The GetLot method syntax has these parts:
Part
Description
object
MaterialSvr
sName
UseCollection
Because multiple Lots with the same name can exist in the material database this
interface will return the first instance of the given Lot name so there is a possibility that
the Lot returned will not be the Lot you are looking for. If this is the case, use the
Material.Lots property to get a collection of Lots for a given material and loop through
this collection to find the desired Lot.
30
G ET L O T L I ST
Returns a list of Lots in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetLotList(ByVal LotFilter As LotFilterEnum, ByVal FilterValue
As String)
The GetLotList method syntax has these parts:
Part
Description
vResult
MaterialSvr
LotFilter
FilterValue
Description
vResult
LotData
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the
vContainerList array. If both bounds are zero, then the array is empty and can be treated as
such.
31
G ET L O T S
Returns a collection of 1 to N Lot objects.
Syntax
Set object = MaterialSvr.GetLots()
The GetLot method syntax has these parts:
Part
Description
object
MaterialSvr
Because multiple Lots with the same name can exist in the material database this
interface will fail if multiple Lots with the duplicate names exist. Because the key of
the Lot collection is Name and since each key has to be unique, if duplicate Lot names
exist the collection will stop at the first occurrence of a duplicate. If this is the case,
consider using the Material.Lots property to get a collection of Lots for a given Material
and loop through this collection to find the desired Lot.
G ET L O T S TA TE
Returns a LotState object populated with the specified LotState data from the material
database, based on the LotStates name.
Syntax
Set object = MaterialSvr.GetLotState(ByVal sName As String, UseCollection As
Boolean)
The GetLotState method syntax has these parts:
Part
Description
object
MaterialSvr
sName
UseCollection
32
G ET L O T S TA TE L I S T
Returns a list of LotStates in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetLotStateList()
The GetLotStateList method syntax has these parts:
Part
Description
vResult
MaterialSvr
Description
vResult
LotStateData
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the vResult
array. If both bounds are zero, then the array is empty and can be treated as such.
G ET L O T S TATES
Returns a collection of 1 to N LotState objects.
Syntax
Set object = MaterialSvr.GetLotStates()
The GetLotStates method syntax has these parts:
Part
Description
object
MaterialSvr
33
G ET M ATERIAL
Returns a Material object populated with the specified Material data from the material
database, based on the Material Name.
Syntax
Set object = MaterialSvr.GetMaterial(ByVal sName As String, UseCollection As
Boolean)
The GetMaterial method syntax has these parts:
Part
Description
object
MaterialSvr
sName
UseCollection
34
Part
Description
object
MaterialSvr
IControllerID
G ET M ATERIAL B Y ID
Returns a Material object with its properties populated with corresponding data from the
material database, based on the MaterialID.
Syntax
Set object = MaterialSvr.GetMaterialByID(ByVal IMaterialID As Long)
The GetMaterialByID method syntax has these parts:
Part
Description
object
MaterialSvr
IMaterialID
G ET M ATERIAL C LA SS
Returns a MaterialClass object that is populated with the specified MaterialClass data
from the material database, based on the MaterialClass Name.
Syntax
Set object = MaterialSvr.GetMaterialClass(ByVal MaterialClassName As String,
UseCollection As Boolean)
The GetMaterialClass method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialClassName
UseCollection
True: Attempts to locate the specified MaterialClass in a prepopulated collection. If no collection is present, one is created and
the record is read from the collection.
False: reads the record directly from the database.
35
G ET M ATERIAL C LA SS B Y I D
Returns a MaterialClass object with its properties populated with corresponding data from
the material database, based on the MaterialClassID.
Syntax
Set object = MaterialSvr.GetMaterialClassByID(ByVal MaterialClassID As Long)
The GetMaterialClassByID method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialClassID
G ET M ATERIAL C LA SSES
Returns a collection of 1 to N MaterialClass objects.
Syntax
Set object = MaterialSvr.GetMaterialClasses()
The GetMaterialClasses method syntax has these parts:
36
Part
Description
object
MaterialSvr
G ET M ATERIAL C LA SS L IST
Returns a list of Materials in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetMaterialClassList()
The GetMaterialClassList method syntax has these parts:
Part
Description
vResult
MaterialSvr
Description
vResult
MaterialClass
Data
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the vResult
array. If both bounds are zero, then the array is empty and can be treated as such.
37
G ET M ATERIAL L I ST
Returns a list of Materials in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetMaterialList(MaterialFilter As MaterialFilterEnum,
FilterValue As String)
The GetMaterialList method syntax has these parts:
Part
Description
vResult
MaterialSvr
MaterialFilter
FilterValue
Description
vResult
MaterialData
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the vResult
array. If both bounds are zero, then the array is empty and can be treated as such.
38
G ET M ATERIAL S
Returns a collection of 1 to N Material objects.
Syntax
Set object = MaterialSvr.GetMaterials()
The GetMaterials method syntax has these parts:
Part
Description
object
MaterialSvr
G ET M ATERIAL T YPE
Returns a Type object populated with the specified MaterialType data from the material
database based on the MaterialType Name.
Syntax
Set object = MaterialSvr.GetMaterialType(ByVal MaterialTypeName As String,
UseCollection As Boolean)
The GetMaterialType method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialTypeName
UseCollection
True: Attempts to locate the specified MaterialType in a prepopulated collection. If no collection is present, one is created and
the record is read from the collection.
False: Reads the record directly from the database.
39
G ET M ATERIAL T YPE B Y ID
Returns a MaterialType object with its properties populated with corresponding data from
the material database, based on the MaterialTypeID.
Syntax
Set object = MaterialSvr.GetMaterialTypeByID(ByVal MaterialTypeID As Long)
The GetMaterialTypeByID method syntax has these parts:
Part
Description
object
MaterialSvr
MaterialTypeID
G ET M ATERIAL T YPE L I S T
Returns a list of MaterialTypes in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetMaterialTypeList()
The GetMaterialTypeList method syntax has these parts:
Part
Description
vResult
MaterialSvr
Description
vResult
Remarks
In order to test for an empty array, you must test the upper and lower bounds of the vResult
array. If both bounds are zero, then the array is empty and can be treated as such.
40
G ET M ATERIAL T YPES
Returns a collection of 1 to N MaterialType objects.
Syntax:
Set object = MaterialSvr.GetMaterialTypes()
The GetMaterialTypes method syntax has these parts:
Part
Description
object
MaterialSvr
G ET S T O R A G E L O CA TI ON
Returns a StorageLocation object populated with the specified StorageLocation data from
the material database, based on the Storage Location Name.
Syntax
Set object = MaterialSvr.GetStorageLocation(ByVal sName As String, UseCollection As
Boolean)
The GetStorageLocation method syntax has these parts:
Part
Description
object
MaterialSvr
sName
UseCollection
True: Attempts to locate the specified StorageLocation in a prepopulated collection. If no collection is present, one is created and
the record is read from the collection.
False: Reads the record directly from the database.
41
G ET S T O R A G E L OCA TI ON B Y ID
Returns a StorageLocation object with its properties populated with corresponding data
from the material database, based on the StorageLocationID.
Syntax
Set object = MaterialSvr.GetStorageLocationByID(ByVal IStorageLocationID As Long)
The GetStorageLocationByID method syntax has these parts:
Part
Description
object
MaterialSvr
IStorageLocationID
G ET S T O R A G E L OCA TI ON L IST
Returns a list of StorageLocations in a multi-dimensioned array.
Syntax
vResult = MaterialSvr.GetStorageLocationList()
The GetStorageLocationList method syntax has these parts:
Part
Description
vResult
MaterialSvr
Description
vResult
StorageLocationData
42
G ET S T O R A G E L O CA TI ON S
Returns a collection of 1 to N StorageLocation objects.
Syntax
Set object = MaterialSvr.GetStorageLocations()
The GetStorageLocations method syntax has these parts:
Part
Description
object
MaterialSvr
I N S E R T C ONTAINER
Inserts a Container record into the material database.
Syntax
MaterialSvr.InsertContainer(Container As Container)
The InsertContainer method syntax has these parts:
Part
Description
MaterialSvr
Container
I N S E R T C ONTAINER M ATERIAL
Inserts a ContainerMaterial record into the material database.
Syntax
Container.InsertContainerMaterial(ContainerMaterial As ContainerMaterial)
The InsertContainerMaterial method syntax has these parts:
Part
Description
Container
ContainerMaterial
43
I N S E R T C ONTAINER P R O P E R T Y
Inserts a ContainerProperty record into the material database.
Syntax
Container.InsertContainerProperty(ContainerProperty As ContainerProperty)
The InsertContainerProperty method syntax has these parts:
Part
Description
Container
ContainerProperty
I N S E R T C ONTAINER S TA TE
Inserts a Container State record into the material database.
Syntax
MaterialSvr.InsertContainerState(ContainerState As ContainerState)
The InsertContainerState method syntax has these parts:
44
Part
Description
MaterialSvr
ContainerState
I N S E R T E R R O R C ORRECTION
Inserts a QA error correction record associated with a test specification in the material
database.
Syntax
MaterailSvr.InsertErrorCorrection(ErrorCorrection As ErrorCorrection)
The InsertErrorCorrection method syntax has these parts:
Part
Description
MaterialSvr
ErrorCorrection
Remarks
This interface will allow for the creation of QA error corrections in the material database.
I N S E R T E R R O R C ORRECTION R E S U L T
Inserts a QA error correction result record associated with a test result in the material
database.
Syntax
TestResult.InsertErrorCorrectionResult(ErrorCorrectionResult As
ErrorCorrectionResult)
The InsertErrorCorrectionResult method syntax has these parts:
Part
Description
TestResult
ErrorCorrectionResult
Remarks
This interface allows for the creation of an error correction result on a particular test result
that ended in a failure.
45
I N S E R T L IM IT
Inserts a QA test specification limit record associated with a base test specification in the
material database.
Syntax
TestSpecification.InsertLimit(TestSpecificationLimit As TestSpecificationLimit)
The InsertLimit method syntax has these parts:
Part
Description
TestSpecification
TestSpecificationLimit
Remarks
This new interface will allow for the insertion of QA test specification limits to be
associated with a test specification. The requirements state that a test specification can be
comprised of any number of material properties. Having limit sections allows for a one-tomany relationship.
I N S E R T L OT
Inserts a Lot record into the material database.
Syntax
Material.InsertLot(Lot As Lot)
The InsertLot method syntax has these parts:
46
Part
Description
Material
Lot
I N S E R T L OT S TA TE
Inserts a Lot State record into the material database.
Syntax
MaterialSvr.InsertLotState(LotState As LotState)
The InsertLotState method syntax has these parts:
Part
Description
MaterialSvr
LotState
I N S E R T M A TE R I AL
Inserts a Material record into the material database.
Syntax
MaterialSvr.InsertMaterial(Material As Material)
The InsertMaterial method syntax has these parts:
Part
Description
MaterialSvr
Material
I N S E R T M A TE R I AL C LASS
Inserts a MaterialClass record into the material database.
Syntax
MaterialSvr.InsertMaterialClass(MaterialClass As MaterialClass)
The InsertMaterialClass method syntax has these parts:
Part
Description
MaterialSvr
MaterialClass
47
I N S E R T M A TE R I AL C LASS P R O P E R T Y
Inserts a MaterialClassProperty record into the material database.
Syntax
MaterialClass.InsertMaterialClassProperty(MaterialClassProperty As
MaterialClassProperty)
The InsertMaterialClassProperty method syntax has these parts:
Part
Description
MaterialClass
MaterialClassProperty
Remarks
This allows the adding of MaterialClassProperties. The process is actually adding a record
to the material database and associating the MaterialClassProperty to the MaterialClass
via a foreign key in the MaterialClassProperty table.
I N S E R T M A TE R I AL P RO P ERT Y
Inserts a MaterialProperty record into the material database.
Syntax
Material.InsertMaterialProperty(MaterialProperty As MaterialProperty)
The InsertMaterialProperty method syntax has these parts:
Part
Description
Material
MaterialProperty
Remarks
When inserting a Material Property record, the Material Server will add an accompanying
Lot Property for every Lot that is derived from the specified Material.
48
I N S E R T M A TE R I AL T YPE
Inserts a Material Type record into the material database.
Syntax
MaterialSvr.InsertMaterialType(MaterialType As MaterialType)
The InsertMaterialType method syntax has these parts:
Part
Description
MaterialSvr
MaterialType
I N S E R T S TO R AGE L OCATIO N
Inserts a StorageLocation record into the material database.
Syntax
MaterialSvr.InsertStorageLocation(StorageLocation As StorageLocation)
The InsertStorageLocation method syntax has these parts:
Part
Description
MaterialSvr
StorageLocation
I N S E R T S UB L OT
Inserts a SubLot record into the material database.
Syntax
Container.InsertSubLot(SubLot As SubLot)
The InsertSubLot method syntax has these parts:
Part
Description
Container
SubLot
49
I N S E R T T EST S PECIFICATION
Inserts a QA test specification record into the material database.
Syntax
Material.InsertTestSpecification(TestSpecfication As TestSpecification)
The InsertTestSpecification method syntax has these parts:
Part
Description
Material
TestSpecification
Remarks
This interface allows for the creation of QA test specification records in the material
database. The interface is part of the material object. This placement allows for multiple
test specifications to be created for any given material. It also allows for the inclusion of
multiple material properties to be part of a test specification.
I S L OT A UTHO R
Returns a Boolean value (TRUE or FALSE) indicating if the current user has rights to the
Lot Author security role.
Syntax:
bResult = MaterialServerSecurity.IsLotAuthor()
The IsLotAuthor method syntax has these parts:
50
Part
Description
bResult
MaterialServerSecurity
I S M ATERIA L A UTHO R
Returns a Boolean value (TRUE or FALSE) indicating if the current user has rights to the
Material Author security role.
Syntax
bResult = MaterialServerSecurity.IsMaterialAuthor()
The IsMaterialAuthor method syntax has these parts:
Part
Description
bResult
MaterialServerSecurity
Description
bResult
MaterialServerUtils
51
I S M ATERIA L V I E WER
Returns a Boolean value (TRUE or FALSE) indicating if the current user has rights to the
Material Viewer security role.
Syntax
bResult = MaterialServerSecurity.IsMaterialViewer()
The IsMaterialViewer method syntax has these parts:
Part
Description
bResult
MaterialServerSecurity
Description
Material
MaterialClassProperty
Remarks
This interface allows the mapping of MaterialClassProperties to the material definition.
52
M ATERIAL C LA SS P R O PER T I E S
Returns a collection of MaterialClassProperty objects that are derived from the material
class upon which they are based.
Syntax
MaterialClass.MaterialClassProperties
The MaterialClassProperties property syntax has these parts:
Part
Description
MaterialClass
Remarks
The MaterialClass object contains a new property, called MaterialClassProperties, that
will present a collection of MaterialClassProperty objects derived from the MaterialClass.
This functionality is consistent with how the existing material object model presents
collections that are based on a parent object. For example, the material object has a
property called MaterialProperties that presents a collection of MaterialProperties that are
derived from the represented Material.
U P D A T E C ONTA INER
Updates a Container record in the material database.
Syntax
MaterialSvr.UpdateContainer(Container As Container, [ActivityDescription As String])
The UpdateContainer method syntax has these parts:
Part
Description
MaterialSvr
Container
ActivityDescription
53
U P D A T E C ONTA INER P R I O R I TY
Updates a ContainerPriority record in the material database.
Syntax
MaterialSvr.UpdateContainerPriority(ContainerPriority As ContainerPriority)
The UpdateContainerPriority method syntax has these parts:
Part
Description
MaterialSvr
ContainerPriority
Remarks
The only property that can be updated in the ContainerPriority object is the Priority.
U P D A T E C ONTA INER P R O P E R TY
Updates a ContainerProperty record in the material database.
Syntax
Container.UpdateContainerProperty(ContainerProperty As ContainerProperty,
[ActivityDescription As String])
The UpdateContainerProperty method syntax has these parts:
54
Part
Description
Container
ContainerProperty
ActivityDescription
U P D A T E C ONTA INER S TA TE
Updates a ContainerState record in the material database.
Syntax
MaterialSvr.UpdateContainerState(ContainerState As ContainerState)
The UpdateContainerState method syntax has these parts:
Part
Description
MaterialSvr
ContainerState
Remarks:
The Ready To Use ContainerState is a system-defined state and cannot be deleted
through this interface or by any other means.
U P D A T E E R RO R C O R R E C TI O N
Updates a QA error correction record associated with a test specification in the material
database.
Syntax
MaterialSvr.UpdateErrorCorrection(ErrorCorrection As ErrorCorrection)
The UpdateErrorCorrection method syntax has these parts:
Part
Description
MaterialSvr
ErrorCorrection
Remarks
This interface will allow for the modification of QA error correction records in the
material database.
55
U P D A T E E R RO R C O R R E C TI O N R E S U L T
Updates a QA error correction result record associated with a test result in the material
database.
Syntax
TestResult.UpdateErrorCorrectionResult(ErrorCorrectionResult As
ErrorCorrectionResult)
The UpdateErrorCorrectionResult method syntax has these parts:
Part
Description
TestResult
ErrorCorrectionResult
Remarks
This interface allows for the updating of an error correction result on a particular test result
that ended in a failure.
U P D A T E L IMI T
Updates a QA test specification limit record associated with a base test specification in the
material database.
Syntax
TestSpecification.UpdateLimit(TestSpecjficationLimit As TestSpecificationLimit)
The UpdateLimit method syntax has these parts:
Part
Description
TestSpecification
TestSpecificationLimit
Remarks
This interface will allow for the modification of a QA test specification detail record after
it has been added to the material database.
56
U P D A T E L OT
Updates a Lot record in the material database.
Syntax
Material.UpdateLot(Lot As Lot, [ActivityDescription As String])
The UpdateLot method syntax has these parts:
Part
Description
Material
Lot
ActivityDescription
U P D A T E L OT P R O PER T Y
Updates a LotProperty record in the material database.
Syntax
Lot.UpdateLotProperty(LotProperty As LotProperty, [ActivityDescription As String])
The UpdateLotProperty method syntax has these parts:
Part
Description
Lot
LotProperty
ActivityDescription
57
U P D A T E L OT S TA TE
Updates a LotState record in the material database.
Syntax
MaterialSvr.UpdateLotState(LotState As LotState)
The UpdateLotState method syntax has these parts:
Part
Description
MaterialSvr
LotState
Remarks
The Ready To Use LotState is a system-defined state and can not be updated via this
method or any other means.
U P D A T E M ATERIA L
Updates a Material record in the material database.
Syntax
MaterialSvr.UpdateMaterial(Material As Material, [ActivityDescription As String])
The UpdateMaterial method syntax has these parts:
58
Part
Description
MaterialSvr
Material
ActivityDescription
U P D A T E M ATERIA L C L AS S
Updates a Class record in the material database.
Syntax
MaterialSvr.UpdateMaterialClass(MaterialClass As MaterialClass)
The UpdateMaterialClass method syntax has these parts:
Part
Description
MaterialSvr
MaterialClass
U P D A T E M ATERIA L C L AS S P ROPERT Y
Updates a MaterialClassProperty record in the material database.
Syntax
MaterialClass.UpdateMaterialClassProperty(MaterialClassProperty As
MaterialClassProperty), PropagateChanges As Boolean, [ActivityDescription As String])
The UpdateMaterialClassProperty method syntax has these parts:
Part
Description
MaterialClass
MaterialClassProperty
ActivityDescription
59
U P D A T E M ATERIA L P R O P E R T Y
Updates a MaterialProperty record in the material database.
Syntax
Material.UpdateMaterialProperty(MaterialProperty As MaterialProperty,
[ActivityDescription As String])
The UpdateMaterialProperty method syntax has these parts:
Part
Description
Material
MaterialProperty
ActivityDescription
U P D A T E M ATERIA L T YPE
Updates a MaterialType record in the material database.
Syntax
MaterialSvr.UpdateMaterialType(MaterialType As MaterialType)
The UpdateMaterialType method syntax has these parts:
Part
Description
MaterialSvr
MaterialType
Remarks
The Ungrouped MaterialType is a system-defined state which cannot be deleted through
this interface or by any other means.
60
U P D A T E S TORA GE L O C AT IO N
Updates a StorageLocation record in the material database.
Syntax
MaterialSvr.UpdateStorageLocation(StorageLocation As StorageLocation)
The UpdateStorageLocation method syntax has these parts:
Part
Description
MaterialSvr
StorageLocation
UPDATESUBLOT
Updates a SubLot record in the material database.
Syntax
Lot.UpdateSubLot(SubLot As SubLot, [ActivityDescription As String])
The UpdateSubLot method syntax has these parts:
Part
Description
Lot
SubLot
ActivityDescription
61
U P D A T E T EST R E S U L T
Updates a QA test result record associated with a test specification in the material
database.
Syntax
TestSpecification.UpdateTestResult(TestResult As TestResult)
The UpdateTestResult method syntax has these parts:
Part
Description
TestSpecification
TestResult
Remarks
This interface allows for the modification of QA test result records in the material
database.
U P D A T E T EST S PECIFICATION
Updates a QA test specification record in the material database.
Syntax
Material.UpdateTestSpecification(TestSpecification As TestSpecification)
The UpdateTestSpecification method syntax has these parts:
Part
Description
Material
TestSpecification
Remarks
This interface will allow for the modification of a QA test specification after it is added to
the material database.
62
Index
GetLotList 31
GetLots 32
GetLotState 32
GetLotStateList 33
CreateTestResult 11
GetLotStates 33
GetMaterial 34
DeleteContainer 11, 12
GetMaterialByControllerID 34
DeleteContainerProperty 12
GetMaterialByID 34, 35
DeleteErrorCorrection 13
GetMaterialClass 35
DeleteLimit 14
GetMaterialClassByID 36
DeleteLot 14
GetMaterialClasses 36
DeleteLotProperty 15
GetMaterialClassList 37
DeleteLotState 15
GetMaterialList 38
DeleteMaterial 16
GetMaterials 39
DeleteMaterialClass 16
GetMaterialType 39
DeleteMaterialClassProperty 17
GetMaterialTypeByID 40
DeleteMaterialType 18
GetMaterialTypeList 40
DeleteSubLot 19
GetMaterialTypes 41
DeleteTestResult 19
GetStorageLocation 41
DeleteTestSpecification 20
GetStorageLocationByID 42
DistributeSubLot 21
GetStorageLocationList 42
GetStorageLocations 43
G
GetContainer 22
GetContainerByID 23
I
InsertContainer 43
GetContainerList 24
InsertContainerMaterial 43
GetContainerOrStorageLocationMaterials 25
InsertContainerProperty 44
GetContainerPriorityListByMaterial 26
InsertContainerState 44
GetContainerPropertyListByContainer 25
InsertErrorCorrection 45
GetContainers 23
InsertErrorCorrectionResult 45
GetContainersHavingMaterial 26
InsertLimit 46
GetContainerState 27
InsertLot 46
GetContainerStateList 28
InsertLotState 47
GetContainerStates 28
InsertMaterial 47
GetErrorCorrection 29
InsertMaterialClass 47
GetErrorCorrections 29
InsertMaterialClassProperty 48
GetLot 30
InsertMaterialProperty 48
63
InsertMaterialType 49
Material 3
InsertStorageLocation 49
MaterialClass 3
InsertSubLot 49
MaterialClass group 3
InsertTestSpecification 50
MaterialProperty 3
IsLotAuthor 50
MaterialSVR 3
IsMaterialAuthor 51
MaterialType 3
IsMaterialServerAvailable 51
StorageLocation 3
IsMaterialViewer 52
SubLot 3
U
MapMaterialClassProperty 52
UpdateContainer 53
UpdateContainerPriority 54
diagram 2
UpdateContainerProperty 54
objects 2
UpdateContainerState 55
MaterialClassProperties 53
UpdateErrorCorrection 55
Methods
UpdateErrorCorrectionResult 56
Count 4
UpdateLimit 56
Item 4
UpdateLot 57
NewEnum 4
UpdateLotProperty 57
UpdateLotState 58
O
Objects
Container 2
ContainerMaterial 2
ContainerProperty 2
ContainerState 2
Lot 3
LotProperty 3
LotState 3
64
UpdateMaterial 58
UpdateMaterialClass 59
UpdateMaterialClassProperty 59
UpdateMaterialProperty 60
UpdateMaterialType 60
UpdateStorageLocation 61
UpdateSubLot 61
UpdateTestResult 62
UpdateTestSpecification 62