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.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Type: autonumber
- Properties: Filter, Group, idLookup, Sort
- Description: A unique identifier for the purchase order.
- Type: datetime
- Properties: Filter, Group, Nillable, Sort
- Description: The date and time when the purchase order was created.
-
Type: picklist
-
Properties: Filter, Group, Nillable, Sort
-
Description: The type of the purchase order such as standard, blanket, and contract.
-
Possible values:
Standard Purchase OrderBlanket Purchase Order
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The buyer account that initiated the purchase order.
This field is a relationship field.
-
Relationship Name: BuyerAccount
-
Refers To: Account
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The supplier account that received the purchase order.
This field is a relationship field.
-
Relationship Name: SupplierAccount
-
Refers To: Account
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The primary contact person associated with the buyer account.
This field is a relationship field.
-
Relationship Name: BuyerContact
-
Refers To: Contact
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The primary contact person associated with the supplier account.
This field is a relationship field.
-
Relationship Name: SupplierContact
-
Refers To: Contact
-
Type: picklist
-
Properties: Filter, Group, Nillable, Sort
-
Description: The current status of the product in the purchase order.
-
Possible values:
ApprovedAwaitingApprovalCancelledClosedDeliveredDraftInvoicedPartiallyReceivedReceivedShippedSubmitted
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The account to which invoices are issued for the purchase order.
This field is a relationship field.
-
Relationship Name: BillingAccount
-
Refers To: Account
-
Type: reference
-
Properties: Filter, Group, Nillable, Sort
-
Description: The contact associated with the billing account.
This field is a relationship field.
-
Relationship Name: BillToContact
-
Refers To: Contact
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The price book that specifies the item prices applicable to the purchase order.
This field is a relationship field.
- Type: text
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Additional notes or remarks related to the purchase order.
- Type: text
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Sum of all total amounts from the PO Lines.
- Type: text
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The reference number associated with the purchase order.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: Specify the context in which the Purchase Order is created.
-
Possible values:
DistributorManagementPurchaseOrderManagement
- Type: datetime
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The requested delivery date for the product.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The location to which the product is to be shipped.
This field is a relationship field.
- Type: address
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The address to which the product is to be shipped.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The contact associated with the shipping location.
This field is a relationship field.
-
Type: reference
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description: The account associated with the shipping location.
This field is a relationship field.