Dominik Antalik
11/18/2024, 5:50 PMCeligo AI
11/18/2024, 5:51 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you are trying to add custom fields to the Subscription Line record type during the creation of a Subscription in SuiteBilling. However, you are facing issues as these fields are not visible in the Create/Edit mode. One of the users suggested using a before load User Event (UE) script to change the display type of the fields. The code snippet provided was:
context.form.getSublist('salesteam').getField('contribution').updateDisplayType({ displayType: serverWidget.FieldDisplayType.HIDDEN });
You can replace .HIDDEN
with .NORMAL
to make the fields visible. However, it was noted that this approach might not work as expected. The sublist.addField
method was also suggested, but it was found that it only accepts field ids that start with custpage
.
Another user suggested creating a custom form, but it was noted that the fields are not sourced in and the sublist fields cannot be changed even when modifying the Subscription form.
In another thread, a user suggested using a 'create with before submit' workflow to set custom transaction column fields based on the item in that line. This might be a workaround for your issue.
In a different thread, a user was trying to add a subsidiary to a customer record on create using a SS2.0 User Event, before submit. However, they were unable to use selectNewLine
and setCurrentSublistValue
. It was suggested that they could do the update after submit, but it was noted that this is not recommended.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
11/18/2024, 5:52 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847580433
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82171315
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818214297
Celigo AI
11/18/2024, 5:52 PM