Disabling department field on item line causing issues with department body field

I am disabling department field(label : cost centre) on item line on Vendor Bill and other transactions using UserEvent script on beforeLoad entry point but the issue is that  when the  department (Label : Cost Centre) field is disabled on item line , departments list doesn’t show up on department  (Label : Cost Centre) body field.  Please see attached screenshot. Does any one know why is this happening ?

Disabling department field on item line causing issues with department body field

Beginner Asked on July 8, 2021 in SuiteScript.
Add Comment
1 Answer(s)

Hi Ahmed, I do not know the root cause of this particular issue. I would recommend submitting a NetSuite Support ticket. One consideration would be to perform the same action using a client script, which may provide the desired outcome.

In the interim, have you considered alternate solutions e.g. hiding the “Cost Centre” line level field on the form so it is not displayed in the UI, therefore avoiding the need for the user event script?

Beginner Answered on July 12, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor