Product
The product object contains information about a product record.
Products in Current RMS are things you rent and sell to customers. They're generally physical, tangible things that you stock.
Document layouts
The product object can be accessed in document layouts created against the following records:
Product
{{ product.name }}Opportunity
{% for item in order.products %}
{% if item.is_item? %}
{{ item.product.name }}
{% endif %}
{% endfor %}Quarantine
{{ quarantine.product.name }}Inspection result
{{ inspection_result.product.name }}Inventory check
Purchase order
Invoice
Where a service item has been added directly to an invoice:
Where an invoice item is linked to an opportunity item:
If the original opportunity or opportunity item is deleted, the link between the invoice item and the opportunity item is broken and you won't be able to access service objects in this way.
Discussion templates
The product object can be accessed in discussion templates created against the following records:
Product
Opportunity
Quarantine
Inspection result
Inventory check
Purchase order
Invoice
Where a service item has been added directly to an invoice:
Where an invoice item is linked to an opportunity item:
If the original opportunity or opportunity item is deleted, the link between the invoice item and the opportunity item is broken and you won't be able to access service objects in this way.
accessories
accessories Returns product accessory objects for accessory products against this product.
Input
Output
Product accessoriesaccessory_only
accessory_only Returns true where this product is accessory only; false otherwise.
Input
Output
assets
assets Returns product asset objects for stock levels against a product.
Input
Output
Product assetsattachments
attachmentsReturns attachment objects for attachments stored against a product.
Input
Output
Attachmentsbarcode
barcode Where bulk or non-stock, returns the barcode set against a product.
To return a barcode number for a serialized asset, use the stock_level object.
Input
Output
charging_periods
charging_periods Returns charging period objects for a rental charge against a product.
Input
Output
Charging periodcountry_of_origin_code
Returns the country of origin set against a product.
Input
Output
description
description Returns the description for a product.
Input
Output
discountable?
discountable? Returns true if a product is discountable; false otherwise.
Input
Output
has_accessories?
has_accessories? Returns true if a product has accessories; false otherwise.
Input
Output
icon_url
icon_url Returns a URL pointing at a product's image. The full size image is returned.
Input
Output
id
id Returns a product's ID.
Input
Output
image_attachments
image_attachments Returns attachment objects for attachments stored against a product. Only returns those that have a file type of image.
Input
Output
Attachmentsis_bulk_stock?
is_bulk_stock? Returns true if a product is bulk; false otherwise.
Input
Output
is_non_stock?
is_non_stock? Returns true if a product is non-stock; false otherwise.
Input
Output
is_serialised_stock?
is_serialised_stock? Returns true if a product is serialized; false otherwise.
Input
Output
name
name Returns a product's name.
Input
Output
post_rent_unavailability
post_rent_unavailability Returns a product's post rent unavailability value.
A unit, i.e. your system availability period, is not returned.
Input
Output
product_group
product_group Returns product group objects for a product's related product group.
Input
Output
Product groupproduct_group_name
product_group_name Returns a product's related product group name.
Input
Output
purchase_cost_group
purchase_cost_group Returns the purchase cost group for a product.
Input
Output
rental_charge_period_name
rental_charge_period_name Returns the rental charge period name for a product.
Input
Output
rental_price
rental_price Returns the rental price for a product.
Input
Output
rental_rate_definition_name
rental_rate_definition_name Returns the rental rate definition name against a product.
Input
Output
rental_revenue_group
rental_revenue_group Returns the rental revenue group against a product.
Input
Output
replacement_charge
replacement_charge Returns the replacement charge against a product.
Input
Output
sale_price
sale_price Returns the sale price for a product.
Input
Output
sale_revenue_group
sale_revenue_group Returns the sale revenue group against a product.
Input
Output
stock_levels
stock_levels Returns stock level objects for stock levels against a product.
Input
Output
Stock levelsub_rental_cost_group
sub_rental_cost_group Returns the sub-rental cost group for a product.
Input
Output
weight
weightReturns a product's weight.
Input
Output
Last updated
Was this helpful?