CreateMaterialActual (IProductionRuntime)

Creates a material actual on a specified segment response, without the ability to set initial start and end time values for the actual.

If you want to set initial start and end time values for the actual, use the CreateMaterialActualEx call method instead.

Note:
  • The S95 ID must be unique in the system or the call method fails.
  • The material actual can be associated with only one of the following: a Lot ID, Sublot ID, or a Material resource.
InputsData TypeDescription
DescriptionString

Specifies the description of the material actual.

Lot or Sublot IDGUID

Specifies the lot or sublot ID of the material lot or material sublot associated with the material actual.

MaterialDirectoryResource

Specifies the name of the material definition or material class associated with the material actual.

In the Inputs section of the activity configuration panel, click the ellipsis button to open the Universal Browser to select the resource you want to use.

QuantityDouble

Specifies the quantity of the material actual.

Requirement IDGUID

Specifies the resource requirement you want to associate with the material actual.

S95IdString

Specifies the unique name of the material actual on the specified segment response.

Segment Response IDGUID

Specifies the segment response you want to associate with the material actual.

Unit of MeasureString

Specifies the unit of measure for the quantity you want to associate with the material actual.

OutputsDescription
GUID 

Returns the new material actual.