Class PurchaseProductVariantAllocation
Wraps the unserialized allocation of a purchase product variant to a job activity.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class PurchaseProductVariantAllocation : Allocation
Constructors
PurchaseProductVariantAllocation(Int32, PurchaseProductVariant, Decimal)
Used to create a or update a purchase product variant allocation.
Declaration
public PurchaseProductVariantAllocation(int jobActivityId_, PurchaseProductVariant purchaseProductVariant_, decimal quantity_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobActivityId_ | Identifies the job activity. |
| PurchaseProductVariant | purchaseProductVariant_ | Identifies the purchase product variant. |
| System.Decimal | quantity_ | (Unserialized) quantity to be allocated. |
PurchaseProductVariantAllocation(Int32, Int32, Decimal)
Used to create or update a purchase product variant allocation. (May be used when querying for
Declaration
public PurchaseProductVariantAllocation(int jobActivityId_, int purchaseProductVariantId_, decimal quantity_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | jobActivityId_ | Identifies the job activity. |
| System.Int32 | purchaseProductVariantId_ | Identifies the purchase product variant. |
| System.Decimal | quantity_ | (Unserialized) quantity to be allocated. |