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 ?

 

Rookie Asked on March 21, 2023 in Other.
Add Comment
1 Answer(s)

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

Advanced Answered on March 21, 2023.

HI,

I did not understand what I should change in my case

on March 21, 2023.

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.

on March 22, 2023.
Add Comment

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   Become a Sponsor   Become a Sponsor