SetMaterialRequirementLotOrSublot (IProductionRuntime)
Sets a lot or sublot for the specified material requirement.
This call method is related to the SetResourceRequirement call method. While this call method is used to set either a material lot or sublot on a material requirement, the SetResourceRequirement call method is used to set a material definition on the requirement.
Important: If you set a material definition on a requirement and then set a material lot (or sublot) on the same requirement, when you read the requirement attributes (ReadSegmentRequirements call method), the value that is returned is the value of the lot (or sublot). Therefore, whatever was last set on that material requirement, by either method, is what is returned when read.
Inputs | Data Type | Description |
---|---|---|
Lot or Sublot ID | GUID |
Specifies the ID of the lot or sublot you want the specified material requirement to use. |
Lot Type | String |
Specifies whether you are setting a lot or sublot for the material requirement. |
Requirement ID | GUID |
Specifies the ID of the material requirement you are setting. |