CreateMaterialRequirement (IProductionRuntime)

Creates a material requirement for a segment requirement.

InputsData TypeDescription
DescriptionString

Specifies a description for the material requirement.

MaterialDirectoryResource

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

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.

Material UseMaterialUses

Specifies how the material requirement will be used. Valid values are:

  • Consumed
  • Produced
  • Consumable
NameDirectoryResource

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

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 resource requirement used.

Segment IdGUID

Specifies the ID of the segment you want to associate with the material requirement.

Unit of MeasureString

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

OutputsDescription
GUID Returns the ID of the new material requirement.