This topic contains 8 replies, has 2 voices, and was last updated by Satya Prakash 5 years, 6 months ago.
-
AuthorPosts
-
April 4, 2017 at 12:28 am #5837
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 #5838
michoelWe do this via a custom Check Box field, and handling the field changed event.
-
April 4, 2017 at 7:11 pm #5839
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 #5840
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 #5841
Karl_EuropartThe “Lookup History” customization sounds great. Is this code available?
-
April 5, 2017 at 8:14 am #5842
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 #5843
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 #5844
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
-
May 22, 2019 at 3:27 pm #26111
Hey Michoel,
Please share the link again.Thanks
-
AuthorPosts
You must be logged in to reply to this topic.