I am using the right account credentials and admin role:
RecordRef ref = new RecordRef();
ref.setInternalId("3");
passport.setRole(ref);
Would you have an idea for this one ?
s
suitecloudfanatic
04/23/2018, 3:16 PM
Are you sure you are setting the account id?
l
lleclerc_zlab
04/23/2018, 3:54 PM
nlapiGetContext().getCompany() which is the account id with "_SB1" : passport.setAccount("1234567_SB1");