RMS-Navigator v1.7.5
A little nudge for CurrentRMS
✅ Current Modules
These modules are active and ready to use:
-
Shortages – Quickly view and copy any item shortages, including quarantine alerts.
-
Suppliers – Displays linked POs with colour-coded statuses and right-click actions.
-
Message Box – Pops up contextual job info when opening an opportunity.
-
Optional Accessories – Highlights and reminds you when optional kit is available.
-
Total Volume – 🚛 Calculates total cubic volume for opportunity items.
-
Hide “below-cost” Rows – Optionally suppress orange-highlighted costing rows.
🚧 Future Modules
Most of these are already active internally — just need adapting for public release:
-
Crew Hotels
-
Check-In Hub
-
Popup reminders for outstanding Dry Hire returns
-
No Contact popup reminder
-
Show shortages on text items
-
LOLER Inspection
-
Ladder Inspection
-
Sync opportunities with Google Calendar
-
Automated Activities
-
Warehouse Dashboard
-
AI Kit Builder
-
AI Assistant (Kit)
⚙️ Configuration
-
Click the extension icon (🧩 puzzle piece) in Chrome’s toolbar and open RMS Navigator.
-
In the popup window, enter:
-
Subdomain – e.g. yourcompany (used in yourcompany.current-rms.com)
-
API Key – your Current RMS API key
-
-
Click Save.
🔐 Security Note:
Your API key is stored locally in Chrome using chrome.storage.sync.
It never leaves your browser, is not transmitted externally, and is only used to make requests directly to the Current RMS API from your own browser session.🔐 Keep Your API Key Safe
Your API key gives access to your Current RMS account, so treat it like a password.
Don’t share it publicly or commit it to any version control (like GitHub).
Modules Overview
Shortages Module
Location: Under Actions in the Opportunity sidebar, click the Shortages List button.
🔧 Important:
Set your system’s Availability Period to Hour in CurrentRMS System Settings.
To save shortage results back into Discussions, create an Opportunity custom field named SHORTAGES
What it does
-
Finds items on this Opportunity with stock shortages (per‐job basis).
-
Ignores other jobs; shows gaps only for the current job.
-
Filters out accessories and unwanted names.
-
Calculates live availability vs. bookings (including quarantine).
-
Writes a summary into the Opportunity’s Shortages custom field.
How it works
-
Click Shortages List.
-
Reads API key & subdomain from Chrome storage.
-
GETs /opportunities/:id/opportunity_items?q[has_shortage_eq]=true.
-
Filters by accessory_mode and name patterns.
-
POSTs each item to /availability/product for availability + quarantine.
-
Builds de-duplicated list:
-
Displays results in a popup modal** (with Copy-to-Clipboard).
-
PUTs that list into /opportunities/:id custom field.
Trigger & UI
-
Click Shortages List under Actions.
-
A popup modal appears showing shortages.
Benefits
-
Instant, in-page view of stock gaps.
-
Combines availability, bookings, and quarantine in one popup.
-
Zero context-switch: runs in-browser and updates CurrentRMS.
Suppliers Module
Location: On the right-hand side of an Opportunity page, under the Suppliers heading.
What it does
-
Lists suppliers associated with the Opportunity when sub-rent allocations are present.- Omits internal/irrelevant names.
-
Shows PO status (PO # or No PO).
-
Colour codes:
Red = No PO
Orange = PO created
Green = PO sent -
Right-click any PO to Mark as sent.
-
Automatically prompts to mark a PO as sent when it’s created via a discussion thread.
How it works
-
Open Suppliers tab in RMS-Navigator.
-
Loads API key & subdomain.
-
Fetches costings view (?view=c), parses HTML table.
-
Extracts supplier name, PO link, badge classes.
-
Inserts Suppliers panel under Scheduling if missing.
-
Renders colour-coded links: click to open PO or filter by supplier.
-
Adds right-click menu on PO links to auto-trigger Rails mark_as_sent via hidden iframe.
-
Auto-selects rows on costings pages when view=c&supplier=Name.
Trigger & UI
-
Open RMS-Navigator → Suppliers.
-
Inline list appears with coloured PO links.
-
Right-click a link to Mark as sent.
Benefits
-
Compare lead-times and PO status without leaving the page.
-
Colour cues highlight POs needing action.
-
One-click Mark as sent.
-
Speeds up ordering and PO management.
Message Box Module
Location: Automatically pops up center-stage when an Opportunity description is present.
What it does
-
Detects and extracts text from the Opportunity description.
-
Plays a subtle click sound.
-
Displays the text in a centered modal popup.
How it works
-
On page load, checks for a new Opportunity description.
-
Grabs text from .expand-box-container p.
-
After 500 ms, plays a 300 Hz click and shows a modal with the text.
-
Stores the Opportunity ID in sessionStorage to avoid repeats.
-
You can also re-open or update the Message Box at any time via the Message Box entry under Actions in the sidebar.
Benefits
-
Ensures you never miss the Opportunity description or updates.
-
Audible + visual alert.
-
Notes also available in Message Box tab for manual sending.
Optional Accessories Module
Location: Works directly within the item picker on an Opportunity page.
🔧 Important: Include the text “Optional Accessories” in the product description to enable.
What it does
-
Detects items with optional accessories.
-
Highlights rows in yellow.
-
Automatically opens the accessories picker when you enter a quantity.
How it works
-
Observes #quickpick_table tbody for quantity inputs.
-
Debounced input listener triggers on first non-zero value.
-
Plays a click sound and shows a toast: “This item has optional accessories.”
-
Clicks the hidden “Show Accessories” link.
-
Disables the Add button for 2 s to prevent duplicates.
-
Highlights accessory rows with a yellow background.
Trigger & UI
-
Enter a quantity for an item with accessories.
-
A toast appears for 3 s; accessories panel opens.
-
Accessory rows are highlighted.
Benefits
-
Never miss upsell opportunities.
-
Streamlines adding accessories.
Total Volume Module
Location: In the Opportunity sidebar under Details, next to Total Weight.
What it does
-
Calculates the total equipment volume (m³) for all line items on the Opportunity.
-
Displays a Total Volume value in the sidebar.
🔧 Important:
Create a Product custom field named Equipment Volume m2.
On first run, the module caches all product volumes, which may take 1–2 minutes.
After caching, subsequent loads are fast.
If you add new stock or update volumes, click Reset item volume cache in RMS-Navigator to rebuild the cache.
How it works
-
Reads the Opportunity ID from the URL.
-
Ensures a Total Volume row exists in the details list.
-
Loads or fetches equipment_volume_m2 for each product via the API, caching results in localStorage.
-
Fetches all opportunity_items (including nested item data).
-
Computes each line’s volume = quantity × equipment_volume_m2.
-
Sums line volumes and updates the Total Volume field (in m³).
Trigger & UI
-
Runs automatically when loading an Opportunity page.
-
Sidebar shows Total Volume: X.XX m³.
-
Use Reset item volume cache to refresh cached data.
Benefits
-
Immediate visibility of cubic volume for logistics and planning.
-
Caches volume data for faster subsequent loads.
-
Zero configuration beyond creating the custom field.
Hide “below-cost” Rows
What it does
-
Removes the yellow highlight and hides items priced below cost.
Why it’s useful
-
Keeps your screen clean and prevents under-charging.
Troubleshooting
-
Extension not visible? Pin it in chrome://extensions.
-
API error? Re-enter credentials in Settings.
Uninstall
-
Go to chrome://extensions.
-
Find RMS-Navigator.
-
Click Remove.