Class PurchaseOrderProductLine
Wraps a product line in a purchase order.
Inheritance
System.Object
PurchaseOrderProductLine
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 PurchaseOrderProductLine : PurchaseOrderMaterialLine
Constructors
PurchaseOrderProductLine(Int32)
Creates an object to be used to update an existing line.
Declaration
public PurchaseOrderProductLine(int purchaseOrderLineId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | purchaseOrderLineId_ | Identifies the line to be updated |
PurchaseOrderProductLine(Int32, PurchaseProductVariant)
Creates an object to be used to create a new line.
Declaration
public PurchaseOrderProductLine(int poId_, PurchaseProductVariant purchaseProductVariant_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | poId_ | The purchase order to which the line belongs |
| PurchaseProductVariant | purchaseProductVariant_ | The associated product |
Properties
IsInventoried
.
Declaration
public bool IsInventoried { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IsSerializable
True if this PurchaseProduct has serial numbers.
Declaration
public bool IsSerializable { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
MeasurementDescription
Descriptive string reflecting the associated measures.
Declaration
public string MeasurementDescription { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Measurements
Set of measurements associated with this line's variant (if there is one).
Declaration
public MeasurementContainer Measurements { get; }
Property Value
| Type | Description |
|---|---|
| MeasurementContainer |
PurchaseProductVariant
The PurchaseProductVariant associated with this line (unless it's a purchase order Miscellaneous line).
Declaration
public PurchaseProductVariant PurchaseProductVariant { get; }
Property Value
| Type | Description |
|---|---|
| PurchaseProductVariant |
SerializableQuantity
.
Declaration
public decimal SerializableQuantity { get; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |