PrepareProductionAttributes(String,String,String,String,String,String,String,Double,Int32,Double,Double,Double,String) Method
- Last UpdatedNov 06, 2025
- 2 minute read
This overload of the PrepareProductionAttributes() method accepts a set of values for all production attributes of an entity identified by its name and creates a data entry job to support logging utilization against these attributes.
'Declaration
Public Overloads Shared Function PrepareProductionAttributes( _
ByVal EntName As String, _
ByVal Site As String, _
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 static string PrepareProductionAttributes(
string EntName,
string Site,
string Item,
string ItemClass,
string ItemUOM,
string WorkOrder,
string Operation,
double TargetProdRate,
int UnitOfMeasure,
double BatchSize,
double StartQty,
double ReqdQty,
string Operator
)
Parameters
- EntName
- Required. Holds a string identifying the name of the entity on which the data entry job is to be started.
- Site
- Optional. Holds a string identifying the ancestor entity of the entity on which the data entry job is to be started. This parameter is used to identify the entity, since entity names are not always unique across all sites.
- Item
- Required. Holds a string identifying the item for the data entry job.
- ItemClass
- Required. Holds a string identifying the item class ID of the item.
- ItemUOM
- Optional. Holds a string identifying the unit of measure for the item.
- WorkOrder
- Required. Holds a string identifying the work order for the data entry job.
- Operation
- Required. Holds a string identifying the operation for the data entry job.
- TargetProdRate
- Required. Holds a floating-point value indicating the target production rate.
- UnitOfMeasure
- Required. Holds an integer indicating the unit of measure for the target production rate.
- BatchSize
- Required. Holds a floating-point value indicating the batch size for the data entry job.
- StartQty
- Required. Holds a floating-point value indicating the start quantity for the data entry job.
- ReqdQty
- Required. Holds a floating-point value indicating the required quantity for the job that is being created.
- Operator
- Required. Holds a string identifying the user ID to associate with the entity.
Return Value
Returns a string containing any errors that occurred when creating the data entry
job.