This topic contains 7 replies, has 0 voices, and was last updated by michoel 7 years, 7 months ago.
-
AuthorPosts
-
April 4, 2017 at 12:28 am #21723
k_duncHi all,
I'm wondering if it's possible to add a button within a Transaction sublist via a Custom Transaction Column Field?
I need the ability to have something like an Inline HTML or Hyperlink Custom Column Field within the Expense sublist of an Expense Report that I can dynamically manipulate via code that will allow the user to click on in order to perform a given operation. Is this possible? I've already written the code for what I need as a Custom Transaction Body Field, but I really need it at a line level, not at a Transaction body level.
Thanks heaps,
Kirk.
This is a cached copy. Click here to see the original post. -
April 4, 2017 at 12:59 am #21724
michoelWe do this via a custom Check Box field, and handling the field changed event.
-
April 4, 2017 at 7:11 pm #21725
k_duncThanks michoel. Appreciate it. So basically, the user ticks the box, then you use a field change event script to 'do something'? I can see how that might work.
There's no way to have a button or clickable dynamic URL / link within a sublist is there?
-
April 4, 2017 at 10:31 pm #21726
michoelOriginally posted by k_dunc
View Post
So basically, the user ticks the box, then you use a field change event script to 'do something'? I can see how that might work.
There's no way to have a button or clickable dynamic URL / link within a sublist is there?
Yep that how we use it. We have a "Lookup History" customization that shows a popup with the previous prices we charged the customer that item.
Short of messing with the DOM, I don't think there is a way to have a button or link in edit mode on a sublist.
-
April 5, 2017 at 6:57 am #21727
Karl_EuropartThe "Lookup History" customization sounds great. Is this code available?
-
April 5, 2017 at 8:14 am #21728
k_duncAppreciate that michoel. Yes, I'd agree with Karl. Any chance of sharing a snippet of the code at all?
Thanks again.
-
April 5, 2017 at 10:53 am #21729
david.smithHey k_dunc
Is there a reason you can't just use the hyperlink field type on the custom column?
michoel replied on 04/05/2017, 05:18 PM: It doesn’t display in Edit mode.
-
April 5, 2017 at 5:37 pm #21730
michoelOriginally posted by Karl_Europart
View Post
The "Lookup History" customization sounds great. Is this code available?
Enjoy ๐
https://gist.github.com/michoelchaik…f6a7e8e1f34534
It's one of my first Netsuite customizations, so it may not necessarily represent best practises
-
AuthorPosts
You must be logged in to reply to this topic.