Newer Version Available

This content describes an older version of this product. View Latest

PurchaseOrder

Represents the Purchase Order entity that captures a formal request from a Buyer to a Supplier to supply goods or services. It is identified by a unique PurchaseOrderNumber and tracks the order's lifecycle via a StatusCode. It defines commercial terms like the TotalAmount, BillingAccount, and the governing PriceBook. This object is available in API version 65.0 and later.

Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields

Field Details
PurchaseOrderNumber
Type
autonumber
Properties
Filter, Group, idLookup, Sort
Description
A unique identifier for the purchase order.
PurchaseOrderDate
Type
datetime
Properties
Filter, Group, Nillable, Sort
Description
The date and time when the purchase order was created.
PurchaseOrderType
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The type of the purchase order such as standard, blanket, and contract.
BuyerAccount
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The buyer account that initiated the purchase order.
SupplierAccount
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The supplier account that received the purchase order.
BuyerContact
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The primary contact person associated with the buyer account.
SupplierContact
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The primary contact person associated with the supplier account.
StatusCode
Type
picklist
Properties
Filter, Group, Nillable, Sort
Description
The current status of the product in the purchase order.
BillingAccount
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The account to which invoices are issued for the purchase order.
BillToContact
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
The contact associated with the billing account.
PriceBook
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The price book that specifies the item prices applicable to the purchase order.
AdditionalInfo
Type
text
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Additional notes or remarks related to the purchase order.
TotalAmount
Type
text
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Sum of all total amounts from the PO Lines.
ExternalPurchaseOrderNumber
Type
text
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The reference number associated with the purchase order.
UsageType
Type
picklist
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
Specify the context in which the Purchase Order is created.
RequestedDeliveryDate
Type
datetime
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The requested delivery date for the product.
ShippingLocation
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The location to which the product is to be shipped.
ShippingAddress
Type
address
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The address to which the product is to be shipped.
ShipToContact
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The contact associated with the shipping location.
ShipToAccount
Type
reference
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The account associated with the shipping location.