If anyone wants a great way to highlight a status ...
# general
j
If anyone wants a great way to highlight a status or field in a near-native way on a transaction, or any other record really.. Let me know! I just put a cool solution in place that i've done before. Looks like it was made by NetSuite, but helps highlight key information.
r
That’s cool. How’d you do it?
j
Oh hey there's an article lmao
I used an Inline HTML field, copied the style of the existing button, added it to the top of the form and used margins.
r
That’s cool
j
@Tim Chapman @Ryan Longenecker My method was not this complex, looks like this used a script?
I used a simple Inline HTML field with some CSS primarily
t
That's cool! I use those HTML fields for custom buttons on our VRMA's. Doesn't necessarily relate to your post but it'll open up to the tracking page on UPS/Fedex website with the correct tracking # entered.
🙌 1
j
Yeah I was with a previous company that used Inline HTML fields way too overkill but allowed me to get familiar with different approaches lol.
r
Those are also cool ha
j
Here's the meat of this solution:
Just has to be at the top of the third column of a record for ideal positioning
t
That's cool @Jeff Jacobs. I haven't done that, I just source my field from a saved search that has some Formula(HTML) stuff
j
That's a unique approach also, so you get your button links from the saved search?
t
Copy code
CASE     WHEN SUBSTR({custbody13}, 1, 1) = '9' THEN         NULL     WHEN SUBSTR({custbody13}, 1, 2) = '1Z' THEN         '<a href="<https://wwwapps.ups.com/tracking/tracking.cgi?tracknum=>' || {custbody13} || '" target="_blank" style="background-color: #654321; color: #FFD700; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);">UPS Tracking</a>'     WHEN SUBSTR({custbody13}, 1, 1) = '2' OR SUBSTR({custbody13}, 1, 1) = '7' OR SUBSTR({custbody13}, 1, 1) = '4' THEN         '<a href="<https://www.fedex.com/fedextrack/summary?trknbr=>' || {custbody13} || '" target="_blank" style="background-color: #4B0082; color: white; padding: 10px 20px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer; box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);">FedEx Tracking</a>'     ELSE         NULL END
🙌 1
Custbody13 was the return to vendor tracking # entered on the VRMA
j
Ahh I got you that makes sense, yeah I love doing things like this within NetSuite.
Kinda relates to something I'm building now but I got the stakeholders to accept just the raw tracking number lol. Due to the URLs for tracking services potentially changing and all that.
r
I’m trying to think of how to use these ideas and n/llm together
j
I don't have access to that just yet haha, I mean, you could source info from llm and have that stored in a field that is referenced with surrounding HTML and CSS
👍 1
@Ryan Longenecker If you ever need some help brainstorming or collaborating feel free to reach out. Like I said this is some of my favorite stuff to build.
r
Sounds good. I will. I’m trying to build more everyday use cases for the ai module and this might be good to add into the mix
t
You guys are smarter than me but I'll cheer you on from the sideline.