In Current RMS, you may set costsarrow-up-right up against your products and services. When you add items to an opportunity, Current will automatically cost your opportunity and calculate profitability for you.
Costs are related to opportunity item assets. You can add and change costs on the Costs view on an opportunity.
Document layouts
The cost object can be accessed in document layouts against the following modules:
Copy {% for cost in order.costs %}
{{ cost.subject }}
{% endfor %} Against an opportunity item asset:
Copy {{ asset.cost.subject }}
Copy {% for item in order.items %}
{% if item.is_item? %}
{{ item.opportunity_cost.subject }}
{% endif %}
{% endfor %} Discussion templates
The cost object can be accessed in discussion templates against the following modules:
Against an opportunity item asset:
Returns an opportunity cost's actual cost.
Returns opportunity item asset objects for an opportunity cost's related asset.
Opportunity item assets chevron-right Returns attachment objects for an opportunity cost.
Attachments chevron-right chargeable_days
Returns an opportunity cost's chargeable days.
charging_periods
Returns charging period objects for an opportunity cost.
Charging period chevron-right Returns an opportunity cost's date.
For sub-rentals and purchases, this is the start date of the opportunity.
For sub-contracts and services, this is the start date of the related service opportunity item.
For manual costs, this is the date you set against the cost when creating it.
cost_group_name
Returns an opportunity cost's cost group name.
Configure cost groups in System Setup > Cost Groups.
Returns an opportunity cost's cost type name.
Cost type names are returned in your locale language, set against your user profile.
Returns an opportunity cost's description. This is called a note in the web interface.
Returns an opportunity cost's end date.
For sub-rentals and purchases, this is the end date of the opportunity.
For sub-contracts and services, this is the start date of the related service opportunity item.
For manual costs, this is the date you set against the cost when creating it.
Returns an opportunity cost's ID.
image_attachments
Returns attachment objects for an opportunity cost. Only returns those that have a file type of image.
Returns true where an opportunity cost is a manual cost; false otherwise.
Returns an opportunity cost's price.
When working with automatic costs, the price is used to calculate the provisional cost total. Returns 0.0 for manual costs.
Returns an opportunity cost's price unit. Used for sub-rentals only.
provisional_cost
Returns an opportunity cost's provisional cost.
Automatic costs are entered as provisional by the system. This is because you might like to 'correct' them by adding an actual cost.
When creating a manual cost, you may specify the provisional and actual costs.
Returns purchase order objects for an opportunity cost.
Purchase order chevron-right Returns an opportunity cost's quantity.
Manual costs return 1.0.
Returns an opportunity cost's reference. Only returned for manual costs.
service_unit_name
Returns an opportunity cost's service unit name.
Returns an opportunity cost's start date.
For sub-rentals and purchases, this is the start date of the opportunity.
For sub-contracts and services, this is the start date of the related service opportunity item.
For manual costs, this is the date you set against the cost when creating it.
Returns an opportunity cost's subject.
For automatic costs, this is the name of the related opportunity item.
For manual costs, this is the name of the subject you enter when you create a cost.
Returns organization, contact, or vehicle objects for an opportunity cost's related supplier.
People & Organizations chevron-right Returns the name of the organization set as a sub-rent or sub-contract supplier for an opportunity item asset.
supplier_reference
Returns an opportunity cost's supplier reference. Only returned for manual costs.
unit_charge_amount
Returns an opportunity cost's unit charge amount.
The unit charge is the price for one unit.