Create Sampling Plan#
SamplingPlan.Create
SamplingPlan.CreateTemplate
SamplingPlan.CreateFromTemplate
Overview#
This operation is used to create a Sampling Plan. A template can also be created using a similar procedure and there is also the possibility of using a template to create the new object as well. This selection can be done in the main entity menu.
Setup#
No specific setup is required other than to meet the preconditions of the transaction.
Preconditions#
- The Sampling Plan does not currently exist in the system.
Sequence of Steps#
Step 1: General Data#
- Provide a name for the Sampling Plan.
- Optionally, provide a description of the Sampling Plan.
- Select the Sampling Plan type (for classification purposes only). The list of possible values is taken from the lookup table SamplingPlanType.
-
Specify the Default Sampling by specifying:
- Type (CounterBased, CounterAndTimeBased, TimeBased)
- CounterFrequency (for CounterBased, CounterAndTimeBased), a value of 10 means every tenth lot
- TimeFrequency (for CounterAndTimeBased, TimeBased), a value, in hours
Step 2: Context#
-
Specify the context information for the Sampling Plan. At minimum it must have one context defined. Possible contexts are:
- MaterialProduct - Product of the Material
- MaterialProductGroup - ProductGroup of the Product of the Material
- MaterialProductMaturity - maturity of the Material Product
- MaterialRecipe - the last used Recipe of the Material
- MaterialResource - Resource of the Material
- MaterialStep - Step of the Material
- MaterialStepMaturity - maturity of the Material Step
- MaterialType - type of Material
- MaterialProductionOrder - Production Order of the Material

