PrepareProductionAttributes Method (Ent)
- Last UpdatedNov 06, 2025
- 2 minute read
The PrepareProductionAttributes() method accepts a set of values for all production attributes and creates a data entry job to support logging utilization against these attributes.
'Declaration
Public Function PrepareProductionAttributes( _
ByVal Item As String, _
ByVal ItemClass As String, _
ByVal ItemUOM As String, _
ByVal WorkOrder As String, _
ByVal Operation As String, _
ByVal TargetProdRate As Double, _
ByVal UnitOfMeasure As Integer, _
ByVal BatchSize As Double, _
ByVal StartQty As Double, _
ByVal ReqdQty As Double, _
ByVal Operator As String _
) As String
public string PrepareProductionAttributes(
string Item,
string ItemClass,
string ItemUOM,
string WorkOrder,
string Operation,
double TargetProdRate,
int UnitOfMeasure,
double BatchSize,
double StartQty,
double ReqdQty,
string Operator
)
Parameters
- Item
- Required. Holds a string that identifies the item for the data entry job.
- ItemClass
- Required. Holds a string that identifies the item class ID of the item.
- ItemUOM
- Optional. Holds a string that identifies the unit of measure for the item.
- WorkOrder
- Required. Holds a string that identifies the work order for the data entry job.
- Operation
- Required. Holds a string that identifies the operation for the data entry job.
- TargetProdRate
- Required. Holds a floating-point value that indicates the target production rate.
- UnitOfMeasure
- Required. Holds an integer that indicates the unit of measure for the target production rate.
- BatchSize
- Required. Holds a floating-point value that indicates the batch size for the data entry job.
- StartQty
- Required. Holds a floating-point value that indicates the start quantity for the data entry job.
- ReqdQty
- Required. Holds a floating-point value that indicates the required quantity for the job that is being created.
- Operator
- Required. Holds an integer that identifies the user ID to associate with the entity.
Return Value
Returns a string that contains any warnings given when attempting to stop any running jobs and start the new job specified by the production attributes.