Permission Violation: You need the ‘Transactions -> Find Transaction’ permission to access this page
Hi ,
I am receiving error, while trying to retrieve Purchase Orders
Permission Violation: You need the ‘Transactions -> Find Transaction’ permission to access this page. Please contact your account administrator.
TransactionSearchAdvanced transactionSearchAdvancedObject = new TransactionSearchAdvanced();
TransactionSearchBasic tr = new TransactionSearchBasic();
SearchStringField searchStringFieldItem = new SearchStringField()
{ searchValue = orderNum, @operator = SearchStringFieldOperator.@is, operatorSpecified = true };
SearchEnumMultiSelectField searchEnumFieldItem = new SearchEnumMultiSelectField()
{
@operator = SearchEnumMultiSelectFieldOperator.anyOf,
searchValue = new[] { “_purchaseOrder” },
operatorSpecified = true
};
tr.tranId = searchStringFieldItem;
// tr.type = searchEnumFieldItem;
transactionSearchAdvancedObject.criteria = new TransactionSearch() { basic = tr };
transactionSearchAdvancedObject.columns = new TransactionSearchRow()
{ basic = new TransactionSearchRowBasic() { tranId = new SearchColumnStringField[1] { new SearchColumnStringField() } } };
SearchResult searchResult = _nsService.search(transactionSearchAdvancedObject);
SearchRow[] records = searchResult.searchRowList;
What should be done fix that ?
Hi Ivan,
You need to add this permission to the role that you are using to authenticate into NetSuite.
https://suiteanswers.custhelp.com/app/answers/detail/a_id/91080
Thanks,
Chris
HI,
I did not understand what I should change in my case
The role that has been assigned to you by an Administrator DOESN’T have the Transctions > Find Transaction Permission.
So you’ll need to contact an administrator to make that change unless you’re an admin yourself?
Hope it helps.