DeleteSubLot

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
Instance of the MaterialServer Interface to which the method is directed.
Lot
Instance of a Lot object to which the SubLots are to be deleted from.
SubLot
An instance of a SubLot object.
ActivityDescription
Adds descriptive text to the activity journal for this operation. (
Optional
)
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.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal