jhayczee09
12/20/2024, 1:54 AMCeligo AI
12/20/2024, 1:54 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems that accessing the credits applied subtab in the customer payment or bill payment transaction directly is not possible. However, there are a couple of workarounds suggested: 1. You can perform a search on the bill or invoice to use the applying transaction. This is considered the closest reasonable solution. 2. Another solution, albeit a bit more complex, involves using the fact that the Standard Customer Payment PDF/HTML Template has access to the credits sublist. You can use
render.transaction
to print the payment as HTML and then parse the HTML to get the credits. This solution is considered less reasonable due to its complexity and the need to parse HTML.
In the context of a user event script, you have more options and the view context of a beforeLoad user event script also has access to the credits sublist. However, it's important to note that a mass update does not trigger a beforeLoad script as it's not a view.
In another thread, it was discussed that if you're not seeing the item sublists on a credit note, you should check the Sublists Fields tab as the Item sublist fields are found there.
Lastly, the error code A_SCRIPT_IS_ATTEMPTING_TO_EDIT_THE_1_SUBLIST_THIS_SUBLIST_IS_CURRENTLY_IN_READONLY_MODE_AND_CANNOT_BE_EDITED_CALL_YOUR_NETSUITE_ADMINISTRATOR_TO_DISABLE_THIS_SCRIPT_IF_YOU_NEED_TO_SUBMIT_THIS_RECORD
is likely to occur when trying to edit a sublist that is in read-only mode. This can happen if the transaction is voided, as voided transactions have read-only sublists.
******
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
12/20/2024, 1:55 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.780977
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.778885901
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.778752744
Celigo AI
12/20/2024, 1:55 AM