Store
The store object contains information about a store.
Stores in Current RMS are locations where you hold stock. Every system is created with a store called “Default”. If you operate out of multiple warehouses, branches, or depots then you may wish to create multiple stores.
Stores are configured in System Setup > Stores. Each store has its own address and contact information. Most of our default documents pull through store contact information.
Document layouts
In document layouts, the store
object always relates to another object. For example, store.name
this will not output anything. Prefixing it with order.
in an opportunity document will resolve this.
Keep in mind that the store objects that you’re accessing will always be related to the store set against the record. This might not always be the same as the active store, set at the top-right.
The store
object can be accessed in document layouts created against the following modules:
Module
Example
Invoice
{{ invoice.store.name }}
Opportunity
{{ order.store.name }}
Project
{{ project.store.name }}
Quarantine
{{ quarantine.store.name }}
Purchase order
{{ order.store.name }}
Discussion templates
In discussion templates, use current_store
to access information about the active store, set at the top-right. This works for discussion templates created against all modules.
To access store objects for the store set against a record, for example an opportunity‘s store, the process is similar to that of document layouts.
The store
object can be accessed in discussion templates created against the following modules:
Module
Example
Invoice
{{ invoice.store.name }}
Opportunity
{{ opportunity.store.name }}
Project
{{ project.store.name }}
Quarantine
{{ quarantine.store.name }}
Purchase order
{{ purchase_order.store.name }}
address_detail
address_detail
Returns address objects for the store address.
Input
Output
emails
emails
Returns email objects for email addresses listed against the store.
Input
Output
icon_url
icon_url
Returns a URL pointing at the store logo. The full size image is returned.
Input
Output
id
id
Returns the store ID.
The ID is an internal reference for a record. It's not exposed in our web interface.
Input
Output
links
links
Returns link objects for the links listed against the store.
Input
Output
mobile
mobile
Returns the store cell phone number. The first telephone number with the type “cell” or “mobile” is returned.
Input
Output
name
name
Returns the store name.
Input
Output
phones
phones
Returns telephone objects for telephone numbers listed against the store.
Input
Output
telephone
telephone
Returns the store telephone. The first telephone number with the type “work” is returned.
Input
Output
website
website
Returns the store website. The first link with the type “website” is returned.
Links are stored without http://
or https://
so remember to include these when creating hyperlinks.
Input
Output
Last updated