RE: Created button doesn’t work as intended on Create of Non-inventory Items. Help, please? (Full question on body)

I created a button that sequentially counts numbers in a custom field inside Inventory Item and Non-inventory item pages and another button that resets the count back to zero. This works as intended except during creation of non-inventory items, these buttons doesn’t seem to work.
In inventory items, during CREATE – it works, during EDIT – it works, during VIEW, it works.
In Non-inventory items, during CREATE – it doesn’t work, during EDIT – it works, during VIEW, it works.
I hope anyone can help me out to resolve this issue.
Below is my User Event Script. (you can disregard userObjRole, that is just an added request)

RE: Created button doesn't work as intended on Create of Non-inventory Items. Help, please? (Full question on body)

Below is my Client Script

RE: Created button doesn't work as intended on Create of Non-inventory Items. Help, please? (Full question on body)

RE: Created button doesn't work as intended on Create of Non-inventory Items. Help, please? (Full question on body)

I can’t seem to find the reason why this is happening, I hope anyone can pinpoint my mistake or lack of what I should have done. Thanks
franciscuevas23 Rookie Asked on April 26, 2024 in SuiteScript.
Add Comment
1 Answers

Hi,

When you say it doesn’t work. Does the button not show or does the button not work?

Thanks,

Chris

Advanced Answered on May 1, 2024.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.