Show / Hide Table of Contents

Class PurchaseOrder

Wraps a purchase order.

Inheritance
System.Object
JTObject
HasCustomFieldValues
PurchaseOrder
Inherited Members
HasCustomFieldValues.CustomFieldValues
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 PurchaseOrder : HasCustomFieldValues

Constructors

PurchaseOrder(Int32)

Creates an object intended to be used to update a purchase order.

Declaration
public PurchaseOrder(int purchaseOrderId_)
Parameters
Type Name Description
System.Int32 purchaseOrderId_

Identifies an existing purchase order.

PurchaseOrder(Int32, Int32)

Creates an object intended to be used to create a new purchase order.

Declaration
public PurchaseOrder(int supplierId_, int costListId_)
Parameters
Type Name Description
System.Int32 supplierId_

Id of the supplier associated with the purchase order.

System.Int32 costListId_

Id of the cost list associated with the purchase order.

Properties

CostListId

Id of the associated CostList. When you set this property, the CostListName property is automatically cleared.

Declaration
public int CostListId { get; set; }
Property Value
Type Description
System.Int32

CostListName

Name of the associated CostList.

Declaration
public string CostListName { get; }
Property Value
Type Description
System.String

ExpectedDeliveryDate

Expected delivery date.

Declaration
public DateTime? ExpectedDeliveryDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

Notes

Notes about the purchase order.

Declaration
public string Notes { get; set; }
Property Value
Type Description
System.String

OrderDate

Order date.

Declaration
public DateTime? OrderDate { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>

PurchaseOrderId

Identifies the purchase order.

Declaration
public int PurchaseOrderId { get; }
Property Value
Type Description
System.Int32

PurchaseOrderNumber

Purchase order number.

Declaration
public string PurchaseOrderNumber { get; set; }
Property Value
Type Description
System.String

ShipToLocationId

Id of the associated ShipToLocation. When you set this property, the ShipToLocationName property is automatically cleared.

Declaration
public int ShipToLocationId { get; set; }
Property Value
Type Description
System.Int32

ShipToLocationName

Name of the associated ShipToLocation.

Declaration
public string ShipToLocationName { get; }
Property Value
Type Description
System.String

Status

Status of the purchase order.

Declaration
public PurchaseOrder.PurchaseOrderStatusType_Enum Status { get; }
Property Value
Type Description
PurchaseOrder.PurchaseOrderStatusType_Enum

StatusName

Status of the purchase order.

Declaration
public string StatusName { get; }
Property Value
Type Description
System.String

SupplierId

Id of the associated Supplier. When you set this property, the SupplierName property is automatically cleared.

Declaration
public int SupplierId { get; set; }
Property Value
Type Description
System.Int32

SupplierName

Name of the associated Supplier.

Declaration
public string SupplierName { get; }
Property Value
Type Description
System.String

TaxRate

Tax rate to be used for this purchase order.

Declaration
public decimal? TaxRate { get; set; }
Property Value
Type Description
System.Nullable<System.Decimal>
Back to top Generated by DocFX