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?
hey watzen, I’m also trying to create a script to do 200+ allocations, can you share what you managed to do? thanks