How do I set account = ‘< Other Income >’ /"OthIncome" through script on the sublist allocationsource on allocation schedules?

Hi,

I need to create a lot(100+) of allocation schedules for a client and I have created a script to do that. But my issue is that the ui presents a list, for the sublist field account, with account-types and accounts. I need to choose one of the account-types.

Setting the field to the internal ID of the account type results in a suitescript error when saving the record.

Loading an already created record shows that the sublist field holds the internal ID of an account type. I.e. “OthIncome”.

Has anyone managed to do this? Maybe a “special” integer for the account types?

 

Rookie Asked on October 14, 2019 in SuiteScript.
Add Comment
0 Answer(s)

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