Class UnreceivedSerialNumber
Wraps a serial number that has yet to be received.
Inherited Members
Namespace: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class UnreceivedSerialNumber : JTObject
Constructors
UnreceivedSerialNumber(Int32)
Creates an object to be used when assigning serial numbers for a purchase order product line.
Declaration
public UnreceivedSerialNumber(int purchaseOrderLineId_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | purchaseOrderLineId_ | Identifies the Purchase Order Line to be assigned serial numbers. |
UnreceivedSerialNumber(Int32, SerialNumber)
Creates an object to be used when updating an unreceived serial number. The SerialNumber property will be set to an uninitialized SerialNumber object so that the associated serial number may be updated as well.
Declaration
public UnreceivedSerialNumber(int unreceivedSerialNumberId_, SerialNumber serialNumber_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | unreceivedSerialNumberId_ | Identifies the unreceived serial number to be updated. |
| SerialNumber | serialNumber_ | Optional object that will be used to update the properties of the associated serial number. |
UnreceivedSerialNumber(Int32, Decimal)
Creates an object to be used when assigning serial numbers for a purchase order product line.
Declaration
public UnreceivedSerialNumber(int purchaseOrderLineId_, decimal quantity_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | purchaseOrderLineId_ | Identifies the Purchase Order Line to be assigned serial numbers. |
| System.Decimal | quantity_ | Quantity to be assigned serial numbers. If this is >1, each unit of quantity will result in a separate unreceived serial number, as will any fractional remainder. |
UnreceivedSerialNumber(Int32, Decimal, SerialNumber)
Creates an object to be used when assigning serial numbers for a purchase order product line.
Declaration
public UnreceivedSerialNumber(int purchaseOrderLineId_, decimal quantity_, SerialNumber serialNumber_)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | purchaseOrderLineId_ | Identifies the Purchase Order Line to be assigned serial numbers. |
| System.Decimal | quantity_ | Quantity to be assigned to the given serial number. |
| SerialNumber | serialNumber_ | Describes the serial number properties to be used. A single serial number will be created. (Even if |
Properties
PurchaseOrderId
Identifies the purchase order.
Declaration
public int PurchaseOrderId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
PurchaseOrderLineId
Identifies the purchase order line.
Declaration
public int PurchaseOrderLineId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Quantity
Quantity.
Declaration
public decimal Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Decimal |
SerialNumber
SerialNumber.
Declaration
public SerialNumber SerialNumber { get; }
Property Value
| Type | Description |
|---|---|
| SerialNumber |
UnreceivedSerialNumberId
Identifies the unreceived serial number.
Declaration
public int UnreceivedSerialNumberId { get; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |