RE: 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?

 

watzen Rookie Asked on October 14, 2019 in SuiteScript.
Add Comment
1 Answers

hey watzen, I’m also trying to create a script to do 200+ allocations, can you share what you managed to do? thanks

 

Rookie Answered on March 16, 2022.
Add Comment

Your Answer

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