Purchase order
The purchase order object contains information about a purchase order in Current RMS.
Purchase orders can be created directly from an opportunity. Current RMS will take opportunity costs and create a purchase order per supplier.
activities
activitiesReturns activity objects for the activities relating to the purchase order.
Input
{% for activity in order.activities %}
{{ activity.subject }}
{% endif %}Output
Call to follow upattachments
attachmentsReturns attachment objects for attachments stored against a purchase order.
Input
{% for attachment in order.attachments %}
{{ attachment.name }}
{% endfor %}Output
Attachmentsauthorised_at
authorised_atReturns the date and time that the purchase order was authorized.
Input
Output
authoriser
authoriserReturns user objects with information about the user who authorized the purchase order.
Input
Output
Usercharge_excluding_tax_total
charge_excluding_tax_totalReturns the purchase order charge total excluding tax.
Input
Output
charge_including_tax_total
charge_including_tax_totalReturns the purchase order charge total including tax.
Input
Output
charge_total
charge_totalReturns the purchase order charge total.
Input
Output
customer_collecting
customer_collectingReturns if the customer is collecting.
Input
Output
customer_returning
customer_returningReturns if the customer is returning.
Input
Output
delivery_address
delivery_addressReturns the purchase order delivery address.
You may also use the venue object (below).
Input
Output
delivery_address_detail
delivery_address_detailReturns address objects for the delivery address against the purchase order.
Input
Output
Address detaildelivery_address_name
delivery_address_nameReturns the name of the delivery address against the purchase order.
You may also use the venue object (below).
Input
Output
delivery_at
delivery_atReturns the purchase order delivery date and time.
Input
Output
delivery_attention
delivery_attentionReturns the value of the purchase order “Delivery For Attention Of” field.
Input
Output
delivery_instructions
delivery_instructionsReturns the purchase order delivery instructions.
Input
Output
description
descriptionReturns the purchase order (internal) description.
Input
Output
expected_at
expected_atReturns the purchase order expected arrival date and time.
Input
Output
expected_note
expected_noteReturns the purchase order expected arrival notes.
Input
Output
external_description
external_descriptionReturns the purchase order external description.
Input
Output
id
idReturns the purchase order ID.
The ID is an internal reference for a record. It's not exposed in our web interface and shouldn't be confused with the order number (below).
Input
Output
image_attachments
image_attachmentsReturns attachment objects for attachments stored against a purchase order where the attachment file type is an image.
Input
Output
Attachmentsitems
itemsReturns purchase order item objects for items on the purchase order.
Input
Output
Purchase order itemsname
nameReturns the purchase order subject.
Input
Output
number
numberReturns the purchase order number.
Input
Output
ordered_at
ordered_atReturns the value of the purchase order “Order Date” field.
Input
Output
participants
participantsReturns contact, organization, user, vehicle, or venue objects for participants on the purchase order.
Input
Output
reference
reference Returns the purchase order customer reference.
Input
Output
sources
sourcesReturns opportunity objects for the purchase order sources.
A purchase order may have multiple sources, or no sources at all.
Input
Output
Opportunitystate
stateReturns the purchase order state code.
Code
State name
0
Draft
1
Order
Input
Output
state_name
state_nameReturns the purchase order state name.
State names are in the language set against your user profile.
Draft
Order
Input
Output
status
statusReturns the purchase order status code.
Code
Status name
0
Open
10
Authorized
20
Sent
30
Completed
40
Canceled
Input
Output
status_name
status_nameReturns the purchase order status name.
Status names are in the language set against your user profile.
Open
Authorized
Sent
Completed
Canceled
Input
Output
store
storeReturns store objects for the store against the purchase order.
Input
Output
Storesupplier
supplierReturns organization objects for the supplier against the purchase order.
Input
Output
Organizationtax_class_name
tax_class_nameReturns the purchase order tax class.
This may differ from the organization tax class.
Input
Output
tax_total
tax_totalReturns the purchase order tax total.
Input
Output
venue
venueReturns venue objects for the venue against the purchase order.
A delivery address can be a venue, but a venue might not always be a purchase order's delivery address. If you don't choose a venue when creating a purchase order, using {{ order.venue.name }} won't return the same as {{ order.delivery_address_name }}.
Input
Output
Venueweight_total
weight_totalReturns the purchase order weight total.
Input
Output
Last updated
Was this helpful?