Click or drag to resize
PurchaseOrder Class
PurchaseOrder is a non-posting transaction representing a request to purchase goods or services from a third party.
Inheritance Hierarchy

Namespace:  Intuit.Ipp.Data
Assembly:  Intuit.Ipp.Data (in Intuit.Ipp.Data.dll) Version: 4.0.0.0 (4.0.0.0)
Syntax
C#
[SerializableAttribute]
public class PurchaseOrder : PurchaseByVendor

The PurchaseOrder type exposes the following members.

Constructors
  NameDescription
Public methodPurchaseOrder
Initializes a new instance of the PurchaseOrder class
Top
Properties
  NameDescription
Public propertyAnyIntuitObject
Public propertyAPAccountRef
Specifies which AP account the bill will be credited to. Many/most small businesses have a single AP account, so the account is implied. When specified, the account must be a Liability account, and further, the sub-type must be of type "Payables" [b]QuickBooks Notes[/b][br /] The AP Account should always be specified or a default will be used.
(Inherited from PurchaseByVendor.)
Public propertyAttachableRef
Specifies entity name of the attachment from where the attachment was requested
(Inherited from IntuitEntity.)
Public propertyBillEmail
Product: QBW Description: The email address to which this bill is/was sent. [br/] Non QB-writable.
(Inherited from PurchaseByVendor.)
Public propertyClassRef
Public propertyCurrencyRef
Product: ALL Description: Reference to the Currency in which all amounts on the associated transaction are expressed.[br /] InputType: ReadWrite
(Inherited from Transaction.)
Public propertyCustomField
Product: QBW Description: Custom field (or data extension). Filterable: QBW
(Inherited from IntuitEntity.)
Public propertyDepartmentRef
Product: QBO Description: Location of the transaction, as defined using location tracking in QuickBooks Online.
(Inherited from Transaction.)
Public propertyDocNumber
Product: ALL Description: QBO: Reference number for the transaction. If DocNumber is not provided, and the Custom Transaction Number is set to "Off", QBO assigns a document number using the next-in-sequence algorithm for Sales transactions. Otherwise the value will remaing null. Alternatively, you can also pass in "AUTO_GENERATE" in this field to force QBO to auto-sequence the document number for Invoices, Estimates and Sales Receipt.[br /]The maximum length for DocNumber is 21 characters. The default value is an empty String. Filter support not provided for Payment. Description: QBW: The primary document number for this transaction. DocNumber is exposed to end users.[br /]If it is not provided, QuickBooks business logic will assign the document number using the "next in sequence" algorithm.[br /]Max. length is 11 characters for Payment, Bill, ItemReceipt and VendorCredit. Max. length is 20 characters for other entities. Filterable: QBO InputType: ReadWrite ValidRange: QBW: max=11 ValidRange: QBO: max=21
(Inherited from Transaction.)
Public propertydomain
Product: ALL Description: Domain in which the entity belongs.
(Inherited from IntuitEntity.)
Public propertyDueDate
The nominal date by which the bill must be paid, not including any early-payment discount incentives, or late payment penalties.
Public propertyDueDateSpecified
Public propertyEmailStatus
Public propertyEmailStatusSpecified
Public propertyExchangeRate
Product: ALL Description: Currency exchange rate. Valid only if the company file is set up to use Multi-Currency feature. In QuickBooks, exchange rates are always recorded as the number of home currency units it takes to equal one foreign currency unit. The foreign unit is always 1 and the amount of home units that equal that 1 foreign unit is what QuickBooks uses as the exchange rate. InputType: ReadWrite
(Inherited from Transaction.)
Public propertyExchangeRateSpecified (Inherited from Transaction.)
Public propertyExpectedDate
The date when the delivery of the product is expected.
Public propertyExpectedDateSpecified
Public propertyFOB
"Free On Board", specifies the terms between buyer and seller regarding transportation costs; does not have any bookkeeping implications. Length Restriction: QBO: 15 QBW: 1024
Public propertyGlobalTaxCalculation
Product: QBO Description: Indicates the GlobalTax model if the model inclusive of tax, exclusive of taxes or not applicable
(Inherited from PurchaseByVendor.)
Public propertyGlobalTaxCalculationSpecified (Inherited from PurchaseByVendor.)
Public propertyHeaderFull
Property used for Select clauses. This property is not used for entity operation and Where and orderBy clauses.
(Inherited from IntuitEntity.)
Public propertyHeaderLite
Property used for Select clauses. This property is not used for entity operation and Where and orderBy clauses.
(Inherited from IntuitEntity.)
Public propertyId
Product: ALL Description: Unique Identifier for an Intuit entity (object). [br /]Required for the update operation. Required: ALL Filterable: ALL
(Inherited from IntuitEntity.)
Public propertyItemElementName
Public propertyLine
Product: QBW Description: A line item of a transaction. Product: QBO Description: A line item of a transaction. QuickBooks Online does not support tax lines in the main transaction body, only in the TxnTaxDetail section.
(Inherited from Transaction.)
Public propertyLinkedTxn
Product: ALL Description: A linked (related) transaction. More than one transaction can be linked.
(Inherited from Transaction.)
Public propertyManuallyClosed
The entire transaction, or individual items are manually closed, i.e. they may not be received.
Public propertyManuallyClosedSpecified
Public propertyMemo
QBW only. Memo to be visible to Payee
(Inherited from PurchaseByVendor.)
Public propertyMetaData
Product: ALL Description: Descriptive information about the entity. The MetaData values are set by Data Services and are read only for all applications.
(Inherited from IntuitEntity.)
Public propertyNameAndId
Property used for Select clauses. This property is not used for entity operation and Where and orderBy clauses.
(Inherited from IntuitEntity.)
Public propertyOverview
Property used for Select clauses. This property is not used for entity operation and Where and orderBy clauses.
(Inherited from IntuitEntity.)
Public propertyPOEmail
The email address to which this purchase order is/was sent. Length Restriction: QBO: 15 QBW: 1024
Public propertyPOStatus
Public propertyPOStatusSpecified
Public propertyPrintStatus
Public propertyPrintStatusSpecified
Public propertyPrivateNote
Product: ALL Description: User entered, organization-private note about the transaction. This note will not appear on the transaction records by default. InputType: ReadWrite
(Inherited from Transaction.)
Public propertyPurchaseOrderEx
Internal use only: extension place holder for PurchaseOrder
Public propertyReimbursableInfoRef
Information about the Customer and actual Job or Project the expense must be reimbursed for.
Public propertyReplyEmail
Product: QBW Description: The email address to which inquiries about the bill may be directed. (Also appropriate for paypal payments). [br/] Non QB-writable.
(Inherited from PurchaseByVendor.)
Public propertySalesTermRef
Public propertyShipAddr
Address to which the vendor shipped or will ship any goods associated with the purchase.
Public propertyShipMethodRef
Public propertysparse
Product: ALL Description: True if the entity representation has a partial set of elements. Output only field.
(Inherited from IntuitEntity.)
Public propertysparseSpecified (Inherited from IntuitEntity.)
Public propertystatus
Product: ALL Description: System status of the entity. Output only field.[br /] Filterable: ALL
(Inherited from IntuitEntity.)
Public propertystatusSpecified (Inherited from IntuitEntity.)
Public propertySyncToken
Product: ALL Description: Version number of the entity. The SyncToken is used to lock the entity for use by one application at a time. As soon as an application modifies an entity, its SyncToken is incremented; another application's request to modify the entity with the same SyncToken will fail. Only the latest version of the entity is maintained by Data Services. An attempt to modify an entity specifying an older SyncToken will fail. [br /]Required for the update operation. Required: ALL
(Inherited from IntuitEntity.)
Public propertyTaxCodeRef
Represents the TaxCode Reference with respect to the purchase[br /]
Public propertyTaxFormNum
Description: Tax Form Num holds data related to Tax Information based on Regional compliance laws.This is applicable for IN region and can be extended to other regions in future.
(Inherited from Transaction.)
Public propertyTaxFormType
Description: refer TaxFormTypeEnum. Tax Form Type holds data related to Tax Information, values based on regional compliance laws. Applicable for IN Region and can be extended for other Regions.
(Inherited from Transaction.)
Public propertyTemplateRef
Public propertyTotalAmt
Product: ALL Description: The total amount due, determined by taking the sum of all lines associated. This includes all charges, allowances, taxes, discounts, etc... [b]QuickBooks Notes[/b][br /] Non QB-writable. Output only field in case of QBO Filterable: QBW Sortable: QBW
(Inherited from PurchaseByVendor.)
Public propertyTotalAmtSpecified (Inherited from PurchaseByVendor.)
Public propertyTransactionLocationType
Product: QBO Description: Location of the purchase or sale transaction. The applicable values are those exposed through the TransactionLocationTypeEnum. This is currently applicable only for the FR region.
(Inherited from Transaction.)
Public propertyTxnDate
Product: ALL Description: QBO: The date entered by the user when this transaction occurred. [br /]Often, it is the date when the transaction is created in the system. [br /]For "posting" transactions, this is the posting date that affects the financial statements. If the date is not supplied, the current date on the server is used. Description: QBW: The nominal, user entered, date of the transaction. [br /]Often, but not required to be, the date the transaction was created in the system. [br /]For "posting" transactions, this is the posting date that affects financial statements. Filterable: ALL Sortable: ALL InputType: ReadWrite
(Inherited from Transaction.)
Public propertyTxnDateSpecified (Inherited from Transaction.)
Public propertyTxnSource
Product: QBO Description: Originating source of the Transaction. Valid values are defined in TxnSourceEnum: QBMobile.
(Inherited from Transaction.)
Public propertyTxnStatus
Product: ALL Description: QBW: The status of the transaction. Depending on the transaction type it may have different values.[br /]For Sales Transactions acceptable values are defined in PaymentStatusEnum. For Estimate, the values accepted are defined in EstimateStatusEnum. Description: QBO: The status of the transaction. Depending on the transaction type it may have different values.[br /]For Sales Transactions acceptable values are defined in PaymentStatusEnum. For Estimate, the values accepted are defined in QboEstimateStatusEnum. Filterable:QBW
(Inherited from Transaction.)
Public propertyTxnTaxDetail
Product: ALL Description: Details of taxes charged on the transaction as a whole. For US versions of QuickBooks, tax rates used in the detail section must not be used in any tax line appearing in the main transaction body. For international versions of QuickBooks, the TxnTaxDetail should provide the details of all taxes (sales or purchase) calculated for the transaction based on the tax codes referenced by the transaction. This can be calculated by QuickBooks business logic or you may supply it when adding a transaction. For US versions of QuickBooks you need only supply the tax code for the customer and the tax code (in the case of multiple rates) or tax rate (for a single rate) to apply for the transaction as a whole.[br]See [a href="http://ipp.developer.intuit.com/0010_Intuit_Partner_Platform/0060_Financial_Management_Services_(v3)/01100_Global_Tax_Model"]Global Tax Model[/a].
(Inherited from Transaction.)
Public propertyVendorAddr
Address to which the payment should be sent. [b]QuickBooks Notes[/b][br /] Non QB-writable.
Public propertyVendorRef
Product: ALL Description: Specifies the vendor reference for this transaction Filterable: QBW
(Inherited from PurchaseByVendor.)
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodCopyRecursive
recursively copies object properties to destination.
(Defined by Utility.)
Top
Remarks
See Also